Re: How To Route SMPP Port According To Free Status

2014-12-08 Thread Alvaro Cornejo
Hi

You can modify sqlbox and change the LIMIT X parameter on the reading
statement to adjust the number of records to move to kannel on each loop.

Note that this will increase the throughput from sqlbox to bearerbox; it
will not change the smsc throughput.

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.com

On Mon, Dec 8, 2014 at 1:26 AM, Aditya Khanna aditya.khanna111...@gmail.com
 wrote:

 Hello Everyone,

 Currently, I'm testing my application with Fake SMSC Connections.

 One more thing I'm facing a problem regarding sqlbox tables.

 When I'm inserting message into send_sms table then sqlbox inserts all
 records in sent_sms table. I'm analysing, it is too low (10-20
 message/second). So how to increase this.


 Thanks,
 Aditya Khanna


 On Wed, Dec 3, 2014 at 3:49 PM, spameden spame...@gmail.com wrote:



 2014-12-03 12:57 GMT+03:00 Aditya Khanna aditya.khanna111...@gmail.com:

 Hello Everyone,

 I'm successfully configured Kannel with Bearerbox, SMSBox, SQLBox and
 some SMPP Ports (Using Fake SMSC's).


 Now the problem is that When I'm sending 5000 messages through HTTP then
 it is show in queue of SMSC.
 I'm generating one more request of single message through HTTP.


 Try using sqlbox instead with priority field (alter sqlbox source to
 include ORDER by priority field) and INSERT messages with higher priority
 (e.g. = 0)

 Example:
 http://stackoverflow.com/questions/8458566/implementing-priority-queue-in-kannel



 Now the problem is that this single message is also in proceeding queue.

 So, how to manage this type of issue with Kannel. How to send this
 message to a free SMSC port.


 You can always specify free SMSC uplink with: smsc_id= via HTTP call
 or  use smsc_id in sqlbox send_sms table.

 For higher throughput read about max-pending-submits as well as consult
 your upstream SMSC operator.


 Please share your valuable suggestions.


 Thanks,
 Aditya Khanna








Re: Same Sequence Number for many PDUs

2014-12-08 Thread Stipe Tolj

Am 26.11.2014 20:51, schrieb Amir Mahmoud:

Hello Guys,

I'm facing abnormal behavior with my kannel (1.4.4) installed on CentOS 7,

I have found that when i submit SMS to my number and after receiving it
on my handset that kannel still keeps the sms on the store trying to
re-submit it again and again to the SMSC and with each attempt i receive
it again on my handset and finally after finishing the retrials kannel
log it with status DISCARD 

I have set the bearerbox in debug mode and found that kannel already
sent submit_sm successfully PDU but it didn't receive submit_sm_resp
and i think this is the reason behind keeping it in the store and
discard it.

So, i have taken tcp dump and found that both submit_sm PDU and
submit_sm_resp already sent but i can't understand why kannel didn't
handle it Also i have found unusual thing while checking the dump, i
found that many PDUs are having the sequence number (Enquire_Link 
Submit_SM)

Is that normal and why kannel is doing so ?


please provide corresponding log file and tcpdump (pcap) parts of this 
so we can look into it.


Stipe

--
---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---