<div dir="ltr">Does it work if you prefix with X-, ie X-BillPaymentList not BillPaymentList<div><br></div><div>X- is a prefix that is meant to be used on any user-defined headers.</div><div><br></div><div>-Steve<br><div class="gmail_extra">
<br><br><div class="gmail_quote">On 12 January 2014 05:36, Sayyed Mohammad Emami Razavi <span dir="ltr"><<a href="mailto:emamirazavi@gmail.com" target="_blank">emamirazavi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>I call an extension in the trunk, pass some headers to it to validate some transactions. Trunk responses my invite with "SIP/2.0 480 Temporarily Unavailable" (not user response)<br>
</div>
with some headers like below:<br><br>recv 906 bytes from udp/[dst.dst.dst.dst]:8090 at 05:02:33.558626:<br> ------------------------------------------------------------------------<br> SIP/2.0 480 Temporarily Unavailable<br>
From: ""<sip:TCAPI_User@dst.dst.dst.dst:8090>;tag=8SN0g1DmHy0NF<br> To: <sip:91001@dst.dst.dst.dst:8090>;tag=59f1478-33001dac-1f9a-50022-1f428f-b29b56e-1f428f<br> Call-ID: 96685221-f5e9-1231-b1a5-000c29ae8315<br>
CSeq: 54415412 INVITE<br> Via: SIP/2.0/UDP src.src.src.src:5080;rport=5080;branch=z9hG4bKtScUQtUy9rgmp<br> Supported: replaces<br> Info: {"MerCode":"102"}<br> Sign: Ley1/8cOufqkgd7JuGR7f+jiVxSRM=<br>
BillPaymentList: {"paymentID":"16596500682","result":"0"}<br> Content-Length: 0<br><br></div><div>I run /event plain all in my fs console and no variable exists like info, sign and billpayment in channel variables. <br>
</div><div>Any solution to catch response header?! I cannot define or change key of the headers. I should adapt to these keys!!!<br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>