Thanks for the quick reply!
Binding to two SIP ports isn't out of the question (though I'd like to avoid it if possible).
However, with this approach, I assume somewhere I must have to instruct Kamailio which outbound interface to use (i.e. tell it to use 5080 for forwarded requests to internal hosts and 5060 for requests headed out?) How else would it know to cross over the interfaces?
Best, Colin
On Sat, Jun 25, 2016 at 6:43 PM Alex Balashov abalashov@evaristesys.com wrote:
Understood. I went through this a while back.
As long as you're willing to bind to two different SIP ports (i.e. different SIP port on your internal signalling), this is the solution:
listen=udp:private.ip:5060 advertise public.ip:5060 listen=udp:private.ip:5080
Combine with enable_double_rr, shake well, et voila! :-)
-- Alex
-- Principal, Evariste Systems LLC (www.evaristesys.com)
Sent from my Google Nexus.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users