[Devel] multiple replicated servers socket info read error

Raymond Chen rchen at broadz.com
Tue Dec 13 20:37:42 CET 2005


Just updated from CVS, but error still there.=20

Ray

-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]=20
Sent: 2005=C4=EA12=D4=C214=C8=D5 0:32
To: Raymond Chen
Cc: devel at openser.org
Subject: Re: [Devel] multiple replicated servers socket info read error

Hi Raymond,

as probably you use the pserver cvs, it will take some time until it=20
will be updated (sourceforge policy). Do an update in couple of hours.

regards,
bogdan

Raymond Chen wrote:

> Hi Bogdan,
>
> Thanks for the quick fix, but it's seems the problem still exist.
>
> Registration replication message:
>
> ......
>
> User-Agent: Sipura/SPA2000-2.0.13(g).
>
> Content-Length: 0.
>
> Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER.
>
> Supported: x-sipura.
>
> P-hint: Proxied.
>
> Sock-Info: udp:xxx.xxx.xxx.xxx:5060
>
> ......
>
> Debug info:
>
> ......
>
> 0(6258) parse_headers: flags=3Dffffffffffffffff
>
> 0(6258) ERROR: parse_phostport: bad port number in=20
> udp:xxx.xxx.xxx.xxx:5060
>
> 0(6258) ERROR:registrar:get_sock_hdr: bad socket=20
> <udp:xxx.xxx.xxx.xxx:5060> in
>
> 0(6258) parse_headers: flags=3D4000000
>
> 0(6258) parse_headers: flags=3D80000
>
> 0(6258) build_contact(): Created Contact=20
> HF:Contact:<sip:abcabc at yyy.yyy.yyy.yyy:18373>;expires=3D3600
>
> ..........
>
> Thanks
>
> Ray
>
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
> Sent: 2005=C4=EA12=D4=C213=C8=D5 21:40
> To: Raymond Chen
> Cc: devel at openser.org
> Subject: Re: [Devel] multiple replicated servers socket info read =
error
>
> Hi Raymond,
>
> the problem was fixed on CVS. Please give it a try.
>
> thanks for report,
>
> bogdan
>
> Bogdan-Andrei Iancu wrote:
>
>> Hi Raymond,
>
>>
>
>> I guess is not a config issue, but it might be the result of the
>
>> latest work on it - proto was added couple of days ago. Please post
>
>> the replicated request and I will take a look to see where is the
>
>> problem.
>
>>
>
>> Regards,
>
>> Bogdan
>
>>
>
>> Raymond Chen wrote:
>
>>
>
>>> Dear all,
>
>>>
>
>>> We=A1=AFve setup a multiple replicated servers scenarios, openser 1
>
>>> replicate to openser 2.
>
>>>
>
>>> Openser 1:
>
>>>
>
>>> =A1=AD=A1=AD
>
>>>
>
>>> add_sock_hdr("Sock-Info");
>
>>>
>
>>> t_replicate(=A1=B0openser 2=A1=B1);
>
>>>
>
>>> =A1=AD=A1=AD.
>
>>>
>
>>> Openser 2:
>
>>>
>
>>> =A1=AD=A1=AD.
>
>>>
>
>>> modparam("registrar", "sock_flag", 18)
>
>>>
>
>>> modparam("registrar", "sock_hdr_name", "Sock-Info")
>
>>>
>
>>> =A1=AD=A1=AD
>
>>>
>
>>> setflag(18);
>
>>>
>
>>> =A1=AD=A1=AD=A1=AD
>
>>>
>
>>> We are expecting the socket info will be stored by register instead
>
>>>
>
>>> of the received socket info. But from debug we have the following
>
>>> error message.
>
>>>
>
>>> 0(2599) ERROR: parse_phostport: bad port number in
>
>>> udp:xxx.xxx.xxxx.xxx:5060
>
>>>
>
>>> 0(2599) ERROR:registrar:get_sock_hdr: bad socket
>
>>> <udp:xxx.xxx.xxx.xxx:5060> in
>
>>>
>
>>> 0(2599) parse_headers: flags=3D4000000
>
>>>
>
>>> 0(2599) build_contact(): Created Contact HF: Contact:
>
>>> <sip:001916123123123 at xxx.xxx.xxx.xxx:51018>;expires=3D300
>
>>>
>
>>> Any idea? Is it the configuration we did was wrong?
>
>>>
>
>>> Thanks
>
>>>
>
>>> Ray
>
>>>
>
>>> =
------------------------------------------------------------------------
>
>>>
>
>>> _______________________________________________
>
>>> Devel mailing list
>
>>> Devel at openser.org
>
>>> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>>>
>
>>>
>
>>
>
>>
>
>> _______________________________________________
>
>> Devel mailing list
>
>> Devel at openser.org
>
>> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>>
>







More information about the Devel mailing list