[OpenSIPS-Users] How to configure two different domain in listen .

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Nov 21 13:33:36 CET 2016


Hi Sasmita,

The URI in RR header is dictated by the interfaces / listeners involved 
in routing the call.

In your case, on which interface is the call received ? on .xxx or .xyy ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 21.11.2016 13:26, Sasmita Panda wrote:
> Hi All ,
>
>      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 .
>
>
> bellow is my config file .
>
> listen=10.165.yy.xxx:5507 AS test1.i3clogic.com:5507 
> <http://test1.i3clogic.com:5507>
>
> listen=10.165.yy.xyy:5507 AS test2.i3clogic.com:5507 
> <http://test2.i3clogic.com:5507>
>
> alias="test1.i3clogic.com <http://test1.i3clogic.com>"
> alias="test1.i3clogic.com:5507 <http://test1.i3clogic.com:5507>"
>
> alias="test2.i3clogic.com <http://test2.i3clogic.com>"
> alias="test2.i3clogic.com:5507 <http://test2.i3clogic.com:5507>"
>
>       So what I want is , When an Invite comes with request uri 
>  "test2.i3clogic.com <http://test2.i3clogic.com>" , then it should add 
> the same domain in the Record_route while forwarding the call .
>
>      But now its adding "test1.i3clogic.com 
> <http://test1.i3clogic.com>" domain always . I think it giving 
> priority to the listen domain added first .
>
>      How can i achieve my goal . Is this possible or not . If possible 
> then how can I do this .
>
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161121/ad503416/attachment.htm>


More information about the Users mailing list