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

2008-09-11 Thread Adeel Ansari
Yup. Thanks. On Thu, Sep 11, 2008 at 5:40 PM, Brian West <[EMAIL PROTECTED]> 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* > > >data="/ho

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

2008-09-11 Thread Brian West
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 Brian West sip:[EMAIL PROTECTED] ___ Freesw

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

2008-09-11 Thread Adeel Ansari
Not getting you. I need to pass a variable/value in *originate* command, then get that in dial_plan, and then pass it to Java program. Now, where to put this thing, ${variable_name}, and how about the variable_value? On Wed, Sep 10, 2008 at 9:10 PM, Anthony Minessale < [EMAIL PROTECTED]> wrote: >

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

2008-09-10 Thread Brian West
Nope. This should be handled inside mod_java to parse and pass the args into the java env. /b On Sep 10, 2008, at 10:41 PM, Gayatri Kulkarni wrote: Can you add to ?? something like: Regards, Gayat

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

2008-09-10 Thread Gayatri Kulkarni
, September 10, 2008 2:55 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Passing variable argument in a dial plan 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

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

2008-09-10 Thread Anthony Minessale
${variable_name} On Wed, Sep 10, 2008 at 4:55 AM, Adeel Ansari <[EMAIL PROTECTED]> 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

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

2008-09-10 Thread Adeel Ansari
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* My