Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
adeel.gnome at gmail.com
Guest





PostPosted: Wed Sep 10, 2008 4:56 am    Post subject: [Freeswitch-users] Passing variable argument in a dial plan Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services