<div> <font face="Arial, Helvetica, sans-serif">I changed that tag so that hangup_after_bridge is false:<br>
<br>
</font></div>
<span class="Apple-style-span" style="font-family: Arial;"><font face="Arial, Helvetica, sans-serif"> <action application="set" data="hangup_after_bridge=false"/></font></span>
<div><font class="Apple-style-span" face="Arial"><br>
</font></div>
<div> <font face="Arial, Helvetica, sans-serif">but I still don't get the .js application working which is nothing more than a test script that ran if I dialed it's extension with the preceding one commented out:<br>
<br>
s = new Session("{ignore_early_media=true}sofia/gateway/spa3102/12223334444@10.0.0.5:5061");<br>
while (s.ready()) {<br>
s.answer(); <br>
s.speak("cepstral","Callie","Hello World");<br>
}<br>
<br>
<br>
</font></div>
-----Original Message-----<br>
From: Michael Jerris <mike@jerris.com><br>
To: freeswitch-users@lists.freeswitch.org<br>
Sent: Wed, 11 Mar 2009 4:34 am<br>
Subject: Re: [Freeswitch-users] Problem with "continue" in extension.<br>
<br>
<div id="AOLMsgPart_3_b2463304-5c3f-48db-9181-6ce2c99421aa">
The continue works fine, it just hangs up befoer that due to:
<div><br>
</div>
<div><span class="Apple-style-span" style="font-family: Arial;"> <font face="Arial, Helvetica, sans-serif"> <action application="set" data="hangup_after_bridge=true"/></font></span></div>
<div><font class="Apple-style-span" face="Arial"><br>
</font></div>
<div><font class="Apple-style-span" face="Arial">Mike</font></div>
<div><font class="Apple-style-span" face="Arial"><br>
</font>
<div>
<div>On Mar 11, 2009, at 2:46 AM, <a href="mailto:mszlazak@aol.com">mszlazak@aol.com</a> wrote:</div>
<br class="Apple-interchange-newline"><blockquote type="cite"><font face="Arial, Helvetica, sans-serif">I have the following in my dialplan.<br>
<br>
Individually, each extension does what it's suppose to do when dialing 1111. <br>
However, if I place continue=true in the first extension then it alone gets executed and the succeeding extension does not. <br>
I thought condition=true would allow the extension afterward to execute.<br>
<br>
My test hardware for this dialplan is a single PSTN line. <br>
A call comes in that line and "myExtension" executes then hopefully hangs up to free the line. <br>
Afterward, I want "myExtension_Continued" to execute the .js application and dial out that single PSTN line.<br>
<br>
I need help in getting this scenerio to work.<br>
<br>
Thanks.<br>
<br>
<extension name="myExtension" continue="true"> <br>
<condition field="destination_number" expression="^1111$"><br>
<action application="info"/><br>
<action application="set" data="bypass_media=true"/><br>
<action application="set" data="effective_caller_id_number=${caller_id_number}"/><br>
<action application="set" data="hangup_after_bridge=true"/><br>
<action application="bridge" data="<a href="mailto:sofia/internal/$%7Bsip_to_user%7D@127.0.0.1">sofia/internal/${sip_to_user}@127.0.0.1</a>:5068"/><br>
</condition><br>
</extension><br>
<br>
<extension name="myExtension_Continued"> <br>
<condition field="destination_number" expression="^1111$"><br>
<action application="javascript" data="myScript.js"/><br>
</condition><br>
</extension></font>
<div id="MAILCIADA031-5c6749b75e50192" class="aol_ad_footer"><br>
</div>
</blockquote></div>
</div>
=
</div>
<!-- end of AOLMsgPart_3_b2463304-5c3f-48db-9181-6ce2c99421aa -->
<div id="AOLMsgPart_4_b2463304-5c3f-48db-9181-6ce2c99421aa" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt>_______________________________________________<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>
</tt></pre>
</div>
<!-- end of AOLMsgPart_4_b2463304-5c3f-48db-9181-6ce2c99421aa -->
<div id='MAILCIAMA037-5c4549b7ea0410e' class='aol_ad_footer'><br/><font style="color:black;font:normal 10pt arial,san-serif;"> <hr style="margin-top:10px"/><b>A Good Credit Score is 700 or Above. <a href="http://pr.atwola.com/promoclk/100126575x1219671244x1201345076/aol?redir=http:%2F%2Fwww.freecreditreport.com%2Fpm%2Fdefault.aspx%3Fsc%3D668072%26hmpgID%3D62%26bcd%3DfebemailfooterNO62"> See yours in just 2 easy steps!</a></b></font> </div>