Agree with Juan Nin, much more better doing that in application level than 
configuration level, since the sender in inbound messages could be very 
dynamic. Just forward all incoming messages and let you application parse them. 
It is much more easier and as a bonus you can sleep well :)


Willy Mularto
[email protected]

On May 7, 2013, at 5:03 AM, Juan Nin <[email protected]> wrote:

> You need to do it at application level, not Kannel
> 
> 
> On Fri, May 3, 2013 at 11:18 AM, Mike Nwaogu <[email protected]> wrote:
> Thanks for getting back Alvaro, 
> Yes, I tried that but it only addresses routing for the destination numbers. 
> I'm trying to restrict the sender address, which in some cases are even 
> alpha-numeric. Please explain further how to use allow-prefix to achieve this 
> for sender address routing.
>  
> Best Regards,
> Michael C. Nwaogu
> 
> ----- Original Message -----
> From: Alvaro Cornejo <[email protected]>
> To: Mike Nwaogu <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Sent: Friday, May 3, 2013 2:53 PM
> Subject: Re: Routing Based on Source Address
> 
> Hi
> 
> You should be able to dfo that using allow-prefix and/or deny-prefix
> 
> Regards
> 
> Alvaro
> 
> On 5/3/13, Mike Nwaogu <[email protected]> wrote:
> > Hello Yall,
> > Hope this meets you well and in good health.
> > I'm at a crossroad in a recent development, I need to route outbound
> > messages coming from my clients through an smsc_a if the source address
> > matches a certain pattern and smsc_b if it doesn't as long as the
> > destination address matches a certain pattern.
> >
> > 123000(src_adr)|___________SMSC_A
> >
> > +49***(dst_adr)|
> >
> >
> >
> > abc000(src_adr)|___________SMSC_B
> >
> > +49***(dst_adr)|
> >
> >
> > I'm using kannel development release v1.5.0
> >
> > How do I achieve this? The closest thing I saw in the document was the
> > smsbox routing which addresses only inbound sms routing. All/Any suggestions
> > would be appreciated.
> >
> >
> > Best Regards,
> > Michael C. Nwaogu
> 
> 
> -- 
> |-----------------------------------------------------------------------------------------------------------------|
> 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
> 

Reply via email to