Re: Give outgoing messages priority over incoming

2010-12-16 Thread Nikos Balkanas
Same logic also in transceiver mode. However, I thought you were talking
about svn kannel. Alex's patch is a different story. It will delay receiving
thread using sleep(), which can also cause ACKs on the transmitting thread
to be delayed, conceivably affecting both operations at the same time. For
more info on that, you need to talk to Alex.

BR,
Nikos

On Thu, Dec 16, 2010 at 9:27 AM, Mohammed Saleem mohammedsl...@gmail.comwrote:

 Hi Nikos,

Does this apply on transceiver SMPP connections on 1.4.3? coz I
 doubt it, I applied a patch once by Alex for the DLRs coming too early
 (before the message is ACKed) which lets the IO thread to sleep and waits
 for the DLR to get inserted into the DB, I clearly saw that when the thread
 sleeps, the traffic stops...

 Thanks

 Best Regards,
 Mohammed M I Sleem

 http://www.abusleem.net  - Personal blog

 http://www.freakle.com - The Search Freak



 2010/12/16 Nikos Balkanas nbalka...@gmail.com

 Hi,

 That should not be your problem. MOs (including DLRs) run on a different
 thread than your MTs, even use completely different queues and structures.
 Even network traffic is on a seperate cable (assuming full duplex
 operation). The presence of one shouldn't affect the other.

 BR,
 Nikos
 - Original Message - From: JimSG jimmy.gar...@laprensa.hn
 To: users@kannel.org
 Sent: Wednesday, December 15, 2010 7:15 PM
 Subject: Give outgoing messages priority over incoming




 Hello,

 We activated the dlr a while ago and it works, but we have come with a
 next
 situation:

 Example:

 A user sends 30,000 sms and a couple of minutes later another user sends
 20,000 sms, it sends a couple thousands sms but it stops because it
 starts
 receving  the dlr and then it starts sending againg and than it stops to
 recieve and so on...  Im using a dlr mask = 19

 Can i give priority to outgoing messages over incoming messages?
 --
 View this message in context:
 http://old.nabble.com/Give-outgoing-messages-priority-over-incoming-tp30465870p30465870.html
 Sent from the Kannel - User mailing list archive at Nabble.com.








unified-prefix for short codes?

2010-12-16 Thread Mohammed Saleem
is there a way to set a unified-prefix for short codes rather than handset's
numbers?

unified-prefix works on sender number in MOs and receiver number in MTs, but
we need is a unified-prefix to be applied for receiver number in MOs and
sender number in MTs (the opposite)

can we accomplish this?

Thanks


Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak http://www.colorle.com


Re: Give outgoing messages priority over incoming

2010-12-16 Thread Alejandro Guerrieri
Yep, my patch is barely a workaround and it definitely impact performance,
specially on transceiver mode.

If you can use TX + RX instead of TRX, much better. Anyway the patch is not
intended to be used under heavy load at all.

Regards,

Alex
On Thu, Dec 16, 2010 at 10:26 AM, Nikos Balkanas nbalka...@gmail.comwrote:

 Same logic also in transceiver mode. However, I thought you were talking
 about svn kannel. Alex's patch is a different story. It will delay receiving
 thread using sleep(), which can also cause ACKs on the transmitting thread
 to be delayed, conceivably affecting both operations at the same time. For
 more info on that, you need to talk to Alex.

 BR,
 Nikos

 On Thu, Dec 16, 2010 at 9:27 AM, Mohammed Saleem 
 mohammedsl...@gmail.comwrote:

 Hi Nikos,

