<br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 10:11 AM, Mark Campbell-Smith <span dir="ltr"><<a href="mailto:mcampbellsmith@gmail.com">mcampbellsmith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>
<br>
How can I access the variables that are defined in a users xml file?<br>
<br>
For example, say user 1000 has a variable called smsnumber, as defined below:<br>
<br>
<include><br>
<user id="1000" mailbox="1000"><br>
<params><br>
<param name="password" value="1000"/><br>
</params><br>
<variables><br>
<variable name="smsnumber" value="12345"/><br>
</variables><br>
</user><br>
</include><br>
<br>
How can I use variable ${smsnumber} in a dialplan to run a perl script<br>
using <action application="system" data="<a href="http://sms.pl" target="_blank">sms.pl</a>"/> ?<br>
<br></blockquote><div><br>Do you just want to pass the value in smsnumber to the <a href="http://sms.pl">sms.pl</a> script? Have you tried this?<br><br><action application="system" data="<a href="http://sms.pl">sms.pl</a> ${smsnumber}"/><br>
<br>-MC<br></div></div><br>