[asterisk-users] Using PRI_CAUSE to change SIP INVITE rejection response code
Steve Howes
steve at geekinter.net
Sun Mar 15 08:46:25 CDT 2009
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,Hangup
Hangup(17)
More information about the asterisk-users
mailing list