RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-13 Thread Rene Kluwen
The destination.

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of Porter, Kelvin
Sent: dinsdag 12 november 2013 19:01
To: ha...@aeon.pk
Cc: users@kannel.org
Subject: RE: SMSC-ID routing based on to/from on SMSBox?

 

Hi,

 

I did some looking and it appears that I might be able to accomplish what I
want using allowed- and/or denied-prefix.  The description is a bit
ambiguous though, these variables determines whether a SMS message can be
sent through.  The routing is unclear as to whether the prefix filtering
is being applied to the sender or the receiver.  I could look at the code,
but does anyone know off-hand which number is being filtered?

 

Thank you for the pointer.

 

Regards,

 

Kelvin R. Porter

 

From: ha...@aeon.pk [mailto:ha...@aeon.pk] 
Sent: Tuesday, November 12, 2013 11:27 AM
To: Porter, Kelvin
Cc: users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

 

Have you tried allowed-smsc-id and denied-smsc-id parameters in group=smsc?

 

On Tue, Nov 12, 2013 at 10:10 PM, Porter, Kelvin kelvin.por...@h3net.com
wrote:

Hi,

 

The scenario is the following.

 

I have customers that are sending HTTP requests to the SMSBox instance to
initiate the sending of MT messages.  Depending on the intended destination
of those messages (i.e., the to/receiver number),  I need to direct the
message to one set of SMSC links or the other in the BearerBox.  The
application performing the HTTP requests does not have any way of
determining the set of numbers that need to go to a particular SMSC.  So, I
am looking for a way to configure the SMSBox so that the SMSC is specified
for certain MT destinations.  

 

In the opensmppbox, I would use the smsc-route option to set which SMSC was
specified before it was sent to the bearerbox.  I am looking for equivalent
functionality.  Have I overlooked something or is the functionality, not
there?

 

Thank you.


Regards,

 

Kelvin R. Porter

 

From: ha...@aeon.pk [mailto:ha...@aeon.pk] 
Sent: Tuesday, November 12, 2013 10:48 AM
To: Porter, Kelvin
Cc: users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

 

Can you explain your scenario with an example please? Would be easier to
understand what you need.

 

On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin kelvin.por...@h3net.com
wrote:

Hi,

 

I am writing to insure that I have not overlooked an option.  In my
application, I have a need to specify SMSC based on where the message is
being sent to (the users will not specify the smsc in the HTTP request).
Basically, I need to insure some MT destinations are treated differently
that the others, independent of what is specified in the request.  I have
looked at the source and it does not appear that this functionality is
implemented.  Have I missed something?

 

I am looking for something akin to the smsc-route option in the
opensmppbox.  I may attempt to splice in this code from the opensmppbox, if
I must.  Is there any interest in this functionality? 

 

Regards,

 

Kelvin R. Porter

 

 

 

 



RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-13 Thread Porter, Kelvin
Hi Stipe,

Thank you for the response.  These two architectures give me some options, 
until I arrive at a more permanent fix.

Regards,

Kelvin R. Porter

-Original Message-
From: Stipe Tolj [mailto:st...@kannel.org] 
Sent: Wednesday, November 13, 2013 3:16 PM
To: Porter, Kelvin
Cc: users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

Am 11.11.2013 19:56, schrieb Porter, Kelvin:
 Hi,

 I am writing to insure that I have not overlooked an option. In my 
 application, I have a need to specify SMSC based on where the message 
 is being sent to (the users will not specify the smsc in the HTTP request).
 Basically, I need to insure some MT destinations are treated 
 differently that the others, independent of what is specified in the 
 request. I have looked at the source and it does not appear that this 
 functionality is implemented. Have I missed something?

 I am looking for something akin to the smsc-route option in the 
 opensmppbox. I may attempt to splice in this code from the 
 opensmppbox, if I must. Is there any interest in this functionality?


Hi Kelvin,

