Similar questions have been asked before, and several good answers are in the users' mailing list archives (its a shame we don't have a FAQ area in the web site). here's one such answer I gave a while ago. I think it clarfies a bit the mojo that is Kannel smsc routing. notice that I talk about forced-smsc, because that is what the original posted asked about, but it works the same as setting the smsc in the send-sms call (as is mentioned in one sentence).
http://www.mail-archive.com/users@kannel.3glab.org/msg01135.html -- Oded Arbel m-Wise mobile solutions [EMAIL PROTECTED] +972-9-9581711 +972-67-340014 ::.. If stock market experts were so expert, they would be buying stock, not selling advice. -----Original Message----- From: Szabó Kristóf Imre [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:18 AM To: [EMAIL PROTECTED] Subject: multiple smsc connections Hi, I configured two SMSC's in my kannel config (listings below) and now I can't tell the sms-box which connection it should use. I tried with the smsc CGI parateter and the X-Kannel-SMSC header too, but Kannel routes random the sms's between the two connection. Any idea? My other question is CIMD specific. Does Kannel support the 'set alphanumeric sender' feature of CIMD? (Sometimes referred as 27-feature.) Thanks in advance, Christophe ---- ============================================ Listings ================ The config file: group = smsc smsc = cimd2 smsc-id = alap host = 192.24.1.40 port = 9971 smsc-username = tdef102 smsc-password = tdef102 keepalive = 3 group = smsc smsc = cimd2 smsc-id = agi host = 192.24.97.102 port = 9971 smsc-username = tdef201 smsc-password = tdef201 keepalive = 3 group = smsbox bearerbox-host = localhost sendsms-port = 13131 access-log = "/tmp/kannel.access" log-file = "/tmp/smsbox.log" log-level = 2 global-sender = 9303526 group = sendsms-user username = kannel password = kannel #user-deny-ip = "*.*.*.*" user-allow-ip = "*.*.*.*" max-messages = 3 concatenation = 0 split-chars = " ,.!?\n;:/" split-suffix = "+" default-sender = 9303526 ============================== The sent requests: bash-2.04$ telnet dev 13131 Trying... Connected to dev.pgsm.hu. Escape character is '^]'. GET /cgi-bin/sendsms?text=hiw&username=kannel&password=kannel&to=9303526 HTTP/1.0 X-Kannel-SMSC: alap HTTP/1.0 202 Foo Server: Kannel/cvs Content-Length: 5 Content-type: text/html Pragma: no-cache Cache-Control: no-cache Sent.Connection closed by foreign host. bash-2.04$ telnet dev 13131 Trying... Connected to dev.pgsm.hu. Escape character is '^]'. GET /cgi-bin/sendsms?text=hiw&username=kannel&password=kannel&to=9303526&from=9000914 HTTP/1.0 X-Kannel-SMSC: agi HTTP/1.0 202 Foo Server: Kannel/cvs Content-Length: 5 Content-type: text/html Pragma: no-cache Cache-Control: no-cache Sent.Connection closed by foreign host.