kannel.conf configurations for Multi-Tech MultiModem

2009-10-21 Thread chamila piyasena
Hi, but the problem is I couldn't find the correct parameters for, modemtype and device in the configuration. Thnaks, Chamila

Re: Kannel, PlaySMS and "Fail to sent SMS to XXXX" error

2009-10-21 Thread Emmanuel CHANSON
You were right both... I have modified the dlr variable to reach the dlr script in localhost and now the status is updated correctly !!! All seems to work now in this release 0.9.4 until next issue.. Many thanks for those who help me on this as this issue was link mostly to PlaySMS and not K

Re: Kannel, PlaySMS and "Fail to sent SMS to XXXX" error

2009-10-21 Thread Emmanuel CHANSON
I succeed to progress in this issue: First I cancel to use file_get_contains) function and I try to use fsockopen instead, unfortunately that lead to 404 error, unknonw request, so I compare several things between the basic sendsms.php script and PlaySMS one and I found out that my $URL variable w

Re: tried to change dlr mask: denied

2009-10-21 Thread Nikos Balkanas
Hi, Try setting: accept-x-kannel-headers = true in your sms-service group. BR, Nikos - Original Message - From: "Hofferek Attila" To: "Users Kannel" Sent: Wednesday, October 21, 2009 6:23 PM Subject: tried to change dlr mask: denied Hi, I send these parameters in HTTP reply XML

Re: tried to change dlr mask: denied [solved]

2009-10-21 Thread Hofferek Attila
Hofferek Attila írta: Hi, I send these parameters in HTTP reply XML: 2009-10-21 17:38:07 [6132] [5] WARNING: Tried to change dlr_url to 'http%3A%2F%2F127.0.0.1%2Fsms%2Fdlr.php%3Fmsgid%3D6', denied. 2009-10-21 17:38:07 [6132] [5] WARNING: Tried to set Coding field, denied. 2009-10-21 17:38:07

tried to change dlr mask: denied

2009-10-21 Thread Hofferek Attila
Hi, I send these parameters in HTTP reply XML: 2009-10-21 17:38:07 [6132] [5] WARNING: Tried to change dlr_url to 'http%3A%2F%2F127.0.0.1%2Fsms%2Fdlr.php%3Fmsgid%3D6', denied. 2009-10-21 17:38:07 [6132] [5] WARNING: Tried to set Coding field, denied. 2009-10-21 17:38:07 [6132] [5] WARNING: Tri

Re: Kannel, PlaySMS and "Fail to sent SMS to XXXX" error

2009-10-21 Thread Alvaro Cornejo
Emmanuel Have you tried to call dlr-url manually? ie type your dlr-url in a browser and see what you get http%3A%2F%2F61.5.221.52%2Fplaysms%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26slid%3D126%26uid%3D1&mclass=1 is http://61.5.221.52/playsms/plugin/gateway/kannel/dlr.php?type=%d&sli

Re: Using Kannel to Send OTA configuration for SyncMl

2009-10-21 Thread Alejandro Guerrieri
Kannel has a web interface that can send OTA messages if you craft the proper XML. See on the userguide: http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN4537 Regards, Alejandro On Wed, Oct 21, 2009 at 12:26 PM, Nitin Gupta wrote: > Thanks Alejandro. > > > > I was hoping

Re: kannel.conf configurations for Multi-Tech MultiModem

2009-10-21 Thread Nikos Balkanas
Hi, You need to change and adapt a modem group definition, from modems.conf, to suite your particular modem. User's guide explains how to do it. BR, Nikos - Original Message - From: chamila piyasena To: users@kannel.org Sent: Wednesday, October 21, 2009 3:27 PM Subject: kann

kannel.conf configurations for Multi-Tech MultiModem

2009-10-21 Thread chamila piyasena
Hi, I'm using a "Multi-Tech MultiModem GSM/GPRS MTCBA-G-UF1" to send and receive sms from kannel. can you please specify the configurations that i wanto change in the kannel.conf which are specific to this modem. i previously use a *wavecom* modem with the following configurations group = sms

