<div dir="ltr">Thank you very much Sir. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2015 at 09:01, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Domains don't include ports<div class="HOEnZb"><div class="h5"><span></span><br><br>On Wednesday, June 10, 2015, Aqs Younas <<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, users.<br><br>I am trying to register my softphone with freeswitch using xml_curl <b><i>(<a href="https://github.com/intralanman/fs_curl" target="_blank">https://github.com/intralanman/fs_curl</a></i></b>) for fetching user's data from database.<br><br></div><div>My freeswitch is on following instances.<br><br>tcp 0 0 <a href="http://127.0.0.1:8021" target="_blank">127.0.0.1:8021</a> 0.0.0.0:* LISTEN 2247/freeswitch<br>tcp 0 0 <a href="http://192.168.1.50:6080" target="_blank">192.168.1.50:6080</a> 0.0.0.0:* LISTEN 2247/freeswitch<br>tcp 0 0 <a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a> 0.0.0.0:* LISTEN 2247/freeswitch<br>udp 0 0 <a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a> 0.0.0.0:* 2247/freeswitch<br>udp 0 0 <a href="http://192.168.1.50:6080" target="_blank">192.168.1.50:6080</a> 0.0.0.0:* 2247/freeswitch<br><br></div><div>Since my internal profile is running on port 6060, i added following "<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>" as my domain in database and <a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a> in my softphone domain. <br></div><div>When i try to register my softphone, i encounter with this error.<br><b>[WARNING] sofia_reg.c:2837 Cant register a pointer.<br><br></b></div><div>But if i change my domain from <a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a> to 192.168.1.50 in database but in softphone same "<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>" user is successfully registered.<br><br></div><div>Though xml_curl response is same in both cases expect domain name.<br><br></div><div>For <a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a> response is<b>,</b><br><br><?xml version="1.0" encoding="UTF-8"?><br><document type="freeswitch/xml"><br> <section name="directory" description="FreeSWITCH Directory"><br> <domain name="<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>"><br> <params><br> <param name="default_gateway" value="errors" /><br> </params><br> <variables /><br> <groups><br> <group name="default"><br> <users><br> <user id="1000" cacheable="0" mailbox="1000"><br> <params><br> <param name="password" value="1234" /><br> <param name="vm-password" value="861000" /><br> </params><br> <variables><br> <variable name="numbering_plan" value="US" /><br> </variables><br> </user><br> </users><br> </group><br> </groups><br> </domain><br> <domain name="<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>"><br> <params /><br> <variables /><br> <groups><br> <group name="default"><br> <users /><br> </group><br> </groups><br> </domain><br> </section><br> <!-- User is 1000 --><br> <!-- user id is: 1 --><br> <!-- fs_directory:119 - 8:Undefined offset: 0 --><br> <!-- user id is: 0 --><br> <!-- Total # of Queries Run: 28 --><br> <!-- Estimated Execution Time Is: 0.0048508644104004 --><br></document><br></div><div><br>For <b>192.168.1.50</b>, response is .<br><br><?xml version="1.0" encoding="UTF-8"?><br><document type="freeswitch/xml"><br> <section name="directory" description="FreeSWITCH Directory"><br> <domain name="192.168.1.50"><br> <params><br> <param name="default_gateway" value="errors" /><br> </params><br> <variables /><br> <groups><br> <group name="default"><br> <users><br> <user id="1000" cacheable="0" mailbox="1000"><br> <params><br> <param name="password" value="1234" /><br> <param name="vm-password" value="861000" /><br> </params><br> <variables><br> <variable name="numbering_plan" value="US" /><br> </variables><br> </user><br> </users><br> </group><br> </groups><br> </domain><br> <domain name="192.168.1.50"><br> <params /><br> <variables /><br> <groups><br> <group name="default"><br> <users /><br> </group><br> </groups><br> </domain><br> </section><br> <!-- User is 1000 --><br> <!-- user id is: 1 --><br> <!-- fs_directory:119 - 8:Undefined offset: 0 --><br> <!-- user id is: 0 --><br> <!-- Total # of Queries Run: 28 --><br> <!-- Estimated Execution Time Is: 0.0043249130249023 --><br></document><br></div><div><br><br></div><div>What does that mean <i><b>Cant register a pointer</b></i>? If i does not enter port in domain, users is successfully register, but not with port why?<br><br></div><div>Any pointer would be greatly appreciated.<br><br></div><div>Thanks<br></div></div>
</blockquote>
</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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>