now, as far as I get you, you want some kind of man in the middle 
process that is able to tag the MT with the corresponding smsc-id (that is then 
routed for on the bearerbox level), while the external users
(ESMEs) are injecting the MTs in standard fashion way via the smsbox HTTP 
sendsms interface, correct?

There are several ways to do this. Let me give you a glance of options:

a) HTTP bridging: means, in a communication chain diagram this:

users -HTTP- smsbox - bearerbox(SMSC HTTP) -HTTP- app -HTTP- smsbox 
- bearerbox -SMPP/..- SMSC.

so, the users send the HTTP call, which is always routed (enforced) to a 
smsc-id RELAY, which is a HTTP SMSC config that sends again the MT via HTTP to 
an application layer, (call is routing layer if you want). 
This logical entity can then do MNP (mobile number portability) lookups, decide 
which SMSC is in charge to transport the MT, and then tag the MT again with 
the correct smsc-id for the successing HTTP call to smsbox, which then get's 
routed to the corresponding SMSC instance in bearerbox.

So, effectively you create a HTTP loop to a application layer that does the 
routing decision, and then re-inject via smsbox.

b) smppbox bridging: means, in a communication chain diagram this:

users -HTTP- smsbox - bearerbox -SMPP- smppbox - bearerbox -SMPP/..- SMSC

in this case you can utilize the Kannel smppbox plugin API to call for 
additional control flows, i.e. via a HTTP callback, or even via 
implementation of own plugin logic into the smppbox to resolve the smsc-id you 
want to route to.

Option a) is a bit of config mangling, especially if DLRs are involved. 
Option b) is faster, but involves the licensing of the commercial Kannel SMPP 
v5.0 server (smppbox).

Hope this gives some insight.

Stipe

--
---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---



Re: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread ha...@aeon.pk
Can you explain your scenario with an example please? Would be easier to
understand what you need.


On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin kelvin.por...@h3net.comwrote:

 Hi,



 I am writing to insure that I have not overlooked an option.  In my
 application, I have a need to specify SMSC based on where the message is
 being sent to (the users will not specify the smsc in the HTTP request).
  Basically, I need to insure some MT destinations are treated differently
 that the others, independent of what is specified in the request.  I have
 looked at the source and it does not appear that this functionality is
 implemented.  Have I missed something?



 I am looking for something akin to the “smsc-route” option in the
 opensmppbox.  I may attempt to splice in this code from the opensmppbox, if
 I must.  Is there any interest in this functionality?



 Regards,



 Kelvin R. Porter







RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread Porter, Kelvin
Hi,

The scenario is the following...

I have customers that are sending HTTP requests to the SMSBox instance to 
initiate the sending of MT messages.  Depending on the intended destination of 
those messages (i.e., the to/receiver number),  I need to direct the message to 
one set of SMSC links or the other in the BearerBox.  The application 
performing the HTTP requests does not have any way of determining the set of 
numbers that need to go to a particular SMSC.  So, I am looking for a way to 
configure the SMSBox so that the SMSC is specified for certain MT destinations.

In the opensmppbox, I would use the smsc-route option to set which SMSC was 
specified before it was sent to the bearerbox.  I am looking for equivalent 
functionality.  Have I overlooked something or is the functionality, not there?

Thank you.

Regards,

Kelvin R. Porter

From: ha...@aeon.pk [mailto:ha...@aeon.pk]
Sent: Tuesday, November 12, 2013 10:48 AM
To: Porter, Kelvin
Cc: users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

Can you explain your scenario with an example please? Would be easier to 
understand what you need.

On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin 
kelvin.por...@h3net.commailto:kelvin.por...@h3net.com wrote:
Hi,

I am writing to insure that I have not overlooked an option.  In my 
application, I have a need to specify SMSC based on where the message is being 
sent to (the users will not specify the smsc in the HTTP request).  Basically, 
I need to insure some MT destinations are treated differently that the others, 
independent of what is specified in the request.  I have looked at the source 
and it does not appear that this functionality is implemented.  Have I missed 
something?

I am looking for something akin to the smsc-route option in the opensmppbox.  
I may attempt to splice in this code from the opensmppbox, if I must.  Is there 
any interest in this functionality?

Regards,

Kelvin R. Porter





Re: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread ha...@aeon.pk
Have you tried allowed-smsc-id and denied-smsc-id parameters in group=smsc?


On Tue, Nov 12, 2013 at 10:10 PM, Porter, Kelvin kelvin.por...@h3net.comwrote:

 Hi,



 The scenario is the following…



 I have customers that are sending HTTP requests to the SMSBox instance to
 initiate the sending of MT messages.  Depending on the intended destination
 of those messages (i.e., the to/receiver number),  I need to direct the
 message to one set of SMSC links or the other in the BearerBox.  The
 application performing the HTTP requests does not have any way of
 determining the set of numbers that need to go to a particular SMSC.  So, I
 am looking for a way to configure the SMSBox so that the SMSC is specified
 for certain MT destinations.



 In the opensmppbox, I would use the smsc-route option to set which SMSC
 was specified before it was sent to the bearerbox.  I am looking for
 equivalent functionality.  Have I overlooked something or is the
 functionality, not there?



 Thank you.


 Regards,



 Kelvin R. Porter



 *From:* ha...@aeon.pk [mailto:ha...@aeon.pk]
 *Sent:* Tuesday, November 12, 2013 10:48 AM
 *To:* Porter, Kelvin
 *Cc:* users@kannel.org
 *Subject:* Re: SMSC-ID routing based on to/from on SMSBox?



 Can you explain your scenario with an example please? Would be easier to
 understand what you need.



 On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin kelvin.por...@h3net.com
 wrote:

 Hi,



 I am writing to insure that I have not overlooked an option.  In my
 application, I have a need to specify SMSC based on where the message is
 being sent to (the users will not specify the smsc in the HTTP request).
  Basically, I need to insure some MT destinations are treated differently
 that the others, independent of what is specified in the request.  I have
 looked at the source and it does not appear that this functionality is
 implemented.  Have I missed something?



 I am looking for something akin to the “smsc-route” option in the
 opensmppbox.  I may attempt to splice in this code from the opensmppbox, if
 I must.  Is there any interest in this functionality?



 Regards,



 Kelvin R. Porter









RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread Porter, Kelvin
Hi,

I did some looking and it appears that I might be able to accomplish what I 
want using allowed- and/or denied-prefix.  The description is a bit ambiguous 
though, these variables determines whether a SMS message can be sent through. 
 The routing is unclear as to whether the prefix filtering is being applied to 
the sender or the receiver.  I could look at the code, but does anyone know 
off-hand which number is being filtered?

Thank you for the pointer.

Regards,

Kelvin R. Porter

From: ha...@aeon.pk [mailto:ha...@aeon.pk]
Sent: Tuesday, November 12, 2013 11:27 AM
To: Porter, Kelvin
Cc: users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

Have you tried allowed-smsc-id and denied-smsc-id parameters in group=smsc?

On Tue, Nov 12, 2013 at 10:10 PM, Porter, Kelvin 
kelvin.por...@h3net.commailto:kelvin.por...@h3net.com wrote:
Hi,

The scenario is the following...

I have customers that are sending HTTP requests to the SMSBox instance to 
initiate the sending of MT messages.  Depending on the intended destination of 
those messages (i.e., the to/receiver number),  I need to direct the message to 
one set of SMSC links or the other in the BearerBox.  The application 
performing the HTTP requests does not have any way of determining the set of 
numbers that need to go to a particular SMSC.  So, I am looking for a way to 
configure the SMSBox so that the SMSC is specified for certain MT destinations.

In the opensmppbox, I would use the smsc-route option to set which SMSC was 
specified before it was sent to the bearerbox.  I am looking for equivalent 
functionality.  Have I overlooked something or is the functionality, not there?

Thank you.

Regards,

Kelvin R. Porter

