I am in the process of switching from Asterisk 1.6 to 1.8 and running into an issue with our CS1000 SIP trunks. The CS1000 sends a SIP INVITE with phone-context=udp.cdp. In Asterisk 1.6, this appears to be ignored. On Asterisk 1.8, this is added to the DID of the incoming call. If you call to our Asterisk 1.8 machine you get the no-service message followed by the extension as "4590;phone-context=udp.cdp" This is read out by the machine over the phone. We don't have much control over the SIP coming from the CS1000 unfortunately. As a temporary fix, I changed the Goto function in the incoming context.
This "works", but I'd like to understand why Asterisk appears to not understand the phone-context string enough to strip it out. I don't think the "fix" above is a permanent solution by any means.
Thanks!
Code:
[from-trunk-sip-CS1000]
exten => _.,1,Set(GROUP()=OUT_2)
exten => _.,n,Goto(from-trunk,${EXTEN:0:-22},1)
This "works", but I'd like to understand why Asterisk appears to not understand the phone-context string enough to strip it out. I don't think the "fix" above is a permanent solution by any means.
Thanks!