Hello,
iirc the attr column beside custom attributes can have:
weight,maxload,duid which are required in order to use different
algorithms on dispatcher select.
Ex:
"weight=50;maxload=2000;duid=SRV01;my=custom"
"weight=50;maxload=2000;duid=SRV02;my=custom"
Br, Rinor
On 09/18/2013 10:56 AM, Grant Bagdasarian wrote:
Hello,
There is no mention of the attrs column in on the stable/modules web
page, and also not in the read me of dispatcher in 4.0.2.
I looked at the ../modules/dispatcher.c file and it is used there so I
added it as a modparam.
Regards,
Grant
*From:*sr-users-bounces@lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of
*Daniel-Constantin Mierla
*Sent:* Wednesday, September 18, 2013 10:37 AM
*To:* Kamailio (SER) - Users Mailing List
*Subject:* Re: [SR-Users] Store dispatcher weight attribute in
dispatcher table
Hello,
in the attrs column you have to add attribute weight - some notes are
in the readme, but I guess can be made more clear:
-http://kamailio.org/docs/modules/stable/modules/dispatcher.html#idp16940048
As example, the attrs can be:
"weight=20;abc=xyz;"
Cheers,
Daniel
On 9/18/13 10:29 AM, Grant Bagdasarian wrote:
Hi,
Do you mean using the priority column to store the attributes
instead of the priority itself?
I'm currently using the priority column, so that wouldn't be an
option.
Regards,
Grant
*From:*sr-users-bounces@lists.sip-router.org
<mailto:sr-users-bounces@lists.sip-router.org>
[mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of
*Charles Chance
*Sent:* Wednesday, September 18, 2013 10:16 AM
*To:* Kamailio (SER) - Users Mailing List
*Subject:* Re: [SR-Users] Store dispatcher weight attribute in
dispatcher table
Hi,
Maybe priority?
http://kamailio.org/docs/modules/stable/modules/dispatcher.html#idp15199200
Regards,
Charles
On 18 September 2013 09:02, Grant Bagdasarian <GB(a)cm.nl
<mailto:GB@cm.nl>> wrote:
Hello,
Is it possible to store the weight attribute in the dispatcher
table? If so, which column must I use?
I see it is possible when using the list file.
The attrs_avp is the closest thing, but I think this value has to
be loaded from the database also?
Regards,
Grant
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
list
sr-users(a)lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
www.sipcentric.com <http://www.sipcentric.com/>
Follow us on twitter @sipcentric <http://twitter.com/sipcentric>
Sipcentric Ltd. Company registered in England & Wales no.
7365592. Registered office: Unit 10 iBIC, Birmingham Science Park,
Holt Court South, Birmingham B7 4EJ.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org <mailto:sr-users@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://twitter.com/#%21/miconda> -
http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
- more details about Kamailio trainings at
http://www.asipto.com -
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users