<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">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Domains don&#39;t include ports<div class="HOEnZb"><div class="h5"><span></span><br><br>On Wednesday, June 10, 2015, Aqs Younas &lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt; 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&#39;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 &quot;<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>&quot; 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 &quot;<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>&quot; 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>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>   &lt;section name=&quot;directory&quot; description=&quot;FreeSWITCH Directory&quot;&gt;<br>      &lt;domain name=&quot;<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>&quot;&gt;<br>         &lt;params&gt;<br>            &lt;param name=&quot;default_gateway&quot; value=&quot;errors&quot; /&gt;<br>         &lt;/params&gt;<br>         &lt;variables /&gt;<br>         &lt;groups&gt;<br>            &lt;group name=&quot;default&quot;&gt;<br>               &lt;users&gt;<br>                  &lt;user id=&quot;1000&quot; cacheable=&quot;0&quot; mailbox=&quot;1000&quot;&gt;<br>                     &lt;params&gt;<br>                        &lt;param name=&quot;password&quot; value=&quot;1234&quot; /&gt;<br>                        &lt;param name=&quot;vm-password&quot; value=&quot;861000&quot; /&gt;<br>                     &lt;/params&gt;<br>                     &lt;variables&gt;<br>                        &lt;variable name=&quot;numbering_plan&quot; value=&quot;US&quot; /&gt;<br>                     &lt;/variables&gt;<br>                  &lt;/user&gt;<br>               &lt;/users&gt;<br>            &lt;/group&gt;<br>         &lt;/groups&gt;<br>      &lt;/domain&gt;<br>      &lt;domain name=&quot;<a href="http://192.168.1.50:6060" target="_blank">192.168.1.50:6060</a>&quot;&gt;<br>         &lt;params /&gt;<br>         &lt;variables /&gt;<br>         &lt;groups&gt;<br>            &lt;group name=&quot;default&quot;&gt;<br>               &lt;users /&gt;<br>            &lt;/group&gt;<br>         &lt;/groups&gt;<br>      &lt;/domain&gt;<br>   &lt;/section&gt;<br>   &lt;!-- User is 1000 --&gt;<br>   &lt;!-- user id is: 1 --&gt;<br>   &lt;!-- fs_directory:119 - 8:Undefined offset: 0 --&gt;<br>   &lt;!-- user id is: 0 --&gt;<br>   &lt;!-- Total # of Queries Run: 28 --&gt;<br>   &lt;!-- Estimated Execution Time Is: 0.0048508644104004 --&gt;<br>&lt;/document&gt;<br></div><div><br>For <b>192.168.1.50</b>, response is .<br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>   &lt;section name=&quot;directory&quot; description=&quot;FreeSWITCH Directory&quot;&gt;<br>      &lt;domain name=&quot;192.168.1.50&quot;&gt;<br>         &lt;params&gt;<br>            &lt;param name=&quot;default_gateway&quot; value=&quot;errors&quot; /&gt;<br>         &lt;/params&gt;<br>         &lt;variables /&gt;<br>         &lt;groups&gt;<br>            &lt;group name=&quot;default&quot;&gt;<br>               &lt;users&gt;<br>                  &lt;user id=&quot;1000&quot; cacheable=&quot;0&quot; mailbox=&quot;1000&quot;&gt;<br>                     &lt;params&gt;<br>                        &lt;param name=&quot;password&quot; value=&quot;1234&quot; /&gt;<br>                        &lt;param name=&quot;vm-password&quot; value=&quot;861000&quot; /&gt;<br>                     &lt;/params&gt;<br>                     &lt;variables&gt;<br>                        &lt;variable name=&quot;numbering_plan&quot; value=&quot;US&quot; /&gt;<br>                     &lt;/variables&gt;<br>                  &lt;/user&gt;<br>               &lt;/users&gt;<br>            &lt;/group&gt;<br>         &lt;/groups&gt;<br>      &lt;/domain&gt;<br>      &lt;domain name=&quot;192.168.1.50&quot;&gt;<br>         &lt;params /&gt;<br>         &lt;variables /&gt;<br>         &lt;groups&gt;<br>            &lt;group name=&quot;default&quot;&gt;<br>               &lt;users /&gt;<br>            &lt;/group&gt;<br>         &lt;/groups&gt;<br>      &lt;/domain&gt;<br>   &lt;/section&gt;<br>   &lt;!-- User is 1000 --&gt;<br>   &lt;!-- user id is: 1 --&gt;<br>   &lt;!-- fs_directory:119 - 8:Undefined offset: 0 --&gt;<br>   &lt;!-- user id is: 0 --&gt;<br>   &lt;!-- Total # of Queries Run: 28 --&gt;<br>   &lt;!-- Estimated Execution Time Is: 0.0043249130249023 --&gt;<br>&lt;/document&gt;<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>