Hi Bogdan,

 

My bad, I thought make install will overwrite the old modules.  Now I got the CVS compiled and installed. Old error message has gone away, but another error occurs in debug:

 

.....

0(21224) grep_sock_info - checking if port 5060 matches port 5060

 0(21224) ERROR:registrar:get_sock_hdr: non-local socket <udp:xxx.xxx.xxx.xxx:5060>

 0(21224) parse_headers: flags=4000000

 0(21224) parse_headers: flags=80000

....

 

I thought the replicated proxy should store the remote sock_info and should not return the as non-local socket.  Correct me if I am wrong about this replicate feature.

 

Thanks

 

Ray

 

-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:[EMAIL PROTECTED]
Sent: 2005
1213 21:40
To: Raymond Chen
Cc: [email protected]
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,

>> 

>> Weve setup a multiple replicated servers scenarios, openser 1

>> replicate to openser 2.

>> 

>> Openser 1:

>> 

>> ……

>> 

>> add_sock_hdr("Sock-Info");

>> 

>> t_replicate(openser 2);

>> 

>> …….

>> 

>> Openser 2:

>> 

>> …….

>> 

>> modparam("registrar", "sock_flag", 18)

>> 

>> modparam("registrar", "sock_hdr_name", "Sock-Info")

>> 

>> ……

>> 

>> setflag(18);

>> 

>> ………

>> 

>> 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=4000000

>> 

>> 0(2599) build_contact(): Created Contact HF: Contact:

>> <sip:[EMAIL PROTECTED]:51018>;expires=300

>> 

>> Any idea? Is it the configuration we did was wrong?

>> 

>> Thanks

>> 

>> Ray

>> 

>> ------------------------------------------------------------------------

>> 

>> _______________________________________________

>> Devel mailing list

>> [email protected]

>> http://openser.org/cgi-bin/mailman/listinfo/devel

>> 

>> 

> 

> 

> _______________________________________________

> Devel mailing list

> [email protected]

> http://openser.org/cgi-bin/mailman/listinfo/devel

> 

 

 

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to