GENERIC: ERROR when openning device

2009-10-19 Thread st2forget
Hi all, i'm having trouble with Kannel and Nokia N70 Music Edition. I wonder if Kannel can read that phone or not? :(. Here is my situation: 2009-10-17 01:13:21 [7238] [6] INFO: AT2[N70]: opening device 2009-10-17 01:13:21 [7238] [0] INFO: Adding interface * 2009-10-17 01:13:21 [7238] [0] INFO: -

TLV with null separated string

2009-10-19 Thread Andrew Toth
Hi, First off, I'm using cvs snapshot downloaded 17th October. I have a problem that I've not been able to solve. As the subject says, I need to be able to pass kannel a TLV where the value is an octetstring that consists of data that includes null characters, the string is then terminated by

Re: Kannel / sendsms.php & mobile phone (CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500))

2009-10-19 Thread Emmanuel CHANSON
Thanks Nikos for your answer. In fact I think I found the reason of this. It is because in my PHP script I did not use the PHP function "* urlencode($text)*", then when I tried to send a SMS with several word it did not work cause of the space between each word. Now it is working but thanks to te

Re: getting delivery report: delivery failure

2009-10-19 Thread Latitude Test
Apologies for not sending the complete PDU before. Kindly review the complete PDU and guide. Thanks. ... [7] DEBUG: SMPP[abc1]: Got PDU: [7] DEBUG: SMPP PDU 8174bc0 dump: [7] DEBUG: type_name: enquire_link_resp [7] DEBUG: command_id: 2147483669 = 0x8015 [7] DEBUG: command_status: 0 = 0x

Re: Message Queue :: Clarification

2009-10-19 Thread Fourat ZOUARI
Thank you Abdulraheem, Betwise, shall i configure the throughput to what my operator is slowing down to ? (1 sms/s) Regards, On Mon, Oct 19, 2009 at 3:27 AM, Abdulraheem Obaisi wrote: > Hi, > I have faced same issue month ago (throughput problem) , last CVS has > solved this issue please try to

Re: Kannel / sendsms.php & mobile phone (CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a look at it. (500))

