[OpenSIPS-Users] Replace $tU value

Vishal Pai vishalmpai at gmail.com
Tue Nov 27 07:56:14 EST 2018


It worked.

Thank You Bogdan

On Tue, Nov 27, 2018 at 2:20 AM Bogdan-Andrei Iancu <bogdan at opensips.org>
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.opensips-solutions.com
> OpenSIPS Bootcamp 2018
>   http://opensips.org/training/OpenSIPS_Bootcamp_2018/
>
> On 11/26/2018 09:01 PM, Vishal Pai wrote:
>
> 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 Iancu <bogdan at opensips.org>
> wrote:
>
>> 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/
>>
>> On 11/26/2018 06:42 PM, 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.
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181127/a9271e63/attachment.html>


More information about the Users mailing list