[OpenSIPS-Users] Problem with drouting module

Helmut Kuper helmut.kuper at ewetel.de
Tue Nov 4 17:06:51 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I try to use trunk's drouting module and I fount that there is a problem
with using dr_routing() in opensips script. Console shows this:



Nov  4 16:52:25 [6434] INFO:drouting_new:dr_init: Dynamic-Routing -
initializing
Nov  4 16:52:25 [6434] INFO:core:probe_max_receive_buffer: using a UDP
receive buffer of 255 kb
Nov  4 16:52:25 [6436] INFO:mi_xmlrpc:xmlrpc_process: starting xmlrpc server

INVITE
- -------------------------- Tue Nov  4 16:52:28 2008
- ----------------------------
Main    : Received message <INVITE>
Nov  4 16:52:28 [6434] ERROR:drouting_new:get_group_id: null or
non-integer group_id
Nov  4 16:52:28 [6434] ERROR:drouting_new:do_routing: failed to get group id



And indeed the group_id field in database is defined as a varchar and
not as an integer. Seems like a bug to me.

When I change the field to integer, drouting module can not initialize
because it expects a varchar or string type.


regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkQcxsACgkQ4tZeNddg3dzHBwCgjrf2chtzrTJ1ZpoktiNp1BM6
/rQAn2Kig3zozEGiJ41z9DNWc2yx6laj
=WcWU
-----END PGP SIGNATURE-----



More information about the Users mailing list