[Users] Problem with the registration of X-PRO client with Openser

Daniel-Constantin Mierla daniel at voice-system.ro
Sun Nov 20 14:37:35 CET 2005


Hello,

try to run openser in debug mode. In the config set:

debug=9
log_stderror=yes
fork=no

listen=192.168.0.60 # the ip where to listen

You should get a lot of debug messages when a SIP message is processed. 
You may have a firewall, blocking the port 5060. So, if you get no debug 
message when a REGISTER request is sent, that means the REGISTER didn't 
reach the openser. In this case, check the firewall configuration.

Cheers,
Daniel



On 11/18/05 19:37, Lokesh Kumar wrote:
> ----- Original Message -----
> From: "Lokesh Kumar" <lokesh at interacesso.pt>
> To: <daniel at voice-system.ro>
> Sent: Friday, November 18, 2005 5:35 PM
> Subject: Re: [Users] Problem with the registration of X-PRO client with
> Openser
>
>
>   
>> Hello Daniel,
>>
>> Thanks for your reply.
>>
>> Here is the ouput I got wheb i did ngrep on openser
>>
>> "----------snip---------------##
>>
>> U 192.168.0.47:5060 -> 192.168.0.60:5060
>>
>> REGISTER sip:192.168.0.60 SIP/2.0..Via: SIP/2.0/UDP
>> 192.168.0.47:5060;rport;branch=z9hG4bKA4
>>
>> E96E15E966428C88FB407711BD924E..From: Alexandre Alves
>> <sip:3501 at 192.168.0.60>..To: Alexandre
>>
>> Alves <sip:3501 at 192.168.0.60>..Contact: "Alexandre Alves"
>> <sip:3501 at 192.168.0.47:5060>..Cal
>>
>> l-ID: CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq: 26879
>> REGISTER..Expires: 1800..Ma
>>
>> x-Forwards: 70..User-Agent: X-PRO build 1101..Content-Length: 0....
>>
>> #
>>
>> I 192.168.0.60 -> 192.168.0.47 3:3
>>
>> ....E.........1D.../...<......"MREGISTER sip:192.168.0.60 SIP/2.0..Via:
>> SIP/2.0/UDP 192.168.
>>
>> 0.47:5060;rport;branch=z9hG4bKA4E96E15E966428C88FB407711BD924E..From:
>> Alexandre Alves <sip:3
>>
>> 501 at 192.168.0.60>..To: Alexandre Alves <sip:3501 at 192.168.0.60>..Contact:
>> "Alexandre Alves" <
>>
>> sip:3501 at 192.168.0.47:5060>..Call-ID:
>> CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq: 2
>>
>> 6879 REGISTER..Expires: 1800..Max-Forwards: 70..User-Agent: X-PRO build
>> 1101..Content-Length
>>
>> : 0....------------------snip-------------------------"
>>
>>
>>
>> BELOW IS THE  OUTPUT I GOT WHEN I DO NGREP 5060...I AM UNABLE TO FIGURE
>>     
> OUT
>   
>> ,WHATS WRONG WITH IT. PLEASE HELP.
>>
>> "------------------snip--------------
>>
>> U 192.168.0.47:5060 -> 192.168.0.60:5060
>>
>> REGISTER sip:192.168.0.60 SIP/2.0..Via: SIP/2.0/UDP
>> 192.168.0.47:5060;rport;branch=z9hG4bK7E
>>
>> 650EAFB35F40FEB93391F06D534AC5..From: Alexandre Alves
>> <sip:3501 at 192.168.0.60>..To: Alexandre
>>
>> Alves <sip:3501 at 192.168.0.60>..Contact: "Alexandre Alves"
>> <sip:3501 at 192.168.0.47:5060>..Cal
>>
>> l-ID: CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq: 26883
>> REGISTER..Expires: 1800..Ma
>>
>> x-Forwards: 70..User-Agent: X-PRO build 1101..Content-Length: 0....
>>
>> #
>>
>> I 192.168.0.60 -> 192.168.0.47 3:3
>>
>> ....E.........0..../...<.......>REGISTER sip:192.168.0.60 SIP/2.0..Via:
>> SIP/2.0/UDP 192.168.
>>
>> 0.47:5060;rport;branch=z9hG4bK7E650EAFB35F40FEB93391F06D534AC5..From:
>> Alexandre Alves <sip:3
>>
>> 501 at 192.168.0.60>..To: Alexandre Alves <sip:3501 at 192.168.0.60>..Contact:
>> "Alexandre Alves" <
>>
>> sip:3501 at 192.168.0.47:5060>..Call-ID:
>> CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq: 2
>>
>> 6883 REGISTER..Expires: 1800..Max-Forwards: 70..User-Agent: X-PRO build
>> 1101..Content-Length
>>
>> : 0....------------------snip-----------------------"
>>
>> ----- Original Message -----
>> From: "Daniel-Constantin Mierla" <daniel at voice-system.ro>
>> To: "Lokesh Kumar" <lokesh at interacesso.pt>
>> Cc: <users at openser.org>
>> Sent: Friday, November 18, 2005 4:49 PM
>> Subject: Re: [Users] Problem with the registration of X-PRO client with
>> Openser
>>
>>
>>     
>>> It seems that the REGISTER message was not received by openser at all,
>>> otherwise a reply should be received. Do the ngrep on openser machine to
>>> see if the sip messages reach the system. Also, check if you have any
>>> firewall on port 5060 in place on openser server.
>>>
>>> Cheers,
>>> Daniel
>>>
>>> On 11/18/05 18:20, Lokesh Kumar wrote:
>>>       
>>>> Hello Friends,
>>>>
>>>> I am having trouble with registration of X-PRO softphone with openser,
>>>> where my softphone is on 192.168.0.47 and openser is on 192.168.0.60.
>>>> My softphone says "Login Timed out , Contact Network admin".
>>>>
>>>> Here I am posting ngrep output also.Openser is having default configs,
>>>> but I had added this softphone as a user also.
>>>>
>>>> Can anyone help me please.
>>>>
>>>> Best Regards
>>>> Lokesh
>>>>
>>>>
>>>> [root at virtualmachine configs]# ngrep 192.168.0.47
>>>> interface: eth0 (192.168.0.0/255.255.255.0)
>>>> match: 192.168.0.47
>>>> #####################################################################
>>>> U 192.168.0.47:5060 -> 192.168.0.60:5060
>>>>   REGISTER sip:192.168.0.60 SIP/2.0..Via: SIP/2.0/UDP
>>>> 192.168.0.47:5060;rport;branch=z9hG4bK96
>>>>   DBF3C437034F28A50968410DEB564C..From: Alexandre Alves
>>>> <sip:3501 at 192.168.0.60>..To: Alexandre
>>>>    Alves <sip:3501 at 192.168.0.60>..Contact: "Alexandre Alves"
>>>> <sip:3501 at 192.168.0.47:5060>..Cal
>>>>   l-ID: CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq
>>>> <mailto:CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq>: 26821
>>>> REGISTER..Expires: 1800..Ma
>>>>   x-Forwards: 70..User-Agent: X-PRO build 1101..Content-Length: 0....
>>>> #
>>>> I 192.168.0.60 -> 192.168.0.47 3:3
>>>>   ....E...o\....H..../...<......<PREGISTER sip:192.168.0.60
>>>> SIP/2.0..Via: SIP/2.0/UDP 192.168.
>>>>
>>>> 0.47:5060;rport;branch=z9hG4bK96DBF3C437034F28A50968410DEB564C..From:
>>>> Alexandre Alves <sip:3
>>>>   501 at 192.168.0.60>..To <mailto:501 at 192.168.0.60%3E..To>: Alexandre
>>>> Alves <sip:3501 at 192.168.0.60>..Contact: "Alexandre Alves" <
>>>>   sip:3501 at 192.168.0.47:5060>..Call-ID:
>>>> CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq
>>>> <mailto:CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq>: 2
>>>>   6821 REGISTER..Expires: 1800..Max-Forwards: 70..User-Agent: X-PRO
>>>> build 1101..Content-Length
>>>>   : 0....
>>>> #####
>>>> U 192.168.0.47:5060 -> 192.168.0.60:5060
>>>>   REGISTER sip:192.168.0.60 SIP/2.0..Via: SIP/2.0/UDP
>>>> 192.168.0.47:5060;rport;branch=z9hG4bK96
>>>>   DBF3C437034F28A50968410DEB564C..From: Alexandre Alves
>>>> <sip:3501 at 192.168.0.60>..To: Alexandre
>>>>    Alves <sip:3501 at 192.168.0.60>..Contact: "Alexandre Alves"
>>>> <sip:3501 at 192.168.0.47:5060>..Cal
>>>>   l-ID: CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq
>>>> <mailto:CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq>: 26821
>>>> REGISTER..Expires: 1800..Ma
>>>>   x-Forwards: 70..User-Agent: X-PRO build 1101..Content-Length: 0....
>>>> #
>>>> I 192.168.0.60 -> 192.168.0.47 3:3
>>>>   ....E...o]....H..../...<......<PREGISTER sip:192.168.0.60
>>>> SIP/2.0..Via: SIP/2.0/UDP 192.168.
>>>>
>>>> 0.47:5060;rport;branch=z9hG4bK96DBF3C437034F28A50968410DEB564C..From:
>>>> Alexandre Alves <sip:3
>>>>   501 at 192.168.0.60>..To <mailto:501 at 192.168.0.60%3E..To>: Alexandre
>>>> Alves <sip:3501 at 192.168.0.60>..Contact: "Alexandre Alves" <
>>>>   sip:3501 at 192.168.0.47:5060>..Call-ID:
>>>> CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq
>>>> <mailto:CAF0E758953441DD8ECB6C118A4A8331 at 192.168.0.60..CSeq>: 2
>>>>   6821 REGISTER..Expires: 1800..Max-Forwards: 70..User-Agent: X-PRO
>>>> build 1101..Content-Length
>>>>   : 0....
>>>> ##exit
>>>> 78 received, 0 dropped
>>>>         
>> ------------------------------------------------------------------------
>>     
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at openser.org
>>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>         
>
>
>   




More information about the sr-users mailing list