Am 03.01.2011 16:51, schrieb Bernhard Suttner:
Hi,
what is the best way to replace the userpart of the SIP-To URI with the content of a
pseudo variable?
textops module:
e.g. use
http://www.kamailio.org/docs/modules/3.1.x/modules_k/textops.html#id2910302
you could also remove_hf("to") and add a new header
append_hf("To: ...");
some devices do not like if the To gets changed. In this case you have
to reverse the change in the responses and keep track of cahnges for
in-dialog messages.
Anyway - at the least the totag must not be changed (if present)
regards
klaus