Re: help
Thank for your feedback. I find solution, i put smsbox-route in my file "kannel.conf" now , i cant save these values in my database mysql Le mer. 27 nov. 2019 à 21:32, Alvaro Cornejo a écrit : > Hi > > Your need to create your receive.php script with appropriate code to > connect to your mysql and do the insert in the tables you define it. > > 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.com > > > Le mer. 27 nov. 2019 à 15:14, Nat Paul a > écrit : > >> Hi, >> >> I need help, >> >> somebody can i explain how save value of get-url in database mysql ? >> >> 1. Now, when i send sms on my phone android with keyword, i can see the >> sms >> on kannel : >> >> i made command line : cat /var/log/kannel/access.log >> >> >> 2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:] >> [ACT:Myshortcode] [BINF:1001] [FID:] [META:?smpp?] [from:sender] >> [to:receiver] [flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:] >> 2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT: >> Myshortcode ] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to: >> receiver ] [flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:] >> >> >> and with curl "http://localhost:13000/status;, i see >> >> >> SMS: received 1 (2 queued), sent 0 (0 queued), store size 2 >> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec >> >> this is my config service : >> >> #Default SERVICE >> group = sms-service >> keyword = default >> #get-url = " >> http://127.0.0.1/testsendsms.php?from=%p=%P=%a=%i; >> get-url = "http://127.0.0.1/receive.php?from=%p=%P=%a=%i; >> accept-x-kannel-headers = true >> accepted-smsc = gabontelecom >> max-messages = 3 >> catch-all = true >> concatenation = true >> >> >>
help
Hi, I need help, somebody can i explain how save value of get-url in database mysql ? 1. Now, when i send sms on my phone android with keyword, i can see the sms on kannel : i made command line : cat /var/log/kannel/access.log 2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT:Myshortcode] [BINF:1001] [FID:] [META:?smpp?] [from:sender] [to:receiver] [flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:] 2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT: Myshortcode ] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to: receiver ] [flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:] and with curl "http://localhost:13000/status;, i see SMS: received 1 (2 queued), sent 0 (0 queued), store size 2 SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec this is my config service : #Default SERVICE group = sms-service keyword = default #get-url = "http://127.0.0.1/testsendsms.php?from=%p=%P=%a=%i " get-url = "http://127.0.0.1/receive.php?from=%p=%P=%a=%i; accept-x-kannel-headers = true accepted-smsc = gabontelecom max-messages = 3 catch-all = true concatenation = true
Kannel and Huawei EC167 and EC156 support only Text Mode SMS
Ok, Thank you, I think I'll try to provide support to this type of modem. ( Huawei EC167 and EC156 support only Text Mode SMS) However there anyone have you already worked on this in the source code Kannel? Aside from choosing the PDU and Text mode, Kannel accept the sending of SMS with the command AT + GWWC? There would have a major inconveniant to this method? In fact, I'm going to start in the Kannel source code and wish to limit myself on abosulement little to change unless other developers with me. Thank you all, Best regards, [X][X] ?? De : Alvaro Cornejo <cornejo.alv...@gmail.com> Envoyé : mercredi 15 juin 2016 16:19 À : Paul Isidore; users Objet : Re: Kannel and Huawei EC167 and EC156 failed to reponse to AT+CPIN=? command Hi Always cc the list so you can receive feedback from more people and others can benefit from this info. You can alway hack kannel code and change that setup. 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.com<http://www.perusms.com> On Wed, Jun 15, 2016 at 9:01 AM, Paul Isidore <paul_isid...@hotmail.com<mailto:paul_isid...@hotmail.com>> wrote: Thank you very much, Now I remark my modem accept only PDU text mode (AT+CMGF=1) but Kannel want to set it to PDU Mode (AT+CMGF=0 in log) and make Error message . Are there a solution to change this behaviour ? I don't see anything like no-cmgf or cmgf=1 in config file description. Thank you Cordialy, Paul Isidore Log file: 2016-06-15 13:48:53 [1747] [6] DEBUG: AT2[huawei]: device opened 2016-06-15 13:48:53 [1747] [6] INFO: AT2[huawei]: Logging in 2016-06-15 13:48:53 [1747] [6] INFO: AT2[huawei]: init device 2016-06-15 13:48:53 [1747] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> ATZ^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> ATE0^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- ATE0 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT+IFC=2,2^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: --> AT+CMGF=0^M 2016-06-15 13:48:54 [1747] [6] DEBUG: AT2[huawei]: <-- ERROR 2016-06-15 13:48:54 [1747] [6] ERROR: AT2[huawei]: Generic error: ERROR 2016-06-15 13:48:54 [1747] [6] ERROR: AT2[huawei]: Initialization of device failed. 2016-06-15 13:48:54 [1747] [6] INFO: AT2[huawei]: Closing device 2016-06-15 13:48:54 [1747] [6] ERROR: AT2[huawei]: Couldn't connect (retrying in 10 seconds). [X][X] De : Alvaro Cornejo <cornejo.alv...@gmail.com<mailto:cornejo.alv...@gmail.com>> Envoyé : mercredi 15 juin 2016 13:25 À : Paul Isidore Cc : users@kannel.org<mailto:users@kannel.org> Objet : Re: Kannel and Huawei EC167 and EC156 failed to reponse to AT+CPIN=? command Hi The message is clear. You modem does not support the AT+CSCA command. Remove it from config. In most cases, smsc center is configured automatically by the operator through the sim card and sim initialization. Therefore you shouldn't need to configure it. 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.com<http://www.perusms.com> On Tue, Jun 14, 2016 at 6:26 PM, Paul Isidore <paul_isid...@hotmail.com<mailto:paul_isid...@hotmail.com>> wrote: Hi, Indeed, I take the CPIN command config modem and this time I get a new error message about attaching the smsc center number, i also try the no-smsc to circumvent this but still get this new error message. (While both modem sends and receive sms on Windows 8.1). Best regards, Here is a copy of the log file: 2016-06-14 22:55:07 [1760] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 1760. 2016-06-14 22:55:07 [1760] [6] INFO: AT2[huawei]: trying to use speed <9600> from modem definition 2016-06-14 22:55:07 [1760]
RE: Kannel and Huawei EC167 and EC156 failed to reponse to AT+CPIN=? command
Hi, Indeed, I take the CPIN command config modem and this time I get a new error message about attaching the smsc center number, i also try the no-smsc to circumvent this but still get this new error message. (While both modem sends and receive sms on Windows 8.1). Best regards, Here is a copy of the log file: 2016-06-14 22:55:07 [1760] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 1760. 2016-06-14 22:55:07 [1760] [6] INFO: AT2[huawei]: trying to use speed <9600> from modem definition 2016-06-14 22:55:07 [1760] [6] INFO: AT2[huawei]: opening device 2016-06-14 22:55:07 [1760] [0] INFO: Loading store file `/var/log/kannel/kannel.store' 2016-06-14 22:55:07 [1760] [0] INFO: Store-file size 0, starting to unpack 2016-06-14 22:55:07 [1760] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0 2016-06-14 22:55:07 [1760] [6] DEBUG: AT2[huawei]: device opened. Telnet mode = 0 2016-06-14 22:55:07 [1760] [0] DEBUG: Started thread 8 (gw/bb_store_file.c:store_dumper) 2016-06-14 22:55:07 [1760] [0] INFO: MAIN: Start-up done, entering mainloop 2016-06-14 22:55:07 [1760] [0] DEBUG: AT2[huawei]: start called 2016-06-14 22:55:07 [1760] [8] DEBUG: Thread 8 (gw/bb_store_file.c:store_dumper) maps to pid 1760. 2016-06-14 22:55:07 [1760] [8] DEBUG: Dumping 0 messages to store 2016-06-14 22:55:08 [1760] [6] DEBUG: AT2[huawei]: device opened 2016-06-14 22:55:08 [1760] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-14 22:55:08 [1760] [6] DEBUG: AT2[huawei]: --> ^M 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:10 [1760] [6] INFO: AT2[huawei]: Closing device 2016-06-14 22:55:10 [1760] [6] INFO: AT2[huawei]: speed is 9600 2016-06-14 22:55:10 [1760] [6] INFO: AT2[huawei]: opening device 2016-06-14 22:55:10 [1760] [6] DEBUG: AT2[huawei]: device opened. Telnet mode = 0 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: device opened 2016-06-14 22:55:11 [1760] [6] INFO: AT2[huawei]: Logging in 2016-06-14 22:55:11 [1760] [6] INFO: AT2[huawei]: init device 2016-06-14 22:55:11 [1760] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: --> ATZ^M 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- ATZ 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:11 [1760] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: --> ATE0^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- ATE0 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: --> AT+IFC=2,2^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: --> AT+CSCA="+XX"^M 2016-06-14 22:55:12 [1760] [6] DEBUG: AT2[huawei]: <-- COMMAND NOT SUPPORT 2016-06-14 22:55:14 [1760] [0] WARNING: Killing signal or HTTP admin command received, shutting down... 2016-06-14 22:55:14 [1760] [0] DEBUG: Shutting down Kannel... 2016-06-14 22:55:14 [1760] [0] DEBUG: shutting down smsc 2016-06-14 22:55:14 [1760] [0] DEBUG: AT2[huawei]: Shutting down SMSCConn, slow 2016-06-14 22:55:14 [1760] [0] DEBUG: shutting down udp 2016-06-14 22:55:16 [1760] [6] ERROR: AT2[huawei]: Initialization of device failed. 2016-06-14 22:55:16 [1760] [6] INFO: AT2[huawei]: Closing device 2016-06-14 22:55:16 [1760] [6] INFO: AT2[huawei]: Closing device 2016-06-14 22:55:16 [1760] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) terminates. 2016-06-14 22:55:16 [1760] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2016-06-14 22:55:16 [1760] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. De : Alvaro Cornejo <cornejo.alv...@gmail.com> Envoyé : mardi 14 juin 2016 19:29 À : Paul Isidore Cc : users@kannel.org Objet : Re: Kannel and Huawei EC167 and EC156 failed to reponse to AT+CPIN=? command Hi Don't know the solution but here are a couple of workarounds: If you don't use it that dongle for sms messaging, don't include it in kannel config. Else you can remove CPIN command in your kannel config for that dongle. 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.com<http://www.perusms.com> On Mon, Jun 13,
Kannel and Huawei EC167 and EC156 failed to reponse to AT+CPIN=? command
Hello, I'm newbie and i try to make a SMSC center woth Kannel and one of two Huawei dongle Modem (EC167 and EC156) After doing kannel configuration and run : sudo bearerbox -v 0 /etc/kannel/kannel.conf i got error SIM CARD not inserted. There is no need to use a SIM card with the USB dongle because i used it to connect to internet but i put one in it and the same error is still coming. this is the log file, please help me : 2016-06-14 00:50:05 [8472] [6] INFO: AT2[huawei]: Logging in 2016-06-14 00:50:05 [8472] [6] INFO: AT2[huawei]: init device 2016-06-14 00:50:05 [8472] [6] INFO: AT2[huawei]: speed set to 9600 2016-06-14 00:50:05 [8472] [6] DEBUG: AT2[huawei]: --> ATZ^M 2016-06-14 00:50:05 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:05 [8472] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> AT^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- AT 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> ATE0^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- ATE0 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> AT+IFC=2,2^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- OK 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: --> AT+CPIN?^M 2016-06-14 00:50:06 [8472] [6] DEBUG: AT2[huawei]: <-- +CME ERROR:SIM not inserted 2016-06-14 00:50:06 [8472] [6] ERROR: AT2[huawei]: Generic error: +CME ERROR:SIM not inserted 2016-06-14 00:50:06 [8472] [6] ERROR: AT2[huawei]: Initialization of device failed. 2016-06-14 00:50:06 [8472] [6] INFO: AT2[huawei]: Closing device 2016-06-14 00:50:06 [8472] [6] INFO: AT2[huawei]: Closing device [X][X]
unsubscribe
unsubscribe
RE: Kannel
I get the following error: 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. How do I fix this? UG? Thanks, Paul From: Abdul Basit [mailto:basit.e...@gmail.com] Sent: Wednesday, December 15, 2010 10:15 AM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Good. keep on reading UG. On Wed, Dec 15, 2010 at 9:10 PM, Paul Harrison c...@austin.rr.com wrote: I start kannel using the following code. /usr/local/sbin/bearerbox -v 1 --pid-file /var/run/kannel.pid /usr/local/etc/smskannel.conf sleep 5 /usr/local/sbin/smsbox -v 1 /usr/local/etc/smskannel.conf Thanks, Paul From: Paul Harrison [mailto:c...@austin.rr.com] Sent: Wednesday, December 15, 2010 10:02 AM To: users@kannel.org Subject: Kannel Hi Team, I downloaded Kannel using the following options. SVN access to source code... svn co https://svn.kannel.org/ https://svn.kannel.org/%3cproject%3e/trunk project/trunk Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters. url I'm using: http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt When I invoke the above url. I get the below error message : [r...@node01 etc]# 2010-12-15 10:56:34 [30507] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 192.168.1.116 2010-12-15 10:56:34 [30507] [3] INFO: sendsms used by tester 2010-12-15 10:56:34 [30507] [3] INFO: sendsms sender:tester:53985 (192.168.1.116) to:15126366987 msg:hello from local 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. Can someone please help me? It would be greatly appreciated. Thanks, Paul -- Regards, Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
RE: Kannel
I start kannel using the following code. /usr/local/sbin/bearerbox -v 1 --pid-file /var/run/kannel.pid /usr/local/etc/smskannel.conf sleep 5 /usr/local/sbin/smsbox -v 1 /usr/local/etc/smskannel.conf Thanks, Paul From: Paul Harrison [mailto:c...@austin.rr.com] Sent: Wednesday, December 15, 2010 10:02 AM To: users@kannel.org Subject: Kannel Hi Team, I downloaded Kannel using the following options. SVN access to source code... svn co https://svn.kannel.org/ https://svn.kannel.org/%3cproject%3e/trunk project/trunk Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters. url I'm using: http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt When I invoke the above url. I get the below error message : [r...@node01 etc]# 2010-12-15 10:56:34 [30507] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 192.168.1.116 2010-12-15 10:56:34 [30507] [3] INFO: sendsms used by tester 2010-12-15 10:56:34 [30507] [3] INFO: sendsms sender:tester:53985 (192.168.1.116) to:15126366987 msg:hello from local 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. Can someone please help me? It would be greatly appreciated. Thanks, Paul
RE: Kannel
I have been picking at this for a few days now. I have no clue why I keep getting that error as I'm passing the meta data in the request. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Paul Harrison Sent: Wednesday, December 15, 2010 10:38 AM To: 'Alejandro Guerrieri' Cc: users@kannel.org Subject: RE: Kannel I read the UG on that. I'm passing the meta-data but I still get the error from the below email in red. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt Any help is greatly appreciated. From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 10:35 AM To: Paul Harrison Cc: Abdul Basit; users@kannel.org Subject: Re: Kannel You need to configure those parameters as meta-data, and pass them on the request. Read the meta-data section on the UG for the details. Regards, Alex On Wed, Dec 15, 2010 at 5:26 PM, Paul Harrison c...@austin.rr.com wrote: I get the following error: 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. How do I fix this? UG? Thanks, Paul From: Abdul Basit [mailto:basit.e...@gmail.com] Sent: Wednesday, December 15, 2010 10:15 AM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Good. keep on reading UG. On Wed, Dec 15, 2010 at 9:10 PM, Paul Harrison c...@austin.rr.com wrote: I start kannel using the following code. /usr/local/sbin/bearerbox -v 1 --pid-file /var/run/kannel.pid /usr/local/etc/smskannel.conf sleep 5 /usr/local/sbin/smsbox -v 1 /usr/local/etc/smskannel.conf Thanks, Paul From: Paul Harrison [mailto:c...@austin.rr.com] Sent: Wednesday, December 15, 2010 10:02 AM To: users@kannel.org Subject: Kannel Hi Team, I downloaded Kannel using the following options. SVN access to source code... svn co https://svn.kannel.org/ https://svn.kannel.org/%3cproject%3e/trunk project/trunk Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters. url I'm using: http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt When I invoke the above url. I get the below error message : [r...@node01 etc]# 2010-12-15 10:56:34 [30507] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 192.168.1.116 2010-12-15 10:56:34 [30507] [3] INFO: sendsms used by tester 2010-12-15 10:56:34 [30507] [3] INFO: sendsms sender:tester:53985 (192.168.1.116) to:15126366987 msg:hello from local 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. Can someone please help me? It would be greatly appreciated. Thanks, Paul -- Regards, Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
RE: Kannel
http://www.curesport.com/smsbox.log http://www.curesport.com/kannel_access_log.txt http://www.curesport.com/stdout.txt Please let me know if you need anything else. Thank You, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 12:09 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Can you provide log entries showing the submit_sm PDU and surroundings? Regards, Alex On Wed, Dec 15, 2010 at 6:50 PM, Paul Harrison c...@austin.rr.com wrote: I have been picking at this for a few days now. I have no clue why I keep getting that error as I'm passing the meta data in the request. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Paul Harrison Sent: Wednesday, December 15, 2010 10:38 AM To: 'Alejandro Guerrieri' Cc: users@kannel.org Subject: RE: Kannel I read the UG on that. I'm passing the meta-data but I still get the error from the below email in red. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt Any help is greatly appreciated. From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 10:35 AM To: Paul Harrison Cc: Abdul Basit; users@kannel.org Subject: Re: Kannel You need to configure those parameters as meta-data, and pass them on the request. Read the meta-data section on the UG for the details. Regards, Alex On Wed, Dec 15, 2010 at 5:26 PM, Paul Harrison c...@austin.rr.com wrote: I get the following error: 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. How do I fix this? UG? Thanks, Paul From: Abdul Basit [mailto:basit.e...@gmail.com] Sent: Wednesday, December 15, 2010 10:15 AM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Good. keep on reading UG. On Wed, Dec 15, 2010 at 9:10 PM, Paul Harrison c...@austin.rr.com wrote: I start kannel using the following code. /usr/local/sbin/bearerbox -v 1 --pid-file /var/run/kannel.pid /usr/local/etc/smskannel.conf sleep 5 /usr/local/sbin/smsbox -v 1 /usr/local/etc/smskannel.conf Thanks, Paul From: Paul Harrison [mailto:c...@austin.rr.com] Sent: Wednesday, December 15, 2010 10:02 AM To: users@kannel.org Subject: Kannel Hi Team, I downloaded Kannel using the following options. SVN access to source code... svn co https://svn.kannel.org/ https://svn.kannel.org/%3cproject%3e/trunk project/trunk Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters. url I'm using: http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt When I invoke the above url. I get the below error message : [r...@node01 etc]# 2010-12-15 10:56:34 [30507] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 192.168.1.116 2010-12-15 10:56:34 [30507] [3] INFO: sendsms used by tester 2010-12-15 10:56:34 [30507] [3] INFO: sendsms sender:tester:53985 (192.168.1.116) to:15126366987 msg:hello from local 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. Can someone please help me? It would be greatly appreciated. Thanks, Paul -- Regards, Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445
RE: Kannel
Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters(smpp-tlv). From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 1:22 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Hrm, the meta-data seems to be all there. Can you post your smpp-tlv groups? Regards, Alex On Wed, Dec 15, 2010 at 8:02 PM, Paul Harrison c...@austin.rr.com wrote: http://www.curesport.com/smsbox.log http://www.curesport.com/kannel_access_log.txt http://www.curesport.com/stdout.txt Please let me know if you need anything else. Thank You, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 12:09 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Can you provide log entries showing the submit_sm PDU and surroundings? Regards, Alex On Wed, Dec 15, 2010 at 6:50 PM, Paul Harrison c...@austin.rr.com wrote: I have been picking at this for a few days now. I have no clue why I keep getting that error as I'm passing the meta data in the request. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Paul Harrison Sent: Wednesday, December 15, 2010 10:38 AM To: 'Alejandro Guerrieri' Cc: users@kannel.org Subject: RE: Kannel I read the UG on that. I'm passing the meta-data but I still get the error from the below email in red. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt Any help is greatly appreciated. From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 10:35 AM To: Paul Harrison Cc: Abdul Basit; users@kannel.org Subject: Re: Kannel You need to configure those parameters as meta-data, and pass them on the request. Read the meta-data section on the UG for the details. Regards, Alex On Wed, Dec 15, 2010 at 5:26 PM, Paul Harrison c...@austin.rr.com wrote: I get the following error: 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. How do I fix this? UG? Thanks, Paul From: Abdul Basit [mailto:basit.e...@gmail.com] Sent: Wednesday, December 15, 2010 10:15 AM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Good. keep on reading UG. On Wed, Dec 15, 2010 at 9:10 PM, Paul Harrison c...@austin.rr.com wrote: I start kannel using the following code. /usr/local/sbin/bearerbox -v 1 --pid-file /var/run/kannel.pid /usr/local/etc/smskannel.conf sleep 5 /usr/local/sbin/smsbox -v 1 /usr/local/etc/smskannel.conf Thanks, Paul From: Paul Harrison [mailto:c...@austin.rr.com] Sent: Wednesday, December 15, 2010 10:02 AM To: users@kannel.org Subject: Kannel Hi Team, I downloaded Kannel using the following options. SVN access to source code... svn co https://svn.kannel.org/ https://svn.kannel.org/%3cproject%3e/trunk project/trunk Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters. url I'm using: http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt When I invoke the above url. I get the below error message : [r...@node01 etc]# 2010-12-15 10:56:34 [30507] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 192.168.1.116 2010-12-15 10:56:34 [30507] [3] INFO: sendsms used by tester 2010-12-15 10:56:34 [30507] [3] INFO: sendsms sender:tester:53985 (192.168.1.116) to:15126366987 msg:hello from local 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms
RE: Kannel
WOW, that was is it.. It works! One other issue. If I pass the service id and program then it fails. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp% 3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3Dstd rt smsc=psmsto=1512333username=testerfrom=54322text=hello+from+localm eta-data=%3Fsmpp%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330% 26MBprogram%3Dstdrt 2010-12-15 15:08:50 [865] [3] INFO: sendsms sender:tester:54322 (192.168.1.116) to:1512333 msg:hello from local 2010-12-15 15:08:50 [851] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 15:08:50 [851] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. 2010-12-15 15:08:50 send-SMS request added - sender:tester:54322 192.168.1.116 target:1512333 request: 'hello from local' 2010-12-15 15:08:50 FAILED Send SMS [SMSC:psms] [SVC:tester] [ACT:] [BINF:] [FID:] [META:?smpp?MBoperator=31003MBbilling=0MBserviceId=26330MBprogram=stdrt] [from:54322] [to:1512333] [flags:-1:0:-1:-1:-1] [msg:16:hello from local] [udh:0: Any idea why? Thanks, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 1:58 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel [FID:] [META:?smpp-tlv?MBoperator=3... Ah! You're using smpp-tlv, change it for smpp: ?smpp?MBoperator... The smpp-tlv groups seems to be fine, change that and tell me how it goes. Regards, Alex On Wed, Dec 15, 2010 at 8:39 PM, Paul Harrison c...@austin.rr.com wrote: Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters(smpp-tlv). From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 1:22 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Hrm, the meta-data seems to be all there. Can you post your smpp-tlv groups? Regards, Alex On Wed, Dec 15, 2010 at 8:02 PM, Paul Harrison c...@austin.rr.com wrote: http://www.curesport.com/smsbox.log http://www.curesport.com/kannel_access_log.txt http://www.curesport.com/stdout.txt Please let me know if you need anything else. Thank You, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 12:09 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Can you provide log entries showing the submit_sm PDU and surroundings? Regards, Alex On Wed, Dec 15, 2010 at 6:50 PM, Paul Harrison c...@austin.rr.com wrote: I have been picking at this for a few days now. I have no clue why I keep getting that error as I'm passing the meta data in the request. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Paul Harrison Sent: Wednesday, December 15, 2010 10:38 AM To: 'Alejandro Guerrieri' Cc: users@kannel.org Subject: RE: Kannel I read the UG on that. I'm passing the meta-data but I still get the error from the below email in red. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt Any help is greatly appreciated. From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 10:35 AM To: Paul Harrison Cc: Abdul Basit; users@kannel.org Subject: Re: Kannel You need to configure those parameters as meta-data, and pass them on the request. Read the meta-data section on the UG for the details. Regards, Alex On Wed, Dec 15, 2010 at 5:26 PM, Paul Harrison c...@austin.rr.com wrote: I get the following error: 2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. I talked to mblox and they said I'm not passing the operator and billing information to them. I doubt they are getting the MBserviceid and MBProgram either. Mblox now requires the tag program=stdrt. How do I fix this? UG? Thanks, Paul From: Abdul Basit [mailto:basit.e...@gmail.com] Sent: Wednesday, December 15, 2010 10:15 AM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel
RE: Kannel
I got with mblox and it works now. Thank you so much! Real quick, messages coming from handset to kannel. This will stay the same correct? I can still use the below information in my smskannel.conf ? post-url = http://172.16.94.111/sms_response_parent.html?body=%a http://172.16.94.111/sms_response_parent.html?body=%25aopid=%25mtime=%25t MSISDN=%25precipient=%25Pcing=%25F opid=%mtime=%tMSISDN=%precipient=%Pcing=%F Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 2:28 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Glad it helped :) I don't believe the warning has nothing to do with the problem. Ask mblox again, you might be missing some other parameter or sending the wrong values. Regards, Alex On Wed, Dec 15, 2010 at 9:14 PM, Paul Harrison c...@austin.rr.com wrote: WOW, that was is it.. It works! One other issue. If I pass the service id and program then it fails. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp% 3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3Dstd rt smsc=psmsto=1512333username=testerfrom=54322text=hello+from+localm eta-data=%3Fsmpp%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330% 26MBprogram%3Dstdrt 2010-12-15 15:08:50 [865] [3] INFO: sendsms sender:tester:54322 (192.168.1.116) to:1512333 msg:hello from local 2010-12-15 15:08:50 [851] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 15:08:50 [851] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. 2010-12-15 15:08:50 send-SMS request added - sender:tester:54322 192.168.1.116 target:1512333 request: 'hello from local' 2010-12-15 15:08:50 FAILED Send SMS [SMSC:psms] [SVC:tester] [ACT:] [BINF:] [FID:] [META:?smpp?MBoperator=31003MBbilling=0MBserviceId=26330MBprogram=stdrt] [from:54322] [to:1512333] [flags:-1:0:-1:-1:-1] [msg:16:hello from local] [udh:0: Any idea why? Thanks, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 1:58 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel [FID:] [META:?smpp-tlv?MBoperator=3... Ah! You're using smpp-tlv, change it for smpp: ?smpp?MBoperator... The smpp-tlv groups seems to be fine, change that and tell me how it goes. Regards, Alex On Wed, Dec 15, 2010 at 8:39 PM, Paul Harrison c...@austin.rr.com wrote: Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters(smpp-tlv). From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 1:22 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Hrm, the meta-data seems to be all there. Can you post your smpp-tlv groups? Regards, Alex On Wed, Dec 15, 2010 at 8:02 PM, Paul Harrison c...@austin.rr.com wrote: http://www.curesport.com/smsbox.log http://www.curesport.com/kannel_access_log.txt http://www.curesport.com/stdout.txt Please let me know if you need anything else. Thank You, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 12:09 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Can you provide log entries showing the submit_sm PDU and surroundings? Regards, Alex On Wed, Dec 15, 2010 at 6:50 PM, Paul Harrison c...@austin.rr.com wrote: I have been picking at this for a few days now. I have no clue why I keep getting that error as I'm passing the meta data in the request. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Paul Harrison Sent: Wednesday, December 15, 2010 10:38 AM To: 'Alejandro Guerrieri' Cc: users@kannel.org Subject: RE: Kannel I read the UG on that. I'm passing the meta-data but I still get the error from the below email in red. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3 Dstdrt smsc=psmsto=1512333username=testerfrom=12345text=hello+from+localm eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26 330%26MBprogram%3Dstdrt Any help is greatly appreciated. From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 10:35 AM To: Paul Harrison Cc: Abdul Basit; users@kannel.org Subject: Re: Kannel You need to configure those parameters
RE: Kannel
Thanks, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 4:58 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Yes, and you can access any TLV's mblox might send (assuming you defined them on your config of course) by using the %D parameter. I'm glad it helped :) Regards, Alex On Wed, Dec 15, 2010 at 10:12 PM, Paul Harrison c...@austin.rr.com wrote: I got with mblox and it works now. Thank you so much! Real quick, messages coming from handset to kannel. This will stay the same correct? I can still use the below information in my smskannel.conf ? post-url = http://172.16.94.111/sms_response_parent.html?body=%a http://172.16.94.111/sms_response_parent.html?body=%25aopid=%25mtime=%25t MSISDN=%25precipient=%25Pcing=%25F opid=%mtime=%tMSISDN=%precipient=%Pcing=%F Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 2:28 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Glad it helped :) I don't believe the warning has nothing to do with the problem. Ask mblox again, you might be missing some other parameter or sending the wrong values. Regards, Alex On Wed, Dec 15, 2010 at 9:14 PM, Paul Harrison c...@austin.rr.com wrote: WOW, that was is it.. It works! One other issue. If I pass the service id and program then it fails. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp% 3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3Dstd rt smsc=psmsto=1512333username=testerfrom=54322text=hello+from+localm eta-data=%3Fsmpp%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330% 26MBprogram%3Dstdrt 2010-12-15 15:08:50 [865] [3] INFO: sendsms sender:tester:54322 (192.168.1.116) to:1512333 msg:hello from local 2010-12-15 15:08:50 [851] [7] WARNING: SMPP: PDU NULL terminated string (message_id) has no NULL. 2010-12-15 15:08:50 [851] [7] ERROR: SMPP[psms]: SMSC returned error code 0x042a (Vendor-specific error, please refer to your SMPP provider) in response to submit_sm. 2010-12-15 15:08:50 send-SMS request added - sender:tester:54322 192.168.1.116 target:1512333 request: 'hello from local' 2010-12-15 15:08:50 FAILED Send SMS [SMSC:psms] [SVC:tester] [ACT:] [BINF:] [FID:] [META:?smpp?MBoperator=31003MBbilling=0MBserviceId=26330MBprogram=stdrt] [from:54322] [to:1512333] [flags:-1:0:-1:-1:-1] [msg:16:hello from local] [udh:0: Any idea why? Thanks, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 1:58 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel [FID:] [META:?smpp-tlv?MBoperator=3... Ah! You're using smpp-tlv, change it for smpp: ?smpp?MBoperator... The smpp-tlv groups seems to be fine, change that and tell me how it goes. Regards, Alex On Wed, Dec 15, 2010 at 8:39 PM, Paul Harrison c...@austin.rr.com wrote: Smskannel.conf file: http://www.curesport.com/smskannel.conf kannel.conf file: http://www.curesport.com/kannel.conf In the smskannel.conf. I defined the mblox parameters(smpp-tlv). From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 1:22 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Hrm, the meta-data seems to be all there. Can you post your smpp-tlv groups? Regards, Alex On Wed, Dec 15, 2010 at 8:02 PM, Paul Harrison c...@austin.rr.com wrote: http://www.curesport.com/smsbox.log http://www.curesport.com/kannel_access_log.txt http://www.curesport.com/stdout.txt Please let me know if you need anything else. Thank You, Paul From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] Sent: Wednesday, December 15, 2010 12:09 PM To: Paul Harrison Cc: users@kannel.org Subject: Re: Kannel Can you provide log entries showing the submit_sm PDU and surroundings? Regards, Alex On Wed, Dec 15, 2010 at 6:50 PM, Paul Harrison c...@austin.rr.com wrote: I have been picking at this for a few days now. I have no clue why I keep getting that error as I'm passing the meta data in the request. From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Paul Harrison Sent: Wednesday, December 15, 2010 10:38 AM To: 'Alejandro Guerrieri' Cc: users@kannel.org Subject: RE: Kannel I read the UG on that. I'm passing the meta-data but I still get the error from the below email in red. http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar http://192.168.1.103:13013/cgi-bin/sendsms?password=foobarsmsc=psmsto=151 2333username=testerfrom=54322text=hello+from+localmeta-data=%3Fsmpp- tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram
Re: Need help for kannel configuration
This is what shown on the console screen... 2009-03-21 13:02:01 [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2009-03-21 13:02:01 [0] INFO: 2009-03-21 13:02:01 [0] INFO: Kannel bearerbox II version 1.2.0 starting 2009-03-21 13:02:01 [0] INFO: SSL not supported, no SSL initialization done. 2009-03-21 13:02:01 [0] DEBUG: HTTP: Opening server at port 13000. 2009-03-21 13:02:01 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-03-21 13:02:01 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-03-21 13:02:01 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-03-21 13:02:01 [0] DEBUG: starting smsbox connection module 2009-03-21 13:02:01 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2009-03-21 13:02:01 [0] DEBUG: AT: Command: AT 2009-03-21 13:02:02 [0] DEBUG: Read from modem: '' 2009-03-21 13:02:02 [0] DEBUG: AT: Command: ATF 2009-03-21 13:02:03 [0] DEBUG: Read from modem: '' 2009-03-21 13:02:03 [0] DEBUG: AT: Command: AT 2009-03-21 13:02:04 [0] DEBUG: Read from modem: '' 2009-03-21 13:02:04 [0] DEBUG: AT: Command: ATE0 2009-03-21 13:02:05 [0] DEBUG: Read from modem: '' 2009-03-21 13:02:05 [0] ERROR: Failed to create Smsc wrapper 2009-03-21 13:02:05 [0] PANIC: Cannot start with SMSC connection failing Paul On Sat, Mar 21, 2009 at 9:44 AM, Alvaro Cornejo cornejo.alv...@gmail.com wrote: Ti you get some info with kannel, post the logs to see where the problem is. Log should tell you wich command failed. Check your device manual for specific command values/syntax Alvaro
Need help for kannel configuration
Hi all, I need help for kannel tune-up with the following configuration : + OS CentOS 5.2 + kannel 1.4.1 + libxml 2.6.26-2.1.2.7 + machine iPentium 4 core duo kannel.conf : cat /etc/kannel.conf # Default kannel configuration file group = core admin-port = 13000 admin-password = admin status-password = admin #admin-deny-ip = *.*.*.* #admin-allow-ip = 127.0.0.1 smsbox-port = 13001 #wapbox-port = 13002 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log log-level = 1 group = smsc smsc = at host = 127.0.0.1 port = 13013 smsc-id = itegno modemtype = auto device = /dev/ttyUSB0 sms-center = +62 speed = 115200 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13131 sendsms-chars = 0123456789+ global-sender = +6200 log-file = /var/log/kannel/smsbox.log log-level = 0 access-log = /var/log/kannel/access.log group = modems id = WAVECOM name = WAVECOM detect-string = WAVECOM init-string = AT+CNMI=2,1,0,0;+CMEE=1 group = sms-service keyword = default max-messages = 0 exec = /usr/local/bin/kannel_incoming %t %q %a bearerbox.log : bearerbox /etc/kannel.conf result : 2009-03-20 21:36:13 [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2009-03-20 21:36:13 [0] INFO: 2009-03-20 21:36:13 [0] INFO: Kannel bearerbox II version 1.2.0 starting 2009-03-20 21:36:13 [0] INFO: SSL not supported, no SSL initialization done. 2009-03-20 21:36:17 [0] ERROR: Failed to create Smsc wrapper 2009-03-20 21:36:17 [0] PANIC: Cannot start with SMSC connection failing if kannel services started : 2009-03-20 21:36:09 [24028] [6] ERROR: AT2[itegno]: open failed! ERRNO=13 2009-03-20 21:36:09 [24028] [6] ERROR: System error 13: Permission denied 2009-03-20 21:36:09 [24028] [6] INFO: AT2[itegno]: opening device 2009-03-20 21:36:09 [24028] [6] ERROR: AT2[itegno]: open failed! ERRNO=13 2009-03-20 21:36:09 [24028] [6] ERROR: System error 13: Permission denied 2009-03-20 21:36:09 [24028] [6] INFO: AT2[itegno]: opening device Where are the errors cause ? PD
Re: Need help for kannel configuration
Thx for the reply. I run that bearerbox under root and from local machine. Also, the mode of /dev/ttyUSB0 already 777 # ls -l /dev/ttyUSB0 crwxrwxrwx 1 root uucp 188, 0 Mar 20 21:38 /dev/ttyUSB0 What else the error cause ? PD On Fri, Mar 20, 2009 at 10:53 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: You don't have permissions to access the modem. If you're running kannel under an underprivileged user, you need to make sure that your user has permissions to read/write the modem. Hope it helps, Alejandro
Re: Need help for kannel configuration
I do not know anything about minicom... But I try to change the device to /dev/ttyUSB1 or /dev/ttyUSB2 and the result as follow # /usr/local/sbin/bearerbox /etc/kannel.conf 2009-03-21 08:19:52 [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2009-03-21 08:19:52 [0] WARNING: DLR: using default 'internal' for storage type. 2009-03-21 08:19:52 [0] DEBUG: Kannel bearerbox version `1.2.0'. System Linux, release 2.6.18-92.1.22.el5, version #1 SMP Tue Dec 16 12:03:43 EST 2008, machine i686. Hostname HTT-2, IP 127.0.0.1. Libxml version 20626. Using native malloc. 2009-03-21 08:19:52 [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `1'. 2009-03-21 08:19:52 [0] INFO: 2009-03-21 08:19:52 [0] INFO: Kannel bearerbox II version 1.2.0 starting 2009-03-21 08:19:52 [0] INFO: SSL not supported, no SSL initialization done. 2009-03-21 08:19:52 [0] DEBUG: HTTP: Opening server at port 13000. 2009-03-21 08:19:52 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-03-21 08:19:52 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-03-21 08:19:52 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-03-21 08:19:52 [0] DEBUG: starting smsbox connection module 2009-03-21 08:19:52 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2009-03-21 08:19:52 [0] ERROR: at_open_data_link: error opening the character device /dev/ttyUSB1 2009-03-21 08:19:52 [0] ERROR: System error 2: No such file or directory 2009-03-21 08:19:52 [0] ERROR: Failed to create Smsc wrapper 2009-03-21 08:19:52 [0] PANIC: Cannot start with SMSC connection failing the dmesg added when I added the device : usb 4-2: new full speed USB device using uhci_hcd and address 3 usb 4-2: configuration #1 chosen from 1 choice pl2303 4-2:1.0: pl2303 converter detected usb 4-2: pl2303 converter now attached to ttyUSB0 So, I do not think wrong device PD
Re: Need help for kannel configuration
I am using iTegno 3800 with usb port. the dmesg added when I added the device : usb 4-2: new full speed USB device using uhci_hcd and address 3 usb 4-2: configuration #1 chosen from 1 choice pl2303 4-2:1.0: pl2303 converter detected usb 4-2: pl2303 converter now attached to ttyUSB0 from bearerbox /etc/kannel.conf.. it already connected and read the modem status with some command AT. Paul
receive sms
we set up a gateway sms for the storage of the sms we use the option dlr-storage = internal.But the problems which we encounter are as follows:an error message of the type Bind failed address already to used and has each we are obliged to change port on the level of admin-port and smsbox-port When we launch bearerbox/etc/kannel/kannel.conf the smsc is detecté successfully, we use a mobile phone (Motorola L6) and gnokki.After tests of sending of sms towards our smsc the sms remain on the level of the mobile phone and not in the files of storage of kannel.you can give each other solutions?Thank you in advance Boka Yannick Paul Élève Ingénieur en Sciences Informatiques cel :+225 07481147 /+225 01454341 _ Appelez vos amis de PC à PC -- C'EST GRATUIT http://get.live.com/messenger/overview
Find sms in kannel.store
= status field-boxc-id = boxc #ajout du groupe de connexion group = mysql-connection id = mysql host = localhost username = expert password = ing3 database = DLR max-connections = 1 Boka Yannick Paul Élève Ingénieur en Sciences Informatiques cel :+225 07481147 /+225 01454341 _ Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui ! http://toolbar.live.com
help
Boka Yannick Paul Élève Ingénieur en Sciences Informatiques cel :+225 07481147 /+225 01454341 _ Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui ! http://toolbar.live.com help.pdf Description: Adobe PDF document
help
I have inclu the file modems.conf which is in /usr/share/doc/kannel/example in my file kannel.conf is necessary it to create a new group of modem for my mobile? if not here what brings back for me during the test (bearerbox /etc/kannel/kannel.conf DEBUG: AT2[/dev/ttyACM0]: -- ok DEBUG: AT2[/dev/ttyACM0]: --AT+CSMS=+22507481147 DEBUG: AT2[/dev/ttyACM0]:--ok DEBUG: AT2[/dev/ttyACM0]:-- AT+CNMI=1,2,0,1,0^M DEBUG: AT2[/dev/ttyACM0]:-- ERROR Boka Yannick Paul Élève Ingénieur en Sciences Informatiques cel :+225 07481147 /+225 01454341 _ Sur Windows Live Ideas, découvrez en exclusivité de nouveaux services en ligne... si nouveaux qu'ils ne sont pas encore sortis officiellement sur le marché ! http://ideas.live.com
help
is my mobile phone (motorola L6) which acts as modem and I have only the user guide ¶ Boka Yannick Paul Élève Ingénieur en Sciences Informatiques cel :+225 07481147 /+225 01454341 _ Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui ! http://toolbar.live.com
help
Merci mon problème est le suivant. j'utilise un téléphone portable motorola L6 comme modem lorsque je lance bearerbox il detecte mon portable comme smsc virtuel mais le problème c'est que je n'arrive pas a avoir les sms réçu par mon portable dans le fichier prévu pour le stockage( /var/log/kannel/kannel.store) Boka Yannick Paul Élève Ingénieur en Sciences Informatiques cel :+225 07481147 /+225 01454341 _ Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics ! http://spaces.live.com/signup.aspx
RE: How to connect sends and receives (statefulness)
Title: RE: How to connect sends and receives (statefulness) The only successful way I have seen of doing this is to use a big enough bank of recycleable MSISDNS for the source address. That way you can match the originating message to the response within a reasonable time window and reuse the MSISDN subsequently. Unfortunately, big banks of MSISDNs tend be a scarce, operator controlled resource so you need some clout and a viable business model. -Original Message- From: Matthew Wilson [mailto:[EMAIL PROTECTED]] Sent: Mon 30/07/2007 15:09 To: users@kannel.org Subject: How to connect sends and receives (statefulness) I want to send out lots of different riddles and then track the replies coming in and check if the answer is correct. I need some way of connecting the riddle ID to the answer coming in. I can use ersatz methods like guessing based on the time I sent the message and the replying phone number, but I hope that something exists inside the SMPP protocol. More generally, any information on how to maintain statefulness across numerous messages would be helpful. TIA Matt -- I'm starting a blog. http://blog.tplus1.com
CMS ERROR: +CMS ERROR: 38
Hi, Apologies in advance if this has already been covered on the mailing list, but I've searched the archives (found a few references) but didn't really find the answer. I'm setting up a Kannel gateway with a GSM modem (with a UK O2 prepaid SIM) in it. I'm getting a strange behaviour in that messages are intermittently being sent successfully, but are always reporting the Network out of Order (38) error and I'm a little lost as to the cause/how to remedy it. Here's my modem configuration from Kannel: group = smsc smsc = at modemtype = premicell device = /dev/ttyS1 speed = 19200 group = modems id = premicell name = Premicell detect-string = NOKIA MOBILE PHONES init-string = AT+CNMI=1,2,0,1,0;+CMEE=1 no-pin = true Here's an example trace from the Kannel logs: 2007-03-18 11:03:33 [8059] [6] DEBUG: AT2[/dev/ttyS1]: send command status: 1 2007-03-18 11:03:33 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- AT+CMGS=25^M 2007-03-18 11:03:33 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- 2007-03-18 11:03:33 [8059] [6] DEBUG: AT2[/dev/ttyS1]: send command status: 1 2007-03-18 11:03:33 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- 0011000C81448749043374A70CC8329BFD06D1D16579D905 2007-03-18 11:03:34 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- ^Z 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- +CMS ERROR: 38 2007-03-18 11:03:40 [8059] [6] ERROR: AT2[/dev/ttyS1]: CMS ERROR: +CMS ERROR: 38 2007-03-18 11:03:40 [8059] [6] ERROR: AT2[/dev/ttyS1]: CMS ERROR: Network out of order (38) 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: send command status: 1 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- AT+CMGS=25^M 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: send command status: 1 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- 0011000C81448749043374A70CC8329BFD06D1D16579D905 2007-03-18 11:03:40 [8059] [8] DEBUG: boxc_receiver: heartbeat with load value 0 received 2007-03-18 11:03:40 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- ^Z 2007-03-18 11:03:46 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- 2007-03-18 11:03:46 [8059] [6] DEBUG: AT2[/dev/ttyS1]: -- +CMS ERROR: 38 2007-03-18 11:03:46 [8059] [6] ERROR: AT2[/dev/ttyS1]: CMS ERROR: +CMS ERROR: 38 I've noticed that if I use minicom to manually try the AT commands, I get the following: AT+CMGS=0789XXX,129 test is a second test with 0 +CMGS: 77 OK OK OK AT+CMGS=+44789XXX,129 this is a test with a plus +CMS ERROR: 38 So it looks to me that for some reason, the GSM modem is having trouble with the international prefix on the numbering - could this be related to configuration of the prepaid SIM on the O2 end, or is it something on my side? Thanks in advance for the help, Paul ___ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
RE: Siemens MC35i: send command status: -1
###snip# group = modems id = siemens_mc35 name = Siemens MC35 detect-string = SIEMENS detect-string2 = MC35 init-string = AT+CNMI=1,2,0,0,1 speed = 57600 enable-hwhs = AT\\Q3 need-sleep = true # uncomment this line if needed ###/snip# I would always add the alt-dcs=1 Parameter to the SMSC group definition when using a Siemens modem. Its worth a try.
Phones that works as SMSC's with Kannel
Do anyone know where I can purchase one of the following:Nokia PremicellSiemens M20 Wavecom WM02-G1800 modemThanks!
RE: HTTP with WAP 2.0?
I have successfully setup Kannel 1.4.0 on Fedora Core 4 with a single wapbox running. I can connect from my PC with Klondike 1.5 and browse WML pages successfully. The mobile I am trying to use, however, only supports the HTTP in WAP2.0, not WSP from WAP1.x. I have not seen anything in the Kannel documentation that suggests that Kannel can function as a regular HTTP proxy as well as a WAP Gateway. Is this understanding correct, or have I overlooked some information regarding the support for HTTP connections in addition to WSP? Its correct. Kannel has no HTTP proxy support You could look at Apache and its various plug-ins to build WAP 2.0 functionality.
RE: Upgrade from stable 1.4.0 to cvsversion
I try to upgrade my kannel from stable 1.4.0 (which is not really stable on rh 9 linux) to version cvs-20051226 I found that this cvs version is more stable :), great however i found this error, i don't know what is it 2006-01-04 13:00:05 [9489] [0] INFO: Loading store file `store-tmp' 2006-01-04 13:00:05 [9489] [0] INFO: Store-file size 5911, starting to unpack 2006-01-04 13:00:05 [9489] [0] PANIC: Internal error: unknown message type: 808461616 This suggests that the Msg struct has changed between 1.4.0 and CVS. There are no tools for migration. Delete your store file and restart the bearerbox (or write your own tool to migrate the store file).
RE: WTLS
Title: RE: WTLS How do we go about ensuring that our clients use WTLS to connect to our application? Can we force them to have to use WTLS? I'd guess it depends on the WAP client implementation; At least I'd expect a https:// scheme in the URL to indicate to the WAP client that a secure session is required.
RE: WTLS
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brent GoldspringSent: 09 December 2005 00:31To: users@kannel.orgSubject: OT: WTLS Hi, This is off-topic for the list, but I figured it would be a worth my while posing my query here. What is involved in developing WAP-based applications that use WTLS? I presumethat you're talking about WAP 1.x here and not WAP 2.0 as WAP 2.0 is SSL/TLS through a HTTP proxy from a security perspective. I also presume you're talking about server sideapplications rather than client side ? On the server, your applications should be unaware that WTLS isused as it is below the WTP layer. However, the WAP gateway may have a policy to enforce SSL/TLS towards the web server if WTLS is used. Is it simply a matter of throwing an SSL certificate on our web server and going from there? No. WTLS is between the WAP client and the WAP gateway. The security policy between the HTTP client in the WAP gateway andyour web server is a separate issue. Do we have to deploy our own WAP gateway and have our clients reconfigure their devices when they wish to use our application? No. Usually the carrier will support WTLS. Do we require the cooperation of our clients mobile-carrier WAP gateways? Only if you get into PKItrust issues. Bestcase is that the carriers certificate is issued by one of the trusted roots in the device. If not, then you'll need to talk to the carrier (or suffer the customer care issues of subscribers being prompted as to whether they trust a certificate or not) Do we have to buy another certificate for WTLS? Only if you're running your own WAP gateway. Even then it depends on whether its an open or closed user group, from a security policy perspective. Regards, Brent
RE: Kannel refuses to get-url
Title: RE: Kannel refuses to get-url The logfile states the normal startup lines and on an incoming sms: 2005-09-28 21:39:23 [8] DEBUG: smscconn (CIMD2:194.165.79.73:9972:Infospace): new message received After that it restarts and that's it... It restarts ? restarts what ? the bearerbox ? If so, sounds like the incoming CIMD MO message is causing the bearerbox to core, which causes the smsbox to exit and explains why your URL is never invoked...
RE: Modify CIMD2 protocol in Kannel
When an SMS comes in the Kannel log shows: CIMD2 packet contains unknown parameter 70 CIMD2 packet contains unknown parameter 71 CIMD2 packet contains unknown parameter 100 Does anyone know how I can make modifications so these parameters are read and can be used in the http-get url as a variable? You'll need to write some code. Modify the smsc/smsc_cimd.c driver to parse the CIMD parameters into the Msg struct, preferably using existing fields or adding new ones if there is no good fit. If you need new fields in the Msg struct, you'll need to modify gw/urltrans.[ch] to expose them in a URL.
RE: How to deal with multithreading
I'm running Kannel cvs-20050615 and when sending many SMSs at almost the same time using multithreading Kannel starts to spawn more bearerboxes. The command ps -auxwww|grep kannel , shows me more than one bearerbox. I'm concerned how to prevent Kannel trying to connect twice to the same SMSC as I only have one allowed instance. How can you set in the configuration files how many instances are allowed when multithreading. Are you running on a Linux 2.4.x kernel ? If so, ps shows you the threads within the process as separate entries.
Re: Log File Analyzers
On Sep 4, 2005, at 10:36 AM, Anand Gupta wrote: May someone point me towards any known good logfile analyzers for kannel. I am especially looking for a tool to process my WAP gateway's log files. Not sure whether one exists. I would love one myself. Has anyone checked to see if there is a Kannel module for Logwatch?
RE: How to resolve SMS/WAP/MMS/VoIP gateways on a shoestring?
Title: RE: How to resolve SMS/WAP/MMS/VoIP gateways on a shoestring? Interesting question. Here is a link that discusses an ENUM based approach towards PSTN-IP gatewaying for SMS and MMS... http://www.google.ie/url?sa=t=res=25="">
RE: cimd2_get_packet: read failed
Why is it everytime I send sms to SMSC using the built in sendsms I got ERROR: cimd2_get_packet: read failed? You need to talk to whoever is hosting the CIMD system. The trace suggests (to me) that the CIMD login succeeds, but that the remote peer subsequently closes the connection, and hence any further I/O operations on that socket fail. You could verify this by doing an ethereal trace on the connection.
RE: Run WAPBox on non-standard port
You'd need to make a change in the Bearer Box src code. Search for 9200 and see where its used. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Cawston-Grant Sent: 01 July 2005 07:50 To: users@kannel.org Subject: Run WAPBox on non-standard port I am attempting to set up a WAP Gateway, which is capable of receiving requests on 9002, rather then the standard 9200-9208. I am running in a cygwin enviroment under Windows XP Pro, and have the gateway setup and working fine (although not on the custom port). Does anyone have any suggestions as to how I could configure WAPBox to open port 9002 for WAP Push? Cheers, -phzi
RE: FW: WTLS and Kannel 1.4 - Query - Does it Work?
I'm pretty sure this does'nt work. Check the user and dev archives for similar questions. As far as I recall, the implementation was never finished and no-one has picked it up.
RE: Positional info.
Title: Message Bit off topic this one but here goes. Does anyone know if it's possible using the standard SMPP protocol to a UK SMSC to request positional information regarding the location of a cell phone (even if it's just the cell it's currently in) - I believe that phones announce themselves to the cell they are currently in and that onfo gets update in a DB somewhere - also I guess the cell that previously had the phone needs to be told? Any info. on the above topic is most gratefully accepted. There is nothing that I am aware of in SMPP 3.x that supports locational queries. Maybe in the newer SMPP specification from the SMPP Forum - check their website. Thats not to say that an operator has'nt overloaded an SMPP protocol operation to do it, though.
Kannel splitting message 160 char
Hi all, I'm using a Nov 2003 CVS version. Weird thing is, Kannel sometimes splits my message even if it is less than 160 chars. My message contains square brackets ([]). I notice that if I replace the square brackets with parentheses, the splitting problem disappears. Would like to know if this is a known bug that has been fixed in the later versions or if there is a setting I should place on the config file (am actually hoping for the latter, since it will most likely take less time =). Thanks. Johann
open source MMS gateway
Hello All, A number of people on this list have expressed interest in an Open Source MMS gateway. Mbuni is such a beast. Please visit http://www.mbuni.org for details. Thank you Paul
RE: Optional SMPP parameters
One of my SMSCs asks me to include the optional SMPP parameter user_message_reference to get back a delivery report, but I dont find a way of doing this through the configuration file. Should I modify the source code? Yes. There is no way of doing this from the configuration. What SMSC is this as a matter of interest ?
RE: fakesmsc
Willy Mularto wrote: guys, how realible does the fakesmsc for development? fakesmsc has been _designed_ for development, so that you don't need to fire hundred of thousands of msg over the air. We consider fakesmsc as very reliable, since we use it for performance, regression and stress tests. It does not allow you to test delivery report scenarios because it does'nt generate them. Apart from that, its great.
RE: Problems with SMPP optionnal Parameters
get-url = http://myserver/sys_getGatewixMo.php?from=%pto=%Pmessage=%b k=%kr=%ra=% ab=%bt=%tq=%qQ=%Qi=%id=%dn=%nc=%cC=%C What parameters should I add to this line to get the smpp optionnal paremeters ? You can't get SMPP optional parameters to an SMS box sms service. You'll need to write code to extract the MO parameters and map them into one or more of the existing Msg struct fields. A subset of the Msg struct fields can be exposed via the % style formatters for the get-url argument.
Re: Email to SMS gateway
I have not done this myself but I would suggest taking a look at the content filtering capabilities of the MTA Postfix. I believe the postfix comes with documentation containing some examples (for spam filtering and virus scanning) that you might find useful. Cheers, Paul On 12-May-04, at 8:51 AM, David E. Meier wrote: Thanks for the suggestion Sean, however, I am looking for a solution to send an SMS triggered by an email. Dave I've seen lots of requests on how to handle Email routing with Kannel. Heres a cheap and cheerful and short PHP script that will route an SMS that starts with mail followed by [EMAIL PROTECTED] to the target email address. HTML BODY FORM METHOD=POST ACTION=?php print($PHP_SELF); ? INPUT TYPE=text NAME=madd INPUT TYPE=text NAME=text /form ?php $subject = SMS to Email Service from TopUp.ie; $mailsend = mail($madd, $subject, $text); print($mailsend); print(Your message has been Emailed to ); print ($madd); ? /body /html Put this in the Services section of your conf file # SMS SERVICE group = sms-service keyword = mail get-url = http://topup.ie/mail.PHP?mpn=%pmadd=%stext=%r; max-messages = 0 Hope this helps someone. Thanks to all of the users that helped me to get to grips with Kannel. Regards, Sean Bracken, [EMAIL PROTECTED] http://topup.ie On Wed, 2004-05-12 at 15:17, David E. Meier wrote: Does anyone have infos, suggestions or even scripts to send out SMS upon incoming emails using kannel? We would like to set up an account that accepts emails with addresses in the format phoneno@gateway-domain.tld. The SMS notification would then be sent to phoneno along with subject, sender, some message body or so. I am familiar with SIEVE filtering language by Cyrus IMAPd, however the message body cannot retrieved with this approach (yet). What about procmail or other solutions? Thanks. Dave.
SMS send failing
Hi, I'm using kannel 1.3.1 with a Siemens S55. I am trying to set it up as a SMS gateway. Currently, I can only get it to send one message (and I think this may be just luck) and then the rest barf. It seems weird to me that the first AT+CMGS is okay and all the following ones are returning -1 with a write error. I haven't been able to find anything in the archives for a similar problem. I've tried a couple different init parameters for the modem. I was hoping someone may have seen this type of problem before or had a suggestion on what I might want to try next. /Paul The sendsms url I'm using is: http://localhost:13013/cgi-bin/sendsms? username=wolstenapassword=passto=1238189664dlrmask=31dlrurl=http%3A% 2F%2Flocalhost%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26id%3D2929text=Hello+W orld+%2B+29 modem.conf modem.conf group = modems id = S55 name = S55 detect-string = SIEMENS detect-string2 = S55 #AT+CNMI=1,2,0,0,0 #M55 AT+CNMI=1,2,0,1,1 init-string = AT+CNMI=1,2,0,1,1 #init-string = AT+CSMS=1+CNMI=1,2,0,1,1 enable-hwhs = AT\\Q3 keepalive-cmd = AT+CBC;+CSQ need-sleep = true speed =9600 First Message log 2004-05-12 15:52:27 [7] DEBUG: boxc_receiver: sms received 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: TP-Validity-Period: 24.0 hours 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: -- AT+CMGS=44^M 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: -- 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: send command status: 1 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: -- 0031000A810684817947A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765 105CFEB6A7C965B90F 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: -- ^Z 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: send command status: -1 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: -- AT+CMGS=44^M 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: write failed with errno 5 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: -- 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: send command status: 1 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: -- 0031000A810684817947A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765 105CFEB6A7C965B90F 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: -- ^Z 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: write failed with errno 5 2004-05-12 15:53:11 [5] DEBUG: AT2[S55]: send command status: -1 2004-05-12 15:53:11 [5] DEBUG: AT2[S55]: -- AT+CMGS=44^M 2004-05-12 15:53:11 [5] DEBUG: AT2[S55]: write failed with errno 5 2004-05-12 15:53:17 [5] DEBUG: AT2[S55]: send command status: -1 2004-05-12 15:53:17 [5] DEBUG: AT2[S55]: sending DLR type NACK 2004-05-12 15:53:17 [8] DEBUG: send_msg: sending msg to boxc: (null) 2004-05-12 15:53:17 [8] DEBUG: boxc_sender: sent message to 127.0.0.1 2004-05-12 15:53:17 [7] DEBUG: boxc_receiver: got ack Next message 2004-05-12 15:57:56 [7] DEBUG: boxc_receiver: sms received 2004-05-12 15:57:57 [5] DEBUG: AT2[S55]: TP-Validity-Period: 24.0 hours 2004-05-12 15:57:57 [5] DEBUG: AT2[S55]: -- AT+CMGS=27^M 2004-05-12 15:57:57 [5] DEBUG: AT2[S55]: write failed with errno 5 2004-05-12 15:58:03 [5] DEBUG: AT2[S55]: send command status: -1 2004-05-12 15:58:03 [5] DEBUG: AT2[S55]: -- AT+CMGS=27^M 2004-05-12 15:58:03 [5] DEBUG: AT2[S55]: write failed with errno 5 2004-05-12 15:58:09 [5] DEBUG: AT2[S55]: send command status: -1 2004-05-12 15:58:09 [5] DEBUG: AT2[S55]: -- AT+CMGS=27^M 2004-05-12 15:58:09 [5] DEBUG: AT2[S55]: write failed with errno 5 2004-05-12 15:58:15 [5] DEBUG: AT2[S55]: send command status: -1 2004-05-12 15:58:15 [5] DEBUG: AT2[S55]: sending DLR type NACK 2004-05-12 15:58:15 [8] DEBUG: send_msg: sending msg to boxc: (null) 2004-05-12 15:58:15 [8] DEBUG: boxc_sender: sent message to 127.0.0.1 2004-05-12 15:58:15 [7] DEBUG: boxc_receiver: got ack
DLR storage question
I've been reading the archives related to DLR and MySQL and I think I have everything straightened out but for one thing. How do you update the status in the dlrurl script? Here's the steps I've followed so far -created a table for storing the sms messages. I use the primary key to pass into the dlr url along with the kannel status -created a dlr table: smsc| varchar(40) | ts | varchar(40) | destination | varchar(40) | service | varchar(40) | url | varchar(255) | mask| int(10) | status | int(10) | boxc| varchar(40) | source | varchar(40) -include dlrmask and dlrurl in the sendsms url: /cgi-bin/sendsms?to=568574text=testingdlrmask=31dlrurl=http:// localhost/dlr.php?type=%did=$id (not url encoded for display purposes) Where id is the unique id for the message. -The problem is that I don't know what to key on in my query to update the status? eg update dlr set status=$id where no_clue = 'unique_key' /Paul
OT: Siemens S55 Technical reference
Hi, I'm using a Siemens S55 with Kannel. So far so good. I was checking the Siemens site for a technical reference and could not find one. I also sent Siemens North America an email and they indicated that such a document was not available. I find it a bit hard to believe. Has anyone on the list list come across such a document. Or, is it just a matter of trial and error. I would like to know for certain the proper initialization code and support at commands for the phone. /Paul PS: I should have followed peoples advice and purchased a Nokia (but I wanted bluetooth).
Re: Compiling under freebsd 5.1
That did the trick. I did read the requirements but for some reason I didn't clue in that freebsd wasn't using gmake. Thanks, Paul On 19-Apr-04, at 7:22 AM, Dziugas Baltrunas wrote: Hi, you should use GNU make (gmake) instead of FreeBSD's make utility. This is noted in the userguide. regards, Dziugas Baltrunas On Fri, 16 Apr 2004, Paul Wolstenholme wrote: Greetings, I was wondering if anyone has successfully compiled kannel 1.3.1 under FreeBSD 5.1. Or if someone might have some suggestions on what I might try to get it to compile . /Paul It doesn't seem to want to compile for me: sudo env CFLAGS='-Wall -O2 -g' ./configure --with-malloc=native --enable-start-stop-daemon=no creating cache ./config.cache Configuring for Kannel gateway version 1.3.1 ... Running system checks ... checking host system type... i386-unknown-freebsd5.1 checking for gcc... gcc checking whether the C compiler (gcc -Wall -O2 -g ) works... yes checking whether the C compiler (gcc -Wall -O2 -g ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking for convert... no checking for perl... /usr/bin/perl checking for log in -lm... yes checking for accept in -lsocket... no checking for inet_ntoa in -lnsl... no checking for inet_ntop in -lresolv... no checking for inet_ntop in -lbind... no checking for pthread_exit in -lpthread... no checking for libiconv in -liconv... no checking for pthread_exit in -lc_r... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/poll.h... yes checking for pthread.h... yes checking for getopt.h... yes checking for syslog.h... yes checking for iconv.h... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for getopt_long... yes checking for getopt... yes checking for socklen_t in sys/socket.h... yes checking for getopt in stdio.h... no checking for getopt in unistd.h... yes Checking POSIX threads support ... checking for working pthreads... yes Checking for libxml2 support ... checking for xml2-config... /usr/local/bin/xml2-config checking libxml version... 2.6.8 Configuring DocBook support ... checking for jade... no checking for jadetex... no checking for pdfjadetex... no checking for dvips... no checking for fig2dev... no checking for convert... no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/ docbook.dsl... no checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/html/ docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/ docbook.dsl... no checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/print/ docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no Not building documentation. Configuring parameters ... checking which malloc to use... native malloc enabling local time Configuring OpenSSL support ... checking whether to compile with SSL support... trying /usr/lib /usr/include/openssl checking for openssl... /usr/bin/openssl checking for CRYPTO_lock in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking for SSL_connect in -lssl... yes checking for openssl/x509.h... yes checking for openssl/rsa.h... yes checking for openssl/crypto.h... yes checking for openssl/pem.h... yes checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking whether
Compiling under freebsd 5.1
Greetings, I was wondering if anyone has successfully compiled kannel 1.3.1 under FreeBSD 5.1. Or if someone might have some suggestions on what I might try to get it to compile . /Paul It doesn't seem to want to compile for me: sudo env CFLAGS='-Wall -O2 -g' ./configure --with-malloc=native --enable-start-stop-daemon=no creating cache ./config.cache Configuring for Kannel gateway version 1.3.1 ... Running system checks ... checking host system type... i386-unknown-freebsd5.1 checking for gcc... gcc checking whether the C compiler (gcc -Wall -O2 -g ) works... yes checking whether the C compiler (gcc -Wall -O2 -g ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking for yywrap in -lfl... yes checking for convert... no checking for perl... /usr/bin/perl checking for log in -lm... yes checking for accept in -lsocket... no checking for inet_ntoa in -lnsl... no checking for inet_ntop in -lresolv... no checking for inet_ntop in -lbind... no checking for pthread_exit in -lpthread... no checking for libiconv in -liconv... no checking for pthread_exit in -lc_r... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/poll.h... yes checking for pthread.h... yes checking for getopt.h... yes checking for syslog.h... yes checking for iconv.h... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for getopt_long... yes checking for getopt... yes checking for socklen_t in sys/socket.h... yes checking for getopt in stdio.h... no checking for getopt in unistd.h... yes Checking POSIX threads support ... checking for working pthreads... yes Checking for libxml2 support ... checking for xml2-config... /usr/local/bin/xml2-config checking libxml version... 2.6.8 Configuring DocBook support ... checking for jade... no checking for jadetex... no checking for pdfjadetex... no checking for dvips... no checking for fig2dev... no checking for convert... no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/html/ docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/html/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl... no checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.59/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /usr/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no checking for /usr/local/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/ docbook.dsl... no checking for /usr/local/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets-1.59/print/ docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl-stylesheets/print/docbook.dsl... no checking for /usr/local/share/sgml/docbook/dsssl/modular/print/docbook.dsl... no Not building documentation. Configuring parameters ... checking which malloc to use... native malloc enabling local time Configuring OpenSSL support ... checking whether to compile with SSL support... trying /usr/lib /usr/include/openssl checking for openssl... /usr/bin/openssl checking for CRYPTO_lock in -lcrypto... yes checking for SSL_library_init in -lssl... yes checking for SSL_connect in -lssl... yes checking for openssl/x509.h... yes checking for openssl/rsa.h... yes checking for openssl/crypto.h... yes checking for openssl/pem.h... yes checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking whether the OpenSSL library is multithread-enabled... yes checking whether to compile with SSL support... yes Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled Generating output files ... updating cache ./config.cache creating
Handset recommendation
Greetings, I'm new to the list and kannel. I would like to set up kannel as an SMSC. For development, I was intending on using a handset (eventually switching to a GSM modem). My service provider has a limited selection of handsets and I'm have a toss up between the Nokia 7210 and the Siemens S55. Are either of these two preferable over the other -- ie reliability, features, ease of use? Thanks, Paul
RE: Decoding MMS PDUs
If anyone could point me to a useful discussion, worked example, or specification for this, I would be grateful. Look at the WSP multipart encoding specification.
Re: wapbox crashed on Assertion `ostr != NULL' failed
Replying to Yury Mikhienko: Hi all! Some time of time I see crash of wapbox (kannel-v1.2.1): 2004-02-17 11:22:31 [7] ERROR: parse_http_date () Expiry time (Thu Jan 1 01:00:00 1970 ) (delta=-1077013351) is in the past ! 2004-02-17 11:22:31 [7] ERROR: parse_http_date () Expiry time (Thu Jan 1 01:00:00 1970 ) (delta=-1077013351) is in the past ! 2004-02-17 11:22:31 [7] PANIC: gwlib/octstr.c:2118: seems_valid_real: Assertion `ostr != NULL' failed. (Called from gwlib/octstr.c:746:octstr_compare.) How I can solve that? I can not find any differents in octstr.c/seems_valid_real, octstr.c/octstr_compare in CVS version and 1.2.1 version... To fix the bug we should know not the reason of crash but the reason of assertion failure. the messages you posted mean that octstr_compare was called with one of its operands == NULL, so we actually need a backtrace here. -- Paul P 'Stingray' Komkoff Jr // http://stingr.net/key - my pgp key This message represents the official view of the voices in my head
Problem with bearerbox start
: sms_router: list_len = 2 2004-01-19 01:49:26 [6] DEBUG: AT2[/dev/cuaa1]: -- AT^M 2004-01-19 01:49:26 [6] DEBUG: AT2[/dev/cuaa1]: -- OK 2004-01-19 01:49:26 [6] DEBUG: AT2[/dev/cuaa1]: -- AT+CPMS?^M 2004-01-19 01:49:26 [6] DEBUG: AT2[/dev/cuaa1]: -- +CPMS: SM,0,20,SM,0,20 2004-01-19 01:49:26 [6] DEBUG: AT2[/dev/cuaa1]: -- OK 2004-01-19 01:49:26 [6] PANIC: gwlib/octstr.c:1256: octstr_append_char: Assertion `ch = UCHAR_MAX' failed. Cheers, Paul Tan [EMAIL PROTECTED]
RE: UDH in the USA
I installed a kannel (snapshot version)in a cygwin environment. I'm using an Ericsson T68i with an ATT SIM. When I receive SMS messages with UDH, it seems that the UDH is not in X-Kannel-UDH, but is rather prepended to the message itself. When sending SMS messages with UDH through the kannel, I receive weird character before the actual message (which suggests that the UDH is prepended here as well). The messages are sent to / received from a different network (from outside the US). Anyone has any insight on this? Yes. I've experienced problems trying to send any SMSs containing UDH into the US. I'm not sure if the network is ATT, I'll check. The symptoms are exactly as you describe. Best guess is that the interop node is broken somewhere, somehow.
Kannel+Wavecom works under Cygwin but not Redhat 7.3
Hi, I'm using Kannel 1.2.1 Stable with a Wavecom GSM modem. Somehow I can receive SMSes but when I want to send out SMSes, I can't. The following are the errors that bearerbox echos in it's console logging. I've even tried 1.3.1 but it doesn't work. However, Kannel 1.2.1 Cygwin works perfectly. Anyone know what's the problem and how do I go about solving it? 2003-09-13 12:57:24 [5] INFO: AT2[/dev/usb/ttyUSB0]: AT SMSC successfully opened. 2003-09-13 12:57:26 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- AT+CPMS?^M 2003-09-13 12:57:26 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- +CPMS: SM,0,20,SM,0,20 2003-09-13 12:57:26 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- OK 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- +CMT: ,24 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 0791062110F5040B910621026052F43090312185112305C8329BFD06 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: Numeric sender (international) +60122006254 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- AT+CNMA^M 2003-09-13 12:58:23 [8] DEBUG: boxc_sender: sent message to 127.0.0.1 2003-09-13 12:58:23 [7] DEBUG: boxc_receiver: sms received 2003-09-13 12:58:23 [7] DEBUG: boxc_receiver: got ack 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- OK 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: TP-Validity-Period: 24.0 hours 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- AT+CMGS=44^M 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: send command status: 1 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 0011000B910621026052F4A722C8329BFD06D1DFA0FCBB0EA2BFDFA0924C6883C5643218 CC26ABD140BA14 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- ^Z 2003-09-13 12:58:23 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- ERROR 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: send command status: -1 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- AT+CMGS=44^M 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: send command status: 1 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 0011000B910621026052F4A722C8329BFD06D1DFA0FCBB0EA2BFDFA0924C6883C5643218 CC26ABD140BA14 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- ^Z 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- ERROR 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: send command status: -1 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- AT+CMGS=44^M 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: send command status: 1 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 0011000B910621026052F4A722C8329BFD06D1DFA0FCBB0EA2BFDFA0924C6883C5643218 CC26ABD140BA14 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- ^Z 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- ERROR 2003-09-13 12:58:24 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: send command status: -1 2003-09-13 12:58:28 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- AT+CPMS?^M 2003-09-13 12:58:28 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- +CPMS: SM,0,20,SM,0,20 2003-09-13 12:58:28 [5] DEBUG: AT2[/dev/usb/ttyUSB0]: -- OK -- Paul Tan [EMAIL PROTECTED]