Hello, can you send the ngrep trace for such case? I would like to look at the headers to understand properly what do you mean.
Cheers, Daniel On 26/04/16 15:23, huseyin kalyoncu wrote: > Hello > > I am trying to implement click 2 call functionality on Kamailio > with dlg_bridge. > But It seems that Kamailio routes REFER messages to devices according > to Contact field of location table instead of Received field. > But if the the IP in the Contact field is private REFER messages are > failing so > does the dlg_bridge. > > > I called dlg_bridge in the config like this: > > dlg_bridge("sip:$param1", "sip:$param2", > "sip:IP_ADDRESS_OF_KAMAILIO:5060"); > > It rings the device in $param1 but after answering on that device > Kamailio fails to send REFER if the Contact field for that device is > Private IP. > So it fails to initiate a call. > > How can I force Kamailio to use Received field for REFER messages > instead of Contact field? > > Thanks > Huseyin > > > > > _______________________________________________ > 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 -- Daniel-Constantin Mierla http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
_______________________________________________ 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