Mike,<div><br class="webkit-block-placeholder"></div><div>Thanks for the info on the .cgi ... </div><div><br class="webkit-block-placeholder"></div><div>I altered the hangup_after_bridge ... see XML below:</div><div><br class="webkit-block-placeholder">
</div><div><div><?xml version="1.0" encoding="UTF-8" standalone="no"?></div><div><document type="freeswitch/xml"></div><div> <section name="dialplan" description="FS RESPONSE"></div>
<div> <context name="public"></div><div> <extension name="17135454263"></div><div> <condition field="destination_number" expression="17135454263"></div>
<div> <action application="set" data="hangup_after_bridge=false"/></div><div> <action application="set" data="call_timeout=180"/></div><div> <action application="set" data="proxy_media=true"/></div>
<div> <action application="set" data="pass_rfc2833=true"/></div><div> <action application="set" data="accountcode=SIC_TEST" /></div><div> <action application="set" data="origination_caller_id_name=NULL" /></div>
<div> <action application="set" data="origination_caller_id_number=no" /></div><div> <action application="set" data="effective_caller_id_name=NULL" /></div>
<div> <action application="set" data="effective_caller_id_number=no" /></div><div> <action application="bridge" data="sofia/internal/<a href="http://7135454263@4.71.122.250:5060">7135454263@4.71.122.250:5060</a>" /></div>
<div> <action application="set" data="origination_caller_id_name=NULL" /></div><div> <action application="set" data="origination_caller_id_number=+17133000522" /></div>
<div> <action application="set" data="effective_caller_id_name=NULL" /></div><div> <action application="set" data="effective_caller_id_number=+17133000522" /></div>
<div> <action application="set" data="sip_h_P-Asserted-Identity=<sip: +<a href="mailto:17133000522@4.71.122.214">17133000522@4.71.122.214</a>;user=phone>" /></div><div> <action application="bridge" data="sofia/internal/<a href="http://7135454263@4.71.122.131:5060">7135454263@4.71.122.131:5060</a>" /></div>
<div> </condition></div><div> </extension></div><div> </context></div><div> </section></div><div></document></div><div><br class="webkit-block-placeholder"></div><div>I had it set to true based on an example on the wiki (dialplan, example 7):</div>
<div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-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; ">
<extension name="internal">
<condition field="destination_number" expression="^1111">
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="sofia/local_profile/<a href="mailto:1111@example1.company.com">1111@example1.company.com</a>" />
<action application="bridge" data="sofia/local_profile/<a href="mailto:1111@example2.company.com">1111@example2.company.com</a>" />
</condition>
</extension></pre></span></div><div><br class="webkit-block-placeholder"></div><div>I had previously tried the hangup_after_bridge=false ...</div><div><br class="webkit-block-placeholder"></div><div>Any thoughts?</div>
<div><br class="webkit-block-placeholder"></div><div>Thanks for all the help!</div><div><br class="webkit-block-placeholder"></div><div>SR</div><div><br class="webkit-block-placeholder"></div><br><div class="gmail_quote">
On Fri, Nov 7, 2008 at 1:22 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div class="Ih2E3d"><action application="set" data="hangup_after_bridge=true"/><div><br></div></div><div>change to</div><div><br></div><div><action application="set" data="hangup_after_bridge=false"/></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 class="Wj3C7c"><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><?xml version="1.0" encoding="UTF-8" standalone="no"?></div><div><document type="freeswitch/xml"></div><div> <section name="dialplan" description="FS RESPONSE"></div>
<div> <context name="public"></div><div> <extension name="7135454263"></div><div> <condition field="destination_number" expression="7135454263"></div>
<div> <action application="set" data="hangup_after_bridge=true"/></div><div> <action application="set" data="call_timeout=180"/></div><div> <action application="set" data="proxy_media=true"/></div>
<div> <action application="set" data="pass_rfc2833=true"/></div><div> <action application="set" data="accountcode=TEST" /></div><div> <action application="set" data="origination_caller_id_name=NULL" /></div>
<div> <action application="set" data="origination_caller_id_number=7135454263" /></div><div> <action application="set" data="effective_caller_id_name=NULL" /></div>
<div> <action application="set" data="effective_caller_id_number=7133000522" /></div><div> <action application="set" data="sip_h_P-Asserted-Identity=<sip: +<a href="mailto:17133000522@4.71.122.214" target="_blank">17133000522@4.71.122.214</a>;user=phone>" /></div>
<div> <action application="bridge" data="sofia/internal/<a href="mailto:7135454263@4.71.122.250" target="_blank">7135454263@4.71.122.250</a>" /></div><div> <action application="bridge" data="sofia/internal/<a href="mailto:7135454263@4.71.122.131" target="_blank">7135454263@4.71.122.131</a>" /></div>
<div> </condition></div><div> </extension></div><div> </context></div><div> </section></div><div></document></div><div><br></div><div>FS sends call to 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 "action".</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 "action" -- <action application="bridge" data="sofia/internal/<a href="mailto:7135454263@4.71.122.131" target="_blank">7135454263@4.71.122.131</a>" /></div>
<div><br></div></div></div></blockquote></div></div></div></div></div><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>