Found it. 

  

As I can only send to 0032 and 0086 numbers, and not +32 and +86 numbers, I had 
only put the long numbers in the preferred-prefix. 

Adding the short notations solved it. 

  

preferred-prefix = "0032;+32" did the trick. 

  

Regards, 

-- 

Toni Van Remortel

System Engineer @ Precision Operations NV

+32 3 451 92 20 - [email protected]


  

From:[email protected] [mailto:[email protected]] On Behalf Of 
Toni Van Remortel
Sent:Thursday, May 07, 2009 12:42 PM
To:[email protected]
Subject:Multiple SMSC's 



  

Hi, 

  

I have this setup: 

- Kannel with SMSC in Belgium, local modem attached 

- Kannel with SMSC in China, local modem attached 

  

I like to achieve: 

When I send an SMS through Belgium, it should send out the messages to Belgian 
numbers through the Belgian SMSC, and messages to Chinese numbers through the 
Chinese SMSC. 

But when the Belgian SMSC is down (or better said: when the attached modem 
isn't working), the messages should be routed to the SMSC in China. And vice 
versa. 

  

From Belgium I can connect to Kannel setup in China though http, and with my 
current setup (SMSC definitions for both SMSC's, one as 'at' and one as 
'http'), all my messages are sent through the SMSC in China, despite I added 
'preferred-prefix' in each SMSC definition. 

  

I do not specify any SMSC when sending. 

  

Anybody who has this kind of setup working, and is willing to help me with the 
setup here? 

In the end I will have 4 SMSC's with local modem and another 5 Kannel setups 
that should connect to the 4 SMSC's. 

  

Thanks. 

-- 

Toni Van Remortel

System Engineer @ Precision Operations NV

+32 3 451 92 20 - [email protected]

  


Reply via email to