Hi, Using coding=0 (7-bit ASCII SMS) in your send URL, you should be able to get 160 chars in one shot. Other coding schemes (1, 8-bit; 2, UTF-8) have lower limits.
A clarification: DLR 8 means message has been accepted by SMSc. You don't get a forreign ID unless SMSc attempts to send it. BR, Nikos ----- Original Message ----- From: Piyush To: Alvaro Cornejo Cc: users Sent: Wednesday, June 17, 2009 7:39 AM Subject: Reply: Regular and concatenated messages Thanks Alvaro. 1.) Yes, I need it on the basis of billing. I can use only one account i.e. group = sendsms-user username = XXXXXX password = XXXXXX max-messages = 3 concatenation = true But message of 160 characters will consume 2 messages. Thats why I used two accounts. I just wanted to confirm... is this is the right approach? 2.) When I use first account i.e. group = sendsms-user username = abcdef password = abcdef I do get foreign message id in both DLR (8 & 1). But when I use second account and message length crosses 160 characters i.e group = sendsms-user username = pqrst password = pqrst max-messages = 3 concatenation = true I don't get foreign message id in first DLR when status=8, but I do get message id in second DLR(1). I want to know, how to resolve this issue? Thanks & regards, Piyush Khandelwal ------------------ Original Message ------------------ From: "Alvaro Cornejo"<[email protected]>; Date: Jun 16, 2009 06:54 PM To: "Piyush"<[email protected]>; Cc: "users"<[email protected]>; Subject: Re: Regular and concatenated messages 1) You can use the same useraccount for both types of messages. You might want to separate them for easily billing or stat, but for kannel is not important. 2) Kannel can not privide you the foreing_id in the first dlr since its connection to smsc is asyncronous. When you receive an dlr=8 means KANNEL received the message, not the telco smsc. 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 On Tue, Jun 16, 2009 at 4:14 AM, Piyush<[email protected]> wrote: > Hi, > > I have two sendsms-user accounts. One for sending regular(160 characters) > and another for long messages(more then 160). > > group = sendsms-user > username = XXXXXX > password = XXXXXX > > group = sendsms-user > username = XXXXXX > password = XXXXXX > max-messages = 3 > concatenation = true > > I can able to send messages correctly from both the accounts. Now I want to > know... > > 1.) Is this the right way to send both regular and concatenated messages? > > 2.) I am not getting foreign message id, in the first delivery report(when > statusis being set to 8). What can be the reason for this? > > Thanks in advance, > > Piyush > > -------------------- > ibibo Mail :: Get your mail box with Music, Skins, Greetings and Stationery > now! -------------------- ibibo Mail :: Get your FREE mail box with Music, Skins, Greetings and Stationery now!
