Hi,
my kamailio receives 302 from ip 1.1.1.1 with a correct Contact-header format 123@kamailiohost , but when it forwards to my cisco as, it suddenly changes the host part to 1.1.1.1 .. It is very strange because, this IP does not have anything common with the callee number. Do you know where could be a problem?
Mino
Mino,
If you are forking another branch with which to forward to the Cisco gateway without somehow absorbing the Contact received in the 302 response, it'll just use the Contact in the original initial request, which I assume is 1.1.1.1.
-- Alex
On 10/22/2010 10:12 AM, Mino Haluz wrote:
Hi,
my kamailio receives 302 from ip 1.1.1.1 with a correct Contact-header format 123@kamailiohost , but when it forwards to my cisco as, it suddenly changes the host part to 1.1.1.1 .. It is very strange because, this IP does not have anything common with the callee number. Do you know where could be a problem?
Mino
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
2010/10/22 Mino Haluz mino.haluz@gmail.com:
my kamailio receives 302 from ip 1.1.1.1 with a correct Contact-header format 123@kamailiohost , but when it forwards to my cisco as, it suddenly changes the host part to 1.1.1.1 .. It is very strange because, this IP does not have anything common with the callee number. Do you know where could be a problem?
There are some SIP phones which are not domain aware. They ignore the domain part of any URI, just take the username part and use the pre-configured server domain/IP to deliver the call. If your phone receives the 302 containing "Contact: sip:123@kamailiohost" and generates an "INVITE sip:123@1.1.1.1" then it's just an issue in your phone.
Regards.