[SR-Users] Record route dynamic IP
* Paolo Visintin - evosip.cloud
paolo.visintin at evosip.cloud
Wed Apr 17 18:00:30 CEST 2019
Hello Eyas,
you could bind directly the network interface
example:
listen=udp:eth0:5060
listen=udp:eth1:5060
Il giorno mer 17 apr 2019 alle ore 17:30 eyas barhouk <eyas37 at hotmail.com>
ha scritto:
> hello dears
>
> i'm trying to build kamailio & asterisk with the following :
>
>
> - Kamailio will listen to All the interfaces :
>
> listen=udp:0.0.0.0:5050
> listen=udp:0.0.0.0:5060
>
>
> - it will add the record header as in the following part :
>
> if (!isflagset(FLT_RR)) record_route();
> setflag(FLT_RR);
>
> when the sip message get from kamailio to asterisk the record route header
> will be like "<sip:0.0.0.0:5060;....etc.>"
>
> So is there any way to make the Via and record route headers has a
> specific IP instead of (0.0.0.0) i mean Something like
> "record_route("$Ri")".
>
> thanks & regards
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190417/2327d1dc/attachment.html>
More information about the sr-users
mailing list