[SR-Users] Changing Domain in To URI
Daniel-Constantin Mierla
miconda at gmail.com
Fri Apr 5 10:12:11 CEST 2013
Hello,
On 4/4/13 2:32 PM, qmail at polarismail.com wrote:
> Hello,
>
> As it happens we run Kamailio 3.2.0 on Debian Lenny which for some
> reason does not support uac_replace_to()!
>
> Anyhoo, we are trying to change the domain part in the To URI. What is
> the best way to do it ?
if you don't need to change it back for replies and next requests, try:
$td = "xyz.com";
IIRC, that is available on 3.2.x. If not, either you upgrade or use
replace functions from textops.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
- http://conference.kamailio.com -
More information about the sr-users
mailing list