[SR-Users] kamailio bridge internal and external network

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 5 11:56:20 CET 2016


Hello,


On 05/12/2016 11:29, Alex Balashov wrote:
> Hello,
>
> On Mon, Dec 05, 2016 at 04:53:55PM +0800, zhang90501 wrote:
>
>> My kamailio listen at internal ip and external ip(advertise parameter), it send message to freeswitch from internal ip and to client from external ip.
>> How can I configure my kamailio to auto generate correct record route header?
> In principle, Kamailio should do this automatically and no explicit
> action on your part should be required, provided that your 'listen='
> statements are indeed as you describe.
>
> However, do ensure that the following parameter is enabled:
>
> http://kamailio.org/docs/modules/4.4.x/modules/rr.html#idp20509612
>
>
as a further hint I would add the forcing of outgoing socket -- be sure
the appropriate socket is used for sending out (see force_send_socket()
or assignment to $fs). Then all double record-routing should be done
automatically.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com




More information about the sr-users mailing list