Re: [OpenSIPS-Users] SIP default port routing issue
Thanks you, I think i missed your email, but you said interface in my case its PORT. we have multiple port listening for SIP request and we have notice INVITE comes on 5062 but when server send 200 OK it use 5060 instead of 5062 where it received invite. On Mon, Mar 27, 2017 at 3:29 AM, Răzvan Crainea wrote: > Please register on the mailing list, I have already replied to this > thread[1], but I guess you didin't get the reply. > > [1] http://lists.opensips.org/pipermail/users/2017-March/036849.html > > Best regards, > > Răzvan Crainea > OpenSIPS Solutions > www.opensips-solutions.com > > > On 03/26/2017 08:16 PM, Satish Patel wrote: >> >> any suggestion? >> >> On Tue, Mar 21, 2017 at 6:48 PM, Satish Patel >> wrote: >>> >>> This is little tricky question, we are developing softphone and we put >>> logic in phone it will try to connect 5060 if it's blocked by some >>> country then it will try 5061 if that is block then try 5062 >>> >>> Now on OpenSIPS we are listening on all 3 ports 5060, 5061 and 5062. >>> Now problem is here INVITE goes on correct port but when server send >>> 200 OK mesg it will always pick first port in listen: directive, how >>> do i synchronize communication to specific port where INVITE comes >>> from? >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] SIP default port routing issue
Please register on the mailing list, I have already replied to this thread[1], but I guess you didin't get the reply. [1] http://lists.opensips.org/pipermail/users/2017-March/036849.html Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/26/2017 08:16 PM, Satish Patel wrote: any suggestion? On Tue, Mar 21, 2017 at 6:48 PM, Satish Patel wrote: This is little tricky question, we are developing softphone and we put logic in phone it will try to connect 5060 if it's blocked by some country then it will try 5061 if that is block then try 5062 Now on OpenSIPS we are listening on all 3 ports 5060, 5061 and 5062. Now problem is here INVITE goes on correct port but when server send 200 OK mesg it will always pick first port in listen: directive, how do i synchronize communication to specific port where INVITE comes from? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] SIP default port routing issue
any suggestion? On Tue, Mar 21, 2017 at 6:48 PM, Satish Patel wrote: > This is little tricky question, we are developing softphone and we put > logic in phone it will try to connect 5060 if it's blocked by some > country then it will try 5061 if that is block then try 5062 > > Now on OpenSIPS we are listening on all 3 ports 5060, 5061 and 5062. > Now problem is here INVITE goes on correct port but when server send > 200 OK mesg it will always pick first port in listen: directive, how > do i synchronize communication to specific port where INVITE comes > from? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] SIP default port routing issue
Hi, Satish! By default, OpenSIPS uses the same interface as the request came in to send the reply. Can you send a SIP trace of the call to figure out what is happening? Best regards, Răzvan Crainea OpenSIPS Solutions www.opensips-solutions.com On 03/22/2017 12:48 AM, Satish Patel wrote: This is little tricky question, we are developing softphone and we put logic in phone it will try to connect 5060 if it's blocked by some country then it will try 5061 if that is block then try 5062 Now on OpenSIPS we are listening on all 3 ports 5060, 5061 and 5062. Now problem is here INVITE goes on correct port but when server send 200 OK mesg it will always pick first port in listen: directive, how do i synchronize communication to specific port where INVITE comes from? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] SIP default port routing issue
This is little tricky question, we are developing softphone and we put logic in phone it will try to connect 5060 if it's blocked by some country then it will try 5061 if that is block then try 5062 Now on OpenSIPS we are listening on all 3 ports 5060, 5061 and 5062. Now problem is here INVITE goes on correct port but when server send 200 OK mesg it will always pick first port in listen: directive, how do i synchronize communication to specific port where INVITE comes from? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users