Configurazione SPA3102 (con Asterisk)

Tutto ciò che ha a che fare con la configurazione di apparati Cisco (e non rientra nelle altre categorie)

Moderatore: Federico.Lagni

Rispondi
ilariomarchio
n00b
Messaggi: 1
Iscritto il: gio 22 mag , 2014 9:54 am

Salve,
ho provato a seguire diverse guide per la configurazione di Cisco SPA3102.
(ad esempio questa http://www.fredshack.com/docs/linksys_3102.html)

Il comportamento che vorrei ottenere è il seguente:

Quando ricevo una chiamata dall'esterno (PSNT) devono squillare una serie di IP phone.
Digitando da un ip_phone un numero di telefono preceduto da 9 la chiamata deve essere effettuata verso l'esterno.

Ho allegato gli screen con la mia configurazione(spa3102).

Di seguito le configurazioni di asterisk:
SIP.conf

[utenteA]
type=friend;
host=dynamic;
dtmfmode=rfc2833;
username=utenteA;
secret=passwA;
context=contextTest;

[utenteB]
type=friend;
host=dynamic;
dtmfmode=rfc2833;
username=utenteA;
secret=passwB;
context=contextTest;

[utenteC]
type=friend;
host=dynamic;
dtmfmode=rfc2833;
username=utenteC;
secret=passwC;
context=contextTest;

[spa3102_pstn]
type=friend
username=spa3102_pstn;
secret=spa3102;
qualify=yes ; Qualify peer is no more than 2000 ms away
nat=no ; located in the same LAN as Asterisk
host=dynamic ; This device registers with us
canreinvite=no ; Asterisk by default tries to redirect
context=internal ; the internal context controls what we can do

extension.conf
[contextTest]
exten => 121,1,Dial(SIP/utenteA);
exten => utenteA,1,goto(121,1);
exten => 123,1,Dial(SIP/utenteB);
exten => utenteB,1,goto(123,1);
exten => 124,1,Dial(SIP/utenteC);
exten => utenteC,1,goto(124,1);
exten => 125,1,Dial(SIP/187);
exten => 187,1,goto(125,1);
exten => _9.,1,Dial(SIP/spa3102_pstn/${EXTEN:1});
include => demo;


[internal]
exten => 121,1,Dial(SIP/utenteA);
exten => 123,1,Dial(SIP/utenteB);
exten => 124,1,Dial(SIP/utenteC);
;phone number that start with 0 are sent to Linksys -> landline
exten => _0.,1,Dial(SIP/spa3102_pstn)
exten => group,1,Dial(SIP/utenteA&SIP/utenteB&SIP/utenteC)

La connessione SIP con asterisk sembra andare a buon fine. Quando provo ad effettuare una chiamata dall'esterno il PSTN State risulta Ringing.. ma non squillano i telefoni IP.

Se provo ad effettuare una chiamata da un telefono ip verso l'esterno ottengo il seguente errore:

xecuting [93202******@contextTest:1] Dial("SIP/utenteC-00000004", "SIP/spa3102_pstn/3202******") in new stack
== Using SIP RTP CoS mark 5
-- Got SIP response 482 "Loop Detected" back from 127.0.0.1:5060
-- Called SIP/spa3102_pstn/3202******
-- SIP/spa3102_pstn-00000005 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Auto fallthrough, channel 'SIP/utenteC-00000004' status is 'CONGESTION'

Qualcuno potrebbe indicarmi i giusti parametri di configurazione?
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.
Rispondi