Re: Kannel With OpenSMPPBox

2015-07-14 Thread Ammar Ali
Hello Everyone,

I'm still waiting for your valuable response regarding above issues.





*Regards  Thanks*

*Ammar Ali*

*Pune (M.H.)*

On Mon, Jul 13, 2015 at 3:45 PM, Ammar Ali ammarali3...@gmail.com wrote:

 Hello To All,

 I have successfully configured Kannel with opensmppbox.

 This is my architecture:

 *SMPP Client - OpenSMPPBox - SQLBox - Bearerbox - SMPP Connections*

 This is work fine for me.

 Now I have some issues in this above system.

 1. How to set throughput for each smpp client.
 2. How to control all smpp client request at my end.
 3. How to filter smpp client sms request at my end.
 4. How to routing at run-time.

 This is my few questions. So Please give me your valuable feedback.

 I appreciate your hard work.





 *Thanks*

 *Ammar Ali*
 *Pune (M.H.)*



How to handle SMPP Client request at HTTP

2015-07-14 Thread Ammar Ali
Hello Everyone,

I have successfully configured OpenSMPPBox with Kannel.

*SMPP ClientOpenSMPPBoxSQLBoxBBoxSMPP Connections*


How to handle all requests of smpp client at HTTP interface.







*Thanks  Regards*

*Ammar Ali*
*Pune (M.H.)*


RE: Multiple SMPP objects overlapping

2015-07-14 Thread Bobby Richardson
Thank you Alvaro.
Bobby

[cid:image001.png@01CF5A5E.181E0540]
Bobby Richardson
Manager - SIM Engineering
O 650.810.8196  |  M 310.894.0100

From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
Sent: Tuesday, July 14, 2015 1:56 PM
To: Bobby Richardson
Cc: users@kannel.org
Subject: Re: Multiple SMPP objects overlapping

Hi Bobby

You can have and individual log for each smsc by just adding a 
log-file=path/to/file/mylog and log-level to each smsc configuration.

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.comhttp://www.perusms.com

On Tue, Jul 14, 2015 at 3:15 PM, Bobby Richardson 
bobby.richard...@jasper.commailto:bobby.richard...@jasper.com wrote:
Here is the log and line numbers:

01: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: UDH length read 
as 3
02: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: Sending PDU:
03: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU 0x1d3d7a80 dump:
04: 2015-04-16 18:12:25 [20014] [6] DEBUG:   type_name: deliver_sm_resp
05: 2015-04-16 18:12:25 [20014] [6] DEBUG:   command_id: 
2147483653tel:2147483653 = 0x8005
06: 2015-04-16 18:12:25 [20014] [6] DEBUG:   command_status: 0 = 0x
07: 2015-04-16 18:12:25 [20014] [6] DEBUG:   sequence_number: 9014 = 0x2336
08: 2015-04-16 18:12:25 [20014] [6] DEBUG:   message_id: NULL
09: 2015-04-16 18:12:25 [20014] [10] DEBUG: send_msg: sending msg to box: 
127.0.0.1
10: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x0427)
11: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read as 1
12: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x001e)
13: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read as 11
14: 2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP[SMSC2_ATT_RSS]: Got PDU:
15: 2015-04-16 18:12:25 [20014] [10] DEBUG: boxc_sender: sent message to 
127.0.0.1
16: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU dump ends.
17:
18: 2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP PDU 0x1d438e90 dump:
19: 2015-04-16 18:12:25 [20014] [7] DEBUG:   type_name: deliver_sm
20: 2015-04-16 18:12:25 [20014] [7] DEBUG:   command_id: 5 = 0x0005
21: 2015-04-16 18:12:25 [20014] [7] DEBUG:   command_status: 0 = 0x
22: 2015-04-16 18:12:25 [20014] [7] DEBUG:   sequence_number: 9004 = 0x232c
23: 2015-04-16 18:12:25 [20014] [7] DEBUG:   service_type: NULL
24: 2015-04-16 18:12:25 [20014] [7] DEBUG:   source_addr_ton: 1 = 0x0001

Bobby Richardson
Manager - SIM Engineering
O 650.810.8196tel:650.810.8196  |  M 310.894.0100tel:310.894.0100

