Check the User Guide for the "unified-prefix" directive, I think it's what you're looking for.
Regards, Alex On Mon, May 3, 2010 at 5:16 PM, Alvaro Cornejo <[email protected]>wrote: > You can try that but I think the do not do the conversion but tells > kannel how to interpret/format the numbers it receive/send. > > > |-----------------------------------------------------------------------------------------------------------------| > 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 > > > > On Mon, May 3, 2010 at 10:05 AM, Irfan Malik <[email protected]> > wrote: > > > > May be with source-addr-ton or source-addr-npi ?? > > > > Best Regards, > > > > Irfan Malik > > > > > > > >> Date: Mon, 3 May 2010 09:55:06 -0500 > >> Subject: Re: Need to remove country code from sender MSISDN > >> From: [email protected] > >> To: [email protected] > >> CC: [email protected] > >> > >> I think it is not possible in kannel, but you can do it in your app > >> when receiving the from=%p var > >> > >> > >> > |-----------------------------------------------------------------------------------------------------------------| > >> 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 > >> > >> > >> > >> On Mon, May 3, 2010 at 9:39 AM, Irfan Malik <[email protected]> > >> wrote: > >> > Hi, > >> > > >> > > >> > Is it possible to to remove "country code" from sender MSISDN? SMSC is > >> > sending 12 digits MSISDN i.e. +999-773-123456 where 999 is country > code > >> > while 773 is operator code. Requirements are to use this MSISDN > without > >> > country code. Can we play with %p parameter to remove country code? > >> > > >> > > >> > ### SERVICES > >> > ### There should always be a default service. > >> > group = sms-service > >> > keyword = default > >> > get-url = "http://localhost/receivesms?from=%p&msg=%b" > >> > max-messages = 0 > >> > > >> > Any help will be much appreciated. > >> > > >> > Thanks in advance. > >> > > >> > Best Regards, > >> > > >> > Irfan Malik > >> > > >> > > >> > ________________________________ > >> > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up > >> > now. > > > > ________________________________ > > Hotmail: Trusted email with powerful SPAM protection. Sign up now. > >
