[SR-Users] Record route dynamic IP

eyas barhouk eyas37 at hotmail.com
Wed Apr 17 17:27:59 CEST 2019


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190417/3db30082/attachment.html>


More information about the sr-users mailing list