[Freeswitch-users] Release Cause in response message

Tihomir Culjaga tculjaga at gmail.com
Wed Mar 17 07:46:57 PDT 2010


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/20100317/30ea36c3/attachment-0002.html 


More information about the FreeSWITCH-users mailing list