Thank you very much Sir.

On 10 June 2015 at 09:01, Michael Jerris <mike@jerris.com> wrote:
Domains don't include ports


On Wednesday, June 10, 2015, Aqs Younas <aqsyounas@gmail.com> wrote:
Hi, users.

I am trying to register my softphone with freeswitch using xml_curl (https://github.com/intralanman/fs_curl) for fetching user's data from database.

My freeswitch is on following instances.

tcp        0      0 127.0.0.1:8021          0.0.0.0:*               LISTEN      2247/freeswitch
tcp        0      0 192.168.1.50:6080        0.0.0.0:*               LISTEN      2247/freeswitch
tcp        0      0 192.168.1.50:6060        0.0.0.0:*               LISTEN      2247/freeswitch
udp        0      0 192.168.1.50:6060        0.0.0.0:*                           2247/freeswitch
udp        0      0 192.168.1.50:6080        0.0.0.0:*                           2247/freeswitch

Since my internal profile is running on port 6060, i added following "192.168.1.50:6060" as my domain in database and 192.168.1.50:6060 in my softphone  domain.
When i try to register my softphone, i encounter with this error.
[WARNING] sofia_reg.c:2837 Cant register a pointer.

But if i change my domain from 192.168.1.50:6060 to 192.168.1.50 in database but in softphone same "192.168.1.50:6060" user is successfully registered.

Though xml_curl response is same in both cases expect domain name.

For 192.168.1.50:6060 response is,

<?xml version="1.0" encoding="UTF-8"?>
<document type="freeswitch/xml">
   <section name="directory" description="FreeSWITCH Directory">
      <domain name="192.168.1.50:6060">
         <params>
            <param name="default_gateway" value="errors" />
         </params>
         <variables />
         <groups>
            <group name="default">
               <users>
                  <user id="1000" cacheable="0" mailbox="1000">
                     <params>
                        <param name="password" value="1234" />
                        <param name="vm-password" value="861000" />
                     </params>
                     <variables>
                        <variable name="numbering_plan" value="US" />
                     </variables>
                  </user>
               </users>
            </group>
         </groups>
      </domain>
      <domain name="192.168.1.50:6060">
         <params />
         <variables />
         <groups>
            <group name="default">
               <users />
            </group>
         </groups>
      </domain>
   </section>
   <!-- User is 1000 -->
   <!-- user id is: 1 -->
   <!-- fs_directory:119 - 8:Undefined offset: 0 -->
   <!-- user id is: 0 -->
   <!-- Total # of Queries Run: 28 -->
   <!-- Estimated Execution Time Is: 0.0048508644104004 -->
</document>

For 192.168.1.50, response is .

<?xml version="1.0" encoding="UTF-8"?>
<document type="freeswitch/xml">
   <section name="directory" description="FreeSWITCH Directory">
      <domain name="192.168.1.50">
         <params>
            <param name="default_gateway" value="errors" />
         </params>
         <variables />
         <groups>
            <group name="default">
               <users>
                  <user id="1000" cacheable="0" mailbox="1000">
                     <params>
                        <param name="password" value="1234" />
                        <param name="vm-password" value="861000" />
                     </params>
                     <variables>
                        <variable name="numbering_plan" value="US" />
                     </variables>
                  </user>
               </users>
            </group>
         </groups>
      </domain>
      <domain name="192.168.1.50">
         <params />
         <variables />
         <groups>
            <group name="default">
               <users />
            </group>
         </groups>
      </domain>
   </section>
   <!-- User is 1000 -->
   <!-- user id is: 1 -->
   <!-- fs_directory:119 - 8:Undefined offset: 0 -->
   <!-- user id is: 0 -->
   <!-- Total # of Queries Run: 28 -->
   <!-- Estimated Execution Time Is: 0.0043249130249023 -->
</document>


What does that mean Cant register a pointer? If i does not enter port in domain, users is successfully register, but not with port why?

Any pointer would be greatly appreciated.

Thanks

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org