[OpenSIPS-Users] How to configure two different domain in listen .
Sasmita Panda
spanda at 3clogic.com
Mon Nov 21 12:26:58 CET 2016
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
listen=10.165.yy.xyy:5507 AS test2.i3clogic.com:5507
alias="test1.i3clogic.com"
alias="test1.i3clogic.com:5507"
alias="test2.i3clogic.com"
alias="test2.i3clogic.com:5507"
So what I want is , When an Invite comes with request uri "
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" 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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161121/db095cf6/attachment.htm>
More information about the Users
mailing list