<div dir="ltr">Hello<div><br></div><div>I am trying to implement click 2 call functionality on Kamailio with dlg_bridge.</div><div>But It seems that Kamailio routes REFER messages to devices according to Contact field of location table instead of Received field. </div><div>But if the the IP in the Contact field is private REFER messages are failing so </div><div>does the dlg_bridge.</div><div><br></div><div><br></div><div>I called dlg_bridge in the config like this:</div><div><br></div><div>dlg_bridge("sip:$param1", "sip:$param2", "sip:IP_ADDRESS_OF_KAMAILIO:5060");<br></div><div><br></div><div>It rings the device in $param1 but after answering on that device</div><div>Kamailio fails to send REFER if the Contact field for that device is Private IP.</div><div>So it fails to initiate a call.</div><div><br></div><div>How can I force Kamailio to use Received field for REFER messages instead of Contact field?<br></div><div><br></div><div>Thanks</div><div>Huseyin</div><div><br></div><div> </div></div>