Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

spa3102 configuration (with asterisk)

Hi,

I'm trying to configure spa3102. 

this is the desired behavior:

when there is an incoming call (PSNT) => should ring several phones(IP)

when an IP phone type a number preceded by 9 => the call go out(PSTN)

Problem:

when there is an incoming call (PSNT) the PSNT status is Ringing but the IP phones don't ringing.

This is my asterisk configuration:

 

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)

 

This is my spa3102 configuration:

 

2 REPLIES
Hall of Fame Super Gold

Duplicate posts.   Go here:

.

New Member

This discussion has been

This discussion has been reposted from Cisco User Groups to the ATAs, Gateways and Accessories community.

496
Views
0
Helpful
2
Replies
CreatePlease to create content