Re: [OpenSIPS-Users] Replace $tU value

2018-11-27 Thread Vishal Pai
It worked. Thank You Bogdan On Tue, Nov 27, 2018 at 2:20 AM Bogdan-Andrei Iancu wrote: > Hi, > > uac_replace_to("sip:9876543210@$td"); > > should do it - you need to call it only for the initial INVITE. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > http://www.opens

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Bogdan-Andrei Iancu
Hi, uac_replace_to("sip:9876543210@$td"); should do it - you need to call it only for the initial INVITE. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/ On 11/26/201

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Vishal Pai
Hi Bogdan, Thank you for your quick response. I have tried both the way still unable to overwrite the value. uac_replace_to("$tU","9876543210"); uac_replace_to("9876543210","$tU"); Can you please let me know the right way to achieve this. Thanks On Mon, Nov 26, 2018 at 10:59 PM Bogdan-Andrei

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Bogdan-Andrei Iancu
David, That does not work as the $tU is a read-only variable. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/ On 11/26/2018 07:22 PM, David Villasmil wrote: Just do:

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Bogdan-Andrei Iancu
Hi Vishal, use uac_replace_to() function: http://www.opensips.org/html/docs/modules/2.4.x/uac.html#func_uac_replace_from Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com OpenSIPS Bootcamp 2018 http://opensips.org/training/OpenSIPS_Bootcamp_2018/

Re: [OpenSIPS-Users] Replace $tU value

2018-11-26 Thread David Villasmil
Just do: $tU = 9876543210 Simple :) On Mon, 26 Nov 2018 at 16:46, Vishal Pai wrote: > Hello Everyone > > Is it possible to update the $tU value to new one. Let say $tU = > 1234567890 need to overwrite to $tU = 9876543210 how i can achieve that. > ___

[OpenSIPS-Users] Replace $tU value

2018-11-26 Thread Vishal Pai
Hello Everyone Is it possible to update the $tU value to new one. Let say $tU = 1234567890 need to overwrite to $tU = 9876543210 how i can achieve that. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/us