Hi, thank you very much for both answers. I did not know the pseudo variable magic, that it is possible to do a
$tU = "newvalue" Amazing! Best regards, Bernhard Suttner ----- Original Message ----- From: Klaus Darilion [mailto:klaus.mailingli...@pernau.at] To: Bernhard Suttner [mailto:bernhard.sutt...@winet.ch] Cc: sr-users@lists.sip-router.org Sent: Mon, 03 Jan 2011 18:42:47 +0100 Subject: Re: [SR-Users] Change the SIP-To-User > > > 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 > _______________________________________________ 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