Hi,
Thank you for your reply.
The client (callee) does register with both its ip address and the port number. I had enabled the debug statements in Ser, which shows that the contact information was indeed stored.
######################################## build_contact(): Created Contact HF: Contact: sip:001@128.42.3.2:49036;transport=tcp;expires=1800 ########################################
I am not using a persistent database to store the contact information, I guess that should not be a problem.
I am not using NAT at present, as both the clients and the server run within the same network.
Thank you Regards -Kaushik
----- Original Message ----- From: "Stephen Varga" varga@zbzoom.net To: users@openser.org Sent: Sunday, November 26, 2006 11:26 AM Subject: Re: [Users] Improper relaying of Invite requests
Kaushik,
OpenSer will send the INVITE to the ip address and port number that client had specified in the contact header of the REGISTER packet, that was used to register the client with the registrar. Based on the information provided here and the fact that your configuration does not have any statements for NAT, I would have to guess the port was specified as 5060 or it was not specified at all, in which case it would default to 5060. You can verify this theory by doing a network trace of the client's registration and looking at the contact header in the registration packet.
Steve
Kaushik Kumar wrote:
Hi, I am working on a project which involves testing SER with some dummy clients. I have downloaded and installed OpenSER. I am using the very basic Hello.cfg configuration file available online. I find that when SER gets a INVITE request from the caller, it does not deliver it properly to the client (callee). Some debugging revealed that it relays the request to port 5060 at the client rather than the one which was registered by the callee earlier. I tried to look at the source code of SER and found that the callee's contact information never seem to be looked up at any stage. Is this due to some missing information in my configuration file? Any feedback would be appreciated. Thank you -Kaushik PS: I have attached (inline) the configuration file
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users