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 > >
