Hi Guys,
Any assistance would be appreciated please: I need to know what needs to be configured where. The documentation is very limited and not very clear. As mentioned, I have 2 servers set up as such: Server1 - Cape Town * Connected to local operators via smpp Server2 - Nigeria * Connected to GSM Modem I am able to send and receive on both servers locally. What I am attempting to achieve is to route all sms's destined for Nigeria to be routed from server1 to server2 and sms delivered via gsm modem in the country. Server1 Configuration: #SMS Africa Relay Test group = smsc smsc = http system-type = kannel smsc-id = Africa-Relay-Test smsc-username = africa smsc-password = africa allowed-prefix = "+23480;080" preferred-prefix = "+23480;080" port = 13015 send-url = "http://server2:13013/cgi-bin/sendsms" log-level = 3 log-file = "/usr/local/kannel/log/africa.log" Server2 Configuration #africa relay group = smsc smsc = http system-type = kannel smsc-id = relay-africa smsc-username = africa smsc-password = africa preferred-prefix = "273480;273480;003480;080" port = 13015 send-url = "http://localhost:13013/cgi-bin/sendsms" They both show online in the status page... however when sending via the url on server1 sms never reached server2.... tey are both on a local network at present with iptables turned off so no firewall blocking anyting. Is my configuration correct? And what url do i call to send an sms to Nigeria from server1? Thanks in advance, 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
