[Freeswitch-users] Default SIP users not registering

Steven Ayre steveayre at gmail.com
Wed Apr 10 16:11:28 MSD 2013


Those settings don't have any effect on their own. They set variables which
are used elsewhere in the config files.

At least that suggests FS is indeed seeing the packets. Though that also
means you should get a response too (probably 403 Forbidden)

-Steve


On 10 April 2013 11:46, Ashish gautam <ashish at nms.co.in> wrote:

> Hi Steve,
>
> The domain is not defined according to the logs, I am getting this warning:
>
> 2013-04-10 16:13:18.614508 [WARNING] sofia_reg.c:2506 Can't find user [
> 300 at 10.1.30.229]
> You must define a domain called '10.1.30.229' in your directory and add a
> user with the id="300" attribute
> and you must configure your device to use the proper domain in it's
> authentication credentials.
>
> I have defined domain in vars.xml as:
>
>  <X-PRE-PROCESS cmd="set" data="domain=10.1.30.229"/>
>   <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
>   <X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
>   <X-PRE-PROCESS cmd="set" data="use_profile=internal"/>
>
>
> On Thu, Apr 11, 2013 at 2:05 PM, Steven Ayre <steveayre at gmail.com> wrote:
>
>> Are you sure that FS is listening on that port on that specific ip? Any
>> firewall that might be blocking the packets?
>>
>> Run:
>> sofia global siptrace on
>>
>> That'll include the sip trace in the FS debug logs, confirming whether FS
>> is actually receiving the packets.
>>
>> Steve
>>
>>
>>
>> On 10 Apr 2013, at 11:28, Ashish gautam <ashish at nms.co.in> wrote:
>>
>> FS is not replying anything there are just subscription and registration
>> packets.
>>
>> Thanks.
>>
>> On Wed, Apr 10, 2013 at 3:51 PM, Miha <miha at softnet.si> wrote:
>>
>>>  OK, just must post whole sip trace. This is just registration packet
>>> from blink/uac, I can not see what FS replied on this.
>>>
>>> miha
>>>
>>> Dne 4/10/2013 12:00 PM, piše Ashish gautam:
>>>
>>> Hi Miha,
>>>
>>>  This is the registration packet:
>>>
>>>  15:29:25.509003 IP (tos 0x0, ttl 128, id 31452, offset 0, flags
>>> [none], proto UDP (17), length 525)
>>>     10.1.30.210.53652 > 10.1.30.229.sip: [udp sum ok] UDP, length 497
>>> z.....lK
>>> ...
>>> .........8%REGISTER sip:10.1.30.229 SIP/2.0
>>> Via: SIP/2.0/UDP 10.1.30.210:53652
>>> ;rport;branch=z9hG4bKPj9ccb691852ca419ea305c4cdd79aba44
>>> Max-Forwards: 70
>>> From: "Ashish" <sip:1100 at 10.1.30.229
>>> >;tag=5970e44547c642a2b6e335b5bbee73ea
>>> To: "Ashish" <sip:1100 at 10.1.30.229>
>>> Contact: <sip:szdfkhrp at 10.1.30.210:53652
>>> >;+sip.instance="<urn:uuid:4cd94bd9-88c4-4ea2-906f-06ddf5a45b7f>"
>>> Call-ID: a88024e2bdd04101a57f713d57af681e
>>> CSeq: 1 REGISTER
>>> Expires: 3600
>>> User-Agent: Blink 0.2.10 (Windows)
>>> Content-Length:  0
>>>
>>>
>>>  On Wed, Apr 10, 2013 at 3:14 PM, Miha <miha at softnet.si> wrote:
>>>
>>>>  Hi,
>>>>
>>>> what about registration packet and etc?
>>>>
>>>> this is only subscribe for presence.
>>>>
>>>> miha
>>>>
>>>> Dne 4/10/2013 11:07 AM, piše Ashish gautam:
>>>>
>>>> Miha,
>>>>
>>>>  This is the output of the  tcpdump -nq -s 0 -A -vvv -i eth0 port 5060
>>>> for the related packet :
>>>>
>>>>  13:29:37.050278 IP (tos 0x0, ttl 128, id 9943, offset 0, flags
>>>> [none], proto UDP (17), length 640)
>>>>     10.1.30.210.53652 > 10.1.30.229.sip: [udp sum ok] UDP, length 612
>>>> E...&.......
>>>> ...
>>>> ........l..SUBSCRIBE sip:1100 at 10.1.30.229 SIP/2.0
>>>> Via: SIP/2.0/UDP 10.1.30.210:53652
>>>> ;rport;branch=z9hG4bKPj91db66336d564de5b3b3e50c03ac32b3
>>>> Max-Forwards: 70
>>>> From: "Ashish" <sip:1100 at 10.1.30.229
>>>> >;tag=3058239a404c4a4dbcd438916aa8033b
>>>> To: <sip:1100 at 10.1.30.229>
>>>> Contact: <sip:szdfkhrp at 10.1.30.210:53652>
>>>> Call-ID: b3d45216211242afa13ae86734ea4408
>>>> CSeq: 30541 SUBSCRIBE
>>>> Event: message-summary
>>>> Expires: 3600
>>>> Accept: application/simple-message-summary
>>>> Allow-Events: conference, message-summary, dialog, presence,
>>>> presence.winfo, xcap-diff, dialog.winfo, refer
>>>> User-Agent: Blink 0.2.10 (Windows)
>>>> Content-Length:  0
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Apr 10, 2013 at 12:24 PM, Miha <miha at softnet.si> wrote:
>>>>
>>>>>  did you try to use whireshark?
>>>>>
>>>>> miha
>>>>>
>>>>> Dne 4/10/2013 8:28 AM, piše Ashish gautam:
>>>>>
>>>>> Thanks Miha,
>>>>>
>>>>>  sip trace shows nothing.
>>>>>
>>>>>
>>>>> On Wed, Apr 10, 2013 at 11:52 AM, Miha <miha at softnet.si> wrote:
>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> was does sip trace say. You must add user to default directory and
>>>>>> that do reloadxml.
>>>>>>
>>>>>> You can past you log to see what is going on..
>>>>>>
>>>>>> miha
>>>>>>
>>>>>> Dne 4/10/2013 8:09 AM, piše Ashish gautam:
>>>>>>
>>>>>>  Hi,
>>>>>>
>>>>>>  I am trying to register Default SIP users i.e. 1019,1004 etc from a
>>>>>> softphone but they are not registering. Sofia status also not showing any
>>>>>> user registrations. FreeSWITCH is listening on port 5060 and every
>>>>>> configuration has been done according to the docs. What could be the issue?
>>>>>>
>>>>>>  Any help appreciated.
>>>>>>
>>>>>>  Thanks in advance.
>>>>>>
>>>>>>
>>>>>>  _________________________________________________________________________
>>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>>>>>
>>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>>>>
>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>>>>>
>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>> consulting at freeswitch.org
>>>>>> http://www.freeswitchsolutions.com
>>>>>>
>>>>>> 
>>>>>> 
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org
>>>>>> http://wiki.freeswitch.org
>>>>>> http://www.cluecon.com
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:
>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>>>>
>>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>>>
>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> 
>>>>> 
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>>>
>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>>
>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>>
>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130410/c2bad223/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list