[Freeswitch-users] Passing variable argument in a dial plan

Brian West brian at freeswitch.org
Thu Sep 11 02:40:29 PDT 2008


Is this what you want?

On Sep 11, 2008, at 3:56 AM, Adeel Ansari wrote:

> Command
> originate {foo=bar}sofia/gateway/gizmo1/848458448557 121
>
> Dial Plan
>       <extension name="java_test" continue="true">
>           <condition field="destination_number" expression="121">
>               <action application="java" data="/home/adeel/programs/ 
> freeswitch/scripts/freeswitch.jar  
> net.digitalapps.freeswitch.CallTest abcdefgh ${foo}"/>
>           </condition>
>       </extension>

Brian West
sip:brian at freeswitch.org






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080911/aab135f3/attachment-0002.html 


More information about the FreeSWITCH-users mailing list