Generating SSL certificates for Kannel ?
Hi All, How to Generate SSl Certificates for kannel. Please give me some links or some example commands for generating ssl certificates for kannel. ssl-server-cert-file = .pem ... ? ssl-server-key-file = .pem ... ? ssl-client-certkey-file =.pem... ? Generating SSL For above 3 parameters Please help me. Thanks in advance Regards, Kiran Reddy
Re: Generating SSL certificates for Kannel ?
Sir, this is not a Kannel issue and Internet is full of tutorials for this kind of tasks, so please use Google before posting such questions to the list... -- H On Wed, May 12, 2010 at 10:03 AM, Kiran Reddy ki...@uniceltech.com wrote: Hi All, How to Generate SSl Certificates for kannel. Please give me some links or some example commands for generating ssl certificates for kannel. ssl-server-cert-file = .pem ... ? ssl-server-key-file = .pem ... ? ssl-client-certkey-file =.pem... ? Generating SSL For above 3 parameters Please help me. Thanks in advance Regards, Kiran Reddy -- Henri Hovi http://www.patidure.com http://patidure.blogspot.com
Re: Patch: wtls provision
Hi Nikos, sorry for delay, patch commited to branch and after testing will be merged to trunk. This branch can be found at: https://svn.kannel.org/gateway/branches/wtls_provision I would like to see more people that can test/review this patch. Thanks, Alexander Malysh Am 26.04.2010 um 01:34 schrieb Nikos Balkanas: Hi Alex, As stressed I never implied any wrongdoing from your part. If anything you are the only person dedicated to this project like a regular job. Rest of us are mostly daydreaming small snippets in our free time. There can be no kannel without you. The Patch is back. Reformatted according to your specs. Let me know if you need anything more. Like in the original, it will provide for the following wtls functionality: A) Supported MACs: SHA_0, SHA_40, SHA_80, SHA_NOLIMIT, MD5_40, MD5_80, MD5_NOLIMIT MIA's: SHA_XOR_40 B) Supported Ciphers: RC5_CBC_40, RC5_CBC_56, RC5_CBC, DES_CBC, DES_CBC_40 MIA's: NULL_bulk, TRIPLE_DES_CBC_EDE, IDEA_CBC_40, IDEA_CBC_56, IDEA_CBC C) Supported Keys: RSA_anon MIA's: RSA_anon_512, RSA_anon_768, RSA_NOLIMIT, RSA_512, RSA_768, ECDH_anon, ECDH_anon_113, ECDH_anon_131, ECDH_ECDSA_NOLIMIT Keys might seem a shortcoming, but I have yet to see a mobile that doesn't support RSA_anon. I do expect that a few of the rest of the keys are supported as well (i.e. RSA_anon_512, RSA_anon_768) just didn't have the chance to test them. D) Spec States All wtls states are supported except: 1) Suspend/resume wtls session 2) Cipher change when already connected I have not come across these states when testing with a variety of mobiles. In practice (2) is implemented through another client hello while already connected to the same client. BR, Nikos - Original Message - From: Alexander Malysh To: Nikos Balkanas Cc: de...@kannel.org Sent: Tuesday, April 13, 2010 12:49 AM Subject: Re: Patch: wtls provision Hi Nikos, sorry for delay but I hope you saw that WAP is not my part... if you still want to contribute this patch then I'm willing to help you with it. What I need from you: 1) patch with white spaces ignore 2) description how I can test your patch You can send me these things in private email but please understand that we are all volunteers and don't receive salary for our work and make this only in our private time. So for such large patches it may take some time to review, test and commit it. Thanks for your understanding and contribution, Alexander Malysh kannel.diff.gz
Re: DLR not fw to Kannel when mailling SMS is performed
Yes I have simbuffering=true that is why some message stayed in the mobile ? And not I did not try message-storage = SM, but will try Emmanuel 2010/5/12 Nikos Balkanas nbalka...@gmail.com Hi, I imagine you have also enabled sim-buffering in your smsc definition. Have you tried setting message-storage = SM? BR, Nikos - Original Message - *From:* Emmanuel CHANSON emmanuelchan...@gmail.com *To:* users users@kannel.org *Sent:* Wednesday, May 12, 2010 2:34 AM *Subject:* Re: DLR not fw to Kannel when mailling SMS is performed No, it is a loop done for each destination (dont know if cgi script can manage multiple destination) Regards, Emmanuel 2010/5/11 Benaiad bena...@gmail.com Hi, Are you sending those messages using one call to the send cgi with multi destinations in the to parameter? Regards. -- Benaiad On Tue, May 11, 2010 at 10:57 PM, Emmanuel CHANSON emmanuelchan...@gmail.com wrote: If the issue is not well described tell me...I really want to understand this behavior... Regards, Emmanuel 2010/5/11 Emmanuel CHANSON emmanuelchan...@gmail.com I am also getting the following error below during the sending of my SMS mailling and I don't know if it is linked with this. Test: 40 SMS were sent, I received the ACK (but no Success/STATUS-REPORT maybe stored in the mobile) and after that I receive the error: +CMS ERROR: An unknown error occurred (500) Alvaro told me it can be an operator restriction (I received a network error so I change the mobile but same behavior with a different error) If I stop Kannel then move the kannel.store file somewhere, restart Kannel and try to send a new single SMS it works !! So to resume I have 2 issue maybe linked: - DLR not received into bearerbox, seems blocked in modem. - SMS mailling that is blocked after let's say 40 SMS sent (I had 80 SMS to send) dont if the issue if linked to: - the fact I send concatened SMS - the AT+CNMI command that is not correct and DLR are stored in the mobile and block the MT with the ERROR 500 ? - others things.. I dont know how to investiguate... I have previously post my modem.conf This issue is linked to the post I already send about +CMS ERROR: Network out of order (38), but changing the mobile does not change anything and I don't think it is an operator restriction because if I move the kannel;store file and send a SMS it works... Regards, Emmanuel 2010/5/11 Emmanuel CHANSON emmanuelchan...@gmail.com Hello, I would like to ask the community about this behavior. I am using a Nokia 6230 as modem. When I send a single SMS I got the ACK and the STATUS-REPORT, behavior is Ok. 2010-05-11 13:51:44 [14368] [6] DEBUG: AT2[nokiaphone]: -- +CDS: 24 2010-05-11 13:51:44 [14368] [6] DEBUG: AT2[nokiaphone]: -- 069186770720F0067C099186773705F2015011311513440150113115134400 2010-05-11 13:51:44 [14368] [6] DEBUG: AT2[nokiaphone]: received message from SMSC: +687770020 2010-05-11 13:51:44 [14368] [6] DEBUG: AT2[nokiaphone]: got STATUS-REPORT for message 124: When I send let's say 20 SMS using cgi script, I got all the ACK but no STATUS-REPORT and I see this in smsc.log: 2010-05-11 13:46:59 [14249] [6] DEBUG: AT2[nokiaphone]: -- AT+CPMS?^M 2010-05-11 13:46:59 [14249] [6] DEBUG: AT2[nokiaphone]: -- +CPMS: ME,0,150,SM,18,60,MT,18,210 2010-05-11 13:46:59 [14249] [6] DEBUG: AT2[nokiaphone]: -- OK So isn't it my DLRs that are stored in the mobile ? Why aren't they forwarded to bearerbox ? My modem config for the modem is the following: group = modems id = nokiaphone name = Nokia Phone detect-string = Nokia Mobile Phone init-string = AT+CNMI=1,2,0,1,0;+CMEE=1 need-sleep = true speed = 460800 keepalive-cmd = AT+CBC;+CSQ enable-mms = true message-storage = ME Regards, Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calιdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calιdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calιdonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com
How to smpp over ssl using kannel
Hi all, SMPP over ssl communication with SMSC using kannel how it is posible ? Regards, Kiran Reddy
Re: How to smpp over ssl using kannel
Certainly not by spamming... Nikos - Original Message - From: Kiran Reddy ki...@uniceltech.com To: users@kannel.org Sent: Wednesday, May 12, 2010 3:56 PM Subject: How to smpp over ssl using kannel Hi all, SMPP over ssl communication with SMSC using kannel how it is posible ? Regards, Kiran Reddy
System error 104: Connection reset by peer
Hi All, I am getting below error while connecting to SMSC. Please find below error log and configuration. please help me. Thanks in advance CONFIGURATION group = core admin-port = 13000 admin-password = hard2guess smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 admin-port-ssl = true smsbox-port-ssl = true ssl-server-cert-file = /etc/kannel/public.pem ssl-server-key-file = /etc/kannel/private.pem group = smsc smsc = smpp smsc-id = x host = xx.xx.xx.xx port = source-addr-autodetect = yes #tranceiver-mode = 1 dest-addr-ton = 1 source-addr-ton= 5 smsc-username = x smsc-password = x1 system-type = NULL #address-range = #alt-charset = 1 #enquire-link-interval = 300 keepalive = 2 log-file = /var/log/kannel/x.log log-level = 0 #receive-port = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 59898 log-file = /var/log/kannel/smsbox.log log-level = 0 mo-recode = true bearerbox-port-ssl = true sendsms-port-ssl =true group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 ERRO LOG 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP[x]: Sending PDU: 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU 0x1822020 dump: 2010-05-12 21:00:42 [6711] [6] DEBUG: type_name: bind_transmitter 2010-05-12 21:00:42 [6711] [6] DEBUG: command_id: 2 = 0x0002 2010-05-12 21:00:42 [6711] [6] DEBUG: command_status: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: sequence_number: 36 = 0x0024 2010-05-12 21:00:42 [6711] [6] DEBUG: system_id: x 2010-05-12 21:00:42 [6711] [6] DEBUG: password: x1 2010-05-12 21:00:42 [6711] [6] DEBUG: system_type: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: interface_version: 52 = 0x0034 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_ton: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_npi: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: address_range: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU dump ends. 2010-05-12 21:00:42 [6711] [6] ERROR: Error reading from fd 29: 2010-05-12 21:00:42 [6711] [6] ERROR: System error 104: Connection reset by peer 2010-05-12 21:00:42 [6711] [6] ERROR: SMPP[x]: Couldn't connect to SMS center (retrying in 10 seconds). Regards, Kiran Reddy
Re: System error 104: Connection reset by peer
Hi, I hope this is the last time. Read about use-ssl in group smsc in User's Guide. Nikos - Original Message - From: Kiran Reddy To: users@kannel.org Sent: Wednesday, May 12, 2010 6:37 PM Subject: System error 104: Connection reset by peer Hi All, I am getting below error while connecting to SMSC. Please find below error log and configuration. please help me. Thanks in advance Configuration group = core admin-port = 13000 admin-password = hard2guess smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 admin-port-ssl = true smsbox-port-ssl = true ssl-server-cert-file = /etc/kannel/public.pem ssl-server-key-file = /etc/kannel/private.pem group = smsc smsc = smpp smsc-id = x host = xx.xx.xx.xx port = source-addr-autodetect = yes #tranceiver-mode = 1 dest-addr-ton = 1 source-addr-ton= 5 smsc-username = x smsc-password = x1 system-type = NULL #address-range = #alt-charset = 1 #enquire-link-interval = 300 keepalive = 2 log-file = /var/log/kannel/x.log log-level = 0 #receive-port = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 59898 log-file = /var/log/kannel/smsbox.log log-level = 0 mo-recode = true bearerbox-port-ssl = true sendsms-port-ssl =true group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 Erro log 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP[x]: Sending PDU: 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU 0x1822020 dump: 2010-05-12 21:00:42 [6711] [6] DEBUG: type_name: bind_transmitter 2010-05-12 21:00:42 [6711] [6] DEBUG: command_id: 2 = 0x0002 2010-05-12 21:00:42 [6711] [6] DEBUG: command_status: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: sequence_number: 36 = 0x0024 2010-05-12 21:00:42 [6711] [6] DEBUG: system_id: x 2010-05-12 21:00:42 [6711] [6] DEBUG: password: x1 2010-05-12 21:00:42 [6711] [6] DEBUG: system_type: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: interface_version: 52 = 0x0034 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_ton: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_npi: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: address_range: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU dump ends. 2010-05-12 21:00:42 [6711] [6] ERROR: Error reading from fd 29: 2010-05-12 21:00:42 [6711] [6] ERROR: System error 104: Connection reset by peer 2010-05-12 21:00:42 [6711] [6] ERROR: SMPP[x]: Couldn't connect to SMS center (retrying in 10 seconds). Regards, Kiran Reddy
Re: Motorola Razr V3 SMS Receive
On Wed, May 12, 2010 at 08:15:11AM +0300, Nikos Balkanas wrote: Hi, You mentioned that this is a phone, not a dedicated modem. Have you tried pushing wap phone to phone? Some of the destination phones are not setup to receive ppg by default. I have configured the receiver handset to accept wap push. you are talking from sending a push-message from a terminal like minicom? It seems that the Phone is not able to send push messages. If I try to send it there is no reaction. i don't get a result if it was send or not. If I send a normal Message thats ok. BR, Nikos - Original Message - From: Thomas ts...@gmx.de To: users@kannel.org Sent: Wednesday, May 12, 2010 2:19 AM Subject: Re: Motorola Razr V3 SMS Receive Hello list, I am able to configure Kannel to work with my Motorola Razr as a modem via USB cable and everything seems fine. I can send SMS with no problem. The issue I have is I cannot receive SMS into Kannel. The phone receives the message but not Kannel, is there a way to pull it into Kannel or maybe a config option I missed? Is the init-string complete? Here is my modem.conf entry for the Motorola Thanks, Steve Totaro http://www.asteriskhelpdesk.com KB3OPB Hi Steve, I can send and receive SMS with my Motorola RAZR V3. But I'm currently not able to send WAP Push messages and I can't say if this is not possibly the reason for it. Maybe the phone is not able to send Messages with UDH?!? I am using the following init-string: init-string = AT+CMEE=2;+CNMI=3,1,0,0,0 Hope you can solve you issues with this info. If you can send WAP Push, please give me a sign ;) Best regards Thomas signature.asc Description: Digital signature
Re: Motorola Razr V3 SMS Receive
Hi, Your email reached us as a series of attachments. Weird. No. I mean sending from your Motorolla mobile, that is used as a modem, to another mobile, that can accept wap pushes. Have you tried it? BR, Nikos - Original Message - From: Thomas Sieh ts...@gmx.de To: Nikos Balkanas nbalka...@gmail.com Cc: users@kannel.org; Thomas ts...@gmx.de Sent: Wednesday, May 12, 2010 7:33 PM Subject: Re: Motorola Razr V3 SMS Receive On Wed, May 12, 2010 at 08:15:11AM +0300, Nikos Balkanas wrote: Hi, You mentioned that this is a phone, not a dedicated modem. Have you tried pushing wap phone to phone? Some of the destination phones are not setup to receive ppg by default. I have configured the receiver handset to accept wap push. you are talking from sending a push-message from a terminal like minicom? It seems that the Phone is not able to send push messages. If I try to send it there is no reaction. i don't get a result if it was send or not. If I send a normal Message thats ok. BR, Nikos - Original Message - From: Thomas ts...@gmx.de To: users@kannel.org Sent: Wednesday, May 12, 2010 2:19 AM Subject: Re: Motorola Razr V3 SMS Receive Hello list, I am able to configure Kannel to work with my Motorola Razr as a modem via USB cable and everything seems fine. I can send SMS with no problem. The issue I have is I cannot receive SMS into Kannel. The phone receives the message but not Kannel, is there a way to pull it into Kannel or maybe a config option I missed? Is the init-string complete? Here is my modem.conf entry for the Motorola Thanks, Steve Totaro http://www.asteriskhelpdesk.com KB3OPB Hi Steve, I can send and receive SMS with my Motorola RAZR V3. But I'm currently not able to send WAP Push messages and I can't say if this is not possibly the reason for it. Maybe the phone is not able to send Messages with UDH?!? I am using the following init-string: init-string = AT+CMEE=2;+CNMI=3,1,0,0,0 Hope you can solve you issues with this info. If you can send WAP Push, please give me a sign ;) Best regards Thomas
Re: System error 104: Connection reset by peer
Hi You should talk to your provider. They are dropping the connection, not kannel. They should know why are they dropping it. |-| 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/5/12 Nikos Balkanas nbalka...@gmail.com: Hi, I hope this is the last time. Read about use-ssl in group smsc in User's Guide. Nikos - Original Message - From: Kiran Reddy To: users@kannel.org Sent: Wednesday, May 12, 2010 6:37 PM Subject: System error 104: Connection reset by peer Hi All, I am getting below error while connecting to SMSC. Please find below error log and configuration. please help me. Thanks in advance Configuration group = core admin-port = 13000 admin-password = hard2guess smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 admin-port-ssl = true smsbox-port-ssl = true ssl-server-cert-file = /etc/kannel/public.pem ssl-server-key-file = /etc/kannel/private.pem group = smsc smsc = smpp smsc-id = x host = xx.xx.xx.xx port = source-addr-autodetect = yes #tranceiver-mode = 1 dest-addr-ton = 1 source-addr-ton= 5 smsc-username = x smsc-password = x1 system-type = NULL #address-range = #alt-charset = 1 #enquire-link-interval = 300 keepalive = 2 log-file = /var/log/kannel/x.log log-level = 0 #receive-port = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 59898 log-file = /var/log/kannel/smsbox.log log-level = 0 mo-recode = true bearerbox-port-ssl = true sendsms-port-ssl =true group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 Erro log 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP[x]: Sending PDU: 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU 0x1822020 dump: 2010-05-12 21:00:42 [6711] [6] DEBUG: type_name: bind_transmitter 2010-05-12 21:00:42 [6711] [6] DEBUG: command_id: 2 = 0x0002 2010-05-12 21:00:42 [6711] [6] DEBUG: command_status: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: sequence_number: 36 = 0x0024 2010-05-12 21:00:42 [6711] [6] DEBUG: system_id: x 2010-05-12 21:00:42 [6711] [6] DEBUG: password: x1 2010-05-12 21:00:42 [6711] [6] DEBUG: system_type: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: interface_version: 52 = 0x0034 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_ton: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_npi: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: address_range: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU dump ends. 2010-05-12 21:00:42 [6711] [6] ERROR: Error reading from fd 29: 2010-05-12 21:00:42 [6711] [6] ERROR: System error 104: Connection reset by peer 2010-05-12 21:00:42 [6711] [6] ERROR: SMPP[x]: Couldn't connect to SMS center (retrying in 10 seconds). Regards, Kiran Reddy
Re: System error 104: Connection reset by peer
Alvaro, He doesn't use ssl in his connection, and sends a clear bind_transmitter PDU. His provider, who expects an encrypted package doesn't recognize it and drops his connection. It is Kiran's fault. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Kiran Reddy ki...@uniceltech.com; users@kannel.org Sent: Wednesday, May 12, 2010 9:37 PM Subject: Re: System error 104: Connection reset by peer Hi You should talk to your provider. They are dropping the connection, not kannel. They should know why are they dropping it. |-| 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/5/12 Nikos Balkanas nbalka...@gmail.com: Hi, I hope this is the last time. Read about use-ssl in group smsc in User's Guide. Nikos - Original Message - From: Kiran Reddy To: users@kannel.org Sent: Wednesday, May 12, 2010 6:37 PM Subject: System error 104: Connection reset by peer Hi All, I am getting below error while connecting to SMSC. Please find below error log and configuration. please help me. Thanks in advance Configuration group = core admin-port = 13000 admin-password = hard2guess smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 admin-port-ssl = true smsbox-port-ssl = true ssl-server-cert-file = /etc/kannel/public.pem ssl-server-key-file = /etc/kannel/private.pem group = smsc smsc = smpp smsc-id = x host = xx.xx.xx.xx port = source-addr-autodetect = yes #tranceiver-mode = 1 dest-addr-ton = 1 source-addr-ton= 5 smsc-username = x smsc-password = x1 system-type = NULL #address-range = #alt-charset = 1 #enquire-link-interval = 300 keepalive = 2 log-file = /var/log/kannel/x.log log-level = 0 #receive-port = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 59898 log-file = /var/log/kannel/smsbox.log log-level = 0 mo-recode = true bearerbox-port-ssl = true sendsms-port-ssl =true group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 Erro log 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP[x]: Sending PDU: 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU 0x1822020 dump: 2010-05-12 21:00:42 [6711] [6] DEBUG: type_name: bind_transmitter 2010-05-12 21:00:42 [6711] [6] DEBUG: command_id: 2 = 0x0002 2010-05-12 21:00:42 [6711] [6] DEBUG: command_status: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: sequence_number: 36 = 0x0024 2010-05-12 21:00:42 [6711] [6] DEBUG: system_id: x 2010-05-12 21:00:42 [6711] [6] DEBUG: password: x1 2010-05-12 21:00:42 [6711] [6] DEBUG: system_type: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: interface_version: 52 = 0x0034 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_ton: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_npi: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: address_range: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU dump ends. 2010-05-12 21:00:42 [6711] [6] ERROR: Error reading from fd 29: 2010-05-12 21:00:42 [6711] [6] ERROR: System error 104: Connection reset by peer 2010-05-12 21:00:42 [6711] [6] ERROR: SMPP[x]: Couldn't connect to SMS center (retrying in 10 seconds). Regards, Kiran Reddy
kannel: My plan
Hello everyone, I'm new to the kannel community and was hoping to get some direction from the people experienced with this software. I'll detail my plan below as to what I want to do. The Plan: I want to make a website for users to plan out things they would like to have text messaged to them on a weekly/monthly schedule. My initial plan it to make a asp page that dumps all that information on date/time/their number into a mysql database and then have a something text message that to the users. My Questions: Am I on the right track with looking at Kannel to do this for me? I assume I would need a service provider that would then deliver those messages to people? I've seen a lot of sites that offer this sort of service and they charge per text message; I would much prefer to bypass having to use them completely. I'm by no means experienced in this area of telecommunications but I'm willing to learn everything I need to try to get this project off its feet. Sorry if you all think this is a stupid question; hope to hear back with any input or advice on if I'm on the right track. Thanks for your time, Darragh
Re: kannel: My plan
Hi, Wellcome. Please don't use us...@vm1.kannel.org, just us...@kannel.org. You are absolutely on the right track. If you are inserting SMS in mysql, a tool like sqlbox (open source, kannel related), might be helpful, if you have large volume of batch SMS to send. But in the start you will just need kannel. You will definitely need a provider, either through a phone/modem with a SIM, for low volumes, or an SMSc. You cannot avoid it unless you use SS7 and for that you need to be a major provider, at which point you become an SMSc and charge for the service to others. BR, Nikos - Original Message - From: Darragh Hogan To: us...@vm1.kannel.org Sent: Wednesday, May 12, 2010 10:29 PM Subject: kannel: My plan Hello everyone, I’m new to the kannel community and was hoping to get some direction from the people experienced with this software. I’ll detail my plan below as to what I want to do. The Plan: I want to make a website for users to plan out things they would like to have text messaged to them on a weekly/monthly schedule. My initial plan it to make a asp page that dumps all that information on date/time/their number into a mysql database and then have a something text message that to the users. My Questions: Am I on the right track with looking at Kannel to do this for me? I assume I would need a service provider that would then deliver those messages to people? I’ve seen a lot of sites that offer this sort of service and they charge per text message; I would much prefer to bypass having to use them completely. I’m by no means experienced in this area of telecommunications but I’m willing to learn everything I need to try to get this project off its feet. Sorry if you all think this is a stupid question; hope to hear back with any input or advice on if I’m on the right track. Thanks for your time, Darragh
Re: System error 104: Connection reset by peer
Hi Nikos, Exactly i need encrypted connection using ssl from Kannel to SMSC and SMSC to kannel. What exactly do i need to use parameters in that case. Thanks in advance. Regards, Kiran Reddy +91-9036971573 Http://www.Uniceltech.com ---Original Message--- From: Nikos Balkanas nbalka...@gmail.com To: Alvaro Cornejo cornejo.alv...@gmail.com Cc: users@kannel.org Subject: Re: System error 104: Connection reset by peer Sent: May 13 '10 12:54am Alvaro, He doesn't use ssl in his connection, and sends a clear bind_transmitter PDU. His provider, who expects an encrypted package doesn't recognize it and drops his connection. It is Kiran's fault. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Kiran Reddy ki...@uniceltech.com; users@kannel.org Sent: Wednesday, May 12, 2010 9:37 PM Subject: Re: System error 104: Connection reset by peer Hi You should talk to your provider. They are dropping the connection, not kannel. They should know why are they dropping it. |-| 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/5/12 Nikos Balkanas nbalka...@gmail.com: Hi, I hope this is the last time. Read about use-ssl in group smsc in User's Guide. Nikos - Original Message - From: Kiran Reddy To: users@kannel.org Sent: Wednesday, May 12, 2010 6:37 PM Subject: System error 104: Connection reset by peer Hi All, I am getting below error while connecting to SMSC. Please find below error log and configuration. please help me. Thanks in advance Configuration group = core admin-port = 13000 admin-password = hard2guess smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 admin-port-ssl = true smsbox-port-ssl = true ssl-server-cert-file = /etc/kannel/public.pem ssl-server-key-file = /etc/kannel/private.pem group = smsc smsc = smpp smsc-id = x host = xx.xx.xx.xx port = source-addr-autodetect = yes #tranceiver-mode = 1 dest-addr-ton = 1 source-addr-ton= 5 smsc-username = x smsc-password = x1 system-type = NULL #address-range = #alt-charset = 1 #enquire-link-interval = 300 keepalive = 2 log-file = /var/log/kannel/x.log log-level = 0 #receive-port = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 59898 log-file = /var/log/kannel/smsbox.log log-level = 0 mo-recode = true bearerbox-port-ssl = true sendsms-port-ssl =true group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 Erro log 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP[x]: Sending PDU: 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU 0x1822020 dump: 2010-05-12 21:00:42 [6711] [6] DEBUG: type_name: bind_transmitter 2010-05-12 21:00:42 [6711] [6] DEBUG: command_id: 2 = 0x0002 2010-05-12 21:00:42 [6711] [6] DEBUG: command_status: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: sequence_number: 36 = 0x0024 2010-05-12 21:00:42 [6711] [6] DEBUG: system_id: x 2010-05-12 21:00:42 [6711] [6] DEBUG: password: x1 2010-05-12 21:00:42 [6711] [6] DEBUG: system_type: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: interface_version: 52 = 0x0034 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_ton: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_npi: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: address_range: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU dump ends. 2010-05-12 21:00:42 [6711] [6] ERROR: Error reading from fd 29: 2010-05-12 21:00:42 [6711] [6] ERROR: System error 104: Connection reset by peer 2010-05-12 21:00:42 [6711] [6] ERROR: SMPP[x]: Couldn't connect to SMS center (retrying in 10 seconds). Regards, Kiran Reddy
Re: System error 104: Connection reset by peer
use stunnel as an alternative setting kannel with SSL will be time consuming for the users list n 05/13/2010 08:34 AM, Kiran Reddy wrote: Hi Nikos, Exactly i need encrypted connection using ssl from Kannel to SMSC and SMSC to kannel. What exactly do i need to use parameters in that case. Thanks in advance. Regards, Kiran Reddy +91-9036971573 Http://www.Uniceltech.com ---Original Message--- From: Nikos Balkanas nbalka...@gmail.com To: Alvaro Cornejo cornejo.alv...@gmail.com Cc: users@kannel.org Subject: Re: System error 104: Connection reset by peer Sent: May 13 '10 12:54am Alvaro, He doesn't use ssl in his connection, and sends a clear bind_transmitter PDU. His provider, who expects an encrypted package doesn't recognize it and drops his connection. It is Kiran's fault. BR, Nikos - Original Message - From: Alvaro Cornejo cornejo.alv...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Kiran Reddy ki...@uniceltech.com; users@kannel.org Sent: Wednesday, May 12, 2010 9:37 PM Subject: Re: System error 104: Connection reset by peer Hi You should talk to your provider. They are dropping the connection, not kannel. They should know why are they dropping it. |-| 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/5/12 Nikos Balkanas nbalka...@gmail.com: Hi, I hope this is the last time. Read about use-ssl in group smsc in User's Guide. Nikos - Original Message - From: Kiran Reddy To: users@kannel.org Sent: Wednesday, May 12, 2010 6:37 PM Subject: System error 104: Connection reset by peer Hi All, I am getting below error while connecting to SMSC. Please find below error log and configuration. please help me. Thanks in advance Configuration group = core admin-port = 13000 admin-password = hard2guess smsbox-port = 13001 log-file = /var/log/kannel/bearerbox.log log-level = 0 admin-port-ssl = true smsbox-port-ssl = true ssl-server-cert-file = /etc/kannel/public.pem ssl-server-key-file = /etc/kannel/private.pem group = smsc smsc = smpp smsc-id = x host = xx.xx.xx.xx port = source-addr-autodetect = yes #tranceiver-mode = 1 dest-addr-ton = 1 source-addr-ton= 5 smsc-username = x smsc-password = x1 system-type = NULL #address-range = #alt-charset = 1 #enquire-link-interval = 300 keepalive = 2 log-file = /var/log/kannel/x.log log-level = 0 #receive-port = 0 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = 59898 log-file = /var/log/kannel/smsbox.log log-level = 0 mo-recode = true bearerbox-port-ssl = true sendsms-port-ssl =true group = sendsms-user username = kannel password = hard2guess concatenation = true max-messages = 3 Erro log 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP[x]: Sending PDU: 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU 0x1822020 dump: 2010-05-12 21:00:42 [6711] [6] DEBUG: type_name: bind_transmitter 2010-05-12 21:00:42 [6711] [6] DEBUG: command_id: 2 = 0x0002 2010-05-12 21:00:42 [6711] [6] DEBUG: command_status: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: sequence_number: 36 = 0x0024 2010-05-12 21:00:42 [6711] [6] DEBUG: system_id: x 2010-05-12 21:00:42 [6711] [6] DEBUG: password: x1 2010-05-12 21:00:42 [6711] [6] DEBUG: system_type: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: interface_version: 52 = 0x0034 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_ton: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: addr_npi: 0 = 0x 2010-05-12 21:00:42 [6711] [6] DEBUG: address_range: NULL 2010-05-12 21:00:42 [6711] [6] DEBUG: SMPP PDU dump ends. 2010-05-12 21:00:42 [6711] [6] ERROR: Error reading from fd 29: 2010-05-12 21:00:42 [6711] [6] ERROR: System error 104: Connection reset by peer 2010-05-12 21:00:42 [6711] [6] ERROR: SMPP[x]: Couldn't connect to SMS center (retrying in 10 seconds). Regards, Kiran Reddy
vCards coming through as SMS with characters missing
Hi, I'm using the example vCard php script that comes with Kannel, with the only changes being to fix the globals so that they use $_POST. My gateway is connected to an SMSC and I can send messages. When I submit the form to send a vCard I get an SMS arriving on the phone. The content of the SMS is the text of the vCard, with about 40 characters removed from the beginning (not the end). I've tried using version vCard version 3.0 and replacing \r\n with \n. I've tried shortening the vCard so that it is only a bare minimum of characters. The code I'm using is: $text = BEGIN:VCARD\r\n; $text .= VERSION:2.1\r\n; $text .= N:Test\r\n; $text .= TEL;PREF:+.$_POST['telephone'].\r\n; $text .= END:VCARD\r\n; echo Sending the vCard SMS message b\$text\/b to the phone b. $_POST['to'] . /b...br\n; $URL = /cgi-bin/sendsms?username=.USERNAME.password=.PASSWORD.from=.GLOBAL_SENDER.to=. $_POST['to'] . udh=%06%05%04%23%F4%00%00text=.urlencode($text); Is there a Kannel configuration issue that could be causing this? Kannel loads without errors or warnings, and happily delivers messages. This is my Kannel config file : group = core admin-port = 13000 admin-password = adminpass admin-deny-ip = admin-allow-ip = 192.168.0.* wapbox-port = 13002 smsbox-port = 13003 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log #box-deny-ip = *.*.*.* box-allow-ip = 192.168.0.* group = wapbox bearerbox-host = localhost log-file = /var/log/kannel/wapbox.log group = smsbox bearerbox-host = localhost sendsms-chars = 0123456789 +- global-sender = 123456 access-log = kannel.access log-file = smsbox.log log-level = 0 sendsms-port = 13031 smsbox-id = TestSMSbox white-list-regex = [[:print:]] # group = smsc # smsc = fake # port = 10002 # connect-allow-ip = *.*.*.* #group = smsc #smsc = smpp #host = 192.168.0.215 #port = 2775 #receive-port = 2775 #smsc-username = smppclient1 #smsc-password = password #system-type = VMA #smsc-id = TestSMSC group = smsc smsc = smpp host = ip.address.goes.here port = myportnumber receive-port = myportnumber smsc-username = username smsc-password = password system-type = VMA smsc-id = Mobility Methods group = sendsms-user username = testuser password = testpass group = sms-service keyword = default text = No action specified max-messages = 0 group = sms-service keyword = nop text = NOP catch-all = true group = smsbox-route smsbox-id = TestSMSbox smsc-id = Mobility Methods smime.p7s Description: S/MIME Cryptographic Signature