2009-10-19 Thread Nikos Balkanas
Wow! Glad it could help. Nikos - Original Message - From: Emmanuel CHANSON To: Nikos Balkanas Cc: users@kannel.org Sent: Monday, October 19, 2009 12:14 PM Subject: Re: Kannel / sendsms.php & mobile phone (CMS ERROR: Unknown error. -> maybe Sim storage is full? I'll have a

Re: getting delivery report: delivery failure

2009-10-19 Thread Nikos Balkanas
Hi, It seems that your SMSc is sending out the wrong DLR format. According to SMPP 3.4 specs: “id:II sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done date:YYMMDDhhmm stat:DDD err:E Text: . . . . . . . . .” Several optional fields (sub, dlvrd, err) are missing, but also a required fie

Re: getting delivery report: delivery failure

2009-10-19 Thread Latitude Test
Thanks Nikos. But I do get "stat" field which contains some useful info. Also I felt that the format is vendor specific and the missing fields are not mandatory. Quote from http://www.nowsms.com/discus/messages/1/SMPP_v3_4_Issue1_2-24857.pdf: The informational content of an SMSC Delivery Receipt

Fwd: getting delivery report: delivery failure

2009-10-19 Thread Latitude Test
Adding to it, I saw Kannel sending me correct DLRs with another SMSC and in the logs I saw the following: dlvrd:001 sub:001 Text:. The mendatory field Text does not contain any useful info here. How kannel knows the status of the message then? Seems it uses the optional fields which are "sub" and

Re: How to stop message retries

2009-10-19 Thread Jinson
Got stuck with this problem again today. See my logs attached.Somebody received 150 Messages. This log is for a particular number which the message was retired nearly 150 times and I can not find anything on the bearerbox access log for this number. Thanks Jinson Abraham On Fri, Sep

Re: How to stop message retries

2009-10-19 Thread Arne K. Haaje
This sometimes happen if the user is in a foreign network, like when travelling. The message get delivered, but the SMSC that you are using does not receive an ack from the phone that message is delivered. So, it retries the message. You can try asking the user to select another network on the

Re: How to stop message retries

2009-10-19 Thread Jinson
* sms-resend-retry = 0 * should stop the retries rite? Thanks Jinson Abraham On Mon, Oct 19, 2009 at 6:02 PM, Arne K. Haaje wrote: > This sometimes happen if the user is in a foreign network, like when > travelling. > > The message get delivered, but the SMSC that you are using doe

Re: getting delivery report: delivery failure

2009-10-19 Thread Alejandro Guerrieri
If available, kannel uses the optional value "network_error" (or something like that) prior to digging into the message text. Regards, Alejandro On Mon, Oct 19, 2009 at 1:49 PM, Latitude Test wrote: > Adding to it, I saw Kannel sending me correct DLRs with another SMSC and in > the logs I saw th

Re: getting delivery report: delivery failure

2009-10-19 Thread Latitude Test
Still confused about mandatory fields. Can someone tell me which fields are used by Kannel to return the message status? Regards. On Mon, Oct 19, 2009 at 3:07 PM, Alejandro Guerrieri < alejandro.guerri...@gmail.com> wrote: > If available, kannel uses the optional value "network_error" (or someth

Re: Help me about Kannel + HTTP connection

2009-10-19 Thread David Gerardo
Sorry, but I think you have not understood my previous email. The intention was never to attack anyone, but I do send me a thousand questions and reading the user guide, a document that I have read several times and still can not find the answers. If I thought that the Guide or the community wil

Re: getting delivery report: delivery failure

2009-10-19 Thread Alejandro Guerrieri
For regular messages, on SMPP the status is inferred from the submit_sm_resp PDU. If you have DLR's active, this also creates the first "fake" DLR (internally created by kannel without needing the SMSC to have DLR's activated). For SMSC-created DLR's (which are kind of "special" MO's also handled o

Re: getting delivery report: delivery failure

2009-10-19 Thread Nikos Balkanas
Hi, Indeed there are some optional DLR fields that are vendor specific. However, required fields need to be there. I could provide a patch for your case, but I don't want to do it by breaking up SMPP compatibility. What the hell? Try this. I can't promise that it will be accepted, but it is wo

Re: getting delivery report: delivery failure

2009-10-19 Thread Nikos Balkanas
Yes, but it is required to be there. I am not making the spec. Nikos - Original Message - From: Latitude Test To: users ; Nikos Balkanas Sent: Monday, October 19, 2009 2:49 PM Subject: Fwd: getting delivery report: delivery failure Adding to it, I saw Kannel sending me cor

Re: getting delivery report: delivery failure

2009-10-19 Thread Latitude Test
Are you saying "dlvrd" and "sub" are mandatory for Kannel? 2009/10/19 Nikos Balkanas > Yes, but it is required to be there. I am not making the spec. > > Nikos > > - Original Message - > *From:* Latitude Test > *To:* users ; Nikos Balkanas > *Sent:* Monday, October 19, 2009 2:49 PM >

Re: How to stop message retries

2009-10-19 Thread Nikos Balkanas
Hi, Are these logs with sms-resend-retry = 0? Nikos - Original Message - From: Jinson To: Arne K. Haaje Cc: users@kannel.org ; Nikos Balkanas Sent: Monday, October 19, 2009 3:52 PM Subject: Re: How to stop message retries sms-resend-retry = 0 should stop the retries

Re: How to stop message retries

2009-10-19 Thread Jinson
Yes It is. Thanks Jinson Abraham 2009/10/19 Nikos Balkanas > Hi, > > Are these logs with sms-resend-retry = 0? > ** > Nikos > > - Original Message - > *From:* Jinson > *To:* Arne K. Haaje > *Cc:* users@kannel.org ; Nikos Balkanas > *Sent:* Monday, October 19, 2009 3:52 PM

Fwd: getting delivery report: delivery failure

2009-10-19 Thread Latitude Test
I will contact my SMSC but I need to know exactly which fields are really being used by Kannel to return the DLR status?. Seems to me that Kannel is using *optional fields* like "sub" and "dlvrd". If thats true, then isn't is a bug? Quoting Nokos > Hi, > > It seems that your SMSc is sending out

Re: Help me about Kannel + HTTP connection

2009-10-19 Thread Nikos Balkanas
Hi, I am not hurt. but the issue is still the same. Ask specific questions, you will get an answer. Ask general questions, like "I need to know the file kannel.conf, What do I have to configure?", go read the guide. We don't have the time nor the inclination to explain it to you over emails. B

Re: getting delivery report: delivery failure

2009-10-19 Thread Nikos Balkanas
Hi, You seem to have the spec. Just read which fields are mandatory from there. Kannel requires mandatory fields. Kannel will use optional fields, if they exist, but it doesn't reuire them. Optional fields are: sub, dlvrd & err. Read the spec. Nikos - Original Message - From: Lati

question about kannel's service

2009-10-19 Thread David Gerardo
I have a question ... Kannel "the only thing you do is set the configuration variables for communication between mobile devices and services for these devices? "At the end you have to configure mobile devices to communicate through the Kannel gateway.?

Re: getting delivery report: delivery failure

2009-10-19 Thread Alejandro Guerrieri
As you can confirm by reading the 3.4 spec (Appendix B), the format is far from an established standard: *Delivery Receipt Format* SMPP provides for return of an SMSC delivery receipt via the *deliver_sm* or *data_sm* PDU, which indicates the delivery status of the message. The informational co

Re: getting delivery report: delivery failure

2009-10-19 Thread Latitude Test
I have SMPP 3.4 specs but it doesn't give any info on mandatory/optional fields when it comes to DLR format. 2009/10/19 Nikos Balkanas > Hi, > > You seem to have the spec. Just read which fields are mandatory from there. > Kannel requires mandatory fields. Kannel will use optional fields, if th

Re: getting delivery report: delivery failure

2009-10-19 Thread Milan P. Stanic
Hi, A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On Mon, 2009-10-19 at 16:29, Alejandro Guerrieri wrote: > As you can confirm by reading the 3.4 spec (Appendix B), the fo

Re: getting delivery report: delivery failure

2009-10-19 Thread Alejandro Guerrieri
Sorry, what optional fields are you talking about? sub: and dlvrd: are _not_ optional parameters but part of the "de facto standard" for DLR format. The only "optional" parameter honored by kannel on DLR's is "network_error_code" but it's not mandatory: if present, Kannel will use it to determine i

Re: GENERIC: ERROR when openning device

2009-10-19 Thread Alvaro Cornejo
Kannel detected your modem config but is unable to open the modem. There is no info about kannel been able to open /dev/ttyACM0 Check permissions for kannel to read/write on your /dev/ttyACM0 Regards Alvaro |

Re: getting delivery report: delivery failure

2009-10-19 Thread Alejandro Guerrieri
There's not a "standarized" format... how could this be a bug? Kannel relies on what's considered "a typical example" and in fact it's being used by the vast majority of SMSC's out there (Believe me, I've connected with over 50 different SMSC's all over the world and never experienced an issue).

Re: getting delivery report: delivery failure

2009-10-19 Thread Nikos Balkanas
Sorry, Alej, You are in the wrong here. In the spec some of these fields are declared as optional, and others as not: msgid: The message ID allocated to the message by the SMSC when originally submitted. sub: Number of short messages originally submitted. This is only relevant when the origin

Re: getting delivery report: delivery failure

2009-10-19 Thread Alejandro Guerrieri
not relevant !== optional. Where did you read "optional" or "can be removed"? Again, this is NOT a standard, and it's documented by example, which it's imho a flaw on the spec's strictness, but it is what it is. The fact that most smsc's uses that format makes a strong point for kannel to use it a

Re: getting delivery report: delivery failure

2009-10-19 Thread Milan P. Stanic
On Mon, 2009-10-19 at 17:04, Alejandro Guerrieri wrote: > There's not a "standarized" format... how could this be a bug? Obviously, it _is_ bug if the format is not standardized and kannel fails. If kannel parses non-standard text it should not fail in case the text is not in the format it expects

nokia 3500c?

2009-10-19 Thread adolfo feria
i would like to know if Nokia 3500c works to get sms queue on kannel , i tried init-string = "AT&F" and it works only to send sms. Exists any AT+CNMI= to get the messages that nokia 3500c recives? i need send and recive Thanks for help Adolfo

Re: getting delivery report: delivery failure

2009-10-19 Thread seikath
I had similar issues three times. In two of the cases the telco people was not able or not willing to change the response. So I just did a work arround. At the last case the telco ppl were just convinced they have to implement the changes at their side because of the fact the other telco operator

Re: getting delivery report: delivery failure

2009-10-19 Thread Alejandro Guerrieri
What would be the proper behavior in your opinion? Imho it's not a bug, perhaps a limitation. Could it be changed to make it configurable? Sure, your patch is more than welcome :) Regards, Alejandro On Mon, Oct 19, 2009 at 5:21 PM, Milan P. Stanic wrote: > On Mon, 2009-10-19 at 17:04, Alejand

Re: getting delivery report: delivery failure

2009-10-19 Thread Milan P. Stanic
On Mon, 2009-10-19 at 17:36, Alejandro Guerrieri wrote: > What would be the proper behavior in your opinion? Imho it's not a bug, > perhaps a limitation. It is not bug if we all expect that behavior, but because at least one user have a problem with it, it _is_ bug for him. It didn't bite me so I

Re: getting delivery report: delivery failure

2009-10-19 Thread Nikos Balkanas
You are right. Not relevant == irrelevant. Which means simply don't use it. Stronger word than optional, I would think. Anyway, I think that the consensus is for patching. Let's focus on that. Nikos - Original Message - From: Alejandro Guerrieri To: Nikos Balkanas Cc: Latitude

Fw: only receiving DLR type=8

2009-10-19 Thread Sunil Soni
Hi List, Below is the kannel.log and configuration file. I am only receiving DLR type=8 i.e SMSC submit. How can I recieve Other DLR type=1 2 or 5 ? Plese any one help me I am using kannel-1.4.3, DLR mask 31 2009-10-18 12:28:22 [15936] [6] DEBUG: SMPP[Id72]: Sending PDU: 2009

Re: only receiving DLR type=8

2009-10-19 Thread Nikos Balkanas
Hi, Please post your send-url. Have you tested it with your mobile? Is the SMS received? BR, Nikos - Original Message - From: "Sunil Soni" To: Sent: Monday, October 19, 2009 9:04 PM Subject: Fw: only receiving DLR type=8 Hi List, Below is the kannel.log and configuration file. I

Re: Fw: only receiving DLR type=8

2009-10-19 Thread seikath
bind as transceiver not as transmitter: group = smsc ... transceiver-mode = true Sunil Soni wrote: > Hi List, > Below is the kannel.log and configuration file. > I am only receiving DLR type=8 i.e SMSC submit. > How can I recieve Other DLR type=1 2 or 5 ? > Plese any one help me > I am

Re: nokia 3500c?

2009-10-19 Thread Alvaro Cornejo
You should check the AT manual of your Nokia. We have detected taht some nokia phones does not support CNMI comand... you might need to look for another phone. Regards Alvaro |-| Enví

Kannel / fakesmsc errors Could not open pid-file `10000'

2009-10-19 Thread Emmanuel CHANSON
Hello guys, Does anyone know why I am getting these errors when trying to use fakesmsc ? *[r...@elodine ~]# /home/manu/softs/gateway-1.4.3/test/fakesmsc -p 1 -H localhost -i 1 -m 1 "111222 99 text MAREE" 2009-10-20 08:08:45 [31937] [0] PANIC: Could not open pid-file `1' 2009-10-20 08:

Re: question about kannel's service

2009-10-19 Thread Emmanuel CHANSON
I will try to answer without having clearly understood your question I you want to use mobile devices and Kannel you first have to choose relevants mobiles phones that work with Kannel gateway. All the configuration will be done using configuration files but check the user guide page 56 of the

Re: Kannel / fakesmsc errors Could not open pid-file `10000'

2009-10-19 Thread Nikos Balkanas
Hi, You probably want to use: test/fakesmsc -r 1 ... When in doubt try: test/fakesmsc --help BR, Nikos - Original Message - From: Emmanuel CHANSON To: users@kannel.org Sent: Tuesday, October 20, 2009 12:21 AM Subject: Kannel / fakesmsc errors Could not open pid-file `

Re: Kannel / fakesmsc errors Could not open pid-file `10000'

2009-10-19 Thread Emmanuel CHANSON
Thanks Nikos, you probably right it works using "-r" But it worked before using -p so I don't know for what is used -p parameter Regards, Emmanuel 2009/10/20 Nikos Balkanas > Hi, > > You probably want to use: > > test/fakesmsc -r 1 ... > > When in doubt try: > > test/fakesmsc --help > >

Re: Kannel / fakesmsc errors Could not open pid-file `10000'

2009-10-19 Thread Nikos Balkanas
For your info, when I try -p it will give me something completely different. Still it is a bug, since it is supposed to panic with illegal arguments... Nikos - Original Message - From: Emmanuel CHANSON To: Nikos Balkanas Cc: users@kannel.org Sent: Tuesday, October 20, 2009 4

Re: Fw: only receiving DLR type=8

2009-10-19 Thread Sunil Soni
Thanks a lot seikath Now I am able to receving DLR type =1 after binding as transceiver. -Thanks -Sunil --- On Mon, 19/10/09, seikath wrote: > From: seikath > Subject: Re: Fw: only receiving DLR type=8 > To: > Cc: users@kannel.org > Date: Monday, 19 October, 2009, 11:53 PM > bind as t

Re: only receiving DLR type=8

2009-10-19 Thread Sunil Soni
Thanks Nikos! Yes I am receiving almost every SMS in my moblie. my post url is /cgi-bin/sendsms?username=***&password=&senderid=Lalit&from=Lalit&to=919868311699&text=test&dlr-mask=31&dlr-url=http%3A%2F%2F209.61.238.10%2Fsmsadmin%2Fplugin%2Fgateway%2Fkannel%2Fdlr.php%3Ftype%3D%25d%26slid%3D750%

Re: only receiving DLR type=8

2009-10-19 Thread Nikos Balkanas
You are most wellcome, but all thanks to Seikath! Nikos - Original Message - From: "Sunil Soni" To: Sent: Tuesday, October 20, 2009 4:31 AM Subject: Re: only receiving DLR type=8 Thanks Nikos! Yes I am receiving almost every SMS in my moblie. my post url is /cgi-bin/sendsms?usernam

Re: How to stop message retries

2009-10-19 Thread Jinson
Can somebody suggest a solution...? Thanks JInson On Mon, Oct 19, 2009 at 7:22 PM, Jinson wrote: > Yes It is. > > Thanks > Jinson Abraham > > > 2009/10/19 Nikos Balkanas > > Hi, >> >> Are these logs with sms-resend-retry = 0? >> ** >> Nikos >> >> - Original Message -