spa3102 configuration (with asterisk)

Unanswered Question
May 23rd, 2014
User Badges:

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:

 

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Leo Laohoo Fri, 05/23/2014 - 05:01
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

.

Actions

This Discussion