Hi THanks for that update. Is there a way to automatically set the probality of one to the servers to 0, if it is down returning failed calls ? Thanks
-----Original Message----- From: Henning Westerholt [mailto:henning.westerholt@1und1.de] Sent: 2009-01-23 16:50 To: users@lists.kamailio.org Cc: Ali Jawad Subject: Re: [Kamailio-Users] CarrierRoute With + Prefix
On Friday 23 January 2009, Ali Jawad wrote:
I was able to setup carrierroute in database mode and when I make a call with prefix 00 it works fine. For that I did setup an entry in carrierroute, I did duplicate that same entry for prefix "+". If I call 004353453 it works fine however if I dial +12341234 I get a 403 forbidden error. The log shows:
Jan 23 14:22:34 [25866] DBG:carrierroute:get_route_tree_by_id: tree default, domain 0 : 0 Jan 23 14:22:34 [25866] INFO:carrierroute:rewrite_uri_recursor: URI or route tree nodes empty,
empty flag list Jan 23 14:22:34 [25866] INFO:carrierroute:cr_do_route: rewrite_uri_recursor doesn't complete, uri +9613041705, carrier 5, domain 0
Hi Ali,
cr was designed for numerical route matching, so the '+' will not work in 1.4.x. (In the trunk version you can also configure non numerical matching.) I'd suggest that you sanitize incoming R-URI users (remove '+', remove '0' prefix etc..), and just use a format like this: 4912341234567.
Cheers,
Henning