[SR-Users] Adding strip and preix attribute to Dispatcher table

Dmitri Savolainen savolainen at erinaco.ru
Tue Nov 21 14:02:30 CET 2017


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 <ashutoshkrchaubey at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Savolainen Dmitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171121/c1d0321a/attachment.html>


More information about the sr-users mailing list