Hi

Thanks it helped.

Regards,
Ashutosh Chaubey

On Tue, Nov 21, 2017 at 8:04 PM, Dmitri Savolainen <savolai...@erinaco.ru>
wrote:

> for example:
>
> $rU = $(rU{s.substr,$(avp(dsattrs){param.value,strip}{s.int}),0});
>
> 2017-11-21 16:56 GMT+03:00 Ashutosh chaubey <ashutoshkrchau...@gmail.com>:
>
>> Hi,
>> Thanks for the help I am now able to add prefix this way to my request
>> however can you please tell me how to use strip as i have to strip few
>> numbers before i send out request from kamailio.
>>
>> Regards,
>> Ashutosh Chaubey
>>
>> On Tue, Nov 21, 2017 at 6:32 PM, Dmitri Savolainen <savolai...@erinaco.ru
>> > wrote:
>>
>>> Hi.
>>>
>>> Attributes should be ";" separeted:
>>> attributes: extra fields in form of name1=value1;...;nameN=valueN.
>>>
>>> Also prefix/strip are not in  "predefined names" in dispatcher doc  ,
>>> so it is possible:
>>>
>>> modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")
>>> ....
>>> $rU =$(avp(dsattrs){param.value,prefix}) + $rU;
>>>
>>> 2017-11-21 15:02 GMT+03:00 Ashutosh chaubey <ashutoshkrchau...@gmail.com
>>> >:
>>>
>>>> Hi,
>>>>
>>>> Is there a way to add prefix and strip in dispatcher table attribute
>>>> column. I have tried prefix=11,strip=3 but this seems to not work.
>>>> Any help?
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Ashutosh Chaubey
>>>>
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Savolainen Dmitri
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
> Savolainen Dmitri
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to