You might need to talk to your SMSC vendor to see which TON and NPI settings are being used. Shuffling those values, you can avoid getting +sign from SMSC. Else, do as Alvaro suggested below.
On Thu, Jul 26, 2012 at 7:28 PM, Alvaro Cornejo <[email protected]>wrote: > Hi > > The + sign means the number following is in international format ie it > carries country code. It is to your app to remove it -if needed- and > process it accordingly. > > Regards > > Alvaro > > On 7/26/12, [email protected] <[email protected]> wrote: > > using %P and %p results like does not remove + from the receiver part > > > > e-g > > > > access.log; > > [from:218922526xxx] [to:+21855xxx] > > > > smsbox; > > 2012-07-26 12:21:51 [6300] [4] INFO: Starting to service <Test from > 51025> > > from <218922526xxx> to <:+21855xxx> > > > > it remove + from the sender but not from the receiver I want to remove > +218 > > in receiver number. > > > > > > > > From: Christopher Burke > > Sent: 26 July 2012 4:46 PM > > To: [email protected] > > Cc: [email protected] > > Subject: Re: how to remove + from receiving short-code > > > > Hi, > > > > If you're using the get-url in the sms-service configuration you can use > one > > of the other escape-codes, which are noted in the Kannel user guide Table > > 6-9. Parameters (Escape Codes): > > > > > http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN3087 > > > > The + sign is a sender/reciever formatter, while %p/%P will use the > > non-formatted. > > > > Kind Regards, > > > > Christopher > > > > > > On 26/07/12 12:11, [email protected] wrote: > > > > is it possible to remove + sign from the receiving short-code? just > like > > kannel do for sender number using unified-prefix? > > > > > > -- > > > > Christopher Burke > > Development Team Leader / Software Engineer > > http://simulity.com > > Mobile: +44 7590 571 833 > > Skype:krslynx > > > > NOTICE: This message contains privileged & confidential information > intended > > only for the use of the addressee named above. If you are not the > intended > > recipient of this message, you are hereby notified that you must not > > disseminate, copy or take any action in reliance on it. If you have > received > > this message in error, please notify Simulity Labs immediately. Any views > > expressed in this message are those of the individual sender except where > > the sender specifically states them to be the view of Simulity Labs > > > -- > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > >
