How to send sms in less than 5 sec?

2011-04-02 Thread Hassan Ajan
Hi,

I have setup kannel on an ubuntu server, I have tried different modems, Siemens 
C35i and nokia E50. I have tried various init strings, i have tried setting mms 
to true and i just can't seem to get below 4,5 - 5 secs per sms. I have tried 
smscaster for windows wiith same modems and it sends in an sms in 2 secs. 

Any advice ?


Re: How to send sms in less than 5 sec?

2011-04-02 Thread Nikos Balkanas

Hi,

What are the sent/delivery times shown in access log?

BR,
Nikos
- Original Message - 
From: "Hassan Ajan" 

To: 
Sent: Saturday, April 02, 2011 8:36 PM
Subject: How to send sms in less than 5 sec?


Hi,

I have setup kannel on an ubuntu server, I have tried different modems, 
Siemens C35i and nokia E50. I have tried various init strings, i have tried 
setting mms to true and i just can't seem to get below 4,5 - 5 secs per sms. 
I have tried smscaster for windows wiith same modems and it sends in an sms 
in 2 secs.


Any advice ? 





Re: How to send sms in less than 5 sec?

2011-04-02 Thread Hassan Ajan
Hi,


Thx for the quick response.

I can't see anything specific stating the sent / delivery time besides the
timestamps in the access log:


2011-04-03 02:18:47 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:96] [from:2020] [to:+] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:52 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:97] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh
Hassan] [udh:0:]
2011-04-03 02:18:52 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:97] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:52 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:96] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success]
[udh:0:]
2011-04-03 02:18:57 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:98] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh
Hassan] [udh:0:]
2011-04-03 02:18:57 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:98] [from:2020] [to:+] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:57 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:97] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success]
[udh:0:]
2011-04-03 02:19:02 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:99] [from:2020] [to:+] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh
Hassan] [udh:0:]
2011-04-03 02:19:02 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:99] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:19:02 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:98] [from:2020] [to:+x] [flags:-1:-1:-1:-1:1] [msg:7:Success]
[udh:0:]
2011-04-03 02:19:07 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:100] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh
Hassan] [udh:0:]
2011-04-03 02:19:07 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:100] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/]
[udh:0:]
2011-04-03 02:19:07 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:99] [from:2020] [to:+x] [flags:-1:-1:-1:-1:1] [msg:7:Success]
[udh:0:]
2011-04-03 02:19:11 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:]
[FID:100] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success]
[udh:0:]


As you see it's 5  secs everytime it's sends a msg also on my phone I
receive them with 5 sec interval.

Below is the content of my kannel.conf:

# CORE
group = core
admin-port = 13000
admin-password = playsms
#status-password = playsms
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
store-type = file
store-file = /var/log/kannel/kannel.store
smsbox-max-pending = 100
admin-allow-ip = "*.*.*.*"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = 1000
modemtype = siemens_mc35i
device = /dev/ttyS0
speed = 115200
connect-allow-ip = 127.0.0.1
port = 1
my-number = 2020
sms-center = +453130

# SENDSMS-USER
group = sendsms-user
default-smsc = default
username = playsms
password = playsms
max-messages = 10
concatenation = true
user-allow-ip = 127.0.0.1

# SMS SERVICE 'default'
group = sms-service
keyword = default
omit-empty = true
max-messages = 10
get-url = "
http://127.0.0.1/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a
"


Any help appreciated.

/Hassan


2011/4/2 Nikos Balkanas 

> Hi,
>
> What are the sent/delivery times shown in access log?
>
> BR,
> Nikos
> ----- Original Message - From: "Hassan Ajan" 
> To: 
> Sent: Saturday, April 02, 2011 8:36 PM
> Subject: How to send sms in less than 5 sec?
>
>
>
> Hi,
>
> I have setup kannel on an ubuntu server, I have tried different modems,
> Siemens C35i and nokia E50. I have tried various init strings, i have tried
> setting mms to true and i just can't seem to get below 4,5 - 5 secs per sms.
> I have tried smscaster for windows wiith same modems and it sends in an sms
> in 2 secs.
>
> Any advice ?
>


Re: How to send sms in less than 5 sec?

2011-04-02 Thread Nikos Balkanas

Hi,

From the logs I see that you get instantaneous delivery. In the same second 
you get acceptance by the SMSc, and delivery to the destination SIM. You 
cannot get any faster than that. It looks you are sending the SMS through 
playsms, every 5". It seems to be an upstream issue, unrelated to kannel. 
For verification please post also your detailed smsbox logs of the attempt.


BR,
Nikos
- Original Message - 
From: Hassan Ajan

To: Nikos Balkanas
Cc: us...@vm1.kannel.org
Sent: Sunday, April 03, 2011 3:25 AM
Subject: Re: How to send sms in less than 5 sec?


Hi,




Thx for the quick response.


I can't see anything specific stating the sent / delivery time besides the 
timestamps in the access log:





2011-04-03 02:18:47 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:96] [from:2020] [to:+] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:52 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:97] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh 
Hassan] [udh:0:]
2011-04-03 02:18:52 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:97] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:52 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:96] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success] 
[udh:0:]
2011-04-03 02:18:57 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:98] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh 
Hassan] [udh:0:]
2011-04-03 02:18:57 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:98] [from:2020] [to:+] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:57 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:97] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success] 
[udh:0:]
2011-04-03 02:19:02 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:99] [from:2020] [to:+] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh 
Hassan] [udh:0:]
2011-04-03 02:19:02 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:99] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:19:02 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:98] [from:2020] [to:+x] [flags:-1:-1:-1:-1:1] [msg:7:Success] 
[udh:0:]
2011-04-03 02:19:07 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:100] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh 
Hassan] [udh:0:]
2011-04-03 02:19:07 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:100] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] 
[udh:0:]
2011-04-03 02:19:07 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:99] [from:2020] [to:+x] [flags:-1:-1:-1:-1:1] [msg:7:Success] 
[udh:0:]
2011-04-03 02:19:11 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:100] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success] 
[udh:0:]





As you see it's 5  secs everytime it's sends a msg also on my phone I 
receive them with 5 sec interval.



Below is the content of my kannel.conf:


# CORE
group = core
admin-port = 13000
admin-password = playsms
#status-password = playsms
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
store-type = file
store-file = /var/log/kannel/kannel.store
smsbox-max-pending = 100
admin-allow-ip = "*.*.*.*"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"


# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = 1000
modemtype = siemens_mc35i
device = /dev/ttyS0
speed = 115200
connect-allow-ip = 127.0.0.1
port = 1
my-number = 2020
sms-center = +453130


# SENDSMS-USER
group = sendsms-user
default-smsc = default
username = playsms
password = playsms
max-messages = 10
concatenation = true
user-allow-ip = 127.0.0.1


# SMS SERVICE 'default'
group = sms-service
keyword = default
omit-empty = true
max-messages = 10
get-url = 
"http://127.0.0.1/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a";





Any help appreciated.


/Hassan




2011/4/2 Nikos Balkanas 

Hi,

What are the sent/delivery times shown in access log?

BR,
Nikos
- Original Message ----- From: "Hassan Ajan" 
To: 
Sent: Saturday, April 02, 2011 8:36 PM
Subject: How to send sms in less than 5 sec?



Hi,

I have setup kannel on an ubuntu server, I have tried different modems, 
Siemens C35i and nokia E50. I have tried various init strings, i have tried 
setting mms to true and i just can't seem to get below 4,5 - 5 secs per sms. 
I have tried smscaster for windows wiith same modems and it sends in an sms 
in 2 secs.


Any advice ? 





Re: How to send sms in less than 5 sec?

2011-04-03 Thread Nikos Balkanas
This is not what I asked for. I asked for relevant detailed smsbox logs of the 
attempt. That means the same timestamps. Please repost along with relevant 
detailed bb logs.

bR,
Nikos
  - Original Message - 
  From: Hassan Ajan 
  To: Nikos Balkanas 
  Cc: us...@vm1.kannel.org 
  Sent: Sunday, April 03, 2011 8:04 AM
  Subject: Re: How to send sms in less than 5 sec?


  Hi again, 


  Here is the log from smsbox:


  [...snip...]


  2011/4/3 Nikos Balkanas 

Hi,

From the logs I see that you get instantaneous delivery. In the same second 
you get acceptance by the SMSc, and delivery to the destination SIM. You cannot 
get any faster than that. It looks you are sending the SMS through playsms, 
every 5". It seems to be an upstream issue, unrelated to kannel. For 
verification please post also your detailed smsbox logs of the attempt.


BR,
Nikos
- Original Message - From: Hassan Ajan

To: Nikos Balkanas
Cc: us...@vm1.kannel.org
Sent: Sunday, April 03, 2011 3:25 AM
Subject: Re: How to send sms in less than 5 sec?



Hi,




Thx for the quick response.


I can't see anything specific stating the sent / delivery time besides the 
timestamps in the access log:




2011-04-03 02:18:47 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:96] [from:2020] [to:+] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:52 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:97] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh 
Hassan] [udh:0:]
2011-04-03 02:18:52 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:97] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:52 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:96] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success] [udh:0:]
2011-04-03 02:18:57 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:98] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh 
Hassan] [udh:0:]
2011-04-03 02:18:57 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:98] [from:2020] [to:+] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:18:57 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:97] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success] [udh:0:]
2011-04-03 02:19:02 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:99] [from:2020] [to:+] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh Hassan] 
[udh:0:]
2011-04-03 02:19:02 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:99] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:19:02 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:98] [from:2020] [to:+x] [flags:-1:-1:-1:-1:1] [msg:7:Success] [udh:0:]
2011-04-03 02:19:07 Sent SMS [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:100] [from:2020] [to:+x] [flags:1:0:-1:-1:31] [msg:17:kjhkj- Mvh 
Hassan] [udh:0:]
2011-04-03 02:19:07 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:100] [from:2020] [to:+x] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-04-03 02:19:07 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:99] [from:2020] [to:+x] [flags:-1:-1:-1:-1:1] [msg:7:Success] [udh:0:]
2011-04-03 02:19:11 Receive DLR [SMSC:1000] [SVC:playsms] [ACT:] [BINF:] 
[FID:100] [from:2020] [to:+] [flags:-1:-1:-1:-1:1] [msg:7:Success] [udh:0:]




As you see it's 5  secs everytime it's sends a msg also on my phone I 
receive them with 5 sec interval.


Below is the content of my kannel.conf:


# CORE
group = core
admin-port = 13000
admin-password = playsms
#status-password = playsms
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
store-type = file
store-file = /var/log/kannel/kannel.store
smsbox-max-pending = 100
admin-allow-ip = "*.*.*.*"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"


# SMSC CONNECTIONS
group = smsc
smsc = at
smsc-id = 1000
modemtype = siemens_mc35i
device = /dev/ttyS0
speed = 115200
connect-allow-ip = 127.0.0.1
port = 1
my-number = 2020
sms-center = +453130


# SENDSMS-USER
group = sendsms-user
default-smsc = default
username = playsms
password = playsms
max-messages = 10
concatenation = true
user-allow-ip = 127.0.0.1


# SMS SERVICE 'default'
group = sms-service
keyword = default
omit-empty = true
max-messages = 10
get-url = 
"http://127.0.0.1/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a";




Any help appreciated.


/Hassan




2011/4/2 Nikos Balkanas 

Hi,

What are the sent/delivery times shown in access log?

BR,
Nikos