[Freeswitch-users] Passing variable argument in a dial plan
Anthony Minessale
anthony.minessale at gmail.com
Wed Sep 10 06:10:10 PDT 2008
${variable_name}
On Wed, Sep 10, 2008 at 4:55 AM, Adeel Ansari <adeel.gnome at gmail.com> wrote:
> Hi all,
>
> I am hitting a dial plan using a command. And the application defined in
> the dial plan is running successfully with the argument passed. Below is the
> illustration.
>
> *Command*
> originate 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"/>
> </condition>
> </extension>
>
> My Java program successfully showing me the argument "abcdefgh". Now I want
> to pass a variable, not a fixed like "abcdefgh", as an argument. How can I
> do it.
>
> Thanks.
>
> --
> Best,
> Adeel Ansari
>
> http://www.linkedin.com/in/adeelansari
>
> _______________________________________________
> 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
>
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080910/82e8c110/attachment-0002.html
More information about the FreeSWITCH-users
mailing list