Hello Jan, I assume you are not using smsc id in your send-sms request?
It seems that default-smsc does not prevent Kannel for using also other awailable smsc'es. If you want to make sure Kannel routes messages as you like, you can try to add "forced-smsc = OUTGOING" to sendsms-user group and/or "denied-smsc-id =" to smsc and sms-service groups. Note that smsc-id really is optional parameter in smsc group. I think less confusing would be to leave them out and use smsc-id as a "tag" attached to sendsms request. However smsc-id is very useful when you are reading log files. Of course you can use "my-number = <gsm terminal number>" instead to make logs more readable. I think smsbox-route group is quite useless if you have only one smsbox instance. Never tried to use that group. On Wed, 2004-04-21 at 10:09, [EMAIL PROTECTED] wrote: > Date: Tue, 20 Apr 2004 19:11:47 +0800 > From: "Jan" <[EMAIL PROTECTED]> > Subject: Re: Two gsm modems > To: "[EMAIL PROTECTED] Org" <[EMAIL PROTECTED]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Jaakko, > > I still cannot get the config right. The incoming and outgoing sms are still > always via one modem or the other. > What have I gone wrong? Pls help. > Thanks. > > kannel.conf: > > group = core > admin-port = 13000 > smsbox-port = 13001 > admin-password = xxx > log-file = "/tmp/kannel.log" > log-level = 0 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > #admin-deny-ip = "" > #admin-allow-ip = "" > unified-prefix = "-65" > access-log = "/tmp/beareraccess.log" > > group = modems > id = wavecom > name = Wavecom > detect-string = "WAVECOM" > > group = smsc > smsc = at > smsc-id = INCOMING > allowed-smsc-id = INCOMING > #sms-center = +6598540020 > modemtype = wavecom > device = /dev/ttyS1 > > group = smsc > smsc = at > smsc-id = OUTGOING > allowed-smsc-id = OUTGOING > sms-center = +6596197777 > modemtype = wavecom > device = /dev/ttyS0 > > group = smsbox > smsbox-id = in > bearerbox-host = localhost > #smsc-id = OUTGOING > sendsms-port = 13013 > global-sender = 123 > mo-recode = yes > #sendsms-chars = "0123456789 +-" > log-file = "/tmp/smsbox.log" > log-level = 0 > access-log = "/tmp/smsaccess.log" > > group = smsbox-route > smsbox-id = in > smsc-ids = INCOMING > > group = sms-service > keyword = default > accepted-smsc = INCOMING > url = "http://localhost/cgi-bin/gotsms.pl?sender=%p&text=%r" > max-messages = 0 > > group = sendsms-user > username = xxx > password = xxx > default-smsc = OUTGOING > max-messages = 4 > concatenation = 0 > user-deny-ip = "" > user-allow-ip = "127.0.0.1" -- Jaakko Heikkil� <[EMAIL PROTECTED]>
