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

Reply via email to