OK ... I added continue_on_fail=true and this fixed the issue. &nbsp;Works with hangup_after_bridge true or false.<div><br class="webkit-block-placeholder"></div><div>SR<br><div><br class="webkit-block-placeholder"></div><div>Thanks for the assi<br>
<br><div class="gmail_quote">On Fri, Nov 7, 2008 at 3:46 PM, Shelby Ramsey <span dir="ltr">&lt;<a href="mailto:sicfslist@gmail.com">sicfslist@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;">
Mike,<div><br></div><div>Thanks for the info on the .cgi ...&nbsp;</div><div><br></div><div>I altered the hangup_after_bridge ... see XML below:</div><div><br>
</div><div><div class="Ih2E3d"><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</div><div>&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>&nbsp;&nbsp;&lt;section name=&quot;dialplan&quot; description=&quot;FS RESPONSE&quot;&gt;</div>

<div>&nbsp;&nbsp; &nbsp;&lt;context name=&quot;public&quot;&gt;</div></div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;extension name=&quot;17135454263&quot;&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;17135454263&quot;&gt;</div>
<div class="Ih2E3d">
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=false&quot;/&gt;</div></div><div class="Ih2E3d"><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;call_timeout=180&quot;/&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;pass_rfc2833=true&quot;/&gt;</div></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;accountcode=SIC_TEST&quot; /&gt;</div><div class="Ih2E3d">
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;origination_caller_id_name=NULL&quot; /&gt;</div>
</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;origination_caller_id_number=no&quot; /&gt;</div><div class="Ih2E3d"><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=NULL&quot; /&gt;</div>

</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=no&quot; /&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/<a href="http://7135454263@4.71.122.250:5060" target="_blank">7135454263@4.71.122.250:5060</a>&quot; /&gt;</div>
<div class="Ih2E3d">
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;origination_caller_id_name=NULL&quot; /&gt;</div></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;origination_caller_id_number=+17133000522&quot; /&gt;</div>
<div class="Ih2E3d">
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=NULL&quot; /&gt;</div></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=+17133000522&quot; /&gt;</div>
<div class="Ih2E3d">
<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;sip_h_P-Asserted-Identity=&lt;sip: +<a href="mailto:17133000522@4.71.122.214" target="_blank">17133000522@4.71.122.214</a>;user=phone&gt;&quot; /&gt;</div>
</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/<a href="http://7135454263@4.71.122.131:5060" target="_blank">7135454263@4.71.122.131:5060</a>&quot; /&gt;</div><div class="Ih2E3d">

<div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/extension&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/context&gt;</div><div>&nbsp;&nbsp;&lt;/section&gt;</div><div>&lt;/document&gt;</div><div><br></div></div><div>I had it set to true based on an example on the wiki (dialplan, example 7):</div>

<div><br></div><div><span style="font-family:Helvetica;line-height:19px"><pre style="padding-top:1em;padding-right:1em;padding-bottom:1em;padding-left:1em;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:dashed;border-right-style:dashed;border-bottom-style:dashed;border-left-style:dashed;border-top-color:rgb(47, 111, 171);border-right-color:rgb(47, 111, 171);border-bottom-color:rgb(47, 111, 171);border-left-color:rgb(47, 111, 171);color:black;background-color:rgb(249, 249, 249);line-height:1.1em">
&lt;extension name=&quot;internal&quot;&gt;
  &lt;condition field=&quot;destination_number&quot; expression=&quot;^1111&quot;&gt;
    &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;
    &lt;action application=&quot;bridge&quot; data=&quot;sofia/local_profile/<a href="mailto:1111@example1.company.com" target="_blank">1111@example1.company.com</a>&quot; /&gt;
    &lt;action application=&quot;bridge&quot; data=&quot;sofia/local_profile/<a href="mailto:1111@example2.company.com" target="_blank">1111@example2.company.com</a>&quot; /&gt;
  &lt;/condition&gt;
&lt;/extension&gt;</pre></span></div><div><br></div><div>I had previously tried the hangup_after_bridge=false ...</div><div><br></div><div>Any thoughts?</div>
<div><br></div><div>Thanks for all the help!</div><div><br></div><div>SR</div><div><br></div><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">
On Fri, Nov 7, 2008 at 1:22 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.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></div><div class="Wj3C7c">
<div style="word-wrap:break-word"><div>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<div><br></div></div><div>change to</div><div><br></div><div>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=false&quot;/&gt;</div>

<div><br></div><div>also, if your serving up from xml_curl, you can do the conditions on your cgi and just have a blank condition tag, no reason to have the switch do the regex as well.</div><div><br></div><div>Mike</div>

<div><div></div><div><div><br></div><div><div><div>On Nov 7, 2008, at 1:35 PM, Shelby Ramsey wrote:</div><br><blockquote type="cite">Hello,<div><br></div><div>I have a question re: xml_curl ... if I reply with this (from the /tmp/ file created by fs after xml_curl debug_on):</div>

<div><br> </div><div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</div><div>&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>&nbsp;&nbsp;&lt;section name=&quot;dialplan&quot; description=&quot;FS RESPONSE&quot;&gt;</div>

 <div>&nbsp;&nbsp; &nbsp;&lt;context name=&quot;public&quot;&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;extension name=&quot;7135454263&quot;&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot; expression=&quot;7135454263&quot;&gt;</div>

 <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;call_timeout=180&quot;/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;</div>

 <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;pass_rfc2833=true&quot;/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;accountcode=TEST&quot; /&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;origination_caller_id_name=NULL&quot; /&gt;</div>

 <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;origination_caller_id_number=7135454263&quot; /&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=NULL&quot; /&gt;</div>

 <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=7133000522&quot; /&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot; data=&quot;sip_h_P-Asserted-Identity=&lt;sip: +<a href="mailto:17133000522@4.71.122.214" target="_blank">17133000522@4.71.122.214</a>;user=phone&gt;&quot; /&gt;</div>

 <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/<a href="mailto:7135454263@4.71.122.250" target="_blank">7135454263@4.71.122.250</a>&quot; /&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/<a href="mailto:7135454263@4.71.122.131" target="_blank">7135454263@4.71.122.131</a>&quot; /&gt;</div>

 <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/extension&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/context&gt;</div><div>&nbsp;&nbsp;&lt;/section&gt;</div><div>&lt;/document&gt;</div><div><br></div><div>FS sends call to&nbsp;sofia/internal/<a href="mailto:7135454263@4.71.122.250" target="_blank">7135454263@4.71.122.250</a> (which returns a 404) but does not send to the next &quot;action&quot;.</div>

 <div><br></div><div>Somewhat of a FS newbie but I thought this should work ... looking at the log files I can see this:</div><div><br></div><div><div>2008-11-07 11:45:00 [DEBUG] switch_core_state_machine.c:140 switch_core_standard_on_execute() sofia/external/<a href="mailto:8885551000@4.71.122.250" target="_blank">8885551000@4.71.122.250</a> Execute bridge(sofia/internal/<a href="mailto:7135454263@4.71.122.250" target="_blank">7135454263@4.71.122.250</a>)</div>

 <div><br></div><div>but it does not do the same thing to the next &quot;action&quot; --&nbsp;&lt;action application=&quot;bridge&quot; data=&quot;sofia/internal/<a href="mailto:7135454263@4.71.122.131" target="_blank">7135454263@4.71.122.131</a>&quot; /&gt;</div>

 <div><br></div></div></div></blockquote></div></div></div></div></div><br></div></div>_______________________________________________<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>
</blockquote></div><br></div></div>