Hi I am not directing my SMS messages at any SMSC in particular using the cgi-bin request.
I would like Kannel to choose for itself and using the prefix-regex section of the SMSC group configuration as is described in the documentation. Is this not possible? Pete 2009/11/9 Alejandro Guerrieri <[email protected]>: > You need to use accepted-smsc and/or denied-smsc to prevent messages > directed to one smsc to be sent by the other(s). > For example: > group = smsc > name = A > accepted-smsc = A > ... > group = smsc > name = B > accepted-smsc = B > ... > Check the userguide for more details. > Hope it helps, > Alejandro > > On Mon, Nov 9, 2009 at 11:42 AM, Pete Kelly <[email protected]> wrote: >> >> Hi >> >> I have a kannel setup which contains 1 HTTP SMSC. >> >> My system sends SMS's into kannel using the cgi-bin URL interface, and >> SMS's are sent out via one of the SMSCs I have configured. >> >> With one SMSC all is fine as all SMS messages are delivered via the single >> SMSC. >> >> However when I a introduce more than 1 SMSC I am having trouble >> getting Kannel to select which SMSC to use based on the outgoing >> number prefix. >> >> e.g. I am bringing up a new SMPP 3.4 SMSC and I would like to test it >> solely with 2 mobile numbers I have access to: 447777111222 and >> 919997777777 >> >> I have one existing HTTP SMSC working (smsc-id = A), so I have added >> the following line to its config: >> >> denied-prefix-regex = ^(919997777777|447777111222) >> allowed-prefix-regex = ^[1-9]{1}[0-9]{8,} >> >> I set up my new SMSC (smsc-id = B), and add the following to its config: >> >> allowed-prefix-regex = ^447777111222 >> >> However, when I send out SMS messages I am seeing kannel use both >> smsc-id A and B when sending SMS messges to 447777111222 >> >> Can anyone advise if I am going wrong somewhere? >> >> Thanks >> >> Pete >> > >
