Re: how to implement servlt to kannel to add the utf-8 codaging
On Thu, Jul 22, 2010 at 2:16 PM, gasmen xma...@live.com wrote: HI all i am using kannel 1.4.3 and i see that kannel dont support some characters like the frensh .for this i am looking ho to add servlet to implement utf-8 encoding ;that means i am using myeclipse to devoleop it and i ask exactly how is the form of the request and the respons i will use for this servlet??? When you send the http request to kannel you have to URL encode all the text fields. This means that you will set the message text as utf-8 text, and then do URL encoding before creating the sendsms url for kannel. for example: String messageText = URLEncoder.encode(UTF-8 encoded text, UTF-8) String sendsmsURL = http://localhost:13131/cgi-bin/sendsms?username=...password=...text=; + messageText; BR, Jovan
Re: SMS message ids in delivery report
Many Thanks Nikos. This solved the problem immediately. Adam On Thu, 22 Jul 2010 19:51:59 +0300 Nikos Balkanas nbalka...@gmail.com wrote: Hi, Please read User's guide about msg-id-type. BR, Nikos - Original Message - From: Adam Di Blasio adam.dibla...@adiqglobal.com To: users@kannel.org Sent: Thursday, July 22, 2010 7:15 PM Subject: SMS message ids in delivery report Hi, I am trying to use DLR reports through SMPP but have noticed that the SMSC returns a hex id with submit_sm_resp and a decimal id with deliver_sm: 2010-07-22 15:42:37 [6284] [8] DEBUG: SMPP PDU 0x81af020 dump: 2010-07-22 15:42:37 [6284] [8] DEBUG: type_name: submit_sm_resp 2010-07-22 15:42:37 [6284] [8] DEBUG: command_id: 2147483652 = 0x8004 2010-07-22 15:42:37 [6284] [8] DEBUG: command_status: 0 = 0x 2010-07-22 15:42:37 [6284] [8] DEBUG: sequence_number: 3 = 0x0003 2010-07-22 15:42:37 [6284] [8] DEBUG: message_id: 70767AFF 2010-07-22 15:42:41 [6284] [9] DEBUG: SMPP PDU 0x81af020 dump: 2010-07-22 15:42:41 [6284] [9] DEBUG: type_name: deliver_sm 2010-07-22 15:42:41 [6284] [9] DEBUG: command_id: 5 = 0x0005 ... 2010-07-22 15:42:41 [6284] [9] DEBUG: data: 69 64 3a 31 38 38 36 38 31 32 39 32 37 20 73 75 id:1886812927 When looking at the source in gw/smsc/smsc_smpp.c lines 1365 - 1392 (cvs version) I can see that kannel attempts to convert the id's so that they match - unfortunately this does not appear to be happening. Short of taking this up with the SMSC provider I wanted to see if anyone else had come across this problem and found a workaround? Kind Regards -- ADAM DI BLASIO -- ADAM DI BLASIO adam.dibla...@adiqglobal.com T +44 (0)20 7729 0700 F +44 (0)20 7729 1619 UNIT 4.02 · THE TEA BUILDING 56 SHOREDITCH HIGH STREET · LONDON · E1 6JJ · UK WWW.ADIQGLOBAL.COM
smppbox binding problem :: Invalid SMPP PDU received
Hi guys, I have a problem. I've built smppbox from cvs repository and have problems when smpp client tried to bind it. For smpp client I use php pear class NET_SMPP_Client. Whenever I try to bind it it says couldn't bind. In smpplog file is the following: 2010-07-23 11:26:39 [3870] [9] INFO: Client connected from 127.0.0.1 2010-07-23 11:26:39 [3870] [9] DEBUG: Connecting to 127.0.0.1 2010-07-23 11:26:39 [3870] [9] INFO: Connected to bearerbox at localhost port 13777. 2010-07-23 11:26:39 [3870] [9] DEBUG: Started thread 10 (smppbox.c:smpp_to_bearerbox) 2010-07-23 11:26:39 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) maps to pid 3870. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x8183180 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2 = 0x0002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: password: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: system_type: SMPP 2010-07-23 11:26:40 [3870] [10] DEBUG: interface_version: 52 = 0x0034 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_ton: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_npi: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: address_range: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Sending PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x81832b8 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter_resp 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2147483650 = 0x8002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 13 = 0x000d 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:27:41 [3870] [10] ERROR: Invalid SMPP PDU received. 2010-07-23 11:27:41 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) terminates. Please help. Thank you, Imran _ http://clk.atdmt.com/UKM/go/19780/direct/01/ Do you have a story that started on Hotmail? Tell us now
smppbox binding problem :: Invalid SMPP PDU received
Hi guys, I have a problem. I've built smppbox from cvs repository and have problems when smpp client tried to bind it. For smpp client I use php pear class NET_SMPP_Client. Whenever I try to bind it it says couldn't bind. In smpplog file is the following: 2010-07-23 11:26:39 [3870] [9] INFO: Client connected from 127.0.0.1 2010-07-23 11:26:39 [3870] [9] DEBUG: Connecting to 127.0.0.1 2010-07-23 11:26:39 [3870] [9] INFO: Connected to bearerbox at localhost port 13777. 2010-07-23 11:26:39 [3870] [9] DEBUG: Started thread 10 (smppbox.c:smpp_to_bearerbox) 2010-07-23 11:26:39 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) maps to pid 3870. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x8183180 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2 = 0x0002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: password: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: system_type: SMPP 2010-07-23 11:26:40 [3870] [10] DEBUG: interface_version: 52 = 0x0034 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_ton: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_npi: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: address_range: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Sending PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x81832b8 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter_resp 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2147483650 = 0x8002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 13 = 0x000d 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:27:41 [3870] [10] ERROR: Invalid SMPP PDU received. 2010-07-23 11:27:41 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) terminates. Please help. Thank you, Imran Get a free e-mail account with Hotmail. Sign-up now. _ http://clk.atdmt.com/UKM/go/19780/direct/01/ Do you have a story that started on Hotmail? Tell us now
RE: smppbox binding problem :: Invalid SMPP PDU received
1. The login data that your client uses is invalid. Check your smpplogins file for the tuple aldo2, aldo2, SMPP. 2. Smppbox is not in cvs repository but svn. 3. You have old smppbox code. Do a svn update or checkout anew for the latest version. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 11:44 To: users@kannel.org Subject: smppbox binding problem :: Invalid SMPP PDU received Hi guys, I have a problem. I've built smppbox from cvs repository and have problems when smpp client tried to bind it. For smpp client I use php pear class NET_SMPP_Client. Whenever I try to bind it it says couldn't bind. In smpplog file is the following: 2010-07-23 11:26:39 [3870] [9] INFO: Client connected from 127.0.0.1 2010-07-23 11:26:39 [3870] [9] DEBUG: Connecting to 127.0.0.1 2010-07-23 11:26:39 [3870] [9] INFO: Connected to bearerbox at localhost port 13777. 2010-07-23 11:26:39 [3870] [9] DEBUG: Started thread 10 (smppbox.c:smpp_to_bearerbox) 2010-07-23 11:26:39 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) maps to pid 3870. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x8183180 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2 = 0x0002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: password: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: system_type: SMPP 2010-07-23 11:26:40 [3870] [10] DEBUG: interface_version: 52 = 0x0034 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_ton: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_npi: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: address_range: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Sending PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x81832b8 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter_resp 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2147483650 = 0x8002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 13 = 0x000d 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:27:41 [3870] [10] ERROR: Invalid SMPP PDU received. 2010-07-23 11:27:41 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) terminates. Please help. Thank you, Imran _ Get a free e-mail account with Hotmail. Sign-up http://clk.atdmt.com/UKM/go/19780/direct/01/ now.
Re: how to implement servlt to kannel to add the utf-8 codaging
Jovan Kostovski-2 wrote: On Thu, Jul 22, 2010 at 2:16 PM, gasmen xma...@live.com wrote: HI all i am using kannel 1.4.3 and i see that kannel dont support some characters like the frensh .for this i am looking ho to add servlet to implement utf-8 encoding ;that means i am using myeclipse to devoleop it and i ask exactly how is the form of the request and the respons i will use for this servlet??? When you send the http request to kannel you have to URL encode all the text fields. This means that you will set the message text as utf-8 text, and then do URL encoding before creating the sendsms url for kannel. for example: String messageText = URLEncoder.encode(UTF-8 encoded text, UTF-8) String sendsmsURL = http://localhost:13131/cgi-bin/sendsms?username=...password=...text=; + messageText; BR, Jovan HI so i will create java servlet and i will upload it in tomcat and get the url of this servlet!!! after that how i will return the message with utf?? please explain to me more!!! -- View this message in context: http://old.nabble.com/how-to-implement-servlet-to-kannel-to-add-the-utf-8-coding-tp29236163p29246213.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: smppbox binding problem :: Invalid SMPP PDU received
Hello, I think the system-type configuration should be - system-type = VMA or system-type = depending on your service provider. Regards, Perumaal.K On Fri, Jul 23, 2010 at 3:14 PM, Imran Aghayev imran.agha...@hotmail.co.ukwrote: Hi guys, I have a problem. I've built smppbox from cvs repository and have problems when smpp client tried to bind it. For smpp client I use php pear class NET_SMPP_Client. Whenever I try to bind it it says couldn't bind. In smpplog file is the following: 2010-07-23 11:26:39 [3870] [9] INFO: Client connected from 127.0.0.1 2010-07-23 11:26:39 [3870] [9] DEBUG: Connecting to 127.0.0.1 2010-07-23 11:26:39 [3870] [9] INFO: Connected to bearerbox at localhost port 13777. 2010-07-23 11:26:39 [3870] [9] DEBUG: Started thread 10 (smppbox.c:smpp_to_bearerbox) 2010-07-23 11:26:39 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) maps to pid 3870. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x8183180 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2 = 0x0002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: password: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: system_type: SMPP 2010-07-23 11:26:40 [3870] [10] DEBUG: interface_version: 52 = 0x0034 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_ton: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_npi: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: address_range: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Sending PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x81832b8 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter_resp 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2147483650 = 0x8002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 13 = 0x000d 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:27:41 [3870] [10] ERROR: Invalid SMPP PDU received. 2010-07-23 11:27:41 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) terminates. Please help. Thank you, Imran -- Get a free e-mail account with Hotmail. Sign-up now.http://clk.atdmt.com/UKM/go/19780/direct/01/
Re: how to implement servlt to kannel to add the utf-8 codaging
gasmen wrote: Jovan Kostovski-2 wrote: On Thu, Jul 22, 2010 at 2:16 PM, gasmen xma...@live.com wrote: HI all i am using kannel 1.4.3 and i see that kannel dont support some characters like the frensh .for this i am looking ho to add servlet to implement utf-8 encoding ;that means i am using myeclipse to devoleop it and i ask exactly how is the form of the request and the respons i will use for this servlet??? When you send the http request to kannel you have to URL encode all the text fields. This means that you will set the message text as utf-8 text, and then do URL encoding before creating the sendsms url for kannel. for example: String messageText = URLEncoder.encode(UTF-8 encoded text, UTF-8) String sendsmsURL = http://localhost:13131/cgi-bin/sendsms?username=...password=...text=; + messageText; BR, Jovan HI so i will create java servlet and i will upload it in tomcat and get the url of this servlet!!! after that how i will return the message with utf?? please explain to me more!!! you need to know that i am not using url to send messages !!! am using the group = sms smsc = fake -- View this message in context: http://old.nabble.com/how-to-implement-servlet-to-kannel-to-add-the-utf-8-coding-tp29236163p29246317.html Sent from the Kannel - User mailing list archive at Nabble.com.
RE: smppbox binding problem :: Invalid SMPP PDU received
Urm, not really. The question was about smppbox, not Kannel as SMPP client. In this case Kannel is the service provider. Documentation can be made from the smppbox source tree. There is a section about what system-type means. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Perumaal Krishnaraj Sent: vrijdag 23 juli 2010 11:57 To: users@kannel.org; Imran Aghayev Subject: Re: smppbox binding problem :: Invalid SMPP PDU received Hello, I think the system-type configuration should be - system-type = VMA or system-type = depending on your service provider. Regards, Perumaal.K On Fri, Jul 23, 2010 at 3:14 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: Hi guys, I have a problem. I've built smppbox from cvs repository and have problems when smpp client tried to bind it. For smpp client I use php pear class NET_SMPP_Client. Whenever I try to bind it it says couldn't bind. In smpplog file is the following: 2010-07-23 11:26:39 [3870] [9] INFO: Client connected from 127.0.0.1 2010-07-23 11:26:39 [3870] [9] DEBUG: Connecting to 127.0.0.1 2010-07-23 11:26:39 [3870] [9] INFO: Connected to bearerbox at localhost port 13777. 2010-07-23 11:26:39 [3870] [9] DEBUG: Started thread 10 (smppbox.c:smpp_to_bearerbox) 2010-07-23 11:26:39 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) maps to pid 3870. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x8183180 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2 = 0x0002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: password: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: system_type: SMPP 2010-07-23 11:26:40 [3870] [10] DEBUG: interface_version: 52 = 0x0034 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_ton: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_npi: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: address_range: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Sending PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x81832b8 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter_resp 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2147483650 = 0x8002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 13 = 0x000d 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:27:41 [3870] [10] ERROR: Invalid SMPP PDU received. 2010-07-23 11:27:41 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) terminates. Please help. Thank you, Imran _ Get a free e-mail account with Hotmail. Sign-up http://clk.atdmt.com/UKM/go/19780/direct/01/ now.
dlr table always empty
I have sqlbox running. I have dlr table which is always empty. How to request delivery report and how-to have that table filled wih delivery report data ? Imran _ http://clk.atdmt.com/UKM/go/19780/direct/01/ Do you have a story that started on Hotmail? Tell us now
Re: dlr table always empty
You're mixing things. The dlr table is used internally by Kannel to keep track of the _pending_ dlrs. As soon as they're received, the dlrs are deleted from the table. You need to create a simple web application to store it, and point dlr-url to it. Regards, Alex On Fri, Jul 23, 2010 at 1:55 PM, Imran Aghayev imran.agha...@hotmail.co.ukwrote: I have sqlbox running. I have dlr table which is always empty. How to request delivery report and how-to have that table filled wih delivery report data ? Imran -- Get a free e-mail account with Hotmail. Sign-up now.http://clk.atdmt.com/UKM/go/19780/direct/01/
RE: smppbox binding problem :: what is system_type ?
One more question. Smppbox is possible to obtain only through svn and not from 'Download' section of Kannel website. What is the reason for that ? It is free for personal use ? And what about commercial use ? Thanks From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk Subject: RE: smppbox binding problem :: what is system_type ? Date: Fri, 23 Jul 2010 14:24:04 +0200 Vma stands for voicemail activation. It is a standard “system-type” that a lot of providers use, but opensmppbox does not. As for your other questions: They are covered in the opensmppbox userguide. A copy can be found: http://www.chimit.nl/kannel/userguide.pdf. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 13:47 To: users@kannel.org Subject: RE: smppbox binding problem :: what is system_type ? Hi there, Thanks to Rene, password was wrong. It is working now. Have more questions: In my smppbox.conf I have smppbox-id = SMPP Router then our-system-id = aldo2 In smpplogins.txt I have aldo2 aldo2 SMPP and client required system_id, password and system_type Now questions: 1. What is third parameter in smpplogins.txt? 2. Why in default smpplogins.txt third parameter shown as vma and what is vma? 3. What is 4th parameter (127.0.0.1) in smpplogins.txt ? 4. What is system-type ? 5. Is our-system-id and system_type are same things ? 6. what purpose is smppbox-id ? 7. Is smppbox-id and system_type are same things ? Imran From: rene.klu...@chimit.nl To: perumaa...@gmail.com; users@kannel.org; imran.agha...@hotmail.co.uk Subject: RE: smppbox binding problem :: Invalid SMPP PDU received Date: Fri, 23 Jul 2010 13:06:57 +0200 Urm, not really. The question was about smppbox, not Kannel as SMPP client. In this case Kannel is the service provider. Documentation can be made from the smppbox source tree. There is a section about what system-type means. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Perumaal Krishnaraj Sent: vrijdag 23 juli 2010 11:57 To: users@kannel.org; Imran Aghayev Subject: Re: smppbox binding problem :: Invalid SMPP PDU received Hello, I think the system-type configuration should be - system-type = VMA or system-type = depending on your service provider. Regards, Perumaal.K On Fri, Jul 23, 2010 at 3:14 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: Hi guys, I have a problem. I've built smppbox from cvs repository and have problems when smpp client tried to bind it. For smpp client I use php pear class NET_SMPP_Client. Whenever I try to bind it it says couldn't bind. In smpplog file is the following: 2010-07-23 11:26:39 [3870] [9] INFO: Client connected from 127.0.0.1 2010-07-23 11:26:39 [3870] [9] DEBUG: Connecting to 127.0.0.1 2010-07-23 11:26:39 [3870] [9] INFO: Connected to bearerbox at localhost port 13777. 2010-07-23 11:26:39 [3870] [9] DEBUG: Started thread 10 (smppbox.c:smpp_to_bearerbox) 2010-07-23 11:26:39 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) maps to pid 3870. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x8183180 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2 = 0x0002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: password: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: system_type: SMPP 2010-07-23 11:26:40 [3870] [10] DEBUG: interface_version: 52 = 0x0034 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_ton: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_npi: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: address_range: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Sending PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x81832b8 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter_resp 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2147483650 = 0x8002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 13 = 0x000d 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:27:41 [3870] [10] ERROR: Invalid SMPP PDU received. 2010-07-23 11:27:41 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) terminates. Please help. Thank you, Imran Get a free e-mail account with Hotmail. Sign-up now. Get a new e-mail account with
RE: smppbox binding problem :: what is system_type ?
There is no reason for open smppbox not being downloadable in particular, other than that it is too much a hassle to update the packages there if something in the source code changes. Development goes fast and until now, changes are made every week. Also, the maintainers of the website are different from the maintainers of the individual packages. So this setup saves us both work. Licensing is the same as Kannel, so free for both personal and commercial use. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 14:28 To: users@kannel.org Subject: RE: smppbox binding problem :: what is system_type ? One more question. Smppbox is possible to obtain only through svn and not from 'Download' section of Kannel website. What is the reason for that ? It is free for personal use ? And what about commercial use ? Thanks _ From: rene.klu...@chimit.nl To: imran.agha...@hotmail.co.uk Subject: RE: smppbox binding problem :: what is system_type ? Date: Fri, 23 Jul 2010 14:24:04 +0200 Vma stands for voicemail activation. It is a standard system-type that a lot of providers use, but opensmppbox does not. As for your other questions: They are covered in the opensmppbox userguide. A copy can be found: http://www.chimit.nl/kannel/userguide.pdf. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 13:47 To: users@kannel.org Subject: RE: smppbox binding problem :: what is system_type ? Hi there, Thanks to Rene, password was wrong. It is working now. Have more questions: In my smppbox.conf I have smppbox-id = SMPP Router then our-system-id = aldo2 In smpplogins.txt I have aldo2 aldo2 SMPP and client required system_id, password and system_type Now questions: 1. What is third parameter in smpplogins.txt? 2. Why in default smpplogins.txt third parameter shown as vma and what is vma? 3. What is 4th parameter (127.0.0.1) in smpplogins.txt ? 4. What is system-type ? 5. Is our-system-id and system_type are same things ? 6. what purpose is smppbox-id ? 7. Is smppbox-id and system_type are same things ? Imran _ From: rene.klu...@chimit.nl To: perumaa...@gmail.com; users@kannel.org; imran.agha...@hotmail.co.uk Subject: RE: smppbox binding problem :: Invalid SMPP PDU received Date: Fri, 23 Jul 2010 13:06:57 +0200 Urm, not really. The question was about smppbox, not Kannel as SMPP client. In this case Kannel is the service provider. Documentation can be made from the smppbox source tree. There is a section about what system-type means. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Perumaal Krishnaraj Sent: vrijdag 23 juli 2010 11:57 To: users@kannel.org; Imran Aghayev Subject: Re: smppbox binding problem :: Invalid SMPP PDU received Hello, I think the system-type configuration should be - system-type = VMA or system-type = depending on your service provider. Regards, Perumaal.K On Fri, Jul 23, 2010 at 3:14 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: Hi guys, I have a problem. I've built smppbox from cvs repository and have problems when smpp client tried to bind it. For smpp client I use php pear class NET_SMPP_Client. Whenever I try to bind it it says couldn't bind. In smpplog file is the following: 2010-07-23 11:26:39 [3870] [9] INFO: Client connected from 127.0.0.1 2010-07-23 11:26:39 [3870] [9] DEBUG: Connecting to 127.0.0.1 2010-07-23 11:26:39 [3870] [9] INFO: Connected to bearerbox at localhost port 13777. 2010-07-23 11:26:39 [3870] [9] DEBUG: Started thread 10 (smppbox.c:smpp_to_bearerbox) 2010-07-23 11:26:39 [3870] [10] DEBUG: Thread 10 (smppbox.c:smpp_to_bearerbox) maps to pid 3870. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Got PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x8183180 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id: 2 = 0x0002 2010-07-23 11:26:40 [3870] [10] DEBUG: command_status: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: sequence_number: 1 = 0x0001 2010-07-23 11:26:40 [3870] [10] DEBUG: system_id: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: password: aldo2 2010-07-23 11:26:40 [3870] [10] DEBUG: system_type: SMPP 2010-07-23 11:26:40 [3870] [10] DEBUG: interface_version: 52 = 0x0034 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_ton: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: addr_npi: 0 = 0x 2010-07-23 11:26:40 [3870] [10] DEBUG: address_range: NULL 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU dump ends. 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP[SMPP Router]: Sending PDU: 2010-07-23 11:26:40 [3870] [10] DEBUG: SMPP PDU 0x81832b8 dump: 2010-07-23 11:26:40 [3870] [10] DEBUG: type_name: bind_transmitter_resp 2010-07-23 11:26:40 [3870] [10] DEBUG: command_id:
smppbox and sms-service
Guys, When I send sms through smppbox it is routed and delivered to the handset through route-to-smsc but I need it to fall into sms-service and trigger get-url. How can I make smppbox pass messages to sms-service ? Thanks _ http://clk.atdmt.com/UKM/go/19780/direct/01/ Do you have a story that started on Hotmail? Tell us now
RE: smppbox and sms-service
The short answer: opensmppbox doesn't support this feature. Look the archives for the commercial smppbox. I am not really sure of it, but chances are that that one will work with your setup. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 14:36 To: users@kannel.org Subject: smppbox and sms-service Guys, When I send sms through smppbox it is routed and delivered to the handset through route-to-smsc but I need it to fall into sms-service and trigger get-url. How can I make smppbox pass messages to sms-service ? Thanks _ Get a new e-mail account with Hotmail - Free. Sign-up http://clk.atdmt.com/UKM/go/19780/direct/01/ now.
Re: dlr table always empty
Sorry I forgot that second point which Alex made. If you want to do any sort of extra processing or storage then you need to create the other end of the dlr-url parameter. Use something like java servlet or a php script. Look in the userguide to see how to get those values again. Regards, On Fri, Jul 23, 2010 at 2:20 PM, Alejandro Guerrieri alejandro.guerri...@gmail.com wrote: You're mixing things. The dlr table is used internally by Kannel to keep track of the _pending_ dlrs. As soon as they're received, the dlrs are deleted from the table. You need to create a simple web application to store it, and point dlr-url to it. Regards, Alex On Fri, Jul 23, 2010 at 1:55 PM, Imran Aghayev imran.agha...@hotmail.co.uk wrote: I have sqlbox running. I have dlr table which is always empty. How to request delivery report and how-to have that table filled wih delivery report data ? Imran -- Get a free e-mail account with Hotmail. Sign-up now.http://clk.atdmt.com/UKM/go/19780/direct/01/
MO and smppbox
Hi, If message is Mobile Originated (sent from mobile phone) and received inside kannel from SMSC how to deliver it to ESME connected to smppbox ? Thanks _ http://clk.atdmt.com/UKM/go/19780/direct/01/ Do you have a story that started on Hotmail? Tell us now
RE: MO and smppbox
Look for group = smsbox-route in Kannel's userguide. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 15:37 To: users@kannel.org Subject: MO and smppbox Hi, If message is Mobile Originated (sent from mobile phone) and received inside kannel from SMSC how to deliver it to ESME connected to smppbox ? Thanks _ Get a free e-mail account with Hotmail. Sign-up http://clk.atdmt.com/UKM/go/19780/direct/01/ now.
generic http smsc and delivery reports
Hi, I have generic http based smsc configured in kannel. How can I make delivery reports working for such smsc and report it back to sme ? Thanks _ http://clk.atdmt.com/UKM/go/19780/direct/01/ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
Re: generic http smsc and delivery reports
Hi, You need to configure the http_smsc for MO traffic. You should use system-type kannel. Look to User's guide for more help. BR, Nikos - Original Message - From: Imran Aghayev To: users@kannel.org Sent: Friday, July 23, 2010 5:06 PM Subject: generic http smsc and delivery reports Hi, I have generic http based smsc configured in kannel. How can I make delivery reports working for such smsc and report it back to sme ? Thanks Get a free e-mail account with Hotmail. Sign-up now.
Re: smppbox and sms-service
Nope. AFAIK, smppbox doesn't offer sms-services. It is not compatible with its logic of SMPP proxy. For that, you need to forward to connected ESME and let that one do the sms-service. BR, Nikos - Original Message - From: Rene Kluwen To: 'Imran Aghayev' ; users@kannel.org Sent: Friday, July 23, 2010 3:48 PM Subject: RE: smppbox and sms-service The short answer: opensmppbox doesn’t support this feature. Look the archives for the commercial smppbox. I am not really sure of it, but chances are that that one will work with your setup. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 14:36 To: users@kannel.org Subject: smppbox and sms-service Guys, When I send sms through smppbox it is routed and delivered to the handset through route-to-smsc but I need it to fall into sms-service and trigger get-url. How can I make smppbox pass messages to sms-service ? Thanks Get a new e-mail account with Hotmail - Free. Sign-up now.
sendsms and MO message
From Userguide I found ...For MO traffic we simply expect the remote HTTP caller to use Kannel's sendsms HTTP API on the given port to inject MO messages When I call http://localhost/cgi-bin/sendsms?username=mepassword=123from=imranto=07939615261text=something I receive a message on my phone and sqlbox treats it as MT How to do MO through sendsms?? Thanks _ http://clk.atdmt.com/UKM/go/195013117/direct/01/ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
Hardware GSM Modem to use with Kannel
Hi, The GSM modem configuration using my Nokia phone is running perfictly. Thanks to everyone for the advice given. Message routing work fine and my only mistake was adding comments at the same line with configuration parameter. At this moment I wanted to buy some GMS modems (USP or other connection) for use instead of the my mobile phone. Does anyone recommend me any hardware that he's been tested with Kannel? Nice weekend for all, Cheers, Gjergji
Re: smppbox and sms-service
Then, how about renaming your box to smppsmsbox ;-) PS I was referring to your question about the features of the commercial smppbox. BR, Nikos - Original Message - From: Rene Kluwen rene.klu...@chimit.nl To: 'Nikos Balkanas' nbalka...@gmail.com; 'Imran Aghayev' imran.agha...@hotmail.co.uk; users@kannel.org Sent: Friday, July 23, 2010 6:01 PM Subject: RE: smppbox and sms-service I'm working on a solution though. -Original Message- From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: vrijdag 23 juli 2010 16:54 To: Rene Kluwen; 'Imran Aghayev'; users@kannel.org Subject: Re: smppbox and sms-service Nope. AFAIK, smppbox doesn't offer sms-services. It is not compatible with its logic of SMPP proxy. For that, you need to forward to connected ESME and let that one do the sms-service. BR, Nikos - Original Message - From: Rene Kluwen To: 'Imran Aghayev' ; users@kannel.org Sent: Friday, July 23, 2010 3:48 PM Subject: RE: smppbox and sms-service The short answer: opensmppbox doesn't support this feature. Look the archives for the commercial smppbox. I am not really sure of it, but chances are that that one will work with your setup. == Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Imran Aghayev Sent: vrijdag 23 juli 2010 14:36 To: users@kannel.org Subject: smppbox and sms-service Guys, When I send sms through smppbox it is routed and delivered to the handset through route-to-smsc but I need it to fall into sms-service and trigger get-url. How can I make smppbox pass messages to sms-service ? Thanks Get a new e-mail account with Hotmail - Free. Sign-up now.
Re: sendsms and MO message
Hi, Quoting User's guide out of context like that, leads to missinterprentations... This is part of the MO to MT redirection. Or how to convert MOs to MTs. And that's exactly what you get in your phone and sqlbox. MOs, as the name implies originate from the mobile, and the SMSc, not the sendsms interface. BR, Nikos - Original Message - From: Imran Aghayev To: users@kannel.org Sent: Friday, July 23, 2010 6:26 PM Subject: sendsms and MO message From Userguide I found ...For MO traffic we simply expect the remote HTTP caller to use Kannel's sendsms HTTP API on the given port to inject MO messages When I call http://localhost/cgi-bin/sendsms?username=mepassword=123from=imranto=07939615261text=something I receive a message on my phone and sqlbox treats it as MT How to do MO through sendsms?? Thanks Get a new e-mail account with Hotmail - Free. Sign-up now.
Re: Hardware GSM Modem to use with Kannel
Hi, People have had very good experience with the Huawei E220 USB, or the Wavecom Fasttrack serial modem. BR, Nikos - Original Message - From: Gjergji Guri To: users@kannel.org Cc: Nikos Balkanas Sent: Friday, July 23, 2010 6:30 PM Subject: Hardware GSM Modem to use with Kannel Hi, The GSM modem configuration using my Nokia phone is running perfictly. Thanks to everyone for the advice given. Message routing work fine and my only mistake was adding comments at the same line with configuration parameter. At this moment I wanted to buy some GMS modems (USP or other connection) for use instead of the my mobile phone. Does anyone recommend me any hardware that he's been tested with Kannel? Nice weekend for all, Cheers, Gjergji
Re: kannel 1.4.3 - multitech mtcba-c-n2, serial - sprint cdma ...modem error trying to open
Allways address the list. You might get better/faster support It is on sources in your gateway folder: gw/smsc/smsc_at.* Regards |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Thu, Jul 22, 2010 at 8:39 PM, Mailing Lists mailing.li...@cooperativecomputer.com wrote: on a standard install using default diretories, where does that file reside? have looked - cannot find it ... thanks ~Rich On Thu, 22 Jul 2010 08:43:50 -0500 Alvaro Cornejo cornejo.alv...@gmail.com wrote: Hi Kannel works with GSM modems not CDMA, however you can patch kannel and do a driver with specific CDMA commads. take a look at smsc_at.c it is the GSM modem driver Regards Alvaro |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com 2010/7/22 Nikos Balkanas nbalka...@gmail.com Hi, Best starting point would be to read the User's Guide from the site. It has a section dedicated to modem initialization. If after trying it out you still have specific questions, please address this list and post maximum detail relevant logs + configuration. In the meantime using a serial communication program like minicom, type the following commands to the modem: AT+CMGF=? AT+CMGF? And post output. BR, Nikos - Original Message - From: Mailing Lists mailing.li...@cooperativecomputer.com To: users@kannel.org Sent: Thursday, July 22, 2010 5:11 AM Subject: kannel 1.4.3 - multitech mtcba-c-n2, serial - sprint cdma ...modem error trying to open Hi ... am new to Kannel and the board. Looking to setup a sms gateway using a multitech mtcba-c-n2 over Sprint CDMA. am running on the latest release of Debian, 32bit. am able to communicate to the modem and send text messages via putty communicating through the serial port (ttyS0). when bearerbox starts, it sees the modem, sends the init string no problem (set to auto - it picks it up as a wavecom) but spits out an error when bearerbox pushes an AT+CMGF=0^M, then restarts the sequence. the multitech AT command reference DOES NOT have this command listed and manually trying it in putty spits out an error too - my modem does not accept this it seems! before this I was having a problem with the +CPIN command till I set the no-pin = true in modems.conf. being CDMA, I do not have a pin. I'm wondering: 1. if Kannel is compatible with AT CDMA modems and mine in particular? 2. what file do I need to edit to customize the AT commands Kannel sends to my modem? (if possible) thanks a bunch ~Rich -- Mailing Lists mailing.li...@cooperativecomputer.com -- Mailing Lists mailing.li...@cooperativecomputer.com
Re: Hardware GSM Modem to use with Kannel
Thing is, I can't see where to buy these in the US. The only GSM modem I can find is http://www.amazon.com/gp/product/B00383EMFA/ref=ord_cart_shr?ie=UTF8m=A1J7L387A6CBZG I've had bad luck with Multi-Tech MultiModem GPRS MTCBA-G-F4 under linux. On Fri, 2010-07-23 at 19:21 +0300, Nikos Balkanas wrote: Hi, People have had very good experience with the Huawei E220 USB, or the Wavecom Fasttrack serial modem. BR, Nikos - Original Message - From: Gjergji Guri To: users@kannel.org Cc: Nikos Balkanas Sent: Friday, July 23, 2010 6:30 PM Subject: Hardware GSM Modem to use with Kannel Hi, The GSM modem configuration using my Nokia phone is running perfictly. Thanks to everyone for the advice given. Message routing work fine and my only mistake was adding comments at the same line with configuration parameter. At this moment I wanted to buy some GMS modems (USP or other connection) for use instead of the my mobile phone. Does anyone recommend me any hardware that he's been tested with Kannel? Nice weekend for all, Cheers, Gjergji -- Matt TrollBoy Wiseman Webmaster: Shoggoth.net Site Designer: phpslash.org The oldest and strongest emotion of mankind is fear, and the oldest and strongest kind of fear is fear of the unknown. -H.P. Lovecraft - Please do not resell my e-mail address to anyone or send me unsolicited e-mail. All email communication sent or received are my property to do with as I please. -
Unwanted characters in sender phone number escape code output %q and %p
Hi All I'm getting unusual output in my escape codes %q and %p and I'd appreciate some help if possible from my conf file: group = sms-service keyword = test exec = perl test.pl %q %k omit-empty = true (I know it's a bad idea to execute - i'll look into URL once I get this working) From my smsbox log: 2010-07-23 22:58:58 [11450] [4] DEBUG: executing sms-service 'perl test_pizza.pl %2B14437661234 test' My issue is that I want the %2B dropped from the sender number. A plus (+) would be fine, but the %2B is causing errors. I've tried this with both %q and %p - both have the same problem Thanks! Scott
Re: Unwanted characters in sender phone number escape code output %q and %p
Hi, This is the expected output. smsbox urlencodes these arguments since most of the time it sends them to a url fom an sms-service. Besides, some of these chars *, , + are meaningfull to the shell, and it is not a bad idea to urlencode them. Perl has zillions of functions to urldecode text. Just use one of them. You can also try: exec = perl test.pl %p %k BR, Nikos - Original Message - From: Scott Geller To: users Sent: Saturday, July 24, 2010 6:10 AM Subject: Unwanted characters in sender phone number escape code output %q and %p Hi All I'm getting unusual output in my escape codes %q and %p and I'd appreciate some help if possible from my conf file: group = sms-service keyword = test exec = perl test.pl %q %k omit-empty = true (I know it's a bad idea to execute - i'll look into URL once I get this working) From my smsbox log: 2010-07-23 22:58:58 [11450] [4] DEBUG: executing sms-service 'perl test_pizza.pl %2B14437661234 test' My issue is that I want the %2B dropped from the sender number. A plus (+) would be fine, but the %2B is causing errors. I've tried this with both %q and %p - both have the same problem Thanks! Scott
Re: Hardware GSM Modem to use with Kannel
Come on now! Have you tried Googling for: GSM modem +Wavecom +Supreme 20 +purchase I pulled 7 pages. Price ~260 $. Why does it have to be from the US? It comes with an external AC adaptor, so you can fit it anywhere. BR, Nikos - Original Message - From: Matt Wiseman troll...@shoggoth.net To: Nikos Balkanas nbalka...@gmail.com Cc: Gjergji Guri gjergji.g...@facilization.com; users@kannel.org Sent: Saturday, July 24, 2010 4:11 AM Subject: Re: Hardware GSM Modem to use with Kannel Thing is, I can't see where to buy these in the US. The only GSM modem I can find is http://www.amazon.com/gp/product/B00383EMFA/ref=ord_cart_shr?ie=UTF8m=A1J7L387A6CBZG I've had bad luck with Multi-Tech MultiModem GPRS MTCBA-G-F4 under linux. On Fri, 2010-07-23 at 19:21 +0300, Nikos Balkanas wrote: Hi, People have had very good experience with the Huawei E220 USB, or the Wavecom Fasttrack serial modem. BR, Nikos - Original Message - From: Gjergji Guri To: users@kannel.org Cc: Nikos Balkanas Sent: Friday, July 23, 2010 6:30 PM Subject: Hardware GSM Modem to use with Kannel Hi, The GSM modem configuration using my Nokia phone is running perfictly. Thanks to everyone for the advice given. Message routing work fine and my only mistake was adding comments at the same line with configuration parameter. At this moment I wanted to buy some GMS modems (USP or other connection) for use instead of the my mobile phone. Does anyone recommend me any hardware that he's been tested with Kannel? Nice weekend for all, Cheers, Gjergji -- Matt TrollBoy Wiseman Webmaster: Shoggoth.net Site Designer: phpslash.org The oldest and strongest emotion of mankind is fear, and the oldest and strongest kind of fear is fear of the unknown. -H.P. Lovecraft - Please do not resell my e-mail address to anyone or send me unsolicited e-mail. All email communication sent or received are my property to do with as I please. -