Does this apply on transceiver SMPP connections on 1.4.3? coz I
 doubt it, I applied a patch once by Alex for the DLRs coming too early
 (before the message is ACKed) which lets the IO thread to sleep and waits
 for the DLR to get inserted into the DB, I clearly saw that when the thread
 sleeps, the traffic stops...

 Thanks

 Best Regards,
 Mohammed M I Sleem

 http://www.abusleem.net  - Personal blog

 http://www.freakle.com - The Search Freak



 2010/12/16 Nikos Balkanas nbalka...@gmail.com

 Hi,

 That should not be your problem. MOs (including DLRs) run on a different
 thread than your MTs, even use completely different queues and structures.
 Even network traffic is on a seperate cable (assuming full duplex
 operation). The presence of one shouldn't affect the other.

 BR,
 Nikos
 - Original Message - From: JimSG jimmy.gar...@laprensa.hn
 To: users@kannel.org
 Sent: Wednesday, December 15, 2010 7:15 PM
 Subject: Give outgoing messages priority over incoming




 Hello,

 We activated the dlr a while ago and it works, but we have come with a
 next
 situation:

 Example:

 A user sends 30,000 sms and a couple of minutes later another user sends
 20,000 sms, it sends a couple thousands sms but it stops because it
 starts
 receving  the dlr and then it starts sending againg and than it stops to
 recieve and so on...  Im using a dlr mask = 19

 Can i give priority to outgoing messages over incoming messages?
 --
 View this message in context:
 http://old.nabble.com/Give-outgoing-messages-priority-over-incoming-tp30465870p30465870.html
 Sent from the Kannel - User mailing list archive at Nabble.com.









Kannel 1.5.0 AIX 6.1.4.14

2010-12-16 Thread Howard Allison


Hi, I just compiled 1.5.0 on AIX, and have the infamous Wrong or no answer
to ATZ problem. I can 'cu' to tty0 no problem...I've got Siemens TC65
attached.
Is there anyway I can see exactly what commands are being sent so I can try
to replicate with cu?
Thanks

Mit freundlichen Grüßen
Howard ALLISON

  Pensionsversicherungsanstalt
  Rechenzentrumsbetrieb
  A-1021 Wien,
  Friedrich-Hillegeist-Straße 1

  E-Mail..:
  howard.alli...@pva.sozvers.at
  Internet:
  www.pensionsversicherung.at





--
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an
den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls
Sie nicht
der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die
unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen
oder
Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht
irrtümlich
erhalten haben, vernichten Sie sie bitte sofort.

CONFIDENTIALITY: This message is intended only for the use of the
individuality or
entity to which it is addressed and may contain information that is
privileged,
confidential and exempt from disclosure. If you are not the intended
recipient you are
notified that any dissemination, distribution, use or copying of this
communication is
strictly prohibited. If you received this message in error, please
immediately destroy
this message.
--inline: 16525644.gif

Unicode Character Count

2010-12-16 Thread JAmes
Hi,

When sending a unicode sms, the character count is about 500-520 characters.

When looking in the kannel-access log file, its showing like this:

