[Asterisk-Dev] SIPGetHeader now deprecated
Olle E. Johansson
oej at edvina.net
Sun May 1 23:39:21 MST 2005
Kevin P. Fleming wrote:
> Arnaud wrote:
>
>> You can get SIP responses code like 403 Forbidden / 503 Service
>> Unavaible etc ?
>
>
> No, that's not in a header, and it's not possible to see those codes in
> the dialplan, because the dialplan function can only be applied to
> 'active' SIP channels. Any SIP request that did not complete will not be
> visible in the dialplan.
But we can create a SIPHANGUPCAUSE variable that includes those
codes.
/O
More information about the asterisk-dev
mailing list