I have added all that but it is not just working. is there a way to disable
completely. Here are my logs
I would like to know how I can remove the + sign on the short code, rather than
having +1234 I want to have 1234 when an sms is being delivered to kannel. here
the sms can get to my system, what i am failing to understand is why then will
kannel respond with the default text rather than the service text. here are my
logs
2010-10-21 09:04:50 [2495] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2010-10-21 09:04:50 [2495] [0] INFO: Connected to bearerbox at 127.0.0.1 port
13001.
2010-10-21 09:04:50 [2495] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)
2010-10-21 09:04:50 [2495] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 2495.
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(sale|sale|sales|sell|sells|sale|sales|sell|sells|sale|sell|sales|sell|lease|leasing)[
]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(buy|buy|buy|rent|renting|looking)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(bid|bid|bids|bid|bid)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(advert|advert|adverts|advert|adverts|advert|adverts)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(directory|directory|dir|directory|dir)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(liquorama|liquorama|liquorama|liquorama)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(tastic|tastic|tastic|tastic|testic|testic|testic)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(payless|payless|pay-less|pay-less|payless|pay-less)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: ^[
]*(mobile|mobile|mobile|mobile)[ ]*
2010-10-21 09:10:24 [2495] [4] DEBUG: match found: ^[
]*(goodnews|faith|register|reg|faith|faith|register|register|goodnews|goodnews|goodnews)[
]*
2010-10-21 09:10:24 [2495] [4] DEBUG: no match found: GoodNews
2010-10-21 09:10:24 [2495] [4] INFO: Starting to service <faith> from
<+264601009634> to <+16933>
2010-10-21 09:10:24 [2495] [4] DEBUG: formatted text answer: <Welcome to
Mobitec Mobile Services. Your mesage contains an error & couldnt be processed.
SMS goodnews or classifieds or games or directory to get help info>
2010-10-21 09:10:24 [2495] [4] DEBUG: message length 156, sending 1 messages
2010-10-21 09:10:24 [2495] [0] DEBUG: Got ACK (0) of
741f16d0-ea37-4c90-a842-c0bd8305f352
2010-10-21 09:10:24 [2495] [0] DEBUG: No client - multi-send or ACK to
pull-reply
as u can see the correct service is being found but the responds is going to
the default. why
my configs are as
[r...@smsc ~]# less /etc/kannel.conf
#########################################################################################
#
#
# Main Mobitec kannel configuration file
#
#
#
# Mobitec SMS Gateway (version: 1.0.2)
#
# @ 2010. Mobitec, Syldah Media
#
#
#
#########################################################################################
#########################################################################################
# KANNEL CORE GROUP CONFIGURATION
#
#########################################################################################
group=core
admin-port=13000
smsbox-port=13001
wapbox-port=13002
admin-password=8888888888888
box-deny-ip="*.*.*.*"
box-allow-ip="127.0.0.1"
admin-deny-ip="*.*.*.*"
admin-allow-ip="127.0.0.1"
udp-deny-ip="*.*.*.*"
udp-allow-ip="127.0.0.1"
dlr-storage=internal
#store-type=spool
#store-location="/var/spool/kannel"
wdp-interface-name="*"
log-file="/var/log/kannel/bearerbox.log"
access-log="/var/log/kannel/bearerbox-access.log"
log-level=1
unified-prefix = "+267,00267,0;+,00;+264,00264,0;+,00"
#########################################################################################
# SMS Center Group
#
#########################################################################################
# Mascom SMPP Connection
###############################################################
#########################################################################################
group=smsc
smsc= smpp
smsc-id = mascom16933
interface-version=34
host=8888888888
port=888888
system-id=8888
smsc-username = 8888
smsc-password = 8888
system-type = "VMA"
address-range = ''
log-file = "/var/log/kannel/mascom.log"
log-level = 1
transceiver-mode=true
throughput = 1000
unified-prefix = "+267,00267,0;+,00"
#receive-port = 10052
#my-number = 16933
denied-smsc-id = "leo16933;leo16499;telcomna"
allowed-smsc-id = mascom16933
# LeoNamibia SMPP Connection
###########################################################
#########################################################################################
group=smsc
smsc= smpp
smsc-id = leo16499
interface-version=34
host=888888888888
port=8888
#system-id=syldah
smsc-username = 88888
smsc-password = 88888
system-type = "VMA"
address-range = ''
log-file = "/var/log/kannel/leo-16933.log"
log-level = 1
transceiver-mode=true
throughput = 1000
unified-prefix = "+264,00264,0;+,00"
#receive-port = 10052
#my-number = 16933
denied-smsc-id = "mascom16933;leo16933;telcomna"
allowed-smsc-id = leo16499
# LeoNamibia SMPP Connection
###########################################################
#########################################################################################
group=smsc
smsc= smpp
smsc-id = leo16933
interface-version=34
host=8888888888888
port=88888888
smsc-username = 888888888
smsc-password = 888888888
system-type = "VMA"
address-range = ''
log-file = "/var/log/kannel/leo-16499.log"
log-level = 1
transceiver-mode=true
throughput = 1000
unified-prefix = "+264,00264,0;+,00"
denied-smsc-id = "mascom16933;leo16499;telcomna"
allowed-smsc-id = leo16933
# TelecomNamibia SMPP Connection
#######################################################
#########################################################################################
group=smsc
smsc= smpp
smsc-id = telecomna
interface-version=34
host=888888888888888
port=8888888
smsc-username = 88888888
smsc-password = 88888888
system-type = "Ozeki"
address-range = ''
log-file = "/var/log/kannel/telecomna.log"
log-level = 1
transceiver-mode=true
throughput = 1000
unified-prefix = "+264,00264,0;+,00"
denied-smsc-id = "mascom16933;leo16499;leo16399"
allowed-smsc-id = telecomna
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
my-number = "+16933;+16499"
#########################################################################################
# SMSBox Group
#
#########################################################################################
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#smsbox-id = "smsbox"
sendsms-chars = "0123456789 +-,"
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/smsbox-access.log"
log-level = 1
#########################################################################################
# WAPBox Group
#
#########################################################################################
group = wapbox
bearerbox-host = 127.0.0.1
timer-freq = 1
log-file = "/var/log/kannel/wapbox.log"
log-level = 0
smart-errors = true
#########################################################################################
# Smsbox routing Grou
#
#########################################################################################
group = smsbox-route
smsbox-id = mobitec
smsc-id = "mascom16933;leo16933;leo16499;telcomna"
shortcode = "16933;16499;+16933;+16499"
#########################################################################################
# SMS SERVICES
#
#########################################################################################
group = sms-service
keyword = default
text = "Welcome to Mobitec Mobile Services. Your mesage contains an error &
couldnt be processed. SMS goodnews or classifieds or games or directory to get
help info"
max-messages = 1
omit-empty = true
#########################################################################################
# SMS Service Group
#
#########################################################################################
group = sms-service
keyword = goodnews
aliases =
faith;register;reg;Faith;FAITH;Register;REGISTER;goodnews;Goodnews;GOODNEWS
post-url =
"http://localhost/goodnewsmobile.net/smsc/smsc_registration_fns.php?keywrd=%k&msge=%a&time=%t&sender=%q¢er=%Q&smsc=%i&msgid=%F&user=%n&coding=%c&func=register"
accept-x-kannel-headers = true
max-messages = 1
concatenation = true
omit-empty = true
accepted-smsc = "mascom16933;leo16933;leo16499;telcomna"
group = sms-service
keyword = Goodnews
aliases =
unreg;unregister;stop;delete;remove;Unreg;STOP;Stop;Remove;REMOVE;Delete;DELETE
name = GoodNews
post-url="http://localhost/goodnewsmobile.net/smsc/smsc_registration_fns.php?keywrd=%k&msge=%a&time=%t&sender=%q¢er=%Q&smsc=%i&msgid=%F&user=%n&coding=%c&func=unregister"
max-messages = 1
omit-empty = true
concatenation = true
accept-x-kannel-headers = true
accepted-smsc = "mascom16933;leo16933;leo16499;telcomna"
#########################################################################################
# SMS User Group
#
#########################################################################################
group = sendsms-user
username = 88888888888
password = 88888888888
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;192.168.0.10"
max-messages = 1
concatenation = true
omit-empty = true
#########################################################################################
# PUSH PROXY GATEWAY
#
#########################################################################################
group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
ppg-allow-ip = 127.0.0.1;192.168.0.10
trusted-pi = false
service-name = ppg
#########################################################################################
# WAP PUSH USER
#
#########################################################################################
group = wap-push-user
wap-push-user = 88888888888888
ppg-username = 88888888888888
ppg-password = 8888888888888
allow-ip = 127.0.0.1;192.168.0.10
please help
From: "Cezary Siwek" <[email protected]>
To: <[email protected]>
Subject: Re: removing the plus sign
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
look at unified-prefix in your SMSC group.
BR,
Cezary
Innocent Muchedzi
Creative Directory
Syldah Media
Ipelo House, Plot 103, Unit 4 Gaborone International Commerce Park
Gaborone
Tele/Fax: 3105907
Cell: 71806864/73114818
www.syldah.com
www.mobitecworld.com