[SR-Users] dr_load_routing_info(): failed to add rule id 4 -> skipping

Karsten Horsmann khorsmann at gmail.com
Mon Nov 13 14:38:26 CET 2017


Hello List,

i use kamailio-5.0.4 and i experiment with the drouting module with
mysql-db.

I try to route with "alphanumeric" stuff - like 'tetris' in
sip://tetris@mytest.example

https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html#idp31352844
The DB-Field is an 64 string like route-id. In dr_rules.route-id i can use
"named-routes"
if i leave the prefix empty or i fill in only numbers.

With strings i got this error:

ERROR: drouting [dr_load.c:555]: dr_load_routing_info(): failed to add rule
id 4 -> skipping

SQL Result for rule-id 4:
# dr_rules
# ruleid, groupid, prefix, timerec, priority, routeid, gwlist, description
'4', '9000', 'tetris', '', '0', 'tetris', '4', 'testroute'

Is drouting only for "number-routing"?

-- 
Kind Regards
*Karsten Horsmann*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171113/09f1df72/attachment.html>


More information about the sr-users mailing list