<div dir="ltr">I&#39;ve tried to include custom gateways via mod_xml_curl. <div><br></div><div><div>The request is correctly issued by mod_xml_curl and received by the backend:</div><div><br></div><div>&quot;hostname=fire&amp;section=directory&amp;tag_name=domain&amp;key_name=name&amp;key_value=user&amp;Event-Name=REQUEST_PARAMS&amp;Core-UUID=18b2b698-c487-11e3-bcc9-39daad6bb1f3&amp;FreeSWITCH-Hostname=fire&amp;FreeSWITCH-Switchname=fire&amp;FreeSWITCH-IPv4=192.123.321.123&amp;FreeSWITCH-IPv6=%3A%3A1&amp;Event-Date-Local=2014-04-15%2012%3A48%3A57&amp;Event-Date-GMT=Tue,%2015%20Apr%202014%2010%3A48%3A57%20GMT&amp;Event-Date-Timestamp=1397558937493970&amp;Event-Calling-File=sofia.c&amp;Event-Calling-Function=config_sofia&amp;Event-Calling-Line-Number=5174&amp;Event-Sequence=1510&amp;purpose=gateways&amp;profile=user&quot;<br>
</div></div><div><br></div><div>The backend interprets the request by &quot;purpose=gateways&quot; and &quot;profile=user&quot; to send back all gateways required for profile &quot;user&quot;</div><div><br></div><div>&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>
</div><div><div><span class="" style="white-space:pre">        </span>&lt;section name=&quot;configuration&quot;&gt;</div><div><br></div><div><span class="" style="white-space:pre">                </span>&lt;include&gt;</div><div><span class="" style="white-space:pre">                        </span>&lt;gateway name=&quot;user_gw_1_foobar&quot;&gt;</div>
<div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;username&quot; value=&quot;&quot;/&gt;</div><div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;password&quot; value=&quot;&quot;/&gt;</div>
<div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;proxy&quot; value=&quot;<a href="http://foobar.example.de">foobar.example.de</a>&quot;/&gt;</div><div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;</div>
<div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;expire-seconds&quot; value=&quot;300&quot;/&gt;</div><div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;ping&quot; value=&quot;300&quot;/&gt;</div>
<div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;retry-seconds&quot; value=&quot;300&quot;/&gt;</div><div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;</div>
<div><span class="" style="white-space:pre">                                </span>&lt;param name=&quot;caller-id-in-from&quot; value=&quot;true&quot;/&gt;</div><div><span class="" style="white-space:pre">                        </span>&lt;/gateway&gt;<br></div><div><span class="" style="white-space:pre">                </span>&lt;/include&gt;</div>
<div><br></div><div><span class="" style="white-space:pre">        </span>&lt;/section&gt;</div><div>&lt;/document&gt;</div></div><div><br></div><div>I&#39;ve tried to remove &quot;document&quot;, &quot;section&quot;, &quot;include&quot; but no effect. </div>
<div><br></div><div>Removing all gateway xml files from local filesystem does not change anything, either.</div><div><br></div><div>Unfortunately the wiki <a href="https://wiki.freeswitch.org/wiki/Mod_xml_curl#Example:_purpose.3Dgateways">https://wiki.freeswitch.org/wiki/Mod_xml_curl#Example:_purpose.3Dgateways</a> does not give a proper example</div>
<div><br></div><div>Thx and regards</div><div>Daniel</div></div>