Re: Kannel, PlaySMS and "Fail to sent SMS to XXXX" error

2009-10-21 Thread Kenny Orisanaiye
Hi, file_get_content() only returns false (0) if it could not fetch the url (confirm on php.net). Additionally going through line 38- 52 of /web/plugin/gateway/kannel/fn.php of playsms, i cant see any reason why file_get_content() would return '0'. Please print the output of $ok and $rv. On 10/2

Re: Kannel, PlaySMS and "Fail to sent SMS to XXXX" error

2009-10-21 Thread Emmanuel CHANSON
Yes $rv is equal to '0' when I try to display it so it means that file_get_contains() return false (I tried without trim() function) I will try with curl... Regards, Emmanuel 2009/10/21 Alejandro Guerrieri > Afaik, no, php yields the warning but I think it should be able to get the > value on

Re: Using Kannel to Send OTA configuration for SyncMl

2009-10-21 Thread Alejandro Guerrieri
Now seriously, all those formats are usually specially crafted SMS. Kannel can do the encoding for you (e.g. OTA and wap-push) but most of the time you'll need to pack the binary message yourself and use kannel as the gateway to send it (that's what's kannel was designed for after all). There's a l

Re: Using Kannel to Send OTA configuration for SyncMl

2009-10-21 Thread Alejandro Guerrieri
Start here... http://lmgtfy.com/ On Wed, Oct 21, 2009 at 9:57 AM, Nitin Gupta wrote: > Hi All, > > > > I have recently started making use of Kannel software for my application’s > SMS needs. My app needs to send following binary SMS messages out: > > > > - VCard > > - OTA Sync

Re: Kannel, PlaySMS and "Fail to sent SMS to XXXX" error

2009-10-21 Thread Alejandro Guerrieri
Afaik, no, php yields the warning but I think it should be able to get the value on the variable anyway. If you want to be absolutely certain you could try porting your code to use the php curl extension instead. Regards, Alejandro On Wed, Oct 21, 2009 at 10:16 AM, Emmanuel CHANSON < emmanuelcha

Re: TLV length question

2009-10-21 Thread karan
Try the latest snapshop from the CVS that supports meta data. I was able to get it working. Sent on my BlackBerry® from Vodafone -Original Message- From: narendra reddy Date: Wed, 21 Oct 2009 14:52:04 To: Cc: Subject: Re: TLV length question Hi karan, i am using redhat 4x4

Re: TLV length question

2009-10-21 Thread narendra reddy
Hi karan, i am using redhat 4x4 linux and gateway-1.4.3 version of kannel i am using . Thanks&Regards, Narendra. On Wed, Oct 21, 2009 at 2:48 PM, wrote: > Looks like you are using the older version of Kannel. Try the latest CVS > snapshot. > > Sent on my BlackBerry® from Vodafone >

Re: TLV length question

2009-10-21 Thread karan
Looks like you are using the older version of Kannel. Try the latest CVS snapshot. Sent on my BlackBerry® from Vodafone -Original Message- From: narendra reddy Date: Wed, 21 Oct 2009 14:43:43 To: Users mailing list Subject: Re: TLV length question Hi list, for my requirement i

Re: TLV length question

2009-10-21 Thread narendra reddy
Hi list, for my requirement i have to add smpp-tlv grop in the configaration . for that i am trying to add the tlv group in the config file i am getting below error , how can i add the tlv parameters in the config file . *009-10-21 14:27:30 [7549] [0] INFO: Debug_lvl = 1, log_file = , log_

Using Kannel to Send OTA configuration for SyncMl

2009-10-21 Thread Nitin Gupta
Hi All, I have recently started making use of Kannel software for my application's SMS needs. My app needs to send following binary SMS messages out: - VCard - OTA SyncML Configuration settings I request you to point me to some internet resources or give suggestions o