From: ha...@aeon.pkmailto:ha...@aeon.pk 
[mailto:ha...@aeon.pkmailto:ha...@aeon.pk]
Sent: Tuesday, November 12, 2013 10:48 AM
To: Porter, Kelvin
Cc: users@kannel.orgmailto:users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

Can you explain your scenario with an example please? Would be easier to 
understand what you need.

On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin 
kelvin.por...@h3net.commailto:kelvin.por...@h3net.com wrote:
Hi,

I am writing to insure that I have not overlooked an option.  In my 
application, I have a need to specify SMSC based on where the message is being 
sent to (the users will not specify the smsc in the HTTP request).  Basically, 
I need to insure some MT destinations are treated differently that the others, 
independent of what is specified in the request.  I have looked at the source 
and it does not appear that this functionality is implemented.  Have I missed 
something?

I am looking for something akin to the smsc-route option in the opensmppbox.  
I may attempt to splice in this code from the opensmppbox, if I must.  Is there 
any interest in this functionality?

Regards,

Kelvin R. Porter






Re: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread ha...@aeon.pk
I used it long time ago. Cannot recall how exactly I did that. But you need
some sort of REGEX combination to route SMS to certain SMSCs, and then
putting allowed/denied parameters in place as well.


On Tue, Nov 12, 2013 at 11:01 PM, Porter, Kelvin kelvin.por...@h3net.comwrote:

 Hi,



 I did some looking and it appears that I might be able to accomplish what
 I want using allowed- and/or denied-prefix.  The description is a bit
 ambiguous though, these variables determines whether a SMS message can be
 “sent through”.  The routing is unclear as to whether the prefix filtering
 is being applied to the sender or the receiver.  I could look at the code,
 but does anyone know off-hand which number is being filtered?



 Thank you for the pointer.



 Regards,



 Kelvin R. Porter



 *From:* ha...@aeon.pk [mailto:ha...@aeon.pk]
 *Sent:* Tuesday, November 12, 2013 11:27 AM

 *To:* Porter, Kelvin
 *Cc:* users@kannel.org
 *Subject:* Re: SMSC-ID routing based on to/from on SMSBox?



 Have you tried allowed-smsc-id and denied-smsc-id parameters in group=smsc?



 On Tue, Nov 12, 2013 at 10:10 PM, Porter, Kelvin kelvin.por...@h3net.com
 wrote:

 Hi,



 The scenario is the following…



 I have customers that are sending HTTP requests to the SMSBox instance to
 initiate the sending of MT messages.  Depending on the intended destination
 of those messages (i.e., the to/receiver number),  I need to direct the
 message to one set of SMSC links or the other in the BearerBox.  The
 application performing the HTTP requests does not have any way of
 determining the set of numbers that need to go to a particular SMSC.  So, I
 am looking for a way to configure the SMSBox so that the SMSC is specified
 for certain MT destinations.



 In the opensmppbox, I would use the smsc-route option to set which SMSC
 was specified before it was sent to the bearerbox.  I am looking for
 equivalent functionality.  Have I overlooked something or is the
 functionality, not there?



 Thank you.


 Regards,



 Kelvin R. Porter



 *From:* ha...@aeon.pk [mailto:ha...@aeon.pk]
 *Sent:* Tuesday, November 12, 2013 10:48 AM
 *To:* Porter, Kelvin
 *Cc:* users@kannel.org
 *Subject:* Re: SMSC-ID routing based on to/from on SMSBox?



 Can you explain your scenario with an example please? Would be easier to
 understand what you need.



 On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin kelvin.por...@h3net.com
 wrote:

 Hi,



 I am writing to insure that I have not overlooked an option.  In my
 application, I have a need to specify SMSC based on where the message is
 being sent to (the users will not specify the smsc in the HTTP request).
  Basically, I need to insure some MT destinations are treated differently
 that the others, independent of what is specified in the request.  I have
 looked at the source and it does not appear that this functionality is
 implemented.  Have I missed something?



 I am looking for something akin to the “smsc-route” option in the
 opensmppbox.  I may attempt to splice in this code from the opensmppbox, if
 I must.  Is there any interest in this functionality?



 Regards,



 Kelvin R. Porter











