Re: [OpenSIPS-Users] groupID avp with do_routing

2011-04-13 Thread Bogdan-Andrei Iancu

Hi Richard,

Yes, that is true (about the types) - I just added a clear warning in 
the documentation of the drouting module :)


Thanks and regards,
Bogdan


On 04/12/2011 06:46 PM, Richard Revels wrote:

Hope this saves someone time at some point.  The type of value stored in the 
groupID avp (if used) when calling do_routing() must be an int.  There is no 
attempt to convert in the function.  I store everything in usr_preferences as a 
string and then use transforms where needed in the config script.  Took me a 
day to realize I needed one for this.

Richard

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 2nd of May 2011
OpenSIPS solutions and "know-how"


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] groupID avp with do_routing

2011-04-12 Thread Richard Revels
Hope this saves someone time at some point.  The type of value stored in the 
groupID avp (if used) when calling do_routing() must be an int.  There is no 
attempt to convert in the function.  I store everything in usr_preferences as a 
string and then use transforms where needed in the config script.  Took me a 
day to realize I needed one for this.

Richard
 
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users