[SR-Users] attrs field in "kamctl fifo ds_list"

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 9 17:02:12 CET 2014


Hello,

On 09/01/14 14:56, Benjamin Henrion wrote:
> Hi,
>
> Any idea what attrs are in dispatcher.cfg?
> When I do a kamctl fifo ds_list, I can put some strings in this field.
> Is it used for labelling of the SIP URIs?
> The documentation is a bit obscure for me.
>
> If I put hello as the last item on dispatcher.cfg, I see it when I do a ds_list:
>
> $ kamctl fifo ds_list
> SET:: 99
>          URI:: sip:127.0.0.1:5060 flags=AP priority=0 attrs=hello

you can get the value of attrs in an avp variable in config file and 
then you use it as you need -- see:

- 
http://kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.attrs_avp

Cheers,
Daniel

>
> Best,
>
> --
> Benjamin Henrion <bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-4148403
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list