<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"><document type="freeswitch/xml"></div><div class="gmail_default"> <section name="result"></div><div class="gmail_default"> <result status="not found" /></div><div class="gmail_default"> </section></div><div class="gmail_default"></document></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"><<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>></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'd like to use mod_xml_curl for serving directory.</div><div><br></div><div><div> <binding name="my_registrations"></div><div> <param name="gateway-url" value="<a href="http://192.168.5.150:8080/getuser" target="_blank">http://192.168.5.150:<wbr>8080/getuser</a>" bindings="directory"/><br></div><div> <param name="method" value="GET"/></div><div> <param name="timeout" value="10"/></div><div> </binding></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"><document<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">type</span>="<span class="m_1466666514516780638gmail-html-attribute-value">freeswitch/xml</span><wbr>"</span>></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"><section<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">directory</span>"</span>></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"><domain<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">$${domain}</span>"</span>></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"><params></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"><param<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">dial-string</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">valu<wbr>e</span>="<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>"</span>/></span></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"><param<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">jsonrpc-allowed-<wbr>methods</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>="<span class="m_1466666514516780638gmail-html-attribute-value">verto</span>"</span>/></span></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></params></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"><groups></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"><group<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">nexios-cc</span>"</span>></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"><users></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"><user<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">id</span>="<span class="m_1466666514516780638gmail-html-attribute-value">agent1</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">number-alias</span><wbr>="<span class="m_1466666514516780638gmail-html-attribute-value">1031</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">cacheable</span>="10<span class="m_1466666514516780638gmail-html-attribute-value">000</span>"</span>></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"><params></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"><param<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">a1-hash</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>="<span class="m_1466666514516780638gmail-html-attribute-value">f<wbr>40e695952e177a9224ca3f54bf6ec5<wbr>a</span>"</span>/></span></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></params></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"><variables></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"><variable<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">user_context</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name"><wbr>value</span>="<span class="m_1466666514516780638gmail-html-attribute-value">default</span>"</span>/></span></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"><variable<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">effective_<wbr>caller_id_name</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>="<span class="m_1466666514516780638gmail-html-attribute-value">EXT 1031</span>"</span>/></span></div><span class="m_1466666514516780638gmail-text"></span><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"><variable<span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">name</span>="<span class="m_1466666514516780638gmail-html-attribute-value">effective_<wbr>caller_id_number</span>"</span><span class="m_1466666514516780638gmail-html-attribute"> <span class="m_1466666514516780638gmail-html-attribute-name">value</span>="<span class="m_1466666514516780638gmail-html-attribute-value">1031</span>"</span><wbr>/></span></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></variables></span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></user></span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></users></span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></group></span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></groups></span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></domain></span></div></div></div><span class="m_1466666514516780638gmail-text"></span></div><div class="m_1466666514516780638gmail-line"><span class="m_1466666514516780638gmail-html-tag"></section></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"></document></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&tag_name=<wbr>domain&key_name=name&key_<wbr>value=192.168.5.150&Event-<wbr>Name=REQUEST_PARAMS&Core-UUID=<wbr>15731076-c3d5-4ad6-8518-<wbr>41b9c42140be&FreeSWITCH-<wbr>Hostname=bladeranger&<wbr>FreeSWITCH-Switchname=<wbr>bladeranger&FreeSWITCH-IPv4=<wbr>192.168.5.150&FreeSWITCH-IPv6=<wbr>%3A%3A1&Event-Date-Local=2016-<wbr>12-22%2009%3A44%3A56&Event-<wbr>Date-GMT=Thu,%2022%20Dec%<wbr>202016%2008%3A44%3A56%20GMT&<wbr>Event-Date-Timestamp=<wbr>1482396296153258&Event-<wbr>Calling-File=mod_dptools.c&<wbr>Event-Calling-Function=user_<wbr>outgoing_channel&Event-<wbr>Calling-Line-Number=4129&<wbr>Event-Sequence=7368&as_<wbr>channel=true&action=user_call&<wbr>originate_timeout=0&<wbr>origination_uuid=bf0fd829-<wbr>56df-48c4-8112-41ba777ee91d&<wbr>ignore_early_media=true&last_<wbr>route=true&origination_caller_<wbr>id_number=xxxxxxxx&<wbr>origination_caller_id_name=<wbr>xxxxxxxx&key=id&user=agent1&<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 "not found"<br></li><li>purpose=network-list - i will send "not found"<br></li><li>purpose=publish-vm - i will send "not found"</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>