Is it correct to have the same context (202) listed twice in sip.conf?

Courtney Couch wrote:

I have Polycom ip-300 phones that worked yesterday but dont seem to work today (at least dtmf signalling once connected to the asterisk box)

The current configuration is:

[general]
port = 5060
bindaddr = 0.0.0.0
context = test
srvlookup = yes
dtmf = inband
allow = all
dtmfmode=inband
progressinband=no
disallow=all
allow=ulaw
pedantic=no

[202]
type=user
secret=xxxx
context=test
mailbox=202
host=dynamic


[202]
type=peer
context=test
secret=xxxx
dtmfmode=rfc2833
username=Bob
disallow=all
allow=ulaw
progressinband=no
host=dynamic
mailbox=202
callerid="Bob" 202
host=dynamic

and in extensions:

[test]
exten => s,1,Answer()
exten => s,2,Backtround(menu)
exten => s,3,Hangup()
exten => 2,1,Playback(success)
exten => 2,2,Goto(test,s,1)

(test context created specifically so i can test this dtmf problem)

Then in the console here is what I see:

Executing Answer("SIP/201-3db8", "") in new stack
Launching 'BackGround'
   -- Executing BackGround("SIP/202-3db8", "menu") in new stack
Set channel SIP/201-3db8 to write format gsm
   -- Playing 'menu' (language 'en')
Urgent handler
Sending dtmf: 51 (3), at 192.168.0.101
Sending dtmf: 50 (2), at 192.168.0.101
Sending dtmf: 52 (4), at 192.168.0.101
Sending dtmf: 49 (1), at 192.168.0.101
Sending dtmf: 48 (0), at 192.168.0.101
Sending dtmf: 55 (7), at 192.168.0.101
Got RTCP report of 80 bytes
Sending dtmf: 42 (*), at 192.168.0.101
Sending dtmf: 50 (2), at 192.168.0.101
Sending dtmf: 49 (1), at 192.168.0.101
Sending dtmf: 48 (0), at 192.168.0.101
Sending dtmf: 55 (7), at 192.168.0.101
Sending dtmf: 52 (4), at 192.168.0.101
Sending dtmf: 50 (2), at 192.168.0.101
Sending dtmf: 42 (*), at 192.168.0.101
Sending dtmf: 55 (7), at 192.168.0.101

It doesnt respond to anything!

Not sure what to do. The signalling is the same as told by any config guides for the Polycom phones, and this was working earlier. I also dont have the CVS-HEAD or anything that silly.

any advice would be much apreciated.

thanks!

-C



_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to