From: users [mailto:users-boun...@kannel.orgmailto:users-boun...@kannel.org] 
On Behalf Of Bobby Richardson
Sent: Tuesday, July 14, 2015 1:11 PM
To: users@kannel.orgmailto:users@kannel.org
Subject: Multiple SMPP objects overlapping
Importance: High

Hello:

My organization uses Kannel logs everyday and is experiencing a technical 
challenge recently.
For this issue, I searched through kannel.orghttp://kannel.org and 
unfortunately could not find any helpful solution.

From attached, you may see 2 SMPP objects (first one is a complete one; lines 
between 1 and 16 and the second one is just a partial) with 2 different 
connection names (ie. SMPP[SMSC1_ATT_RSS] and SMPP[SMSC2_ATT_RSS]) .

Before the second SMPP object starts, I expected “SMPP PDU dump ends.” first 
and then “SMPP[SMSC2_ATT_RSS]: Got PDU:”.  “SMPP[SMSC2_ATT_RSS]: Got PDU:” was 
placed in line 14 before the first SMPP object ends.
Is this normal sequence?  In many cases, I have seen “SMPP PDU dump ends.” as 
an indication of end of a SMPP. And then after this, another SMPP may start 
with “SMPP[SMSC2_ATT_RSS]: Got PDU:”.

Do you have any suggestion for how to let Kannel log records one SMPP object at 
a time without getting mixed?
Is there any specific parameter in the Configuration file to control this case?

Thank you.
Bobby

Bobby Richardson
Manager - SIM Engineering
O 650.810.8196tel:650.810.8196  |  M 310.894.0100tel:310.894.0100




Multiple SMPP objects overlapping

2015-07-14 Thread Bobby Richardson
Hello:

My organization uses Kannel logs everyday and is experiencing a technical 
challenge recently.
For this issue, I searched through kannel.org and unfortunately could not find 
any helpful solution.

From attached, you may see 2 SMPP objects (first one is a complete one; lines 
between 1 and 16 and the second one is just a partial) with 2 different 
connection names (ie. SMPP[SMSC1_ATT_RSS] and SMPP[SMSC2_ATT_RSS]) .

Before the second SMPP object starts, I expected SMPP PDU dump ends. first 
and then SMPP[SMSC2_ATT_RSS]: Got PDU:.  SMPP[SMSC2_ATT_RSS]: Got PDU: was 
placed in line 14 before the first SMPP object ends.
Is this normal sequence?  In many cases, I have seen SMPP PDU dump ends. as 
an indication of end of a SMPP. And then after this, another SMPP may start 
with SMPP[SMSC2_ATT_RSS]: Got PDU:.

Do you have any suggestion for how to let Kannel log records one SMPP object at 
a time without getting mixed?
Is there any specific parameter in the Configuration file to control this case?

Thank you.
Bobby

[cid:image001.png@01CF5A5E.181E0540]
Bobby Richardson
Manager - SIM Engineering
O 650.810.8196  |  M 310.894.0100

2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: UDH length read as 3
2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: Sending PDU:
2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU 0x1d3d7a80 dump:
2015-04-16 18:12:25 [20014] [6] DEBUG:   type_name: deliver_sm_resp
2015-04-16 18:12:25 [20014] [6] DEBUG:   command_id: 2147483653 = 0x8005
2015-04-16 18:12:25 [20014] [6] DEBUG:   command_status: 0 = 0x
2015-04-16 18:12:25 [20014] [6] DEBUG:   sequence_number: 9014 = 0x2336
2015-04-16 18:12:25 [20014] [6] DEBUG:   message_id: NULL
2015-04-16 18:12:25 [20014] [10] DEBUG: send_msg: sending msg to box: 
127.0.0.1
2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x0427)
2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read as 1
2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x001e)
2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read as 11
2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP[SMSC2_ATT_RSS]: Got PDU:
2015-04-16 18:12:25 [20014] [10] DEBUG: boxc_sender: sent message to 127.0.0.1
2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU dump ends.

