<div dir="ltr">Thanks!<div><span style="font-size:12.8000001907349px">&lt;action application=&quot;set&quot; data=&quot;last_bridge_proto_</span><span style="font-size:12.8000001907349px">specific_hangup_cause=sip:503&quot;</span><span style="font-size:12.8000001907349px">/&gt;</span><br></div><div><span style="font-size:12.8000001907349px">^^ Was what I needed to get it working</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 12, 2015 at 3:03 PM, Ítalo Rossi <span dir="ltr">&lt;<a href="mailto:italorossib@gmail.com" target="_blank">italorossib@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><span class=""><div><span style="font-size:small"><br></span></div><div><span style="font-size:12.8000001907349px">&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</span><br></div><div>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div></span></div><span class=""><div style="font-size:12.8000001907349px">&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/<a href="http://sip:blah@blahblah.net:5060/" target="_blank">sip:blah@blahblah.net:5060</a>&quot;/&gt;</div></span></div><div>&lt;action application=&quot;set&quot; data=&quot;last_bridge_proto_specific_hangup_cause=sip:503&quot;/&gt;</div><div>&lt;action application=&quot;hangup&quot;/&gt;</div><div><br></div><div>Also, it&#39;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"><div><div class="h5">On Fri, Jun 12, 2015 at 3:08 PM, E. Schmidbauer <span dir="ltr">&lt;<a href="mailto:eschmidbauer@gmail.com" target="_blank">eschmidbauer@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div>We are trying to send a specific response code back to A-leg based on B-leg&#39;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>&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div><div>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>&lt;action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&gt;</div><div>&lt;action application=&quot;set&quot; data=&quot;proto_specific_hangup_cause=sip:503&quot;/&gt;</div></div><div>&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/<a href="http://sip:blah@blahblah.net:5060" target="_blank">sip:blah@blahblah.net:5060</a>&quot;/&gt;<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 &lt;action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&gt; and  &lt;action application=&quot;set&quot; data=&quot;proto_specific_hangup_cause=sip:503&quot;/&gt; 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></div></div>_________________________________________________________________________<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" 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" target="_blank">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><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Ítalo Rossi<br></div></div>
</font></span></div>
<br>_______________________________________________<br>
Freeswitch-docs mailing list<br>
<a href="mailto:Freeswitch-docs@lists.freeswitch.org">Freeswitch-docs@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs</a><br>
<br></blockquote></div><br></div>