<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Sasmita,<br>
<br>
The URI in RR header is dictated by the interfaces / listeners
involved in routing the call. <br>
<br>
In your case, on which interface is the call received ? on .xxx or
.xyy ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 21.11.2016 13:26, Sasmita Panda
wrote:<br>
</div>
<blockquote
cite="mid:CALf-Q44jA6Zm4Mj+siU93Te=u-CKaF=LhwQt4JBPjjVP7wW1=w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div> I am using opensips-1.11 . I need to configure
multiple domains in the listen field and I want the particular
domain get exposed to outside depending upon the request .</div>
<div><br>
</div>
<div><br>
</div>
<div>bellow is my config file .</div>
<div><br>
</div>
<div>listen=10.165.yy.xxx:5507 AS <a moz-do-not-send="true"
href="http://test1.i3clogic.com:5507">test1.i3clogic.com:5507</a></div>
<div><br>
</div>
<div>listen=10.165.yy.xyy:5507 AS <a moz-do-not-send="true"
href="http://test2.i3clogic.com:5507">test2.i3clogic.com:5507</a></div>
<div><br>
</div>
<div>alias="<a moz-do-not-send="true"
href="http://test1.i3clogic.com">test1.i3clogic.com</a>"</div>
<div>alias="<a moz-do-not-send="true"
href="http://test1.i3clogic.com:5507">test1.i3clogic.com:5507</a>"</div>
<div><br>
</div>
<div>alias="<a moz-do-not-send="true"
href="http://test2.i3clogic.com">test2.i3clogic.com</a>"</div>
<div>alias="<a moz-do-not-send="true"
href="http://test2.i3clogic.com:5507">test2.i3clogic.com:5507</a>"</div>
<div> </div>
<div><br>
</div>
<div> So what I want is , When an Invite comes with request
uri "<a moz-do-not-send="true"
href="http://test2.i3clogic.com">test2.i3clogic.com</a>" ,
then it should add the same domain in the Record_route while
forwarding the call . </div>
<div><br>
</div>
<div> But now its adding "<a moz-do-not-send="true"
href="http://test1.i3clogic.com">test1.i3clogic.com</a>"
domain always . I think it giving priority to the listen
domain added first . </div>
<div><br>
</div>
<div> How can i achieve my goal . Is this possible or not .
If possible then how can I do this .</div>
<div> </div>
<div><br>
</div>
<div><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>