George Pajari
2009-Mar-15 11:30 UTC
[asterisk-users] Using PRI_CAUSE to change SIP INVITE rejection response code
I am trying to change the SIP response to an incoming call and according to the docs and a quick scan of the chan_sip.c code one is supposed to be able to set the PRI_CAUSE variable and invoke Hangup but regardless of the value in PRI_CAUSE the SIP rejection is always 603. What is wrong here? Asterisk 1.4.23.1 exten => _NXXNXXXXXX,n,Set(PRI_CAUSE=17) exten => _NXXNXXXXXX,n,Hangup -- George Pajari (dCAP), netVOICE communications 604 484 VOIP(8647) x102 www.netvoice.ca www.ip-centrex.ca www.ip-pbx.ca www.vpas.ca www.digium.ca www.grandstream.ca www.sipura.ca www.snom.ca Open Source VoIP/Telephony Specialists 1 877 NET VOIP (638 8647 x102)
Steve Howes
2009-Mar-15 13:46 UTC
[asterisk-users] Using PRI_CAUSE to change SIP INVITE rejection response code
On 15 Mar 2009, at 11:30, George Pajari wrote:> I am trying to change the SIP response to an incoming call and > according > to the docs and a quick scan of the chan_sip.c code one is supposed to > be able to set the PRI_CAUSE variable and invoke Hangup but regardless > of the value in PRI_CAUSE the SIP rejection is always 603. > > What is wrong here? > > Asterisk 1.4.23.1 > > exten => _NXXNXXXXXX,n,Set(PRI_CAUSE=17) > exten => _NXXNXXXXXX,n,HangupHangup(17)