[SR-Users] carrierroute module cannot use prefix that start with +

José Seabra joseseabra4 at gmail.com
Mon Sep 21 16:36:23 CEST 2015


Hello there,
I'm using carrierroute  module to route calls based on prefix, everything
was working until i tried use prefixes that start with +, kamailio core
doesn't allow me use the + on carrierroute prefix, i get the following
message from kamailio logs:

 INFO: carrierroute [cr_carrier.c:100]: add_domain_data(): adding domain 1
'main' to carrier 1 'carriers'35(17196) DEBUG: carrierroute
[cr_carrier.c:101]: add_domain_data(): domain position 0 (domain_num=1,
first_empty_domain=0)35(17196) INFO: carrierroute [cr_data.c:414]:
get_domain_data_or_add(): added domain 1 'main' to carrier 1
'carriers'35(17196) INFO: carrierroute [cr_data.c:470]: add_route(): found
carrier and domain, now adding route
35(17196) ERROR: <core> [dtrie.c:130]: dtrie_insert(): cannot insert
non-numerical character
35(17196) ERROR: carrierroute [cr_domain.c:168]: add_route_to_tree():
cannot insert route flags into d-trie

anyone can help in order allow use + in carrierroute prefix.

Best regards
José Seabra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150921/8e1a6a00/attachment.html>


More information about the sr-users mailing list