Ok ok.. I get it... (sort of) Bearerbox.log 2010-09-15 18:02:07 [9182] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2010-09-15 18:02:07 [9182] [0] INFO: Started access logfile `/var/log/kannel/access-bearer.log'. 2010-09-15 18:02:07 [9182] [0] INFO: SSL not supported, no SSL initialization done. 2010-09-15 18:02:07 [9182] [0] INFO: HTTP: Opening server at port 13000. 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2010-09-15 18:02:07 [9182] [0] DEBUG: starting smsbox connection module 2010-09-15 18:02:07 [9182] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2010-09-15 18:02:07 [9182] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-09-15 18:02:07 [9182] [0] INFO: SMS resend retry set to unlimited. 2010-09-15 18:02:07 [9182] [0] DEBUG: MO concatenated message handling enabled 2010-09-15 18:02:07 [9182] [0] INFO: DLR rerouting for smsc id <pmoh> disabled. 2010-09-15 18:02:07 [9182] [0] INFO: Added logfile `/var/log/kannel/smsc.log' with level `0'. 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread) 2010-09-15 18:02:07 [9182] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 9182. 2010-09-15 18:02:07 [9182] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 9182. 2010-09-15 18:02:07 [9182] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 9182. 2010-09-15 18:02:07 [9182] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 9182. 2010-09-15 18:02:07 [9182] [2] DEBUG: HTTP: Including port 13000, fd 8 for polling in server thread 2010-09-15 18:02:07 [9182] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 9182. 2010-09-15 18:02:07 [9182] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/smsc.log' with level `0'. 2010-09-15 18:02:07 [9182] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 9182. 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2010-09-15 18:02:07 [9182] [0] DEBUG: starting UDP sender/receiver module 2010-09-15 18:02:07 [9182] [0] INFO: Adding interface * 2010-09-15 18:02:07 [9182] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200> 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 8 (gw/bb_udp.c:udp_receiver) 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_sender) 2010-09-15 18:02:07 [9182] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201> 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_receiver) 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_sender) 2010-09-15 18:02:07 [9182] [0] DEBUG: starting wapbox connection module 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 12 (gw/bb_boxc.c:wdp_to_wapboxes) 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 13 (gw/bb_boxc.c:wapboxc_run) 2010-09-15 18:02:07 [9182] [0] DEBUG: starting WDP router 2010-09-15 18:02:07 [9182] [0] DEBUG: Started thread 14 (gw/bearerbox.c:wdp_router) 2010-09-15 18:02:07 [9182] [0] INFO: ---------------------------------------- 2010-09-15 18:02:07 [9182] [0] INFO: Kannel bearerbox II version svn-r4843 starting 2010-09-15 18:02:07 [9182] [0] INFO: MAIN: Start-up done, entering mainloop 2010-09-15 18:02:07 [9182] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps to pid 9182. 2010-09-15 18:02:07 [9182] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver) maps to pid 9182. 2010-09-15 18:02:07 [9182] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender) maps to pid 9182. 2010-09-15 18:02:07 [9182] [12] DEBUG: Thread 12 (gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 9182. 2010-09-15 18:02:07 [9182] [13] DEBUG: Thread 13 (gw/bb_boxc.c:wapboxc_run) maps to pid 9182. 2010-09-15 18:02:07 [9182] [14] DEBUG: Thread 14 (gw/bearerbox.c:wdp_router) maps to pid 9182. 2010-09-15 18:02:07 [9182] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver) maps to pid 9182. 2010-09-15 18:02:07 [9182] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 9182. 2010-09-15 18:02:11 [9182] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2010-09-15 18:02:11 [9182] [2] DEBUG: HTTP: Created HTTPClient area 0xfd0f90. 2010-09-15 18:02:17 [9182] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2010-09-15 18:02:17 [9182] [2] DEBUG: HTTP: Created HTTPClient area 0xfd11e0. 2010-09-15 18:02:17 [9182] [3] DEBUG: HTTP: Destroying HTTPClient area 0xfd11e0. 2010-09-15 18:02:17 [9182] [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
smsbox.log 2010-09-15 18:02:11 [9197] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2010-09-15 18:02:11 [9197] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2010-09-15 18:02:11 [9197] [0] INFO: Service global sender set as '42443162' 2010-09-15 18:02:11 [9197] [0] INFO: Logging accesses to '/var/log/kannel/access.log'. 2010-09-15 18:02:11 [9197] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2010-09-15 18:02:11 [9197] [0] INFO: HTTP: Opening server at port 13131. 2010-09-15 18:02:11 [9197] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-09-15 18:02:11 [9197] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-09-15 18:02:11 [9197] [0] INFO: Set up send sms service at port 13131 2010-09-15 18:02:11 [9197] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2010-09-15 18:02:11 [9197] [0] DEBUG: ---------------------------------------------- 2010-09-15 18:02:11 [9197] [0] DEBUG: Kannel smsbox version svn-r4843 starting 2010-09-15 18:02:11 [9197] [0] DEBUG: dumping group (sendsms-user): 2010-09-15 18:02:11 [9197] [0] DEBUG: <group> = <sendsms-user> 2010-09-15 18:02:11 [9197] [0] DEBUG: <username> = <ma> 2010-09-15 18:02:11 [9197] [0] DEBUG: <password> = <ma2> 2010-09-15 18:02:11 [9197] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 9197. 2010-09-15 18:02:11 [9197] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 9197. 2010-09-15 18:02:11 [9197] [2] DEBUG: HTTP: Including port 13131, fd 8 for polling in server thread 2010-09-15 18:02:11 [9197] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 9197. 2010-09-15 18:02:11 [9197] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2010-09-15 18:02:11 [9197] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 9197. 2010-09-15 18:02:11 [9197] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2010-09-15 18:02:11 [9197] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2010-09-15 18:02:11 [9197] [0] DEBUG: Connecting to <127.0.0.1> 2010-09-15 18:02:11 [9197] [0] INFO: Connected to bearerbox at localhost port 13000. 2010-09-15 18:02:11 [9197] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2010-09-15 18:02:11 [9197] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 9197. 2010-09-15 18:02:11 [9197] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 9197. 2010-09-15 18:02:11 [9197] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 9197. And finally the status: p...@ubunto01:/var/log/kannel$ lynx -dump "http://localhost:13000/status?passwod=bar" Kannel bearerbox version `svn-r4843'. Build `Sep 15 2010 10:08:48', compiler `4.4.3'. System Linux, release 2.6.32-24-server, version #42-Ubuntu SMP Fri Aug 20 15:38:55 UTC 2010, machine x86_64. Hostname ubunto01.mohr.nu, IP 127.0.1.1. Libxml version 2.7.6. Using native malloc. Status: running, uptime 0d 0h 0m 10s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 0 (0 queued), store size -1 SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec DLR: received 0, sent 0 DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec DLR: 0 queued, using internal storage No boxes connected SMSC connections: pmoh[pmoh] SMPP:10.2.1.2:9000/0:kannel:VMA (online 10s, rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, failed 0, queued 0 msgs) Notice that the smsbox says connected but the status says "no boxes connected" I don't get that.... Ps. The parameter was "smsc-id" and not "smsc-is" :-) _________________________ Peter Mohr Partner Mobile: +45 3162 1290 Mobility Architects www.mobilityarchitects.com Mobility Architects hjælper nogle af Danmarks største organisationer og virksomheder med at udnytte potentialet i mobil teknologi. Vi har en kreativ, visionær og forretningsfokuseret tilgang til at løse vores kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige løsninger. Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil strategi og forretningsrådgivning, design af mobil infrastruktur og sikkerhed, rådgivning om udvikling af mobile løsninger, implementering af device management løsninger samt support og uddannelse. -----Original Message----- From: Alvaro Cornejo [mailto:[email protected]] Sent: 15. september 2010 17:53 To: Peter Mohr Cc: Alejandro Guerrieri; [email protected] Subject: Re: Delayed reply - wait for bearerbox It says "no boxes connected"... you should start smsbox add smsc-is="my-smsc" to the smsc group and Also add &smsc=my-smsc (urlencoded) to the link you are calling. Check userguide for details. Post logs if still with problems. Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Sep 15, 2010 at 10:40 AM, Peter Mohr <[email protected]> wrote: > Thanks J > > > > I’m still not any more educated from reading the log: > > > > smsc.log: > > > > 2010-09-15 16:55:24 [8882] [6] DEBUG: Connecting to <10.2.1.2> > > 2010-09-15 16:55:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > Sending PDU: > > 2010-09-15 16:55:24 [8882] [6] DEBUG: SMPP PDU 0x2671cc0 dump: > > 2010-09-15 16:55:24 [8882] [6] DEBUG: type_name: bind_transmitter > > 2010-09-15 16:55:24 [8882] [6] DEBUG: command_id: 2 = 0x00000002 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: sequence_number: 1 = > 0x00000001 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: system_id: "kannel" > > 2010-09-15 16:55:24 [8882] [6] DEBUG: password: "kannel" > > 2010-09-15 16:55:24 [8882] [6] DEBUG: system_type: "VMA" > > 2010-09-15 16:55:24 [8882] [6] DEBUG: interface_version: 52 = > 0x00000034 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: addr_ton: 0 = 0x00000000 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: addr_npi: 0 = 0x00000000 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: address_range: NULL > > 2010-09-15 16:55:24 [8882] [6] DEBUG: SMPP PDU dump ends. > > 2010-09-15 16:55:24 [8882] [6] DEBUG: Optional parameter tag (0x0210) > > 2010-09-15 16:55:24 [8882] [6] DEBUG: Optional parameter length read > as 1 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > Got PDU: > > 2010-09-15 16:55:24 [8882] [6] DEBUG: SMPP PDU 0x2689a90 dump: > > 2010-09-15 16:55:24 [8882] [6] DEBUG: type_name: > bind_transmitter_resp > > 2010-09-15 16:55:24 [8882] [6] DEBUG: command_id: 2147483650 = > 0x80000002 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: sequence_number: 1 = > 0x00000001 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: system_id: "NowSMS" > > 2010-09-15 16:55:24 [8882] [6] DEBUG: sc_interface_version: 52 = > 0x00000034 > > 2010-09-15 16:55:24 [8882] [6] DEBUG: SMPP PDU dump ends. > > 2010-09-15 16:55:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > throughput (0.00,0.00) > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > Sending enquire link: > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP PDU 0x268a2b0 dump: > > 2010-09-15 16:55:54 [8882] [6] DEBUG: type_name: enquire_link > > 2010-09-15 16:55:54 [8882] [6] DEBUG: command_id: 21 = 0x00000015 > > 2010-09-15 16:55:54 [8882] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-09-15 16:55:54 [8882] [6] DEBUG: sequence_number: 2 = > 0x00000002 > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP PDU dump ends. > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > throughput (0.00,0.00) > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > throughput (0.00,0.00) > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > Got PDU: > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP PDU 0x268a2b0 dump: > > 2010-09-15 16:55:54 [8882] [6] DEBUG: type_name: enquire_link_resp > > 2010-09-15 16:55:54 [8882] [6] DEBUG: command_id: 2147483669 = > 0x80000015 > > 2010-09-15 16:55:54 [8882] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-09-15 16:55:54 [8882] [6] DEBUG: sequence_number: 2 = > 0x00000002 > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP PDU dump ends. > > 2010-09-15 16:55:54 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > throughput (0.00,0.00) > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > Sending enquire link: > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP PDU 0x268a2b0 dump: > > 2010-09-15 16:56:24 [8882] [6] DEBUG: type_name: enquire_link > > 2010-09-15 16:56:24 [8882] [6] DEBUG: command_id: 21 = 0x00000015 > > 2010-09-15 16:56:24 [8882] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-09-15 16:56:24 [8882] [6] DEBUG: sequence_number: 3 = > 0x00000003 > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP PDU dump ends. > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > throughput (0.00,0.00) > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > throughput (0.00,0.00) > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > Got PDU: > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP PDU 0x268a2b0 dump: > > 2010-09-15 16:56:24 [8882] [6] DEBUG: type_name: enquire_link_resp > > 2010-09-15 16:56:24 [8882] [6] DEBUG: command_id: 2147483669 = > 0x80000015 > > 2010-09-15 16:56:24 [8882] [6] DEBUG: command_status: 0 = 0x00000000 > > 2010-09-15 16:56:24 [8882] [6] DEBUG: sequence_number: 3 = > 0x00000003 > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP PDU dump ends. > > 2010-09-15 16:56:24 [8882] [6] DEBUG: SMPP[SMPP:10.2.1.2:9000/0:kannel:VMA]: > throughput (0.00,0.00) > > > > I see no attempt to deliver the SMS ? > > > > Also the status gives me this: > > p...@ubunto01:/var/log/kannel$ lynx -dump > "http://localhost:13000/status?passwod=bar" > > Kannel bearerbox version `svn-r4843'. Build `Sep 15 2010 10:08:48', > > compiler `4.4.3'. System Linux, release 2.6.32-24-server, version > > #42-Ubuntu SMP Fri Aug 20 15:38:55 UTC 2010, machine x86_64. > Hostname > > ubunto01.mohr.nu, IP 127.0.1.1. Libxml version 2.7.6. Using native > > malloc. > > > > Status: running, uptime 0d 0h 16m 49s > > > > WDP: received 0 (0 queued), sent 0 (0 queued) > > > > SMS: received 0 (0 queued), sent 0 (0 queued), store size -1 > > SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) > > msg/sec > > > > DLR: received 0, sent 0 > > DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) > > msg/sec > > DLR: 0 queued, using internal storage > > > > No boxes connected > > > > SMSC connections: > > SMPP:10.2.1.2:9000/0:kannel:VMA[unknown] > SMPP:10.2.1.2:9000/0:ka > > nnel:VMA (online 1009s, rcvd: sms 0 / dlr 0, sent: sms 0 / dlr 0, > > failed 0, queued 0 msgs) > > > > Again nothing in the queue as far as I can tell…. > > > > Thanks for all your help! > > > > \Peter > > _________________________ > Peter Mohr > Partner > > Mobile: +45 3162 1290 > > Mobility Architects > www.mobilityarchitects.com > > Mobility Architects hjælper nogle af Danmarks største organisationer > og virksomheder med at udnytte potentialet i mobil teknologi. Vi har > en kreativ, visionær og forretningsfokuseret tilgang til at løse vores > kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige > løsninger. > Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil > strategi og forretningsrådgivning, design af mobil infrastruktur og > sikkerhed, rådgivning om udvikling af mobile løsninger, implementering > af device management løsninger samt support og uddannelse. > > > > From: Alejandro Guerrieri [mailto:[email protected]] > Sent: 15. september 2010 16:53 > To: Peter Mohr > Cc: Alvaro Cornejo; [email protected] > > > > Put log-level 0. > > > > Oh, and add an smsc-id. > > On Wed, Sep 15, 2010 at 4:47 PM, Peter Mohr > <[email protected]> > wrote: > > Changed the SMSC section: > > group = smsc > smsc = smpp > host = 10.2.1.2 > port = 9000 > receive-port = 0 > smsc-username = "kannel" > smsc-password = "kannel" > system-type = "VMA" > > log-file = "/var/log/kannel/smsc.log" > log-level = 1 > > restarted and retired... A 0-byte file called smsc.log is created but > nothing gets logged. :-( > > _________________________ > Peter Mohr > Partner > > Mobile: +45 3162 1290 > > Mobility Architects > www.mobilityarchitects.com > > Mobility Architects hjælper nogle af Danmarks største organisationer > og virksomheder med at udnytte potentialet i mobil teknologi. Vi har > en kreativ, visionær og forretningsfokuseret tilgang til at løse vores > kunders problemer. Resultatet er driftsikre, skalerbare og brugervenlige > løsninger. > Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil > strategi og forretningsrådgivning, design af mobil infrastruktur og > sikkerhed, rådgivning om udvikling af mobile løsninger, implementering > af device management løsninger samt support og uddannelse. > > > -----Original Message----- > > From: Alvaro Cornejo [mailto:[email protected]] > Sent: 15. september 2010 16:33 > To: Peter Mohr > Cc: Alejandro Guerrieri; [email protected] > Subject: Re: Delayed reply - wait for bearerbox > > What is your smsc log? Did you see a submit or response pdu? Else does > you message is shown in kannels queue? check the admin interface. > > You can add a log-file for your smsc so you can have its log separated > from the rest. > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel en el Perú, México y en mas de 180 paises. Use > aplicaciones > 2 vias via SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Wed, Sep 15, 2010 at 9:15 AM, Peter Mohr > <[email protected]> > wrote: >> Thanks… Now the smsbox accepts my message. It is never delivered though: >> >> >> >> bearerbox.log >> >> >> >> 2010-09-15 16:11:16 [8572] [0] INFO: Added logfile >> `/var/log/kannel/bearerbox.log' with level `1'. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: Started access logfile >> `/var/log/kannel/access-bearer.log'. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: SSL not supported, no SSL >> initialization done. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: HTTP: Opening server at port 13000. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: BOXC: 'smsbox-max-pending' not >> set, using default (100). >> >> 2010-09-15 16:11:16 [8572] [0] INFO: Set SMS resend frequency to 60 >> seconds. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: SMS resend retry set to unlimited. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: DLR rerouting for smsc id >> <(null)> disabled. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: DLR rerouting for smsc id >> <(null)> disabled. >> >> 2010-09-15 16:11:16 [8572] [0] INFO: Adding interface * >> >> 2010-09-15 16:11:16 [8572] [0] INFO: >> ---------------------------------------- >> >> 2010-09-15 16:11:16 [8572] [0] INFO: Kannel bearerbox II version >> svn-r4843 starting >> >> 2010-09-15 16:11:16 [8572] [0] INFO: MAIN: Start-up done, entering >> mainloop >> >> >> >> smsbox.log >> >> 2010-09-15 16:10:49 [8282] [0] ERROR: Connection closed by the bearerbox. >> >> 2010-09-15 16:11:24 [8588] [0] INFO: Added logfile >> `/var/log/kannel/smsbox.log' with level `0'. >> >> 2010-09-15 16:11:24 [8588] [0] INFO: Service global sender set as >> '42443162' >> >> 2010-09-15 16:11:24 [8588] [0] INFO: Logging accesses to >> '/var/log/kannel/access.log'. >> >> 2010-09-15 16:11:24 [8588] [0] INFO: Started access logfile >> `/var/log/kannel/access.log'. >> >> 2010-09-15 16:11:24 [8588] [0] INFO: HTTP: Opening server at port 13131. >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Started thread 1 >> (gwlib/fdset.c:poller) >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Started thread 2 >> (gwlib/http.c:server_thread) >> >> 2010-09-15 16:11:24 [8588] [0] INFO: Set up send sms service at port >> 13131 >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Started thread 3 >> (gw/smsbox.c:sendsms_thread) >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: >> ---------------------------------------------- >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Kannel smsbox version svn-r4843 >> starting >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: dumping group (sendsms-user): >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: <group> = <sendsms-user> >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: <username> = <ma> >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: <password> = <ma2> >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Started thread 4 >> (gw/smsbox.c:obey_request_thread) >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Started thread 5 >> (gw/smsbox.c:url_result_thread) >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Started thread 6 >> (gw/smsbox.c:http_queue_thread) >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Connecting to <127.0.0.1> >> >> 2010-09-15 16:11:24 [8588] [0] INFO: Connected to bearerbox at >> localhost port 13000. >> >> 2010-09-15 16:11:24 [8588] [0] DEBUG: Started thread 7 >> (gw/heartbeat.c:heartbeat_thread) >> >> 2010-09-15 16:11:24 [8588] [3] DEBUG: Thread 3 >> (gw/smsbox.c:sendsms_thread) maps to pid 8588. >> >> 2010-09-15 16:11:24 [8588] [4] DEBUG: Thread 4 >> (gw/smsbox.c:obey_request_thread) maps to pid 8588. >> >> 2010-09-15 16:11:24 [8588] [5] DEBUG: Thread 5 >> (gw/smsbox.c:url_result_thread) maps to pid 8588. >> >> 2010-09-15 16:11:24 [8588] [6] DEBUG: Thread 6 >> (gw/smsbox.c:http_queue_thread) maps to pid 8588. >> >> 2010-09-15 16:11:24 [8588] [2] DEBUG: Thread 2 >> (gwlib/http.c:server_thread) maps to pid 8588. >> >> 2010-09-15 16:11:24 [8588] [2] DEBUG: HTTP: Including port 13131, fd >> 8 for polling in server thread >> >> 2010-09-15 16:11:24 [8588] [7] DEBUG: Thread 7 >> (gw/heartbeat.c:heartbeat_thread) maps to pid 8588. >> >> 2010-09-15 16:11:24 [8588] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >> maps to pid 8588. >> >> 2010-09-15 16:11:33 [8588] [2] DEBUG: HTTP: Creating HTTPClient for >> `10.2.1.27'. >> >> 2010-09-15 16:11:33 [8588] [2] DEBUG: HTTP: Created HTTPClient area >> 0xe42f00. >> >> 2010-09-15 16:11:33 [8588] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <10.2.1.27> >> >> 2010-09-15 16:11:33 [8588] [3] INFO: sendsms used by <ma> >> >> 2010-09-15 16:11:33 [8588] [3] INFO: sendsms sender:<ma:42443162> >> (10.2.1.27) to:<31621290> msg:<Hello world> >> >> 2010-09-15 16:11:33 [8588] [3] DEBUG: message length 11, sending 1 >> messages >> >> 2010-09-15 16:11:33 [8588] [3] DEBUG: Status: 202 Answer: <Sent.> >> >> 2010-09-15 16:11:33 [8588] [3] DEBUG: HTTP: Destroying HTTPClient >> area 0xe42f00. >> >> 2010-09-15 16:11:33 [8588] [3] DEBUG: HTTP: Destroying HTTPClient for >> `10.2.1.27'. >> >> >> >> Sorry, but I still don’t understand why this doesn’t work. >> >> >> >> \Peter >> >> _________________________ >> Peter Mohr >> Partner >> >> Mobile: +45 3162 1290 >> >> Mobility Architects >> www.mobilityarchitects.com >> >> Mobility Architects hjælper nogle af Danmarks største organisationer >> og virksomheder med at udnytte potentialet i mobil teknologi. Vi har >> en kreativ, visionær og forretningsfokuseret tilgang til at løse >> vores kunders problemer. Resultatet er driftsikre, skalerbare og >> brugervenlige løsninger. >> Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil >> strategi og forretningsrådgivning, design af mobil infrastruktur og >> sikkerhed, rådgivning om udvikling af mobile løsninger, >> implementering af device management løsninger samt support og uddannelse. >> >> >> >> From: Alejandro Guerrieri [mailto:[email protected]] >> Sent: 15. september 2010 14:40 >> To: Peter Mohr >> Cc: Nikos Balkanas; [email protected] >> >> >> >> You've set "immediate-sendsms-reply = false". That causes Kannel to >> wait for the smsc to respond before giving control back. >> >> >> >> I'd advise you to comment that line, it'll seriously hurt your MT >> queueing performance (since your web interface won't return immediately). >> >> >> >> Apart from that, check the logs for the SMSC and see if you get the >> submit_sm_resp for your messages. >> >> >> >> Regards, >> >> >> >> Alex >> >> >> >> On Wed, Sep 15, 2010 at 1:23 PM, Peter Mohr >> <[email protected]> >> wrote: >> >> Seems quite ok??? >> >> Bearerbox.log: >> 2010-09-15 13:13:32 [7669] [0] INFO: Added logfile >> `/var/log/kannel/bearerbox.log' with level `1'. >> 2010-09-15 13:13:32 [7669] [0] INFO: Started access logfile >> `/var/log/kannel/access-bearer.log'. >> 2010-09-15 13:13:32 [7669] [0] INFO: SSL not supported, no SSL >> initialization done. >> 2010-09-15 13:13:32 [7669] [0] INFO: HTTP: Opening server at port 13000. >> 2010-09-15 13:13:32 [7669] [0] INFO: BOXC: 'smsbox-max-pending' not >> set, using default (100). >> 2010-09-15 13:13:32 [7669] [0] INFO: Set SMS resend frequency to 60 >> seconds. >> 2010-09-15 13:13:32 [7669] [0] INFO: SMS resend retry set to unlimited. >> 2010-09-15 13:13:32 [7669] [0] INFO: DLR rerouting for smsc id >> <(null)> disabled. >> 2010-09-15 13:13:32 [7669] [0] INFO: DLR rerouting for smsc id >> <(null)> disabled. >> 2010-09-15 13:13:32 [7669] [0] INFO: Adding interface * >> 2010-09-15 13:13:32 [7669] [0] INFO: >> ---------------------------------------- >> 2010-09-15 13:13:32 [7669] [0] INFO: Kannel bearerbox II version >> svn-r4843 starting >> 2010-09-15 13:13:32 [7669] [0] INFO: MAIN: Start-up done, entering >> mainloop >> >> Smsbox.log: >> 2010-09-15 13:13:43 [7686] [0] INFO: Added logfile >> `/var/log/kannel/smsbox.log' with level `0'. >> 2010-09-15 13:13:43 [7686] [0] INFO: Service global sender set as >> '42443162' >> 2010-09-15 13:13:43 [7686] [0] INFO: Logging accesses to >> '/var/log/kannel/access.log'. >> 2010-09-15 13:13:43 [7686] [0] INFO: Started access logfile >> `/var/log/kannel/access.log'. >> 2010-09-15 13:13:43 [7686] [0] INFO: HTTP: Opening server at port 13131. >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Started thread 1 >> (gwlib/fdset.c:poller) >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Started thread 2 >> (gwlib/http.c:server_thread) >> 2010-09-15 13:13:43 [7686] [0] INFO: Set up send sms service at port >> 13131 >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Started thread 3 >> (gw/smsbox.c:sendsms_thread) >> 2010-09-15 13:13:43 [7686] [0] DEBUG: >> ---------------------------------------------- >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Kannel smsbox version svn-r4843 >> starting >> 2010-09-15 13:13:43 [7686] [0] DEBUG: dumping group (sendsms-user): >> 2010-09-15 13:13:43 [7686] [0] DEBUG: <group> = <sendsms-user> >> 2010-09-15 13:13:43 [7686] [0] DEBUG: <username> = <ma> >> 2010-09-15 13:13:43 [7686] [0] DEBUG: <password> = <ma2> >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Started thread 4 >> (gw/smsbox.c:obey_request_thread) >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Started thread 5 >> (gw/smsbox.c:url_result_thread) >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Started thread 6 >> (gw/smsbox.c:http_queue_thread) >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Connecting to <127.0.0.1> >> 2010-09-15 13:13:43 [7686] [0] INFO: Connected to bearerbox at >> localhost port 13000. >> 2010-09-15 13:13:43 [7686] [0] DEBUG: Started thread 7 >> (gw/heartbeat.c:heartbeat_thread) >> 2010-09-15 13:13:43 [7686] [3] DEBUG: Thread 3 >> (gw/smsbox.c:sendsms_thread) maps to pid 7686. >> 2010-09-15 13:13:43 [7686] [4] DEBUG: Thread 4 >> (gw/smsbox.c:obey_request_thread) maps to pid 7686. >> 2010-09-15 13:13:43 [7686] [5] DEBUG: Thread 5 >> (gw/smsbox.c:url_result_thread) maps to pid 7686. >> 2010-09-15 13:13:43 [7686] [2] DEBUG: Thread 2 >> (gwlib/http.c:server_thread) maps to pid 7686. >> 2010-09-15 13:13:43 [7686] [2] DEBUG: HTTP: Including port 13131, fd >> 8 for polling in server thread >> 2010-09-15 13:13:43 [7686] [6] DEBUG: Thread 6 >> (gw/smsbox.c:http_queue_thread) maps to pid 7686. >> 2010-09-15 13:13:43 [7686] [7] DEBUG: Thread 7 >> (gw/heartbeat.c:heartbeat_thread) maps to pid 7686. >> 2010-09-15 13:13:43 [7686] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >> maps to pid 7686. >> 2010-09-15 13:13:48 [7686] [2] DEBUG: HTTP: Creating HTTPClient for >> `10.2.1.27'. >> 2010-09-15 13:13:48 [7686] [2] DEBUG: HTTP: Created HTTPClient area >> 0x1ff08f0. >> 2010-09-15 13:13:48 [7686] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <10.2.1.27> >> 2010-09-15 13:13:48 [7686] [3] INFO: sendsms used by <ma> >> 2010-09-15 13:13:48 [7686] [3] INFO: sendsms sender:<ma:42443162> >> (10.2.1.27) to:<31621290> msg:<Hello world> >> 2010-09-15 13:13:48 [7686] [3] DEBUG: Stored UUID >> 4a7a4da0-8722-4b7b-9cb5-5a3bd8c1370d >> 2010-09-15 13:13:48 [7686] [3] DEBUG: message length 11, sending 1 >> messages >> 2010-09-15 13:13:48 [7686] [3] DEBUG: Status: 202 Answer: <Sent.> >> 2010-09-15 13:13:48 [7686] [3] DEBUG: Delayed reply - wait for >> bearerbox >> >> _________________________ >> >> Peter Mohr >> Partner >> >> Mobile: +45 3162 1290 >> >> Mobility Architects >> www.mobilityarchitects.com >> >> Mobility Architects hjælper nogle af Danmarks største organisationer >> og virksomheder med at udnytte potentialet i mobil teknologi. Vi har >> en kreativ, visionær og forretningsfokuseret tilgang til at løse >> vores kunders problemer. Resultatet er driftsikre, skalerbare og >> brugervenlige løsninger. >> Vi har Danmarks førende Afaria-kompetencer og tilbyder desuden: Mobil >> strategi og forretningsrådgivning, design af mobil infrastruktur og >> sikkerhed, rådgivning om udvikling af mobile løsninger, >> implementering af device management løsninger samt support og uddannelse. >> >> -----Original Message----- >> From: Nikos Balkanas [mailto:[email protected]] >> Sent: 15. september 2010 13:05 >> To: Peter Mohr; [email protected] >> Subject: Re: Delayed reply - wait for bearerbox >> >> Check your bearerbox logs. Your SMSc might have problems. >> >> BR, >> Nikos >> ----- Original Message ----- >> From: Peter Mohr >> To: [email protected] >> Sent: Wednesday, September 15, 2010 12:18 PM >> Subject: Delayed reply - wait for bearerbox >> >> >> Hi >> >> I’m trying test my system by using smsbox to send messages. >> >> lynx -dump >> >> "http://localhost:13131/cgi-bin/sendsms?username=ma&password=ma2&to=31621290&text=Hello+world" >> >> I looks like my outbound SMPP works (I can also verify this at the >> other SMMP box where the connection is listed as successful). >> The bearerbox/smsbox also gives no errors when starting up, but as >> soon as I start to send I get this: >> >> DEBUG: Delayed reply - wait for bearerbox >> >> Suggestions? >> >> group = core >> admin-port = 13000 >> admin-password = bar >> #admin-deny-ip = "*.*.*.*" >> #admin-allow-ip = "*" >> wapbox-port = 13002 >> smsbox-port = 13001 >> wdp-interface-name = "*" >> log-file = "/var/log/kannel/bearerbox.log" >> log-level = 1 >> #box-deny-ip = "*.*.*.*" >> #box-allow-ip = "127.0.0.1" >> access-log = "/var/log/kannel/access-bearer.log" >> >> >> group = wapbox >> bearerbox-host = localhost >> log-file = "/var/log/kannel/wapbox.log" >> >> group = smsbox >> bearerbox-host = localhost >> bearerbox-port = 13000 >> sendsms-port = 13131 >> global-sender = "42443162" >> log-file = "/var/log/kannel/smsbox.log" >> access-log = "/var/log/kannel/access.log" >> immediate-sendsms-reply = false >> >> >> group = sendsms-user >> username = ma >> password = ma >> >> group = smsc >> smsc = smpp >> host = 10.2.1.2 >> port = 9000 >> receive-port = 0 >> smsc-username = "kannel" >> smsc-password = "kannel" >> system-type = "VMA" >> >> Thanks >> >> Peter >> _________________________ >> Peter Mohr >> Partner >> >> Mobile: +45 3162 1290 >> >> Mobility Architects >> www.mobilityarchitects.com >> Mobility Architects hjζlper nogle af Danmarks stψrste organisationer >> og virksomheder med at udnytte potentialet i mobil teknologi. Vi har >> en kreativ, visionζr og forretningsfokuseret tilgang til at lψse >> vores kunders problemer. Resultatet er driftsikre, skalerbare og >> brugervenlige lψsninger. >> Vi har Danmarks fψrende Afaria-kompetencer og tilbyder desuden: Mobil >> strategi og forretningsrεdgivning, design af mobil infrastruktur og >> sikkerhed, rεdgivning om udvikling af mobile lψsninger, >> implementering af device management lψsninger samt support og uddannelse. >> >> >> >> >> Subject: Re: Delayed reply - wait for bearerbox > > > > Subject: Re: Delayed reply - wait for bearerbox
