Hi Donald,
How you doing? I have set that in the first smsc config. This is my smsc config on the fisrt server: #SMS Africa Relay Test group = smsc smsc = http system-type = kannel smsc-id = Africa-Relay-Test smsc-username = kannel smsc-password = rL4y allowed-prefix = +23480 # preferred-smsc-id = SMSC_2 # allowed-smsc-id = "SMSC_1;SMSC_2" port = 13015 send-url = "http://xxx.xxx.xxx.xxx:13013/cgi-bin/sendsms" log-level = 0 log-file = "/usr/local/kannel/log/africa.log" anything I am missing, also do I need to configure a send sms user for this account? Do i need to configure anything on the server with the gsm modem? Bashir From: Donald Jackson [mailto:[email protected]] Sent: 30 June 2009 03:14 PM To: Bashir Jahed Cc: [email protected] Subject: Re: Kannel Relay Hi Bashir, You can use the allowed-prefix and denied-prefix configuration parameters in your smsc groups to achieve this behaviour. IE: allowed-prefix=27;+27 denied-prefix=44;+44 Thanks, Donald 2009/6/30 Bashir Jahed <[email protected]> Hi Guys, I am new to kannel and am trying to set up the following. We have 2 Kannel servers, one in our Data Centre connecting to multiple smsc's and another on our network that is using a gsm modem. They are both working independently and I am able to send and receive on both Kannel boxes. I am trying to set up relaying so that when our kannel server connected to the smsc's receives a request to send an sms to a specific prefix it routes it to the second Kannel server with the GSM modem and sends via that server, any help will be appreciated. Here is my kannel conf on the second server: group = core admin-port = 13000 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/var/log/kannel/kannel.log" log-level = 0 access-log = "/var/log/kannel/access.log" #http-proxy-host = "127.0.0.1" #http-proxy-port = 8080 #http-proxy-exceptions = "127.0.0.1" #http-proxy-username = "user" #http-proxy-password = "password" #ssl-certkey-file = "mycertandprivkeyfile.pem" # # Smsbox related # smsbox-port = 13001 #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1,10.0.0.3,10.0.0.4,10.0.0.5,10.0.0.6" #unified-prefix = "00358,0" #white-list = "http://127.0.0.1/white-list.txt" #black-list = "http://127.0.0.1/black-list.txt" store-type = spool store-location = "/var/spool/kannel" # #SMSC GSM group = smsc smsc = at modemtype = siemens_mc35i smsc-id=siemens device = /dev/ttyS0 # SEND-SMS USERS group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" # this sender is for Kannel relay testing (http_smsc) group = sendsms-user username = kannel password = rL4y user-deny-ip = "*.*.*.*" user-allow-ip = "172.24.20.69" #port = 13015 group = sendsms-user username = xxxx password = xxxx #user-deny-ip = "" #user-allow-ip = "" # there should be default always #group = sms-service #keyword = default #text = "No service specified" -- Donald Jackson http://www.ddj.co.za/ donaldjster(a)gmail.com