2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP PDU 0x1d438e90 dump:
2015-04-16 18:12:25 [20014] [7] DEBUG:   type_name: deliver_sm
2015-04-16 18:12:25 [20014] [7] DEBUG:   command_id: 5 = 0x0005
2015-04-16 18:12:25 [20014] [7] DEBUG:   command_status: 0 = 0x
2015-04-16 18:12:25 [20014] [7] DEBUG:   sequence_number: 9004 = 0x232c
2015-04-16 18:12:25 [20014] [7] DEBUG:   service_type: NULL
2015-04-16 18:12:25 [20014] [7] DEBUG:   source_addr_ton: 1 = 0x0001


RE: Multiple SMPP objects overlapping

2015-07-14 Thread Bobby Richardson
Here is the log and line numbers:

01: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: UDH length read 
as 3
02: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: Sending PDU:
03: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU 0x1d3d7a80 dump:
04: 2015-04-16 18:12:25 [20014] [6] DEBUG:   type_name: deliver_sm_resp
05: 2015-04-16 18:12:25 [20014] [6] DEBUG:   command_id: 2147483653 = 0x8005
06: 2015-04-16 18:12:25 [20014] [6] DEBUG:   command_status: 0 = 0x
07: 2015-04-16 18:12:25 [20014] [6] DEBUG:   sequence_number: 9014 = 0x2336
08: 2015-04-16 18:12:25 [20014] [6] DEBUG:   message_id: NULL
09: 2015-04-16 18:12:25 [20014] [10] DEBUG: send_msg: sending msg to box: 
127.0.0.1
10: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x0427)
11: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read as 1
12: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x001e)
13: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read as 11
14: 2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP[SMSC2_ATT_RSS]: Got PDU:
15: 2015-04-16 18:12:25 [20014] [10] DEBUG: boxc_sender: sent message to 
127.0.0.1
16: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU dump ends.
17:
18: 2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP PDU 0x1d438e90 dump:
19: 2015-04-16 18:12:25 [20014] [7] DEBUG:   type_name: deliver_sm
20: 2015-04-16 18:12:25 [20014] [7] DEBUG:   command_id: 5 = 0x0005
21: 2015-04-16 18:12:25 [20014] [7] DEBUG:   command_status: 0 = 0x
22: 2015-04-16 18:12:25 [20014] [7] DEBUG:   sequence_number: 9004 = 0x232c
23: 2015-04-16 18:12:25 [20014] [7] DEBUG:   service_type: NULL
24: 2015-04-16 18:12:25 [20014] [7] DEBUG:   source_addr_ton: 1 = 0x0001

[cid:image001.png@01CF5A5E.181E0540]
Bobby Richardson
Manager - SIM Engineering
O 650.810.8196  |  M 310.894.0100

From: users [mailto:users-boun...@kannel.org] On Behalf Of Bobby Richardson
Sent: Tuesday, July 14, 2015 1:11 PM
To: users@kannel.org
Subject: Multiple SMPP objects overlapping
Importance: High

Hello:

My organization uses Kannel logs everyday and is experiencing a technical 
challenge recently.
For this issue, I searched through kannel.org and unfortunately could not find 
any helpful solution.

From attached, you may see 2 SMPP objects (first one is a complete one; lines 
between 1 and 16 and the second one is just a partial) with 2 different 
connection names (ie. SMPP[SMSC1_ATT_RSS] and SMPP[SMSC2_ATT_RSS]) .

Before the second SMPP object starts, I expected SMPP PDU dump ends. first 
and then SMPP[SMSC2_ATT_RSS]: Got PDU:.  SMPP[SMSC2_ATT_RSS]: Got PDU: was 
placed in line 14 before the first SMPP object ends.
Is this normal sequence?  In many cases, I have seen SMPP PDU dump ends. as 
an indication of end of a SMPP. And then after this, another SMPP may start 
with SMPP[SMSC2_ATT_RSS]: Got PDU:.

Do you have any suggestion for how to let Kannel log records one SMPP object at 
a time without getting mixed?
Is there any specific parameter in the Configuration file to control this case?

Thank you.
Bobby

[cid:image001.png@01CF5A5E.181E0540]
Bobby Richardson
Manager - SIM Engineering
O 650.810.8196  |  M 310.894.0100



Re: Multiple SMPP objects overlapping

2015-07-14 Thread Alvaro Cornejo
Hi Bobby

