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