[msg:956:0051004E00650074 . (lots more after this)

Is this binary encoding?

Also, how come its showing as 956 characters? How many segments is this ?
(to determine total message cost)

Regards,
J


Re: Unicode Character Count

2010-12-16 Thread Jacob Eiler
Hi James, 

the message data in the log is written in hex.

A single sms can contain 140 octets, when sending unicode (UCS2) each
character requires two octets, so you have 70 characters per message.

/Jacob

On Thu, 2010-12-16 at 19:47 +0700, JAmes wrote:
 Hi,
 
 When sending a unicode sms, the character count is about 500-520
 characters.
 
 When looking in the kannel-access log file, its showing like this:
 
 [msg:956:0051004E00650074 . (lots more after this)
 
 Is this binary encoding?
 
 Also, how come its showing as 956 characters? How many segments is
 this ? (to determine total message cost)
 
 Regards,
 J

-- 
Apide ApS
Jacob Eiler
t: 2374 0486
e: jacob.ei...@apide.com
w: apide.com





Asynchronous submit_sm

2010-12-16 Thread Rapture
Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for
a while. The operator confirms delays in sending submit_sm_resp. I noticed
from the logs that kannel does not attempt to send another submit_sm and
queues build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I
can enforce?

 

Kind Regards,

 

Rapture



Re: Unicode Character Count

2010-12-16 Thread Mohammed Saleem
Unicode is represented in hex, each character takes at least 2-bytes
(depends on the charset you use)

in case of 2-bytes per each character like UCS2: you have 70 characters
limit for the SMS part, but if the SMS has more than one part (70
characters) then each 67 characters (134 bytes) will be split into one part



Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak http://www.colorle.com



On Thu, Dec 16, 2010 at 2:47 PM, JAmes jam...@gmail.com wrote:

 Hi,

 When sending a unicode sms, the character count is about 500-520
 characters.

 When looking in the kannel-access log file, its showing like this:

 [msg:956:0051004E00650074 . (lots more after this)

 Is this binary encoding?

 Also, how come its showing as 956 characters? How many segments is this ?
 (to determine total message cost)

 Regards,
 J



Re: Asynchronous submit_sm

2010-12-16 Thread Mohammed Saleem
You may need to increase the max-pending-submits but this may cause a
throttling error

Best Regards,

Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak http://www.colorle.com



On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

  Hi pips,



 I have an issue with SMPP 3.4, I noticed my queues have been building up
 for a while. The operator confirms delays in sending submit_sm_resp. I
 noticed from the logs that kannel does not attempt to send another submit_sm
 and queues build up forever.



 Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I
 can enforce?



 Kind Regards,



 Rapture



RE: Asynchronous submit_sm

2010-12-16 Thread Rapture
I haven’t currently set the max-pending-submits…what does the variable do and 
how will this cause a throttling error?


Thanks.

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:13 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

You may need to increase the max-pending-submits but this may cause a 
throttling error


Best Regards,

Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for a 
while. The operator confirms delays in sending submit_sm_resp. I noticed from 
the logs that kannel does not attempt to send another submit_sm and queues 
build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I can 
enforce?

 

Kind Regards,

 

Rapture

 



Re: Asynchronous submit_sm

2010-12-16 Thread Mohammed Saleem
when you send a submit_sm, the message will considered pending until it
receives the submit_sm_resp so if you set max-pending-submits=5 then kannel
will keep sending submit_sm PDUs until there are 5 submit_sm_resp pending to
arrive to kannel.

see the UG for more info

about the throttling error, this depends on the carrier's SMSC, some SMSCs
limits throughput to a certain speed (like 50 MTs per second) or to a
certain pending submits at a time, when you exceed this limit, the excess
messages will get rejected by the SMSC or the IO thread will get blocked,
this also depends on the SMSC implementation at the carrier's side, actually
I've seen them both


Talk to your provider and ask for advice about those limits


Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak http://www.colorle.com



On Thu, Dec 16, 2010 at 3:30 PM, Rapture supp...@ims.co.ke wrote:

  I haven’t currently set the max-pending-submits…what does the variable do
 and how will this cause a throttling error?


 Thanks.



 *From:* Mohammed Saleem [mailto:mohammedsl...@gmail.com]
 *Sent:* Thursday, December 16, 2010 4:13 PM
 *To:* Rapture
 *Cc:* users@kannel.org
 *Subject:* Re: Asynchronous submit_sm



 You may need to increase the max-pending-submits but this may cause a
 throttling error


 Best Regards,

 Mohammed M I Sleem

 http://www.abusleem.net  - Personal blog

 http://www.freakle.com - The Search Freak



  On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

 Hi pips,



 I have an issue with SMPP 3.4, I noticed my queues have been building up
 for a while. The operator confirms delays in sending submit_sm_resp. I
 noticed from the logs that kannel does not attempt to send another submit_sm
 and queues build up forever.



 Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I
 can enforce?



 Kind Regards,



 Rapture





Antwort: Kannel 1.5.0 AIX 6.1.4.14

2010-12-16 Thread Howard Allison



 Howard Allison howard.alli...@pva.sozvers.at
 Gesendet von: users-boun...@vm1.kannel.org

 16.12.2010 12:09

 An

 us...@vm1.kannel.org

 Kopie

 Thema

 Kannel 1.5.0 AIX 6.1.4.14

 Hi, I just compiled 1.5.0 on AIX, and have the infamous Wrong or no
 answer to ATZ problem. I can 'cu' to tty0 no problem...I've got
 Siemens TC65 attached.
 Is there anyway I can see exactly what commands are being sent so I
 can try to replicate with cu?
 Thanks

 Mit freundlichen Grüßen
 Howard ALLISON

 [image removed]

 Pensionsversicherungsanstalt
 Rechenzentrumsbetrieb
 A-1021 Wien, Friedrich-Hillegeist-Straße 1

 E-Mail..: howard.alli...@pva.sozvers.at
 Internet: www.pensionsversicherung.at



Please ignore - the AIX box just absolutely wanted 38400 for some reason.
Now I'm back to the same old 'ERROR: Error reading from fd' error on AIX,
so it's back to Linux. sigh.


--
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an
den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls
Sie nicht
der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die
unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen
oder
Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht
irrtümlich
erhalten haben, vernichten Sie sie bitte sofort.

CONFIDENTIALITY: This message is intended only for the use of the
individuality or
entity to which it is addressed and may contain information that is
privileged,
confidential and exempt from disclosure. If you are not the intended
recipient you are
notified that any dissemination, distribution, use or copying of this
communication is
strictly prohibited. If you received this message in error, please
immediately destroy
this message.
--

RE: Asynchronous submit_sm

2010-12-16 Thread Rapture
Thanks Saleem,

 

I have set the max-pending-submits to 10 per SMSC connection and my limit on 
the SMSC side is 100MTs per second. Is there a ceiling to the 
max-pending-submits that one can set ie can I set it to say … 200?
 
Thanks again.

 

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:38 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

when you send a submit_sm, the message will considered pending until it 
receives the submit_sm_resp so if you set max-pending-submits=5 then kannel 
will keep sending submit_sm PDUs until there are 5 submit_sm_resp pending to 
arrive to kannel.

see the UG for more info

about the throttling error, this depends on the carrier's SMSC, some SMSCs 
limits throughput to a certain speed (like 50 MTs per second) or to a certain 
pending submits at a time, when you exceed this limit, the excess messages will 
get rejected by the SMSC or the IO thread will get blocked, this also depends 
on the SMSC implementation at the carrier's side, actually I've seen them both


Talk to your provider and ask for advice about those limits




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Thu, Dec 16, 2010 at 3:30 PM, Rapture supp...@ims.co.ke wrote:

I haven’t currently set the max-pending-submits…what does the variable do and 
how will this cause a throttling error?


Thanks.

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:13 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

You may need to increase the max-pending-submits but this may cause a 
throttling error


Best Regards,

Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for a 
while. The operator confirms delays in sending submit_sm_resp. I noticed from 
the logs that kannel does not attempt to send another submit_sm and queues 
build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I can 
enforce?

 

Kind Regards,

 

Rapture

 

 



Re: Asynchronous submit_sm

2010-12-16 Thread Mohammed Saleem
This depends on the SMSC, one of my SMPP connections is set to 30, others
are set to 5, while another connection is balanced to 3 connections each one
has a max-pensing-submits=25 (75 in total)

Try to increase it and monitor the delivery of the messages, make sure there
is no drops and define your real limits. By the way, the default
max-pending-submits is 10


Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak http://www.colorle.com



On Thu, Dec 16, 2010 at 3:56 PM, Rapture supp...@ims.co.ke wrote:

  Thanks Saleem,



 I have set the max-pending-submits to 10 per SMSC connection and my limit on 
 the SMSC side is 100MTs per second. Is there a ceiling to the 
 max-pending-submits that one can set ie can I set it to say … 200?



 Thanks again.





 *From:* Mohammed Saleem [mailto:mohammedsl...@gmail.com]
 *Sent:* Thursday, December 16, 2010 4:38 PM

 *To:* Rapture
 *Cc:* users@kannel.org
 *Subject:* Re: Asynchronous submit_sm



 when you send a submit_sm, the message will considered pending until it
 receives the submit_sm_resp so if you set max-pending-submits=5 then kannel
 will keep sending submit_sm PDUs until there are 5 submit_sm_resp pending to
 arrive to kannel.

 see the UG for more info

 about the throttling error, this depends on the carrier's SMSC, some SMSCs
 limits throughput to a certain speed (like 50 MTs per second) or to a
 certain pending submits at a time, when you exceed this limit, the excess
 messages will get rejected by the SMSC or the IO thread will get blocked,
 this also depends on the SMSC implementation at the carrier's side, actually
 I've seen them both


 Talk to your provider and ask for advice about those limits


  Best Regards,
 Mohammed M I Sleem

 http://www.abusleem.net  - Personal blog

 http://www.freakle.com - The Search Freak



  On Thu, Dec 16, 2010 at 3:30 PM, Rapture supp...@ims.co.ke wrote:

 I haven’t currently set the max-pending-submits…what does the variable do
 and how will this cause a throttling error?


 Thanks.



 *From:* Mohammed Saleem [mailto:mohammedsl...@gmail.com]
 *Sent:* Thursday, December 16, 2010 4:13 PM
 *To:* Rapture
 *Cc:* users@kannel.org
 *Subject:* Re: Asynchronous submit_sm



 You may need to increase the max-pending-submits but this may cause a
 throttling error


 Best Regards,

 Mohammed M I Sleem

 http://www.abusleem.net  - Personal blog

 http://www.freakle.com - The Search Freak



 On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

 Hi pips,



 I have an issue with SMPP 3.4, I noticed my queues have been building up
 for a while. The operator confirms delays in sending submit_sm_resp. I
 noticed from the logs that kannel does not attempt to send another submit_sm
 and queues build up forever.



 Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I
 can enforce?



 Kind Regards,



 Rapture







RE: Asynchronous submit_sm

2010-12-16 Thread Rapture
Thanks man. Seems to be working now. I think I will set it to 50 to be safe. 
And a good thing is the operator has admitted the delay of resp but messages 
get delivered anyway.

 

Regards,

 

Rapture

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 5:03 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

This depends on the SMSC, one of my SMPP connections is set to 30, others are 
set to 5, while another connection is balanced to 3 connections each one has a 
max-pensing-submits=25 (75 in total)

Try to increase it and monitor the delivery of the messages, make sure there is 
no drops and define your real limits. By the way, the default 
max-pending-submits is 10




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak





On Thu, Dec 16, 2010 at 3:56 PM, Rapture supp...@ims.co.ke wrote:

Thanks Saleem,

 

I have set the max-pending-submits to 10 per SMSC connection and my limit on 
the SMSC side is 100MTs per second. Is there a ceiling to the 
max-pending-submits that one can set ie can I set it to say … 200?
 
Thanks again.

 

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:38 PM


To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

when you send a submit_sm, the message will considered pending until it 
receives the submit_sm_resp so if you set max-pending-submits=5 then kannel 
will keep sending submit_sm PDUs until there are 5 submit_sm_resp pending to 
arrive to kannel.

see the UG for more info

about the throttling error, this depends on the carrier's SMSC, some SMSCs 
limits throughput to a certain speed (like 50 MTs per second) or to a certain 
pending submits at a time, when you exceed this limit, the excess messages will 
get rejected by the SMSC or the IO thread will get blocked, this also depends 
on the SMSC implementation at the carrier's side, actually I've seen them both


Talk to your provider and ask for advice about those limits




Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Thu, Dec 16, 2010 at 3:30 PM, Rapture supp...@ims.co.ke wrote:

I haven’t currently set the max-pending-submits…what does the variable do and 
how will this cause a throttling error?


Thanks.

 

From: Mohammed Saleem [mailto:mohammedsl...@gmail.com] 
Sent: Thursday, December 16, 2010 4:13 PM
To: Rapture
Cc: users@kannel.org
Subject: Re: Asynchronous submit_sm

 

You may need to increase the max-pending-submits but this may cause a 
throttling error


Best Regards,

Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak

 

On Thu, Dec 16, 2010 at 3:02 PM, Rapture supp...@ims.co.ke wrote:

Hi pips,

 

I have an issue with SMPP 3.4, I noticed my queues have been building up for a 
while. The operator confirms delays in sending submit_sm_resp. I noticed from 
the logs that kannel does not attempt to send another submit_sm and queues 
build up forever.

 

Is there a way of doing asynchronous submit_sm? Perhaps a parameter that I can 
enforce?

 

Kind Regards,

 

Rapture

 

 

 



Re: Bearerbox dont send sms Nokia 7110

2010-12-16 Thread Alvaro Cornejo
can you add

log-file = /var/log/kannel/modem.log
log-level = 0

to your smsc at config and post log? in your logs we can't see much.

Also it would be better if you do set log-level to 0 to get debug info.

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 Wed, Dec 15, 2010 at 2:19 PM, Martin mazgac...@gmx.at wrote:
 Here is the config again:

 Kannel.conf
 group = core
 admin-port = 13000
 smsbox-port = 13001
 admin-password = claudia
 #admin-deny-ip = 
 #admin-allow-ip = *.*.*.*
 wdp-interface-name = *
 log-file = /var/log/kannel/bearerbox.log
 #box-deny-ip = 
 box-allow-ip = *.*.*.*

 group = smsc
 smsc = at
 smsc-id = 7110
 modemtype = nokiaphone
 device = /dev/ttyS0
 speed = 19200
 pin = 6220

 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13013
 global-sender = +431
 #sendsms-chars = 0123456789 +-
 log-file = /var/log/kannel/smsbox.log
 log-level = 4
 #access-log = kannel.access

 group = sendsms-user
 username = playsms
 password = playsms
 user-allow-ip = *.*.*.*
 max-messages=4

 # Default service.
 group = sms-service
 keyword = default
 text = No services defined

 group = modems
 id = siemens_tc35
 name = Siemens TC35
 detect-string = coM
 #init-string = AT+CNMI=1,2,0,1,1
 init-string = AT+CMEE=2
 speed = 19200
 no-pin = true
 enable-hwhs = AT\\Q3
 need-sleep = true

 group = modems
 id = nokiaphone
 name = Nokia Phone
 detect-string = Nokia Mobile Phone
 need-sleep = true
 keepalive-cmd = AT+CBC;+CSQ
 enable-mms = true

 I hope the setup with cfg is correct.
 Regards Martin

 -Ursprüngliche Nachricht-
 Von: Nikos Balkanas [mailto:nbalka...@gmail.com]
 Gesendet: Montag, 13. Dezember 2010 22:56
 An: Martin; us...@vm1.kannel.org
 Betreff: Re: Bearerbox dont send sms Nokia 7110

 Hi,

 Please post your configuration.

 BR,
 Nikos


 - Original Message -
 From: Martin
 To: users@kannel.org
 Sent: Sunday, December 12, 2010 4:01 PM
 Subject: Bearerbox dont send sms Nokia 7110


 Hi!
 I΄ve a Nokia 7110 Phone setup with kannel. I startet smsbox and I can send
 the sms via http. Smsbox gives the sms to bearbox and get the message:
 Status: 202 Answer: Sent.
 But bearerbox wont send the sms.

 Here are the Logfiles:

 Smsbox:
 2010-12-12 14:09:59 [3267] [0] INFO: Debug_lvl = -1, log_file = none,
 log_lvl = 0
 2010-12-12 14:09:59 [3267] [0] DEBUG: Kannel smsbox version `1.4.1'.
 Build `Oct 17 2006 02:55:06', compiler `4.1.2 20061007 (prerelease) (Debian
 4.1.1-16)'.
 System Linux, release 2.6.26-2-686, version #1 SMP Thu Nov 25 01:53:57 UTC
 2010, machine i686.
 Hostname server01.raab.domain.com, IP 192.168.3.2.
 Libxml version 2.6.26.
 Using OpenSSL 0.9.8c 05 Sep 2006.
 Compiled with MySQL 5.0.24a, using MySQL 5.0.51a.
 Using native malloc.

 2010-12-12 14:09:59 [3267] [0] INFO: Starting to log to file
 /var/log/kannel/smsbox.log level 4
 2010-12-12 14:09:59 [3267] [0] INFO: Added logfile
 `/var/log/kannel/smsbox.log' with level `4'.
 2010-12-12 14:09:59 [3267] [0] INFO: Service global sender set as
 '+431'
 2010-12-12 14:09:59 [3267] [0] INFO: HTTP: Opening server at port 13013.
 2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2010-12-12 14:09:59 [3267] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
 to pid 3267.
 2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2010-12-12 14:09:59 [3267] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
 maps to pid 3267.
 2010-12-12 14:09:59 [3267] [0] INFO: Set up send sms service at port 13013
 2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 3
 (gw/smsbox.c:sendsms_thread)
 2010-12-12 14:09:59 [3267] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
 maps to pid 3267.
 2010-12-12 14:09:59 [3267] [0]
 DEBUG: --
 2010-12-12 14:09:59 [3267] [0] DEBUG: Kannel smsbox version 1.4.1 starting
 2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 4
 (gw/smsbox.c:obey_request_thread)
 2010-12-12 14:09:59 [3267] [4] DEBUG: Thread 4
 (gw/smsbox.c:obey_request_thread) maps to pid 3267.
 2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 5
 (gw/smsbox.c:url_result_thread)
 2010-12-12 14:09:59 [3267] [5] DEBUG: Thread 5
 (gw/smsbox.c:url_result_thread) maps to pid 3267.
 2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 6
 (gw/smsbox.c:http_queue_thread)
 2010-12-12 14:09:59 [3267] [6] DEBUG: Thread 6
 (gw/smsbox.c:http_queue_thread) maps to pid 3267.
 2010-12-12 14:09:59 [3267] [0] INFO: Connected to bearerbox at localhost
 port 13001.
 2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 7
 (gw/heartbeat.c:heartbeat_thread)
 2010-12-12 14:09:59 [3267] [7] DEBUG: Thread 7
 

Re: Give outgoing messages priority over incoming

2010-12-16 Thread Nikos Balkanas

Hi,

Don't understand. Please rephrase. What is your other problem?

BR,
Nikos
- Original Message - 
From: Jimmy Samuel Garcia Hynds

To: Nikos Balkanas ; Mohammed Saleem
Cc: users@kannel.org
Sent: Thursday, December 16, 2010 4:49 PM
Subject: RE: Give outgoing messages priority over incoming


Hello,

Thanks for the reply.  You I have a different problem, any idea what it is? 
Do a have to change something in my conf file?




From: Nikos Balkanas [mailto:nbalka...@gmail.com]
Sent: Thursday, December 16, 2010 3:27 AM
To: Mohammed Saleem
Cc: Jimmy Samuel Garcνa Hynds; users@kannel.org
Subject: Re: Give outgoing messages priority over incoming

Same logic also in transceiver mode. However, I thought you were talking 
about svn kannel. Alex's patch is a different story. It will delay receiving 
thread using sleep(), which can also cause ACKs on the transmitting thread 
to be delayed, conceivably affecting both operations at the same time. For 
more info on that, you need to talk to Alex.


BR,
Nikos

On Thu, Dec 16, 2010 at 9:27 AM, Mohammed Saleem mohammedsl...@gmail.com 
wrote:

Hi Nikos,

  Does this apply on transceiver SMPP connections on 1.4.3? coz I 
doubt it, I applied a patch once by Alex for the DLRs coming too early 
(before the message is ACKed) which lets the IO thread to sleep and waits 
for the DLR to get inserted into the DB, I clearly saw that when the thread 
sleeps, the traffic stops...


Thanks


Best Regards,
Mohammed M I Sleem

http://www.abusleem.net  - Personal blog

http://www.freakle.com - The Search Freak



2010/12/16 Nikos Balkanas nbalka...@gmail.com
Hi,

That should not be your problem. MOs (including DLRs) run on a different 
thread than your MTs, even use completely different queues and structures. 
Even network traffic is on a seperate cable (assuming full duplex 
operation). The presence of one shouldn't affect the other.


BR,
Nikos
- Original Message - From: JimSG jimmy.gar...@laprensa.hn
To: users@kannel.org
Sent: Wednesday, December 15, 2010 7:15 PM
Subject: Give outgoing messages priority over incoming




Hello,

We activated the dlr a while ago and it works, but we have come with a next
situation:

Example:

A user sends 30,000 sms and a couple of minutes later another user sends
20,000 sms, it sends a couple thousands sms but it stops because it starts
receving  the dlr and then it starts sending againg and than it stops to
recieve and so on...  Im using a dlr mask = 19

Can i give priority to outgoing messages over incoming messages?
--
View this message in context: 
http://old.nabble.com/Give-outgoing-messages-priority-over-incoming-tp30465870p30465870.html

Sent from the Kannel - User mailing list archive at Nabble.com.