[Kamailio-Users] Non-numeric prefixes in carrierroute:scan_prefix

Henning Westerholt henning.westerholt at 1und1.de
Thu Aug 14 08:42:15 CEST 2008


On Thu, August 14, 2008 7:14 am, mayamatakeshi wrote:
> I just need a confirmation.
> We have Kamailio 1.3 running in production and it is working fine.
> But we received some reports from our OAM team that sometimes they want to
> set a non-numeric prefix at carrierroute::scan_prefix (like 'abc.') and
> this
> seems to not work. I have no complete details but it seems
> cr_user_rewrite_uri will fail if scan_prefix holds a non-numeric prefix.
> So I just like to know if scan_prefix is supposed to work with non-numeric
> prefixes or not.

Hi,

carrierroute is not supposed to work with non-numerical prefixes. It uses
certain datastructures and optimizations that not are designed for this
purpose because of performance and implementation reasons. Even if there
are non-numerical prefixes in the R-URI, it skips this.

Cheers,

Henning





More information about the Users mailing list