[asterisk-users] Using PRI_CAUSE to change SIP INVITE rejection response code

George Pajari George.Pajari at netvoice.ca
Sun Mar 15 06:30:35 CDT 2009


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)




More information about the asterisk-users mailing list