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@gmail.com]
Sent: 2009-01-23 17:20
To: Ali Jawad
Cc: Henning Westerholt; users(a)lists.kamailio.org
Subject: Re: [Kamailio-Users] CarrierRoute With + Prefix
On Fri, Jan 23, 2009 at 1:14 PM, Ali Jawad <ali.jawad(a)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.