I changed that tag so that hangup_after_bridge is false:

?<action application="set" data="hangup_after_bridge=false"/>



 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:

s = new 
Session("{ignore_early_media=true}sofia/gateway/spa3102/[email protected]:5061");
while (s.ready()) {
??? s.answer(); 
??? s.speak("cepstral","Callie","Hello World");
}



-----Original Message-----
From: Michael Jerris <[email protected]>
To: [email protected]
Sent: Wed, 11 Mar 2009 4:34 am
Subject: Re: [Freeswitch-users] Problem with "continue" in extension.









The continue works fine, it just hangs up befoer that due to:



?? ? ? ? ? ?<action application="set" data="hangup_after_bridge=true"/>




Mike




On Mar 11, 2009, at 2:46 AM, [email protected] wrote:


I have the following in my dialplan.
 
 Individually, each extension does what it's suppose to do when dialing 1111. 
 However, if I place continue=true in the first extension then it alone gets 
executed and the succeeding extension does not. 
 I thought condition=true would allow the extension afterward to execute.
 
 My test hardware for this dialplan is a single PSTN line. 
 A call comes in that line and "myExtension" executes then hopefully hangs up 
to free the line. 
 Afterward, I want "myExtension_Continued" to execute the .js application and 
dial out that single PSTN line.
 
 I need help in getting this scenerio to work.
 
 Thanks.
 ?? ?
 ?? ?<extension name="myExtension" continue="true">?? ?
 ?? ??? ?<condition field="destination_number" expression="^1111$">
 ?? ??? ??? ?<action application="info"/>
 ?? ??? ??? ?<action application="set" data="bypass_media=true"/>
 ?? ??? ??? ?<action application="set" 
data="effective_caller_id_number=${caller_id_number}"/>
 ?? ??? ??? ?<action application="set" data="hangup_after_bridge=true"/>
 ?? ??? ??? ?<action application="bridge" 
data="sofia/internal/${[email protected]:5068"/>
 ?? ??? ?</condition>
 ?? ?</extension>
 
 ?? ?<extension name="myExtension_Continued">?? ?
 ?? ??? ?<condition field="destination_number" expression="^1111$">
 ?? ??? ??? ?<action application="javascript" data="myScript.js"/>
 ?? ??? ?</condition>
 ?? ?</extension>





=


 





_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



 

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to