Hi,<br><br>I want to implement call forking in a scenario where multiple UAs (using Linphone) register <br>with the same SIP URI (say "<a href="mailto:user1@abc.com">user1@abc.com</a>"). Going by the SIP protocol, each of these<br>
UAs shall use their own IP address in the Contact header while sending the REGISTER request.<br><br>I'm using openSIPS 1.5.2 (no-tls) for the proxy/registrar functions. I'm successfully able to register<br>multiple UAs with same SIP URI (<a href="mailto:user1@abc.com">user1@abc.com</a>). Problem comes when i make a call from some<br>
other UA (<a href="mailto:user2@abc.com">user2@abc.com</a>, also registered with the same openSIPS proxy) and route the call via proxy.<br>Note that the outgoing INVITE does not have a Route header (i'm using Linphone for all UAs). <br>
<br>On receiving the call, openSIPS fails to route the message. It is unable to resolve "<a href="http://abc.com">abc.com</a>" domain.<br>Is there something that i'm missing in openSIPS configuration. I thought if the registration of the UA is successful, <br>
openSIPS would simply dip into its registration DB, get the contact details and route the msg forward. <br>Perhaps, it is trying to do a DNS SRV/NAPTR lookup for "<a href="http://abc.com">abc.com</a>" and eventually fails. Looks like i need to<br>
define "<a href="http://abc.com">abc.com</a>" as the local domain somewhere in openSIPS cfg. Any help in this regard would be appreciated.<br><br>Here is a pictorial view of what is to be achieved:<br><br>Registration<br>
------------------<br>UA1 (<a href="mailto:user1@abc.com">user1@abc.com</a>, 192.168.5.14) -----> openSIPS <br>UA2 (<a href="mailto:user1@abc.com">user1@abc.com</a>, 192.168.5.38) -----> openSIPS<br>UA3 (<a href="mailto:user2@abc.com">user2@abc.com</a>, 192.168.5.25) -----> openSIPS<br>
<br>Call Forking<br>-----------------<br> | ----------> UA1<br>UA3 (calls <a href="mailto:user1@abc.com">user1@abc.com</a>) ---> openSIPS (forks to UA1, UA2) --- | <br>
|-----------> UA2<br><br>/csj <br>