hello dears 

i'm trying to build kamailio & asterisk with the following :

       listen=udp:0.0.0.0:5050
        listen=udp:0.0.0.0:5060
 
        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