<div dir="ltr">Londre,<div><br></div><div><span style="font-size:12.8px">{domain} should be ${domain}</span><br><div><br></div><div>If mod_xml_curl is not respecting your configuration file then we have a bug, can you please file a JIRA with your configs and log files?</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 4, 2016 at 5:29 PM, Londre <span dir="ltr">&lt;<a href="mailto:dre@imerchantsystems.com" target="_blank">dre@imerchantsystems.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have read the wiki several times and followed all the steps to the best of my knowledge. I have gotten mod_xml_curl build and making requests. I set xml_curl debug_on and I can see the request that freeswitch sends and I can take a look at the file it generates in the /tmp/ directory. However the file doesn’t seem to be writing anything. I have my web service set up to hand a POST request but it looks like freeswitch is sending GET requests even though I set the method to POST in xml_curl.xml. Any ideal would could be going wrong?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">System Info:<u></u><u></u></p><p class="MsoNormal">Debian Jessie<u></u><u></u></p><p class="MsoNormal">Freeswitch 1.7 built from source. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Xml_curl.xml:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">  1 &lt;configuration name=&quot;xml_curl.conf&quot; description=&quot;cURL XML Gateway&quot;&gt;<u></u><u></u></p><p class="MsoNormal">  2     &lt;bindings&gt;<u></u><u></u></p><p class="MsoNormal">  3         &lt;binding name=&quot;directory&quot;&gt;<u></u><u></u></p><p class="MsoNormal">  4             &lt;param name=&quot;gateway-url&quot; value=&quot;http://{domain}/api/directory&quot; bindings=&quot;directory|dialplan&quot;/&gt;<u></u><u></u></p><p class="MsoNormal">  5             &lt;param name=&quot;method&quot; value=&quot;POST&quot;/&gt;<u></u><u></u></p><p class="MsoNormal">  6             &lt;param name&quot;gateway-credentials&quot; value&quot;user:pass&quot;/&gt;<u></u><u></u></p><p class="MsoNormal">  7         &lt;/binding&gt;<u></u><u></u></p><p class="MsoNormal">  8     &lt;/bindings&gt;<u></u><u></u></p><p class="MsoNormal">  9 &lt;/configuration&gt;<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">It also doesn’t seem to be sending the variables for the gateway-credentials. Its seems weird that its sending a GET request when the default should be a POST.  Also it is a little confusing on the wiki some things show a query string and other show header variables. I’d prefer to use POST. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Please offer some insight into what could be going wrong. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>Londre Blocker<u></u><u></u></b></p><p class="MsoNormal">Developer<u></u><u></u></p><p class="MsoNormal">iMerchant Systems Inc.<u></u><u></u></p><p class="MsoNormal">T:  <a href="tel:844.727.1998" value="+18447271998" target="_blank">844.727.1998</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ítalo Rossi<div><a href="mailto:italo@freeswitch.org" target="_blank">italo@freeswitch.org</a></div></div></div>
</div>