<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_curl#mod_xml_curl-Caching" class="">https://freeswitch.org/confluence/display/FREESWITCH/mod_xml_curl#mod_xml_curl-Caching</a><div class=""><br class=""><div style=""><blockquote type="cite" class=""><div class="">On Sep 21, 2017, at 4:31 PM, Gregor Nanger <<a href="mailto:gregor@infomedia.si" class="">gregor@infomedia.si</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I am returning back to this thread for some more information.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">This is text from wiki about dialstring and bridge command:</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">"<span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class="">When you use the user channel the user is pulled from your domain in your directory then the main domain is searched for a <params> tag. If that is not found it searches in the <user> for a <params> tag. If a <params> tag is located, it looks for the param "dial-string" as the originate string to use for that user."</span></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class=""><br class=""></span></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class="">So, if I understand correctly, if dial-string is not found in domain, it searches for dial-string in user. And this happens for each bridge to user/xxxxx@xxxxxx. </span></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class=""><br class=""></span></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class="">Does anyone know what happens in case of xml_curl, when domain and user directory is pulled from http request? Does FS make http request for each bridge to </span><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class="">user/xxxxx@xxxxxx </span><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px" class="">or does it cache internally?</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-08-11 9:47 GMT+02:00 Michael Jerris <span dir="ltr" class=""><<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div dir="auto" class="">your logs show you that's not what it's getting.... do some debugging for what all is returned, check user and domain level, grep for sofia_contact to see where it's set</div><div class=""><div class="h5"><br class=""><div class="gmail_quote"><div class="">On Thu, Aug 10, 2017 at 7:23 PM Gregor Nanger <<a href="mailto:gregor@infomedia.si" target="_blank" class="">gregor@infomedia.si</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">This is what I thought and played with dial-string, but it looks I am missing something. I set this dialstring:</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default"><font face="trebuchet ms, sans-serif" class=""><param name="dial-string" value="${verto_contact(${<wbr class="">dialed_user}@${dialed_domain})<wbr class="">}"/></font><br class=""></div><div class="gmail_default"><font face="trebuchet ms, sans-serif" class=""><br class=""></font></div><div class="gmail_default"><font face="trebuchet ms, sans-serif" class="">in User/Params section of XML (I am using xml_curl). So returning this for each verto extension at og in. Is this right place or something override this dial-string in user section?</font></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-08-11 1:58 GMT+02:00 Michael Jerris <span class=""><<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div dir="auto" class="">it sounds like your user dial string calls functions to resolve sip and verto endpoints and calls them both, sip returns not registered</div><br class=""><div class="gmail_quote"><div class=""><div class="m_-7274803285830652411m_3980515916118970094h5"><div class="">On Thu, Aug 10, 2017 at 4:51 PM Gregor Nanger <<a href="mailto:gregor@infomedia.si" target="_blank" class="">gregor@infomedia.si</a>> wrote:<br class=""></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="m_-7274803285830652411m_3980515916118970094h5"><div class=""><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Anyone has similar issue? </div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">If call is transfered to user/extension and this extension is verto than call is transfered, but also get USER NOT REGISTERED in log, because FS tries to transfer to SIP and Verto extension. Regardles of what I set in dial-string in user params.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Best regards, Gregor</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-07-12 19:40 GMT+02:00 Gregor Nanger <span class=""><<a href="mailto:gregor@infomedia.si" target="_blank" class="">gregor@infomedia.si</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I make bridge to user/extension to verto user, I get user is not registered. Call is transfered, but it looks like freeswitch tries to transfer to verto and sip endpoint. And since sip endpoint is not registered, I get User_not-registered. Everything works, but I get 2 calllogs because of this. <div class=""><br class=""></div><div class="">I also try to modify dial-string in user params, but same behavior </div><div class=""><br class=""></div><div class="">Is this by design? </div><div class=""><br class=""></div><div class="">Best regards, Gregor </div><span class="m_-7274803285830652411m_3980515916118970094m_-8321842095472861803m_9047634663639037342HOEnZb"><font color="#888888" class=""><div class="">-- <br class=""></div><div data-smartmail="gmail_signature" class=""><div class=""><table border="0" style="color:rgb(34,34,34);font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px" class=""><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><td style="font-family:arial,sans-serif;margin:8px;color:rgb(32,32,32);border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px" class=""><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)" class=""><font face="georgia, serif" size="2" class="">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)" class=""> </div></td><td style="font-family:arial,sans-serif;margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px" class=""><font face="georgia, serif" size="1" class=""><b class="">CTO</b><br class="">t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br class="">• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br class="">• <a href="http://www.infomedia.si/" target="_blank" class="">www.infomedia.si</a></font></td></tr></tbody></table></div></div></font></span></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="m_-7274803285830652411m_3980515916118970094m_-8321842095472861803m_9047634663639037342gmail_signature" data-smartmail="gmail_signature"><div class=""><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px" class=""><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px" class=""><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)" class=""><font face="georgia, serif" size="2" class="">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)" class=""> </div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px" class=""><font face="georgia, serif" size="1" class=""><b class="">CTO</b><br class="">t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br class="">• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br class="">• <a href="http://www.infomedia.si/" target="_blank" class="">www.infomedia.si</a></font></td></tr></tbody></table></div></div>
</div></div></div>
______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div></div>
<br class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="m_-7274803285830652411m_3980515916118970094gmail_signature" data-smartmail="gmail_signature"><div class=""><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px" class=""><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px" class=""><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)" class=""><font face="georgia, serif" size="2" class="">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)" class=""> </div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px" class=""><font face="georgia, serif" size="1" class=""><b class="">CTO</b><br class="">t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br class="">• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br class="">• <a href="http://www.infomedia.si/" target="_blank" class="">www.infomedia.si</a></font></td></tr></tbody></table></div></div>
</div>
______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div></div></div></div>
<br class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px" class=""><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px" class=""><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)" class=""><font face="georgia, serif" size="2" class="">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)" class=""> </div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px" class=""><font face="georgia, serif" size="1" class=""><b class="">CTO</b><br class="">t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br class="">• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br class="">• <a href="http://www.infomedia.si/" target="_blank" class="">www.infomedia.si</a></font></td></tr></tbody></table></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>