Dear all,

I'm trying to change the From uri and Dsplay but without sucess.

My config is as follow:

if(dp_translate("1111", "$avp(s:frm_user_name)/$avp(s:test_frm_user_name)"))
 --> i'm sending 2112202701 and I get back corectly 701
                {
                        $avp(s:display) = $avp(s:test_frm_user_name);
                        $avp(s:fu_uri) = "sip:"
+ $avp(s:test_frm_user_name) + "@" + $fd;

                        xlog("alx ------- The avp(s:display):
$avp(s:display) ---- avp(s:fu_uri)=$avp(s:fu_uri)  ----------\n");  --> I
see values  701 and sip:701@my_IP_address


uac_replace_from("$avp(s:display)","$avp(s:fu_uri)");
                        Here I log the fu and I see that nothing has
changed..

                 }


Do you have any ideas on that ?

I use Kamailio 3.1.3

Thank you in advance
Alex
_______________________________________________
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

Reply via email to