[OpenSER-Users] carrierroute seg fault

Henning Westerholt henning.westerholt at 1und1.de
Thu Apr 17 13:05:00 CEST 2008


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.

Yes,

this must be fixed.

> 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")
>
> 3. Documentation about 6th optional argument is not clear. It seems it
> must be an avp and not one of those "crc32" or "prime" ..

Yes, the documentation was not completly updated during some interface 
reworks. Should be fixed now.

Cheers,

Henning




More information about the sr-users mailing list