<div dir="ltr"><div class="gmail_default" style="font-size:small">did you tried to send in all cases not found? I mean to return this:<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">&lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div class="gmail_default">  &lt;section name=&quot;result&quot;&gt;</div><div class="gmail_default">    &lt;result status=&quot;not found&quot; /&gt;</div><div class="gmail_default">  &lt;/section&gt;</div><div class="gmail_default">&lt;/document&gt;</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-22 14:28 GMT+05:00 Tihomir Culjaga <span dir="ltr">&lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>i&#39;d like to use mod_xml_curl for serving directory.</div><div><br></div><div><div>    &lt;binding name=&quot;my_registrations&quot;&gt;</div><div>      &lt;param name=&quot;gateway-url&quot; value=&quot;<a href="http://192.168.5.150:8080/getuser" target="_blank">http://192.168.5.150:<wbr>8080/getuser</a>&quot; bindings=&quot;directory&quot;/&gt;<br></div><div>      &lt;param name=&quot;method&quot; value=&quot;GET&quot;/&gt;</div><div>      &lt;param name=&quot;timeout&quot; value=&quot;10&quot;/&gt;</div><div>    &lt;/binding&gt;</div></div><div><br></div><div>...and as far as registrations ( SIP or verto ) it is ok, meaning my devices do register.</div><div><br></div><div><br></div><div>i return something like this:<br></div><div><br></div><div><div class="m_1466666514516780638gmail-line" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class="m_1466666514516780638gmail-html-tag">&lt;document<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">type</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">freeswitch/xml</span><wbr>&quot;</span>&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em;color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible1"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;section<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">directory</span>&quot;</span>&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible2"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;domain<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">$${domain}</span>&quot;</span>&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible3"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;params&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;param<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">dial-string</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">valu<wbr>e</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">{^^:sip_invite_domain=${<wbr>dialed_domain}:presence_id=${<wbr>dialed_user}@${dialed_domain}}<wbr>${sofia_contact(*/${dialed_<wbr>user}@${dialed_domain})},${<wbr>verto_contact(${dialed_user}@$<wbr>{dialed_domain})}</span>&quot;</span>/&gt;</span></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;param<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">jsonrpc-allowed-<wbr>methods</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">verto</span>&quot;</span>/&gt;</span></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/params&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible4"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;groups&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible5"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;group<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">nexios-cc</span>&quot;</span>&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible6"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;users&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible7"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;user<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">id</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">agent1</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">number-alias</span><wbr>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">1031</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">cacheable</span>=&quot;10<span class="m_1466666514516780638gmail-html-attribute-value">000</span>&quot;</span>&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible8"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;params&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;param<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">a1-hash</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">f<wbr>40e695952e177a9224ca3f54bf6ec5<wbr>a</span>&quot;</span>/&gt;</span></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/params&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-collapsible" id="m_1466666514516780638gmail-collapsible9"><div class="m_1466666514516780638expanded"><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-button m_1466666514516780638gmail-collapse-button" style="display:inline-block;width:10px;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:initial;vertical-align:bottom;height:10px"></span><span class="m_1466666514516780638gmail-html-tag">&lt;variables&gt;</span></div><div class="m_1466666514516780638gmail-collapsible-content" style="margin-left:1em"><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;variable<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">user_context</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name"><wbr>value</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">default</span>&quot;</span>/&gt;</span></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;variable<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">effective_<wbr>caller_id_name</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">EXT 1031</span>&quot;</span>/&gt;</span></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;variable<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">effective_<wbr>caller_id_number</span>&quot;</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>=&quot;<span class="m_1466666514516780638gmail-html-attribute-value">1031</span>&quot;</span><wbr>/&gt;</span></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/variables&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/user&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/users&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/group&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/groups&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/domain&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag">&lt;/section&gt;</span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><span class="m_1466666514516780638gmail-html-tag">&lt;/document&gt;</span></div></div><div class="m_1466666514516780638gmail-line" style="color:rgb(0,0,0);font-family:monospace;font-size:13px"><br></div><div><br></div><div>but when i place a call i get a request with action=user_call with no other info than user xxx is trying to place an outgoing call without saying where :=)</div><div><br></div><div>section=directory&amp;tag_name=<wbr>domain&amp;key_name=name&amp;key_<wbr>value=192.168.5.150&amp;Event-<wbr>Name=REQUEST_PARAMS&amp;Core-UUID=<wbr>15731076-c3d5-4ad6-8518-<wbr>41b9c42140be&amp;FreeSWITCH-<wbr>Hostname=bladeranger&amp;<wbr>FreeSWITCH-Switchname=<wbr>bladeranger&amp;FreeSWITCH-IPv4=<wbr>192.168.5.150&amp;FreeSWITCH-IPv6=<wbr>%3A%3A1&amp;Event-Date-Local=2016-<wbr>12-22%2009%3A44%3A56&amp;Event-<wbr>Date-GMT=Thu,%2022%20Dec%<wbr>202016%2008%3A44%3A56%20GMT&amp;<wbr>Event-Date-Timestamp=<wbr>1482396296153258&amp;Event-<wbr>Calling-File=mod_dptools.c&amp;<wbr>Event-Calling-Function=user_<wbr>outgoing_channel&amp;Event-<wbr>Calling-Line-Number=4129&amp;<wbr>Event-Sequence=7368&amp;as_<wbr>channel=true&amp;action=user_call&amp;<wbr>originate_timeout=0&amp;<wbr>origination_uuid=bf0fd829-<wbr>56df-48c4-8112-41ba777ee91d&amp;<wbr>ignore_early_media=true&amp;last_<wbr>route=true&amp;origination_caller_<wbr>id_number=xxxxxxxx&amp;<wbr>origination_caller_id_name=<wbr>xxxxxxxx&amp;key=id&amp;user=agent1&amp;<wbr>domain=192.168.5.150<br></div><div><br></div><div><br></div><div><br></div><div>So, here i got few questions :=)</div><div><br></div><div><ol><li>purpose=null, action=sip_auth - i send user info here (SIP)<br></li><li>purpose=null, action=jsonrpc-authenticate - i send user info here (Verto)</li><li>purpose=null, action=user_call - what do i send here ?<br></li><li>purpose=null, reverse-auth-lookup - what do i return here ?</li><li>purpose=gateways - i will send &quot;not found&quot;<br></li><li>purpose=network-list - i will send &quot;not found&quot;<br></li><li>purpose=publish-vm - i will send &quot;not found&quot;</li></ol><div><br></div></div><div><br></div><div>Thanks to everyone who is going to enlight these few things above :=)</div><div><br></div><div>regards,</div><div>Tihomir.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<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.<wbr>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.<wbr>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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>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" data-smartmail="gmail_signature"><div dir="ltr"><div>Артур</div></div></div>
</div>