<div dir="ltr">Well, there's <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#execute_on_preanswer">execute_on_preanswer</a> <div>Can you get the it as a channel variable then? I presume hangup codes don't get set until the end. But if it's there you can act upton it.</div>
<div><br><div><div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div></div><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 9:33 AM, jay binks <span dir="ltr"><<a href="mailto:jaybinks@gmail.com" target="_blank">jaybinks@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey all...<div>I need to tap the collective knowledge of all.</div><div><br></div><div>In the scenario where I can get a Reason header in a Progress response ( 180 / 183 ) </div>
<div>how can I control how Freeswitch will respond.</div>
<div><br></div><div>I can see 3 possible scenarios here, but it would be great to control which scenario was used.</div><div><br></div><div>1) Freeswitch just passes through the 180/183 with reason header... without doing anything with it.</div>
<div><br></div><div>2) Freeswitch can remove the reason header from the 180/183 and just play back the media stream that is accompanied.</div><div><br></div><div>3) Freeswitch can act upon the reason, and hangup the call .. ( if its a Q850 Cause code 1 for example )</div>
<div><br></div><div>now... where is this useful.</div><div>well, what if I had a carrier that gave Q850 cause codes in ISDN progress messages ( number unallocated ) but then they played an RVA saying "number dialed is not connected".</div>
<div><br></div><div>They have done it this way to allow customer to choose how to handle the RVA ( do you want the RVA or not ) but does FS give me the ability to truly control this ?</div><div><br></div>
<div>( without needing to go as far as complex ESL applications )</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br></div><div>Sincerely<br><br>Jay
</div></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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>