On Wed, Mar 11, 2009 at 9:42 AM,  <[email protected]> wrote:
> 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:

Try adding a break="never" to your first extension:
    <extension name="myExtension" continue="true">
        <condition field="destination_number" expression="^1111$" break="never">
            <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>

I believe that will cause the the dialplan to keep looking for "1111"
even after it has been matched once.
-MC

_______________________________________________
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