[Freeswitch-users] Release Cause in response message
Tihomir Culjaga
tculjaga at gmail.com
Thu Mar 18 00:08:04 PDT 2010
any way to pass a disconnect reason vi a respond command ???
anyone?
T.
On Wed, Mar 17, 2010 at 3:46 PM, Tihomir Culjaga <tculjaga at gmail.com> wrote:
> hello folks,
>
>
> anyone knows how to pass a Release cause/ Disconnect Reason when firing
> respond from a dialplan ... e.g.:
>
> Ive tried with sip_h_Reason=Q.850;cause=27 but it is not working :)
>
>
>
> <extension name="parseResult">
> <condition field="destination_number" expression="^parseResult$"/>
> <condition field="${componentStatus}" expression="^1$"
> break="on-true">
> <action application="log" data="INFO ######################## CALL
> FAILED REASON 1' ##########\n"/>
>
> <action application="set" data="sip_h_Reason=Q.850;cause=16"/>
>
> <action application="respond" data="480 Temporarily Unavailable"/>
> </condition>
> </extension>
>
>
> any hint?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100318/0ac860ea/attachment-0002.html
More information about the FreeSWITCH-users
mailing list