Bugs item #3349265, was opened at 2011-07-02 02:57
Message generated for change (Tracker Item Submitted) made by denodaeus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3349265&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robert Smith (denodaeus)
Assigned to: Nobody/Anonymous (nobody)
Summary: ERROR:load_balancer:mod_init: cannot parse group avp

Initial Comment:
Using rev 8124 of trunk, I get the following:

Jul  2 01:20:17 atlcwdctrl02 /usr/local/opensips/sbin/opensips[21490]: 
INFO:load_balancer:mod_init: Load-Balancer module - initializing
Jul  2 01:20:18 atlcwdctrl02 /usr/local/opensips/sbin/opensips[21490]: 
INFO:db_text:dbt_init: using database at: /usr/local/opensips/data/dbtext
Jul  2 01:20:18 atlcwdctrl02 /usr/local/opensips/sbin/opensips[21490]: 
ERROR:load_balancer:mod_init: cannot parse group avp
Jul  2 01:20:18 atlcwdctrl02 /usr/local/opensips/sbin/opensips[21490]: 
ERROR:core:init_mod: failed to initialize module load_balancer

We're using the dbtext driver for the load balancer list, and the file looks as 
follows:

id(int,auto) group_id(int) dst_uri(string) resources(string) probe_mode(int) 
description(string)
1:1:sip\:127.0.0.1:handset=30:2:bobbydev

This seems to work on the current opensips 1.6.4, but not on current trunk.  
I've edited the config to use the new AVP scheme, but the call to load balance 
looks like this:

        avp_db_load("$fu/domain", "$avp(s:group)/$routing_rules");
                if(!load_balance("1", "$avp(s:group)")) {

If I remove the $avp(s:group) declaration to be $avp(group); the same problem 
happens.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3349265&group_id=232389

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to