You can have and individual log for each smsc by just adding a
log-file=path/to/file/mylog and log-level to each smsc configuration.

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 Tue, Jul 14, 2015 at 3:15 PM, Bobby Richardson 
bobby.richard...@jasper.com wrote:

  Here is the log and line numbers:



 01: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: UDH length
 read as 3

 02: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP[SMSC1_ATT_RSS]: Sending
 PDU:

 03: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU 0x1d3d7a80 dump:

 04: 2015-04-16 18:12:25 [20014] [6] DEBUG:   type_name: deliver_sm_resp

 05: 2015-04-16 18:12:25 [20014] [6] DEBUG:   command_id: 2147483653 =
 0x8005

 06: 2015-04-16 18:12:25 [20014] [6] DEBUG:   command_status: 0 = 0x

 07: 2015-04-16 18:12:25 [20014] [6] DEBUG:   sequence_number: 9014 =
 0x2336

 08: 2015-04-16 18:12:25 [20014] [6] DEBUG:   message_id: NULL

 09: 2015-04-16 18:12:25 [20014] [10] DEBUG: send_msg: sending msg to box:
 127.0.0.1

 10: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x0427)

 11: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read
 as 1

 12: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter tag (0x001e)

 13: 2015-04-16 18:12:25 [20014] [7] DEBUG: Optional parameter length read
 as 11

 14: 2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP[SMSC2_ATT_RSS]: Got PDU:

 15: 2015-04-16 18:12:25 [20014] [10] DEBUG: boxc_sender: sent message to
 127.0.0.1

 16: 2015-04-16 18:12:25 [20014] [6] DEBUG: SMPP PDU dump ends.

 17:

 18: 2015-04-16 18:12:25 [20014] [7] DEBUG: SMPP PDU 0x1d438e90 dump:

 19: 2015-04-16 18:12:25 [20014] [7] DEBUG:   type_name: deliver_sm

 20: 2015-04-16 18:12:25 [20014] [7] DEBUG:   command_id: 5 = 0x0005

 21: 2015-04-16 18:12:25 [20014] [7] DEBUG:   command_status: 0 = 0x

 22: 2015-04-16 18:12:25 [20014] [7] DEBUG:   sequence_number: 9004 =
 0x232c

 23: 2015-04-16 18:12:25 [20014] [7] DEBUG:   service_type: NULL

 24: 2015-04-16 18:12:25 [20014] [7] DEBUG:   source_addr_ton: 1 =
 0x0001



 [image: cid:image001.png@01CF5A5E.181E0540]

 *Bobby Richardson*

 Manager - SIM Engineering

 O 650.810.8196  |  M 310.894.0100



 *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *Bobby
 Richardson
 *Sent:* Tuesday, July 14, 2015 1:11 PM
 *To:* users@kannel.org
 *Subject:* Multiple SMPP objects overlapping
 *Importance:* High



 Hello:



 My organization uses Kannel logs everyday and is experiencing a technical
 challenge recently.

 For this issue, I searched through kannel.org and unfortunately could not
 find any helpful solution.



 From attached, you may see 2 SMPP objects (first one is a complete one;
 lines between 1 and 16 and the second one is just a partial) with 2
 different connection names (ie. SMPP[SMSC1_ATT_RSS] and
 SMPP[SMSC2_ATT_RSS]) .



 Before the second SMPP object starts, I expected “SMPP PDU dump ends.”
 first and then “SMPP[SMSC2_ATT_RSS]: Got PDU:”.  “SMPP[SMSC2_ATT_RSS]:
 Got PDU:” was placed in line 14 before the first SMPP object ends.

 Is this normal sequence?  In many cases, I have seen “SMPP PDU dump ends.”
 as an indication of end of a SMPP. And then after this, another SMPP may
 start with “SMPP[SMSC2_ATT_RSS]: Got PDU:”.



 Do you have any suggestion for how to let Kannel log records one SMPP
 object at a time without getting mixed?

 Is there any specific parameter in the Configuration file to control this
 case?



 Thank you.
 Bobby



 [image: cid:image001.png@01CF5A5E.181E0540]

 *Bobby Richardson*

 Manager - SIM Engineering

 O 650.810.8196  |  M 310.894.0100