Re: [OpenSIPS-Users] Things to take care of when dealing with preload route invite.
Hi, The opensips default script check and deal with pre-loaded Routes only for initial requests - not for ACK (which is a sequential). IF you trust the sender, you may simply strip the Route hdrs (as Alex suggested) - as the hdr already did the job by having the request routed to you. PLEASE NOTE that blindly following the pre-loaded Route hdr is a security risk !! Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 13.02.2016 21:17, Aqs Younas wrote: Hi, I have freeswitch running on local ip which proxy Invite(First invite) to opensips running on public ip with route header containing value of opensips public ip. I see in default script preload route request is forbidden other than ACK. So, i am here to seek thoughts like what steps should be taken to proxy these request. All thoughts are welcome. Best Regards. ___ 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] Things to take care of when dealing with preload route invite.
Hi, I have freeswitch running on local ip which proxy Invite(First invite) to opensips running on public ip with route header containing value of opensips public ip. I see in default script preload route request is forbidden other than ACK. So, i am here to seek thoughts like what steps should be taken to proxy these request. All thoughts are welcome. Best Regards. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Things to take care of when dealing with preload route invite.
Hello Aqs, Why not strip the Route header instead of denying the request? That is to say: if(is_present_hf("Route")) remove_hf("Route"); -- Alex -- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users