Re: How does smsbox choose return-SMSC?
After an incoming SMS, and after a service has been performed, how does smsbox/kannel choose which SMSC the reply will be sent by? [..] Hi, I configured 6 smsc's and to control routing I used the parameter 'allowed-smsc-id' within the smsc-group and 'accepted-smsc' within the sms-service group. When an sms is reveived, the sms-service calls an url which can set the smsc through the X-Kannel-Headers, if required and control routing. See kannel documentation (v 1.2.1) pages 47ff, and 75ff. I can provide you my configuration as an example, if you wish. Thanks a lot to everyone for swift replies! This was very helpful. I actually do need some routing after message receipt, so as I understand correctly I: * set accept-x-kannel-headers to true for the service. * from the exec or get-url I return output in this x-kannel format, which allows me to specify SMSC. I am a bit unsure on this X-Kannel-format though. There's a header spec in the doc - but that includes username/pass (!). Do you/anyone have a sample X-Kannel return message? Thanks again, Gustav Tresselt -- Gustav Tresselt DataGuard AS
Re: How does smsbox choose return-SMSC?
On Fri, 28 Feb 2003 15:04:06 +0100 Gustav Tresselt [EMAIL PROTECTED] wrote: After an incoming SMS, and after a service has been performed, how does smsbox/kannel choose which SMSC the reply will be sent by? [..] I actually do need some routing after message receipt, so as I understand correctly [..] I am a bit unsure on this X-Kannel-format though. There's a header spec in the doc - but that includes username/pass (!). I use 3 smsc's and to control routing use the 'denied-smsc-id' in the smsc-group and 'accepted-smsc' parameter in the sms-service In my case response messages are routed for each SMSC without X-Kannel-SMSC parameter properly. But so ok with X-Kannel-SMSC parameter too. Ah ok, if I understand correctly this is a passive routing, where you have decided on forehand which services will return to which SMSCs. I need the service itself (URL/exec) to be able to choose return SMSC, so I guess that only works with X-Kannel. I couldn't find any thorough info on X-Kannel in the Kannel doc, do anyone have links? That'd be great. ;) See doc in http://www.kannel.3glab.org/download/1.2.1/userguide-1.2.1/userguide.html#AEN2700 -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz
Re: How does smsbox choose return-SMSC?
On Thu, 27 Feb 2003 09:34:40 +0400 Shanavaz E A [EMAIL PROTECTED] wrote: You can pass the parameter smsc=id_of_smsc in the calling url. May be just set the forced-smsc = id_of_smsc parameter in the sms-service group? - Original Message - From: Gustav Tresselt To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 9:08 PM Subject: How does smsbox choose return-SMSC? After an incoming SMS, and after a service has been performed, how does smsbox/kannel choose which SMSC the reply will be sent by? With my config, the messages are always sent back through the same SMSC (and it's not the same SMSC through which the SMS came in). Just some simple info/link on parameters/features would be very helpful, then I'll find the rest out myself. ;) Thanks, Gustav Tresselt -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz