sms delivery status

2008-03-12 Thread ACL
I am using wavecom as SMSC.

if we send sms via http, the result is sent to kannel queue.

How could we know if the SMS is really sent via wavecom?

I have searched through the mailing list and someone suggested 
immediate-sendsms-reply=true. But, i have tried without success.

Pls kindly reply.

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

RE: sms delivery status

2008-03-12 Thread Amity, Ronen
One way will be to look at the messeges log :

 

Mar 12 14:31:06 monsrv bearerbox: 2008-03-12 14:31:06 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: TP-Validity-Period: 24.0 hours

Mar 12 14:31:06 monsrv bearerbox: 2008-03-12 14:31:06 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: -- AT+CMGS=19^M

Mar 12 14:31:06 monsrv bearerbox: 2008-03-12 14:31:06 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: -- 

Mar 12 14:31:06 monsrv bearerbox: 2008-03-12 14:31:06 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: send command status: 1

Mar 12 14:31:06 monsrv bearerbox: 2008-03-12 14:31:06 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: -- 0011000A815044067394A7068A39FA5DA703

Mar 12 14:31:06 monsrv bearerbox: 2008-03-12 14:31:06 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: -- ^Z

Mar 12 14:31:08 monsrv bearerbox: 2008-03-12 14:31:08 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: -- 

Mar 12 14:31:08 monsrv bearerbox: 2008-03-12 14:31:08 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: -- +CMGS: 178

Mar 12 14:31:08 monsrv bearerbox: 2008-03-12 14:31:08 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: -- OK

Mar 12 14:31:08 monsrv bearerbox: 2008-03-12 14:31:08 [3306] [6] DEBUG:
AT2[/dev/ttyS0]: send command status: 0

 

 

 

I hope this helps.

 

p.s.

 

I use wavecom fastrack modem as well.

 

J

 

Ronen

 

 

From: ACL [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2008 10:13 AM
To: users@kannel.org
Subject: sms delivery status

 

I am using wavecom as SMSC.

if we send sms via http, the result is sent to kannel queue.

How could we know if the SMS is really sent via wavecom?

I have searched through the mailing list and someone suggested
immediate-sendsms-reply=true. But, i have tried without success.

Pls kindly reply.

  



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.
http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62
sR8HDtDypao8Wcj9tAcJ%20 



RE: sms delivery status

2008-03-12 Thread Raul Igrisan
Check the manual and examples for dlr-url and dlr-mask 

 

  _  

From: ACL [mailto:[EMAIL PROTECTED] 
Sent: 12 March 2008 10:13
To: users@kannel.org
Subject: sms delivery status

 

I am using wavecom as SMSC.

if we send sms via http, the result is sent to kannel queue.

How could we know if the SMS is really sent via wavecom?

I have searched through the mailing list and someone suggested
immediate-sendsms-reply=true. But, i have tried without success.

Pls kindly reply.

  

  _  

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8H
DtDypao8Wcj9tAcJ%20  it now.



Re: Send SMS delivery status

2006-11-02 Thread Ben Suffolk
Is there any way to get send SMS delivery status synchronously (as  
oppose to DLR). Or is there any possible configuration that binds  
send sms process to SMSC driver reply before terminating (so that  
it could return info DLR style).


You could write an application to sit in front of smsbox to do this,  
but I can't really see why you would want to. Maybe if you explained  
why you want to do it, we can help a bit more with other options.


Sometimes it's useful that way instead of using dlr-mash/dlr-url,  
right?


Not sure about this, I think maybe if it was delivered instantly and  
you are only sending a few messages you might get away with this, but  
the problem is you will end up blocking the application from sending  
other messages. What happens if the phone is switched off when you  
send to it? (You app will block until its switched on...)


Ben






Re: Send SMS delivery status

2006-11-02 Thread Enver ALTIN
On Thu, 2006-11-02 at 08:37 +, Ben Suffolk wrote:
 Not sure about this, I think maybe if it was delivered instantly and
 you are only sending a few messages you might get away with this, but
 the problem is you will end up blocking the application from sending
 other messages. What happens if the phone is switched off when you  
 send to it? (You app will block until its switched on...) 

Practically, making the sendsms CGI interface wait until a response
(either success or fail) from the SMSC is returned would be useful for
multithreaded applications, so they can get instant information about
whether if the message reliably reached to the SMSC or not.

But then, what's the point of having Kannel sitting in the middle? There
are a plethora of libraries that provide easy wrappers to connect to
SMPP or other types of SMSCs, one can just stick to them.
-- 
.O.
..O   Enver ALTIN   |   http://enveraltin.com/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


Re: Send SMS delivery status

2006-11-02 Thread Ben Suffolk

Practically, making the sendsms CGI interface wait until a response
(either success or fail) from the SMSC is returned would be useful for
multithreaded applications, so they can get instant information about
whether if the message reliably reached to the SMSC or not.


Ah, reached the SMSC, thats a little different from reaching a phone.  
You might expect it to reach the SMSC pretty quickly, regardless of  
phone status.


You can (1.4.1-stable) ask smsbox to wait for a response from  
bearerbox, which will give you info on submission. If bearerbox is  
not heavily loaded this is generally submission to the smsc, but can  
be queued.


The important thing from the app is probably that it will not get  
lost, so even if bearerbox reports queued, that should be ok for most  
apps anyway I would have though.


Regards

Ben





Re: Send SMS delivery status

2006-11-02 Thread Enver ALTIN
On Thu, 2006-11-02 at 08:58 +, Ben Suffolk wrote:
 You can (1.4.1-stable) ask smsbox to wait for a response from  
 bearerbox, which will give you info on submission. If bearerbox is  
 not heavily loaded this is generally submission to the smsc, but can
 be queued. 

In some cases involving charging parameters, SMSC may reject a message
and sender application would love to know it. In these cases,
immediate-sendsms-reply = true would not really work.

Yet more, there is another problem. When SMSC rejects a message with a
specific reason and returns an error code, Kannel provides no way of
passing the reason back to the submitting application, even when DLRs
are in use. I think this is a problem, but I don't know how the proper
implementation of the solution would look like. Hmm.
-- 
.O.
..O   Enver ALTIN   |   http://enveraltin.com/
OOO   Software developer @ Parkyeri | http://www.parkyeri.com/


signature.asc
Description: This is a digitally signed message part


Re: Send SMS delivery status

2006-11-02 Thread Vincent Gulinao
Right. Say if message depends on the response of the previous delivery,
and you don't want your logic app clunky that it needs multiple files
just to implement a simple message ordering, for instance.On 11/2/06, Enver ALTIN [EMAIL PROTECTED] wrote:
On Thu, 2006-11-02 at 08:58 +, Ben Suffolk wrote: You can (1.4.1-stable) ask smsbox to wait for a response from
 bearerbox, which will give you info on submission. If bearerbox is not heavily loaded this is generally submission to the smsc, but can be queued.In some cases involving charging parameters, SMSC may reject a message
and sender application would love to know it. In these cases,immediate-sendsms-reply = true would not really work.Yet more, there is another problem. When SMSC rejects a message with aspecific reason and returns an error code, Kannel provides no way of
passing the reason back to the submitting application, even when DLRsare in use. I think this is a problem, but I don't know how the properimplementation of the solution would look like. Hmm.--.O...O Enver ALTIN | 
http://enveraltin.com/OOO Software developer @ Parkyeri | http://www.parkyeri.com/


Send SMS delivery status

2006-11-01 Thread Vincent Gulinao
Is there any way to get send SMS delivery status synchronously (as oppose to DLR). Or is there any possible configuration that binds send sms process to SMSC driver reply before terminating (so that it could return info DLR style). Sometimes it's useful that way instead of using dlr-mash/dlr-url, right?



Re: Send SMS delivery status

2006-11-01 Thread fred



No
this is asynchronous messaging...you better get used to 
it..
what ? you want to block your whole application while it waits 
for a dlr ?, a dlr from SMSC could take a weeklol

there is an option to wait for confirmation of delivery to 
bearerbox...the head version 1.4.1 kannel has (i think) please correct me if i'm 
wrong?



  - Original Message - 
  From: 
  Vincent Gulinao 
  To: users@kannel.org 
  Sent: Thursday, November 02, 2006 3:14 
  PM
  Subject: Send SMS delivery status
  Is there any way to get send SMS delivery status synchronously 
  (as oppose to DLR). Or is there any possible configuration that binds send sms 
  process to SMSC driver reply before terminating (so that it could return info 
  DLR style). Sometimes it's useful that way instead of using dlr-mash/dlr-url, 
  right?