My SMSC Operator allow the sender in three formats:
+351920012345 (international)
920012345 (national)
12345 (short code?)
I've created two smsc
smsc-id = int
allowed-smsc-id = "int;all"
denied-prefix = "+351"
unified-prefix = "+351920012345,12345"
smsc-id = nac
allowed-smsc-id = "nac;all"
allowed-prefix = "+351"
And a sendsms-user group
group = sendsms-user
default-sender = "12345"
default-smsc = all
I tried some combinations of this setup but never have been have to send
the correct send... or always 12345 or +351920012345, depending in what
is configured in sendsms-user group.
So, where can I use REGEX to do the magic?
ha...@aeon.pk wrote:
You might be able to do this in kannel but your SMSC operator would not
let you allow to put anyone's number in the FROM address.
Use REGEX to handle the sender based on destination.
On Sat, Nov 7, 2015 at 1:37 AM, Filipe Carvalho
<filipe.f.carva...@gmail.com <mailto:filipe.f.carva...@gmail.com>> wrote:
Hello,
Nowadays, I've a simple working configuration
Application -> smsbox (http interface) -> smsc -> smsc gateway
In smsc configuration I've configured the global sender, for
example, 12345
When sending international sms, with sender 12345, it is blocked and
I need to configure an international phone number, like
+351920012345 <tel:%2B351920012345>
It is possible to configure kannel to change the sender based in the
destination prefix?
Can you give me a hint how to do it?
I can not change in the application the URL in order to apply this
logic.
Regards,
Filipe