Thank but i read the manual and if i put the option to remove prefix it is removing on the sender number rather than my shortcode. Also i wanted to use the prefix on the sender number for processing. How can i remove it only on my shortcode. here are my updated logs.
***************************************************************************************************** 2010-10-19 12:57:10 [5217] [4] INFO: Starting to service <faith> from <601009634> to <+16499> (sender number prifix was removed) 2010-10-19 12:57:28 [5217] [4] INFO: Starting to service <buy BMW> from <601009634> to <+16933> ***************************************************************************************************** my config file group=core admin-port=13000 smsbox-port=13001 wapbox-port=13002 admin-password=88888888 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;-,+264,00264" group=smsc smsc= smpp smsc-id = telecomna interface-version=34 host=999999999 port=9999 smsc-username = 99999999 smsc-password = 99999999 system-type = "Ozeki" 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;leo16399" allowed-smsc-id = telecomna 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 group = smsbox-route smsbox-id = mobitec smsc-id = "mascom16933;leo16933;leo16499;telcomna" shortcode = "16933;16499;+16933;+16499" ----- Original Message ----- From: Nikos Balkanas To: Innocent Muchedzi ; users@kannel.org Sent: Tuesday, October 19, 2010 10:56 AM Subject: Re: shortcode error Hi, Read about unified-prefix in group core in UG. BR, Nikos ----- Original Message ----- From: Innocent Muchedzi To: users@kannel.org Sent: Tuesday, October 19, 2010 11:48 AM Subject: shortcode error Good Day I have an shortcode error problems and i am asking for help. My mobile operator uses Ozeki for the SMPP server and everytime a user send am sms it inject a + (plus) sign infront of the destination shortcode which then makes my kannel fail to process the sms. I need help in handling the + sign on the shortcode. here are loggs ************************************************************************************************************** 2010-10-18 20:13:34 [3808] [0] INFO: Set up send sms service at port 13013 2010-10-18 20:13:34 [3808] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2010-10-19 08:13:57 [3808] [4] INFO: Starting to service <faith> from <+264601009634> to <+16499> (note the + sign infront) 2010-10-19 08:14:50 [3808] [4] INFO: Starting to service <buy BMW> from <+264601009634> to <+16933>(note the + sign infront) 2010-10-19 08:37:25 [3808] [4] INFO: Starting to service <Faith> from <26771806864> to <16933> (the sms should just come in as like this and the system will reposnd correctly) 2010-10-19 08:37:25 [3808] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1> 2010-10-19 08:37:25 [3808] [3] INFO: sendsms used by <syldah> 2010-10-19 08:37:25 [3808] [3] INFO: sendsms sender:<syldah:GoodNews> (127.0.0.1) to:<26771806864> msg:<Thank you for subscribing to GoodNews Mobile Services. Your subscription will expire on 5 Jan 2011. More instructions will be send. sms help to 16933 for MORE> *********************************************************************************************************************************** Here is my kannel configs group=smsc smsc= smpp smsc-id = telecomna interface-version=34 host=xxxxxxxx port=xxxxxxxxxxx smsc-username = xxxxxxxxxx smsc-password = xxxxxxxxxxx system-type = "Ozeki" 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 = "xxxxxxxxxx" allowed-smsc-id = telecomna 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 group = smsbox-route smsbox-id = mobitec smsc-id = "telcomna" shortcode = "16933;16499" #################################################################################### thank you 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