[OpenSIPS-Users] Can't change From header

maatohewetbi trance_maniak at o2.pl
Tue Jun 13 06:32:19 EDT 2017


I want to change from header by using *uac_replace_from*, but when I call it
from request route it's still the same. 

route[handle_presence]
{
 if (is_method("PUBLISH")) {
      handle_publish();
    } else

    if (is_method("SUBSCRIBE")) {
    xlog ("fu: $fu");
    uac_replace_from("","sip:robin at gotham.org");
    xlog ("fu: $fu");
     handle_subscribe();
    }

    exit;
}





--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Can-t-change-From-header-tp7607691.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list