On Thursday 17 April 2008, Helmut Kuper wrote:
ok, I did some tests:
1. carrierroute.conf2 accepts '+' sign and can work with it. In fact it
seems that it doesn't matter for carrierroute at all.
Hi Helmut,
i can confirm this, there ignored during the config file loading. Prefixes
like this '49+33' are even detected during startup.
2. cr_route crashes if first 2 characters of 3rd
argument are no numbers
~ . Alphanumeric characters on other places in 3rd argument doesn't cause
a crash.
- crash: cr_route("default", "0", "x494411234",
"$rU", "call_id")
- crash: cr_route("default", "0", "4x94411234",
"$rU", "call_id")
- no crash: cr_route("default", "0", "49x4411234",
"$rU", "call_id")
I found the bug, its fixed in trunk. The 1.3 branch should be not affected.
Thanks,
Henning