[Kamailio-Users] CarrierRoute With + Prefix

Ali Jawad ali.jawad at splendor.net
Fri Jan 23 16:35:25 CET 2009


If it strips the first + it should not re-enter the if condition because
the + has been removed at that stage right ?
Thanks


-----Original Message-----
From: Luciano Afranllie [mailto:listas.luafran at gmail.com] 
Sent: 2009-01-23 17:20
To: Ali Jawad
Cc: Henning Westerholt; users at lists.kamailio.org
Subject: Re: [Kamailio-Users] CarrierRoute With + Prefix

On Fri, Jan 23, 2009 at 1:14 PM, Ali Jawad <ali.jawad at splendor.net>
wrote:
> Hi Again
>
> I did use
>        if($rU =~ "^[+].*")
>                {
>
>                strip(1);
>
>                }
>
> before the cr statement ...from asterisk I get address incomplete at 
> times..when this happens I find that the first two characters are 
> stripped instead of only the first one.
>
> Any clues ?

Check if your request is not passing twice by same place. A log sentence
before strip could help.




More information about the Users mailing list