<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Arial size=2>Can you add <params /> to <action />
??</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>something like:</FONT></DIV>
<DIV><FONT face=Arial size=2> <FONT
face="Times New Roman"
size=3>
<action application="java"
data="/home/adeel/programs/freeswitch/scripts/freeswitch.jar
net.digitalapps.freeswitch.CallTest abcdefgh"></FONT></FONT></DIV>
<DIV><FONT face=Arial
size=2> <FONT
face="Times New Roman" size=3><param name="attr1" value="1
/"></FONT></FONT></DIV>
<DIV><FONT face=Arial
size=2> <FONT
face="Times New Roman" size=3><param name="attr2" value="3
/"></FONT></FONT></DIV>
<DIV><FONT face=Arial
size=2> <FONT
face="Times New Roman" size=3></action></FONT><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,<BR>Gayatri Kulkarni</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-----<BR>Whenever you find yourself on the side of
the majority, it is time to pause and reflect.<BR></FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT><FONT
face=Arial></FONT><FONT face=Arial></FONT><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=adeel.gnome@gmail.com
href="mailto:adeel.gnome@gmail.com">Adeel Ansari</A> </DIV>
<DIV><B>Sent:</B> Wednesday, September 10, 2008 2:55 AM</DIV>
<DIV><B>To:</B> <A title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV><B>Subject:</B> [Freeswitch-users] Passing variable argument in a dial
plan</DIV></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<DIV dir=ltr>Hi all,<BR><BR>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.<BR><BR><B>Command</B><BR>originate
sofia/gateway/gizmo1/848458448557 121<BR><BR><B>Dial Plan</B><BR
clear=all> <extension name="java_test"
continue="true"><BR>
<condition field="destination_number"
expression="121"><BR>
<action application="java"
data="/home/adeel/programs/freeswitch/scripts/freeswitch.jar
net.digitalapps.freeswitch.CallTest abcdefgh"/><BR>
</condition><BR>
</extension> <BR><BR>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.<BR><BR>Thanks.<BR><BR>-- <BR>Best,<BR>Adeel Ansari<BR><BR><A
href="http://www.linkedin.com/in/adeelansari">http://www.linkedin.com/in/adeelansari</A><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Freeswitch-users
mailing
list<BR>Freeswitch-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BODY></HTML>