No you can't.
Use a variable to store the from and replace it once, just before to
send out the message.
Il 13/01/2016 14.32, Søren Andersen ha scritto:
Hello,
I’m wondering if it’s possible to use uac_replace_from multiple times?
– fx. Inbound call gets changed by uac_replace_from and removed the
+45 prefix. – But sometimes I need to forward the call back to my ISP,
and they need to have +45 in the from header. But if I try to use the
function two times the sip headers gets invalid like the below header:
From:
<sip:[email protected]:[email protected];user=phone>;tag=c675aa4668ba7a0c3150f682eea7a54b-7701
Perhaps there are a better option to do this?
/Søren
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users