Hello SER Team,
We have made SER listen on two ports via adding this command (listen=eth0:5060 eth0:5062) in ser.cfg file. Now we are able to get the server listening on two ports as 5060 & 5062 and it is sending 200 OK for the user agents which try to communicate on both the ports. SER is able to register two user agents, one on 5060 and one on 5062. But when we are trying to make a communication between the two registered user agents (i.e. one on 5060 and other on 5062) then no communication is possible (i.e. we cannot make calls and chats). Though when the two user agents are registered on same port (i.e. both UAs on 5060 or both UAs on 5062) then communication is possible between the two clients (i.e. we can make calls and chats).
Can you people please guide me through that how can I make the 2 UAs registered to SER on different ports (i.e. one on 5060 and other on 5062) communicate with each other (i.e. they can make calls and chats).
I have attached a log as well which shows the same problem. This is a wireshark captured output on the machine which has SER installed.
Thanks and Best Regards Saurabh Srivastava
Hello,
what version are you running?
I use this kind of scenario many times and there is no problem, but I am using the kamailio flavour (since version 3.0.0, it is same application as ser, but different location module).
Cheers, Daniel
On 11/15/10 6:54 AM, Saurabh Srivastava wrote:
Hello SER Team, We have made SER listen on two ports via adding this command (listen=eth0:5060 eth0:5062) in ser.cfg file. Now we are able to get the server listening on two ports as 5060& 5062 and it is sending 200 OK for the user agents which try to communicate on both the ports. SER is able to register two user agents, one on 5060 and one on 5062. But when we are trying to make a communication between the two registered user agents (i.e. one on 5060 and other on 5062) then no communication is possible (i.e. we cannot make calls and chats). Though when the two user agents are registered on same port (i.e. both UAs on 5060 or both UAs on 5062) then communication is possible between the two clients (i.e. we can make calls and chats). Can you people please guide me through that how can I make the 2 UAs registered to SER on different ports (i.e. one on 5060 and other on 5062) communicate with each other (i.e. they can make calls and chats). I have attached a log as well which shows the same problem. This is a wireshark captured output on the machine which has SER installed. Thanks and Best Regards Saurabh Srivastava
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Are you using SER flavour or Kamilio flavour? E.g. are you using registrar and userloc modules from modules_s or modules_k?
With Kamailio I never had any issues. When the contact is saved to location table there is a column "received_socket" which is filled with the socket on which the REGISTER request was received.
After lookup() the send-socket should be set to this socket.
So, enable debugging, verify if the received_socket is stored in location table, and verify syslog for some errors.
regards klaus
On 15.11.2010 06:54, Saurabh Srivastava wrote:
Hello SER Team,
We have made SER listen on two ports via adding this command (listen=eth0:5060 eth0:5062) in ser.cfg file. Now we are able to get the server listening on two ports as 5060& 5062 and it is sending 200 OK for the user agents which try to communicate on both the ports. SER is able to register two user agents, one on 5060 and one on 5062. But when we are trying to make a communication between the two registered user agents (i.e. one on 5060 and other on 5062) then no communication is possible (i.e. we cannot make calls and chats). Though when the two user agents are registered on same port (i.e. both UAs on 5060 or both UAs on 5062) then communication is possible between the two clients (i.e. we can make calls and chats).
Can you people please guide me through that how can I make the 2 UAs registered to SER on different ports (i.e. one on 5060 and other on 5062) communicate with each other (i.e. they can make calls and chats).
I have attached a log as well which shows the same problem. This is a wireshark captured output on the machine which has SER installed.
Thanks and Best Regards Saurabh Srivastava
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users