Re: How DLR matched with in the Database

2009-01-13 Thread hafez ahmad
Dear Nikos, So this is invalid behavior from Kannel or what ? , and another thing may be related to this thing, when the DLR from TRX connection, and we use msg-id-type like 0x01 (deliver_sm decimal, submit_sm_resp hex) , is that may cause the kannel to can not find the requested DLR , or the

Re: How DLR matched with in the Database

2009-01-13 Thread Nikos Balkanas
No, this is the desired behaviour. Documentation is a bit outdated, that's all. As far as the rest goes, I don't know the answer. Maybe someone else can answer that. BR, Nikos - Original Message - From: hafez ahmad To: Nikos Balkanas Cc: users@kannel.org Sent: Tuesday,

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
Ok thanks, what's the best header to send in. Content-Type: text/html; charset=utf-8 or Content-Type: text/html; charset=iso-8859-1 Do I need to config kannel to expect a particular type, I noticed that every time I send a request with the either header above I have a PANIC in the logs and

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
No I meant that the error changes to Authorization failed for sendsms when I know I've inputed the right details. Regards, Mike Nwaogu Tel: 234_802_325_6437 From: Mike Nwaogu michael_nwa...@yahoo.com To: Nikos Balkanas nbalka...@gmail.com; Alejandro

Re: Invalid content type error

2009-01-13 Thread Nikos Balkanas
How about this? meta http-equiv=Content-Type content=text/html; charset=utf-8 / It would be helpful if you print all of your headers, not just excerpts. BR, Nikos - Original Message - From: Mike Nwaogu To: Nikos Balkanas ; Alejandro Guerrieri Cc: users@kannel.org Sent:

Re: Invalid content type error

2009-01-13 Thread Nikos Balkanas
I am confused. Could you please post the packet from tcpdump -or- smsbox (verbosity 0)? (just the packet) and the exact error message that you are getting? BR, Nikos - Original Message - From: Mike Nwaogu To: Nikos Balkanas ; Alejandro Guerrieri Cc: users@kannel.org Sent:

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
I'm using PHP with CURL as my carrier. [HTTP/1.1 403 Forbidden Server: Kannel/1.4.1 Content-Length: 32 Content-type: text/html Pragma: no-cache Cache-Control: no-cache Authorization failed for sendsms] This the header returned. after these $ci = curl_init() or die(curl_error());

Re: users Digest, Vol 32, Issue 41

2009-01-13 Thread narendra reddy
-- next part -- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20090113/506c4331/attachment-0001.html -- Message: 2 Date: Tue, 13 Jan 2009 20:25:20 +0200 From: Nikos Balkanas nbalka...@gmail.com

Re: Invalid content type error

2009-01-13 Thread Nikos Balkanas
Hi, By error message I mean the error message from bearerbox logs and/or smsbox log. Please do not send me php code or HTTP server response (end result). It is not my intention to debug your application. BR, Nikos - Original Message - From: Nikos Balkanas To: Mike Nwaogu ;

Data_sm

2009-01-13 Thread narendra reddy
Hi sir, Give me some idea about Data_sm. Data_sm is possible in kannel SMPP protocol for Text messages. Regards , Narendra.

Requirements for an sms proxy

2009-01-13 Thread Richard Andrews
Hello, I'm trying to make sense of the configuration parameters that are essential to setup a sms proxy between our inhouse smpp services and the carriers. I understand that the sms center configurations define connections to the external carriers (rogers, telus etc.) but I'm a bit confused

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
smsbox.log log-level=0 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating HTTPClient for `41.222.67.127'. 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Created HTTPClient area 0x8755330. 2009-01-13 19:46:10 [3707] [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 41.222.67.127 2009-01-13

Re: users Digest, Vol 32, Issue 41

2009-01-13 Thread Nikos Balkanas
/in/aguerrieri -- next part -- An HTML attachment was scrubbed... URL: http://www.kannel.org/pipermail/users/attachments/20090113/506c4331/attachment-0001.html -- Message: 2 Date: Tue, 13 Jan 2009 20:25:20 +0200 From

Re: Invalid content type error

2009-01-13 Thread Nikos Balkanas
I need the bearerbox logs (v = 0) that I asked for. BR, Nikos - Original Message - From: Mike Nwaogu To: users@kannel.org Sent: Tuesday, January 13, 2009 8:59 PM Subject: Re: Invalid content type error smsbox.log log-level=0 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP:

Re: Requirements for an sms proxy

2009-01-13 Thread Nikos Balkanas
Hi, You need to access Kannel's sendsms service. You can find out about the parameters and configuration in CVS User guide, p. 91 97 BR, Nikos - Original Message - From: Richard Andrews randr...@pelmorex.com To: users@kannel.org Sent: Tuesday, January 13, 2009 8:47 PM Subject:

Re: How to use Kannel to send message via GSM modem and SMPP connection?

2009-01-13 Thread Alvaro Cornejo
Enfora serial modems 2118 did work fine... however, depending on the firmware, it hangs from time to tiem. ENFORA USB modems does NOT work with linux Alvaro On Sun, 2008-12-28 at 20:44 -0800, Pham Ngoc Khanh wrote: Hi all, I have already implemented an application to send and receive SMS

Re: How to use Kannel to send message via GSM modem and SMPP connection?

2009-01-13 Thread Alvaro Cornejo
It is almost exactly the same, just use smsc type AT instead of SMPP and use appropiate settings. Check list for different modem/GSM phones config Alvaro On Sun, 2008-12-28 at 20:44 -0800, Pham Ngoc Khanh wrote: Hi all, I have already implemented an application to send and receive SMS

Re: Invalid content type error

2009-01-13 Thread Rodrigo Cremaschi
Hi, Are you including the username and password variables you defined in the sendsms-user group into your URL? Regards, Rodrigo. On Tue, Jan 13, 2009 at 4:59 PM, Mike Nwaogu michael_nwa...@yahoo.com wrote: smsbox.log log-level=0 2009-01-13 19:46:10 [3707] [2] DEBUG: HTTP: Creating

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
Yes I am. Regards, Mike Nwaogu Tel: 234_802_325_6437 Eml: as_u_ca...@d.top From: Rodrigo Cremaschi rodrigo.cremas...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com Cc: users@kannel.org Sent: Tuesday, January 13, 2009 8:31:23 PM Subject: Re: Invalid

Re: Invalid content type error

2009-01-13 Thread Mike Nwaogu
find attached. bearerbox.log and kannel.conf Regards, Mike Nwaogu Tel: 234_802_325_6437 Eml: as_u_ca...@d.top From: Nikos Balkanas nbalka...@gmail.com To: Mike Nwaogu michael_nwa...@yahoo.com; users@kannel.org Sent: Tuesday, January 13, 2009 8:18:19 PM

Re: Data_sm

2009-01-13 Thread Falko Ziemann
Have you even took a look at the mailing list archive as I suggested to you 3 days ago? And no: data_sm can not be used to transfer text messages, you can read that in the smpp specification. Am 13.01.2009 um 19:40 schrieb narendra reddy: Hi sir, Give me some idea about Data_sm.

Re: Invalid content type error

2009-01-13 Thread Nikos Balkanas
I don't see your request in bearerbox logs. Can I have also the smsbox access logs? After all it looks that i will need that tcpdump, because smsbox doesn't show the packages it receives as wapbox does. Can you send those, too? Sorry about that and thanx, Nikos - Original Message -

Re: Requirements for an sms proxy

2009-01-13 Thread Thomas Göttgens
Hello Richard, if your own apps talk SMPP (client), you'll need a commercially available add-on to Kannel, tu turn it into an SMPP server. Several people on this list offer their smpp addons for licensing. If you don't have that addon, you can only feed messages into Kannel by HTTP or SQL

Re: dlr-url

2009-01-13 Thread Drew Stockler
I go the script to save the information to the database. However for text message and deliver report response i get ACK/ inserted into the database. Here is the call line:

Re: dlr-url

2009-01-13 Thread Alvaro Cornejo
Hi Drew The status of your message is dlrv=8 that means message delivered to your smsc. Check docs for the other status values. I'm not sure but I think that %a and %A is ACK%2F because it is the sms text part of the dlr message. In this case, the text received is the ACK from bearerbox when

Re: dlr-url

2009-01-13 Thread Drew Stockler
Thank you it does. If text= doesnt capture the message I send through the http request. How do i capture that. In the case below, I want to store test instead of ACK/ . In addition who do I get a dlr value of 1 for message delivered? Does that have to do with the update you talked about below?

Re: Invalid content type error

2009-01-13 Thread Otandeka Simon Peter
Can you paste your cgi-bin sendsms url? You could be missing something. Are you able to bind successfully? On Jan 13, 2009, at 10:32 PM, Mike Nwaogu wrote: Yes I am. Regards, Mike Nwaogu Tel: 234_802_325_6437 Eml: as_u_ca...@d.top From: Rodrigo Cremaschi rodrigo.cremas...@gmail.com To:

Re: Requirements for an sms proxy

2009-01-13 Thread Nikos Balkanas
Hi, Maybe there is a way to do it from kannel, with some help from your application. Your application has to emulate the SMPP SMSc. In other words, speaking SMPP protocol, it has to initiate an MO to kannel. I believe your application already speaks SMPP. You will need an MO2MO