<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello<div><br></div><div>I did the same Changes long time ago, but i have the same issue even when always goes more to one IP, and we really know when will go to the Next IP also is there a way if the endpoint is down will the calls go to the next IP automatically?<div><br></div><div>i have the same table scenario with .5 and .5 in the prob, and hits one IP more than the other.</div><div><br></div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>__________________________</div><div>O</div></div></span></div></span></div></span></div></span></div></span> </div><br><div><div>On Jul 30, 2009, at 4:27 PM, michel freiha wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Dear Uriel,<br><br>I found it...The problem was in the makefile of carrierroute module...I did Chged the following:<br><br><br>DEFS+=$(CONFUSEDEFS)<br>LIBS=$(CONFUSELIBS)<br><br>TO:<br><br>DEFS+=-I$(LOCALBASE)/include<br> LIBS=-L$(LOCALBASE)/lib -lconfuse<br><br>It seems that carrierroute needs that in order to be compiled on Solaris<br><br>Thanks a lot for the help<br><br>Regards<br><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 10:32 PM, michel freiha <span dir="ltr">&lt;<a href="mailto:michofr@gmail.com">michofr@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Dear Uriel,<br><br>It worked fine as you mentionned below and Y.Y.Y.Y is used when I changed the domain to 1 on X.X.X.X<br> <br>Regards<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 9:16 PM, Uriel Rozenbaum <span dir="ltr">&lt;<a href="mailto:uriel.rozenbaum@gmail.com" target="_blank">uriel.rozenbaum@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It's really weird. Try changing the domain on the X.X.X.X host to 1, so you only have Y.Y.Y.Y host available as first option.<div> <div></div><div><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 3:07 PM, michel freiha <span dir="ltr">&lt;<a href="mailto:michofr@gmail.com" target="_blank">michofr@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Dear Sir,<br><br>I did 2 calls from the same endpoint to the same number and get 2 different IDs but still forwarding the calls to X.X.X.X as follow:<br> <br>Call1:<br><br>call-id for this call 56549e09d94c1430Jul 30 17:00:32 [10607] DBG:carrierroute:get_route_tree_by_id: searching in carrier default, id 5<br> Jul 30 17:00:32 [10607] DBG:carrierroute:get_route_tree_by_id: tree default, domain 0 : 0<br>Jul 30 17:00:32 [10607] DBG:carrierroute:rewrite_on_rule: searching for matching routing rulesJul 30 17:00:32 [10607] DBG:core:hash_func: hash: 1307293616 % -2147483648 = 1307293616<br> Jul 30 17:00:32 [10607] INFO:carrierroute:cr_do_route: uri 009613089187 was rewritten to <a href="sip:001232333333@X.X.X.X">sip:001232333333@X.X.X.X</a><br><br>Call2:<br>call-id for this call 063197524438d55dJul 30 17:02:18 [10605] DBG:carrierroute:get_route_tree_by_id: searching in carrier default, id 5<br> Jul 30 17:02:18 [10605] DBG:carrierroute:get_route_tree_by_id: tree default, domain 0 : 0<br>Jul 30 17:02:18 [10605] DBG:carrierroute:rewrite_on_rule: searching for matching routing rulesJul 30 17:02:18 [10605] DBG:core:hash_func: hash: 931879127 % -2147483648 = 931879127<br> Jul 30 17:02:18 [10605] INFO:carrierroute:cr_do_route: uri 009613089187 was rewritten to <a href="sip:001232333333@X.X.X.X">sip:001232333333@X.X.X.X</a><br><br>Any suggestions?<br><br>Regards<div><div></div><div><br><br><br><br><br><div class="gmail_quote"> On Thu, Jul 30, 2009 at 5:17 PM, Uriel Rozenbaum <span dir="ltr">&lt;<a href="mailto:uriel.rozenbaum@gmail.com" target="_blank">uriel.rozenbaum@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The random value is based on the Call-ID, use debug=4 and add an XLOG as follows before every call to cr_route:<br> <br>xlog("L_ERR", "call-id for this call $ci");<br><br>Check the call-id is different every time and the CRC32 algorithm to calculate        the hash values gives a different answer.<div><div></div><div><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 9:49 AM, michel freiha <span dir="ltr">&lt;<a href="mailto:michofr@gmail.com" target="_blank">michofr@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">When restarting kamailio I found out that it reads both routes<br><br>Jul 30 11:46:40 [9165] INFO:carrierroute:rule_fixup_recursor: hashless rule with host Y.Y.Y.Y hash hash_index 1<br> Jul 30 11:46:40 [9165] INFO:carrierroute:rule_fixup_recursor: hashless rule with host X.X.X.X hash hash_index 2<br> <br>I jjst do not know why it's not reading the prob<div><div></div><div><br><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 3:39 PM, michel freiha <span dir="ltr">&lt;<a href="mailto:michofr@gmail.com" target="_blank">michofr@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Dear Sir,<br><br>Please find below carrierroute table...<br>+----+---------+--------+-------------+-------+------+------+-------+--------------+----------------+----------------+-------------+<br> | id | carrier | domain | scan_prefix | flags | mask | prob | strip | rewrite_host | rewrite_prefix | rewrite_suffix | description |<br> +----+---------+--------+-------------+-------+------+------+-------+--------------+----------------+----------------+-------------+<br>|&nbsp; 1 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 | 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nbsp;&nbsp; 0 |&nbsp; 0.1 |&nbsp;&nbsp;&nbsp;&nbsp; 0 | X.X.X.X |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br> |&nbsp; 2 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 | 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nbsp;&nbsp; 0 |&nbsp; 0.9 |&nbsp;&nbsp;&nbsp;&nbsp; 0 | Y.Y.Y.Y |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | NULL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | <br>+----+---------+--------+-------------+-------+------+------+-------+--------------+----------------+----------------+-------------+<br> <br><br>on kamailio.conf:<br><br>if(!cr_route("default", "0", "$rU", "$rU", "call_id")){<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("403", "Not allowed");<br>&nbsp;&nbsp;&nbsp;&nbsp; } else {<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # In cas of failure, re-route the request<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_on_failure("1");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Relay the request to the gateway<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay();<br>&nbsp;&nbsp; }<br>&nbsp;<br><br>When trying to call 00123456666&nbsp; the call is forwarded all the time to X.X.X.X IP and never to Y.Y.Y.Y IP...why this happening? It's like Kamailio is not reading prob field<br> <br>Regards<div><div></div><div><br><br><br><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 3:13 PM, Uriel Rozenbaum <span dir="ltr">&lt;<a href="mailto:uriel.rozenbaum@gmail.com" target="_blank">uriel.rozenbaum@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I'm really not sure how it works when you use a 0 prob.<br><br>Try something like 50/50 and check if the requests go to both servers.<br><br>Also, some extract from /var/log/messages will help.<div><div></div><div> <br><br><div class="gmail_quote"> On Thu, Jul 30, 2009 at 4:38 AM, michel freiha <span dir="ltr">&lt;<a href="mailto:michofr@gmail.com" target="_blank">michofr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div dir="ltr">Dear Sir,<br><br>My tables are defined as below:<br><br><u><b>carrierroute table:</b></u><br><br>id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; carrier&nbsp;&nbsp;&nbsp;&nbsp; domain&nbsp;&nbsp;&nbsp;&nbsp; scan_prefix&nbsp;&nbsp;&nbsp;&nbsp; flags&nbsp;&nbsp;&nbsp;&nbsp; mask&nbsp;&nbsp;&nbsp; prob&nbsp;&nbsp;&nbsp; strip &nbsp;&nbsp; rewrite_host &nbsp; <br>19&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IP_address1<br> 19&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; IP_Address1<br><br><u><b>route_tree table:</b></u><br><br>id&nbsp;&nbsp;&nbsp;&nbsp; carrier<br>5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default<br><br><b>In kamalio.cfg:</b><br> <br>if(!cr_route("default", "1", "$rU", "$rU", "call_id")){<br><br><br>The issue is that kamailio is forwarding all calls to IP_Address1 and never to IP_Address2 even if prob is 1 for IP_Address2 and 0 for IP_Address1<br> <br><br>Any help please?<div><div></div><div><br><br><br><div class="gmail_quote">On Wed, Jul 29, 2009 at 6:45 PM, Uriel Rozenbaum <span dir="ltr">&lt;<a href="mailto:uriel.rozenbaum@gmail.com" target="_blank">uriel.rozenbaum@gmail.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Michel,<br><br>The prob field is to set the proportion of a certain entry to be taken when you are load balancing between carriers.<br> <br>To perform an overflow operation you have to use the domain field.<br><br>Check the samples on the module documentation; it's preety clear there; if you have further questions just post them here.<br> <br>Rgds,<br>Uriel<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Jul 29, 2009 at 10:39 AM, michel freiha <span dir="ltr">&lt;<a href="mailto:michofr@gmail.com" target="_blank">michofr@gmail.com</a>&gt;</span> wrote:<br> </div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div> <div dir="ltr">Hi all,<br><br>I'm using carrierroute module and ie seems that it's not working well...Suppose I have 2 entries in carrierroute table...Entry 1 with scan prefix 00 and prob 0 and a second entry with scan prefix 00 and prob=1...As soon as i make a call, this call will be forwarded to the entry with prob 0 because i guess it appears before the one with prob 1 in the table...<br> <br>When starting Kamailio I got the below:<br><br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix 1, prob -14931260.000000<br>Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: domain 0 not found, add it<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_tree: tree default has 1 trees<br>Jul 29 12:30:11 [23143] DBG:carrierroute:add_route_tree: tree 0Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: created route tree: 0, with id 0<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix , prob -14931260.000000<br> Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix 011, prob -14931260.000000<br>Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix 00, prob -14931260.000000<br>Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix 111, prob -14931260.000000<br> Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix 00, prob -14931260.000000<br>Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix , prob -14931260.000000<br>Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix 011, prob -14931260.000000<br> Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix 011, prob -14931260.000000<br>Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: adding prefix , prob -14931260.000000<br>Jul 29 12:30:11 [23143] INFO:carrierroute:get_route_tree: found domain 0<br> Jul 29 12:30:11 [23143] INFO:carrierroute:add_route: found route, now adding<br>Jul 29 12:30:11 [23143] INFO:carrierroute:add_route_rule: no backed up rules<br><br>It seems that kamailio is not reading probability entry in carrier route table<br> <br>Please find below carrierroute table structure:<br><br>CREATE TABLE IF NOT EXISTS `carrierroute` (<br>&nbsp; `id` int(10) unsigned NOT NULL auto_increment,<br>&nbsp; `carrier` int(10) unsigned NOT NULL default '0',<br> &nbsp; `domain` varchar(64) NOT NULL default '',<br> &nbsp; `scan_prefix` varchar(64) NOT NULL default '',<br>&nbsp; `flags` int(11) unsigned NOT NULL default '0',<br>&nbsp; `mask` int(11) unsigned NOT NULL default '0',<br>&nbsp; `prob` float NOT NULL default '0',<br> &nbsp; `strip` int(11) unsigned NOT NULL default '0',<br>&nbsp; `rewrite_host` varchar(128) NOT NULL default '',<br>&nbsp; `rewrite_prefix` varchar(64) NOT NULL default '',<br>&nbsp; `rewrite_suffix` varchar(64) NOT NULL default '',<br> &nbsp; `description` varchar(255) default NULL,<br>&nbsp; PRIMARY KEY&nbsp; (`id`)<br>) ENGINE=MyISAM&nbsp; DEFAULT CHARSET=latin1 AUTO_INCREMENT=23 ;<br><br><br>Can someone help me to find this issue?<br><br>Regards<br></div> <br></div></div>_______________________________________________<br> Kamailio (OpenSER) - Users mailing list<br> <a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br> <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br> <a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br> </blockquote></div><br></div></div></div> </blockquote></div><br> </div></div></blockquote></div><br></div></div></div> </blockquote></div><br></div></div></div> </blockquote></div><br> </div></div></blockquote></div><br></div></div></div> </blockquote></div><br> </div></div></blockquote></div><br></div></div></div> </blockquote></div><br></div> _______________________________________________<br>Kamailio (OpenSER) - Users mailing list<br><a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users<br>http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</blockquote></div><br></div></div></body></html>