Don&#39;t you have to URL encode the &amp; character?<div>-MC<br><br><div class="gmail_quote">On Mon, Dec 19, 2011 at 11:14 AM, Anders <span dir="ltr">&lt;<a href="mailto:vaerge@gmail.com">vaerge@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying to originate a call, using a mod command through the<br>
xml_rpc, but I am doing something wrong - not sure what it is. I post<br>
this url:<br>
<br>
<a href="http://1.2.3.4/webapi/originate?{origination_caller_id_number=14007654321}sofia/carriers/111#18001234567@4.5.6.7%20&amp;playback(/vr/migstory.wav)" target="_blank">http://1.2.3.4/webapi/originate?{origination_caller_id_number=14007654321}sofia/carriers/111#18001234567@4.5.6.7%20&amp;playback(/vr/migstory.wav)</a><br>

<br>
(numbers and IPs modified here)<br>
<br>
The reponse I get is this: -USAGE: &lt;call url&gt;<br>
&lt;exten&gt;|&amp;&lt;application_name&gt;(&lt;app_args&gt;) [&lt;dialplan&gt;] [&lt;context&gt;]<br>
[&lt;cid_name&gt;] [&lt;cid_num&gt;] [&lt;timeout_sec&gt;]<br>
<br>
I can do other commands directly in the browser like this (such as<br>
<a href="http://1.2.3.4/webapi/show?calls" target="_blank">http://1.2.3.4/webapi/show?calls</a>) without any problems. Therefore my<br>
conclusion is that I am doing something wrong in this syntax for http.<br>
<br>
Any ideas?<br>
<br>
Thanks in advance!<br>
<br>
//Anders<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>