<div dir="ltr"><div><div style="font-size:12.8000001907349px"><div><span style="font-size:small">proto_specific_hangup_cause was prefixed with last_bridge_, so:</span><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:small"><br></span></div><div><span style="font-size:12.8000001907349px"><action application="set" data="continue_on_fail=true"/></span><br></div><div><action application="set" data="hangup_after_bridge=true"/></div></div><div style="font-size:12.8000001907349px"><action application="bridge" data="sofia/internal/<a href="http://sip:blah@blahblah.net:5060/" target="_blank">sip:blah@blahblah.net:5060</a>"/></div></div><div><action application="set" data="last_bridge_proto_specific_hangup_cause=sip:503"/></div><div><action application="hangup"/></div><div><br></div><div>Also, it'll work only if you remove <span style="font-size:12.8000001907349px">sip_ignore_remote_cause=</span><span style="font-size:12.8000001907349px">true.</span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 12, 2015 at 3:08 PM, E. Schmidbauer <span dir="ltr"><<a href="mailto:eschmidbauer@gmail.com" target="_blank">eschmidbauer@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">Hello,<div>We are trying to send a specific response code back to A-leg based on B-leg's response code.</div><div>We need to send a 503 to A-leg if B-leg returns a 480</div><div>We have the following setup in the A-leg dialplan before the bridge</div><div><div>...</div><div><action application="set" data="continue_on_fail=true"/></div><div><action application="set" data="hangup_after_bridge=true"/></div><div><action application="set" data="sip_ignore_remote_cause=true"/></div><div><action application="set" data="proto_specific_hangup_cause=sip:503"/></div></div><div><action application="bridge" data="sofia/internal/<a href="http://sip:blah@blahblah.net:5060" target="_blank">sip:blah@blahblah.net:5060</a>"/><br></div><div>....</div><div>The b-leg returns 480 and then FS returns a 480 back to A-leg</div><div><br></div><div>We cannot use the respond app in this case because of how our dialplan is generated.</div><div>From what I read on confluence <action application="set" data="sip_ignore_remote_cause=true"/> and <action application="set" data="proto_specific_hangup_cause=sip:503"/> should accomplish what i need here, but it does not seem to work.</div><div><br></div><div>Is this a bug or am I misunderstanding those channel variables?<br>Is there anyway to send a response code using channel variables (not using respond app)?<br><br>Thanks,</div><div>Emmanuel</div><div><br></div></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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ítalo Rossi<br></div></div>
</div>