RE: SMSC-ID routing based on to/from on SMSBox?

2013-11-12 Thread Ghulam Mustafa /HQ/NW/Network Engineer
Use forced-smsc in group=sendsms-user


Sent from Samsung Mobile


 Original message 
From: ha...@aeon.pk
Date:12/11/2013 11:09 PM (GMT+05:00)
To: Porter, Kelvin
Cc: users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

I used it long time ago. Cannot recall how exactly I did that. But you need 
some sort of REGEX combination to route SMS to certain SMSCs, and then putting 
allowed/denied parameters in place as well.


On Tue, Nov 12, 2013 at 11:01 PM, Porter, Kelvin 
kelvin.por...@h3net.commailto:kelvin.por...@h3net.com wrote:
Hi,

I did some looking and it appears that I might be able to accomplish what I 
want using allowed- and/or denied-prefix.  The description is a bit ambiguous 
though, these variables determines whether a SMS message can be “sent through”. 
 The routing is unclear as to whether the prefix filtering is being applied to 
the sender or the receiver.  I could look at the code, but does anyone know 
off-hand which number is being filtered?

Thank you for the pointer.

Regards,

Kelvin R. Porter

From: ha...@aeon.pkmailto:ha...@aeon.pk 
[mailto:ha...@aeon.pkmailto:ha...@aeon.pk]
Sent: Tuesday, November 12, 2013 11:27 AM

To: Porter, Kelvin
Cc: users@kannel.orgmailto:users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

Have you tried allowed-smsc-id and denied-smsc-id parameters in group=smsc?

On Tue, Nov 12, 2013 at 10:10 PM, Porter, Kelvin 
kelvin.por...@h3net.commailto:kelvin.por...@h3net.com wrote:
Hi,

The scenario is the following…

I have customers that are sending HTTP requests to the SMSBox instance to 
initiate the sending of MT messages.  Depending on the intended destination of 
those messages (i.e., the to/receiver number),  I need to direct the message to 
one set of SMSC links or the other in the BearerBox.  The application 
performing the HTTP requests does not have any way of determining the set of 
numbers that need to go to a particular SMSC.  So, I am looking for a way to 
configure the SMSBox so that the SMSC is specified for certain MT destinations.

In the opensmppbox, I would use the smsc-route option to set which SMSC was 
specified before it was sent to the bearerbox.  I am looking for equivalent 
functionality.  Have I overlooked something or is the functionality, not there?

Thank you.

Regards,

Kelvin R. Porter

From: ha...@aeon.pkmailto:ha...@aeon.pk 
[mailto:ha...@aeon.pkmailto:ha...@aeon.pk]
Sent: Tuesday, November 12, 2013 10:48 AM
To: Porter, Kelvin
Cc: users@kannel.orgmailto:users@kannel.org
Subject: Re: SMSC-ID routing based on to/from on SMSBox?

Can you explain your scenario with an example please? Would be easier to 
understand what you need.

On Mon, Nov 11, 2013 at 11:56 PM, Porter, Kelvin 
kelvin.por...@h3net.commailto:kelvin.por...@h3net.com wrote:
Hi,

I am writing to insure that I have not overlooked an option.  In my 
application, I have a need to specify SMSC based on where the message is being 
sent to (the users will not specify the smsc in the HTTP request).  Basically, 
I need to insure some MT destinations are treated differently that the others, 
independent of what is specified in the request.  I have looked at the source 
and it does not appear that this functionality is implemented.  Have I missed 
something?

I am looking for something akin to the “smsc-route” option in the opensmppbox.  
I may attempt to splice in this code from the opensmppbox, if I must.  Is there 
any interest in this functionality?

Regards,

Kelvin R. Porter