Nevermind I tracked down the issue myself...data validation bug.
After waiting to no avail for valuable info from dOpenXXXX. I looked at
the kamailio source code, and based on the log info Jxxx provided was
able to track down the issue. I fixed the input data validation bug in
my code like so...
kamailio agent sips.c commit message:
unxsVZ kamailio agent corrected provisioning bug allowing non numerical
or empty string data to be loaded into carrierroute.scan_prefix.
Here is the source code ProvisionDR() is the only relevant section:
http://openisp.net/openisp/unxsVZ/browser/trunk/agents/kamailio/sips.c
On 2/3/2015 19:30, Gary Wallis wrote:
Has anybody seen a similar log error before?
Many thanks!
Feb 2 09:05:43 localhost /usr/local/sbin/kamailio[11093]: ERROR: <core>
[dtrie.c:130]: dtrie_insert(): cannot insert non-numerical character
Feb 2 09:05:43 localhost /usr/local/sbin/kamailio[11093]: ERROR:
carrierroute [cr_domain.c:168]: add_route_to_tree(): cannot insert route
flags into d-trie
Feb 2 09:05:43 localhost /usr/local/sbin/kamailio[11093]: ERROR:
carrierroute [cr_data.c:181]: reload_route_data(): could not load routing
data
Feb 2 09:05:53 localhost /usr/local/sbin/kamailio[12792]: ERROR: <core>
[dtrie.c:130]: dtrie_insert(): cannot insert non-numerical character
Feb 2 09:05:53 localhost /usr/local/sbin/kamailio[12792]: ERROR:
carrierroute [cr_domain.c:168]: add_route_to_tree(): cannot insert route
flags into d-trie
Feb 2 09:05:53 localhost /usr/local/sbin/kamailio[12792]: ERROR:
carrierroute [cr_data.c:181]: reload_route_data(): could not load routing
data
Feb 2 09:05:53 localhost /usr/local/sbin/kamailio[12792]: ERROR:
carrierroute [carrierroute.c:248]: mod_init(): could not prepare route data
Feb 2 09:05:53 localhost /usr/local/sbin/kamailio[12792]: ERROR: <core>
[sr_module.c:970]: init_mod(): init_mod(): Error while initializing module
carrierroute (/usr/local/lib64/kamailio/modules/carrierroute.so)
Cheers,
Gary
_______________________________________________
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