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

Adeel Ansari adeel.gnome at gmail.com
Thu Sep 11 03:01:36 PDT 2008


Yup. Thanks.

On Thu, Sep 11, 2008 at 5:40 PM, Brian West <brian at freeswitch.org> wrote:

> 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
>
>
>
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080911/224b7c96/attachment-0002.html 


More information about the FreeSWITCH-users mailing list