On Wed, Dec 31, 2008 at 1:57 PM, sangprabv <[email protected]> wrote: > Sorry, there's mistake on my previous email. It should be like this: > Relaying between Kannel is very possible. All you need to do is set > get-url directive to hit other Kannel's MO url > (http://something:port/), set HTTP SMSC at the other Kannel > and set the send-url directive to hit the first Kannel's sendsms url > (http://something:port/sendsms?). And FYI Kannel supports various SMSC > protocol. Please go through the documentation for detail explanation.
Yes you can do that but with that configuration you'll just get the message from one SMSC and send it to the same or another SMSC. The idea of relay which was presented in the previous Ahmed's mail was: SMSC -> Kannelbox1 -> Kannelbox2 -> Application -> Kannelbox2 -> Kannelbox1 -> SMSC here is the thread: http://www.mail-archive.com/[email protected]/msg14292.html As far as I see, he has two kannel boxes on different locations connected to different SMSCs and he wants all the messages to be processed by a single appllication. I wouldn't create a relay between the kannel boxes. The sms-service can be configured to have the same get-url for both kannel boxes, the same application will process the MO messages. To find out from which SMSC the message is received the following parameters can be used: %i the smsc-id of the connection that received the message %I the SMS ID of the internal message structure By examining the value of one of these parameters the application will know from which smsc the MO message has arrived and when sending the reply message, the MT message, will call the appropriate sendsms url on the kannelbox1 or kannelbox2. BR, Jovan
