Read userguide about smsbox-route. == Rene
-----Original Message----- From: Igor Stewart [mailto:i...@san.co.mz] Sent: Sunday, 19 September, 2010 20:40 To: Rene Kluwen Cc: users@kannel.org Subject: Re: SMPPBOX configuration The problem is When I receive sms, it's received by bearerbox but never forwarded to the ESME client When I receive the message it displays at this command " ./smsbox -v 1 /etc/kannel/kannel.conf " screen 2010-09-19 06:40:58 [6917] [4] INFO: Starting to service <teste> from <+258845591051> to <+94019> And on this command " ./bearerbox -v 1 /etc/kannel/kannel.conf " screen I see 2010-09-19 06:40:58 [6906] [7] WARNING: SMPP[VODACOM]: Mallformed addr `94019', generally expected at least 7 digits. ----- Original Message ----- From: "Rene Kluwen" <rene.klu...@chimit.nl> To: "Igor Stewart" <i...@san.co.mz>, users@kannel.org Sent: Sunday, September 19, 2010 7:03:09 PM Subject: RE: SMPPBOX configuration So what is your problem? -----Original Message----- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Igor Stewart Sent: Sunday, 19 September, 2010 13:12 To: users@kannel.org Subject: SMPPBOX configuration Hi All. I΄ve got a problem setting up smppbox, My scenario I have got two different SMSC connected to my kannel box I want to run kannel as smpp server for a certain client (ESME) I want recieve sms on both SMSC and forward it to smpp client and vice versa My configurations /etc/kannel/KANNEL.CONF group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" #log-file = "/tmp/kannel.log" #log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;192.168.*.*;196.28.239.50" unified-prefix = "+258,00258,0;+,00" #access-log = "/tmp/access.log" #store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" ##################################################### ## VODACOM ###################################################### group = smsc smsc = smpp smsc-id = VODACOM host=42.76.154.223 port = 5016 receive-port=5016 smsc-username=****** smsc-password=****** connect-allow-ip = 127.0.0.1 keepalive = 55 idle-timeout = 30 system-type="VMA" ##system-type="SMPP" service-type=smpp address-range="" interface-version=0x34 enquire-link-interval=10 reconnect-delay=60 connect-allow-ip="127.0.0.1,41.76.144.123" source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 ############################################# ##MCEL ############################################## group = smsc smsc = smpp smsc-id = MCEL host=192.168.7.6 port = 6060 receive-port=6060 smsc-username=***** smsc-password=***** connect-allow-ip = 127.0.0.1 keepalive = 55 idle-timeout = 30 system-type="wzt" ###system-type="SMPP" service-type=smpp address-range="" interface-version=0x34 enquire-link-interval=10 reconnect-delay=60 connect-allow-ip="127.0.0.1,196.222.130.113,192.168.7.6,192.168.7.9" group = smsbox bearerbox-host = 127.0.0.1 bearerbox-port = 13001 sendsms-port = 13014 #global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "/tmp/access.log" group = sendsms-user username = tester password = foobar #user-deny-ip = "" #user-allow-ip = "" group = sms-service keyword = nop text = "You asked nothing and I did it!" # There should be always a 'default' service. This service is used when no # other 'sms-service' is applied. group = sms-service keyword = idade text = "SANTECH : Idade desconhecida. COMPRA FRALDA!" group = sms-service keyword = default text = "No service specified" /etc/kannel/SMPPBOX.CONF #smppbox config file group = core group = smppbox bearerbox-host = localhost bearerbox-port = 13001 smppbox-port = 2346 our-system-id = SANTECH smpp-logins = "/etc/kannel/clientes.txt" #smpp-logins file /etc/kannel/CLIENT.TXT santech minded remote *.*.*.* the way a execute the binaries 1- cd /usr/local/sbin 2- ./bearerbox -v 1 /etc/kannel/kannel.conf 3- ./smsbox -v 1 /etc/kannel/kannel.conf 4- ./smppbox -v 1 /etc/kannel/smppbox.conf when a run the command 2- the output is :/usr/local/sbin# ./bearerbox -v 1 /etc/kannel/kannel.conf 2010-09-19 06:03:09 [6906] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2010-09-19 06:03:09 [6906] [0] WARNING: DLR: using default 'internal' for storage type. 2010-09-19 06:03:09 [6906] [0] INFO: DLR using storage type: internal 2010-09-19 06:03:09 [6906] [0] INFO: SSL not supported, no SSL initialization done. 2010-09-19 06:03:09 [6906] [0] INFO: HTTP: Opening server at port 13000. 2010-09-19 06:03:09 [6906] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-09-19 06:03:09 [6906] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-09-19 06:03:09 [6906] [0] INFO: SMS resend retry set to unlimited. 2010-09-19 06:03:09 [6906] [0] INFO: DLR rerouting for smsc id <VODACOM> disabled. 2010-09-19 06:03:09 [6906] [0] INFO: DLR rerouting for smsc id <MCEL> disabled. 2010-09-19 06:03:09 [6906] [0] INFO: ---------------------------------------- 2010-09-19 06:03:09 [6906] [0] INFO: Kannel bearerbox II version svn-r4843M starting 2010-09-19 06:03:09 [6906] [0] INFO: MAIN: Start-up done, entering mainloop when a run the command 3- the output is :/usr/local/sbin# ./smsbox -v 1 /etc/kannel/kannel.conf 2010-09-19 06:04:09 [6917] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2010-09-19 06:04:09 [6917] [0] INFO: HTTP: Opening server at port 13014. 2010-09-19 06:04:09 [6917] [0] INFO: Set up send sms service at port 13014 2010-09-19 06:04:09 [6917] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. when a run the command 4- the output is :/usr/local/sbin# ./smppbox -v 1 /etc/kannel/smppbox.conf 2010-09-19 06:06:00 [6927] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2010-09-19 06:06:00 [6927] [0] WARNING: DLR: using default 'internal' for storage type. 2010-09-19 06:06:00 [6927] [0] INFO: DLR using storage type: internal 2010-09-19 06:06:00 [6927] [0] INFO: Waiting for SMPP connections on port 2346. 2010-09-19 06:06:04 [6927] [1] INFO: Client connected from <192.168.10.248> 2010-09-19 06:06:04 [6927] [1] INFO: Connected to bearerbox at localhost port 13001. 2010-09-19 06:06:19 [6927] [3] INFO: Client connected from <192.168.10.248> 2010-09-19 06:06:19 [6927] [3] INFO: Connected to bearerbox at localhost port 13001. 2010-09-19 06:06:34 [6927] [5] INFO: Client connected from <192.168.10.248> 2010-09-19 06:06:34 [6927] [5] INFO: Connected to bearerbox at localhost port 13001. 2010-09-19 06:06:49 [6927] [7] INFO: Client connected from <192.168.10.248> 2010-09-19 06:06:49 [6927] [7] INFO: Connected to bearerbox at localhost port 13001. and the message above keep at ./bearerbox -v 1 /etc/kannel/kannel.conf output 2010-09-19 06:06:19 [6906] [5] INFO: Client connected from <127.0.0.1> 2010-09-19 06:06:34 [6906] [5] INFO: Client connected from <127.0.0.1> 2010-09-19 06:06:49 [6906] [5] INFO: Client connected from <127.0.0.1> 2010-09-19 06:07:05 [6906] [5] INFO: Client connected from <127.0.0.1> 2010-09-19 06:07:20 [6906] [5] INFO: Client connected from <127.0.0.1> 2010-09-19 06:07:35 [6906] [5] INFO: Client connected from <127.0.0.1> I dont know what΄s missing, I have ready the userguide but nothing there. Please help