Re: OPENSMPPBOX code 0x0000000d (Bind Failed) help

2020-11-30 Thread Mesbahuddin Malik
Hello ,
Use space check opensmpp manual and be sure to add the system_type
parameter  correctly at  client end.
system-id-01 password-01 system-type-0
mesbah mesbah kannel 10.10.10.1
Please check and let me know if you face any problem.
Regards
Mesbah

On Mon, Nov 30, 2020 at 4:33 PM Michael Osakede  wrote:

> Hi,
>
> Its is separated by SPACE or TAB?
> Do you have a functional login configuration?
>
> Michael.
>
> On Mon, 30 Nov 2020, 10:22 am Rene Kluwen,  wrote:
>
>> You could double check your smpplogins.txt.
>>
>>
>>
>> == Rene
>>
>>
>>
>> *Van:* users  *Namens *Michael Osakede
>> *Verzonden:* maandag 30 november 2020 03:06
>> *Aan:* users@kannel.org
>> *Onderwerp:* OPENSMPPBOX code 0x000d (Bind Failed) help
>>
>>
>>
>> Hello,
>>
>>
>>
>> I have this setup
>>
>>
>>
>> KANNEL SMSC <==> OPENSMPPBOX Server
>>
>> below are the opensmppbox and kannel config.
>>
>>
>>
>> OPENSMPPBOX
>>
>> group = core
>> dlr-storage = internal
>>
>> group = opensmppbox
>> opensmppbox-id = orange
>> opensmppbox-port = 1991
>> bearerbox-host = localhost
>> bearerbox-port = 13001
>> our-system-id = orange_vezeti
>> smpp-logins = "/etc/kannel/box/smpplogins.txt"
>> route-to-smsc = MEDIATEL
>> log-level = 0
>> log-file = /tmp/smppbox.log
>>
>> OPENSMPP Users
>>
>> mike mike orange 78.208.228.38
>>
>>
>>
>> CONNECTING Kannel SMSC
>>
>> # SMSC SMPP
>> group = smsc
>> smsc-id = orange
>> smsc = smpp
>> host = 156.0.249.122
>> port = 1991
>> #receive-port = 2346
>> smsc-username = mike
>> smsc-password = mike
>> system-type = orange
>> #interface-version = 52
>> keepalive = 50
>> allowed-smsc-id = orange
>> transceiver-mode = true
>> msg-id-type =  0x00
>> throughput = 10
>> max-pending-submits = 10
>> wait-ack = 600
>>
>>
>>
>> Kannel Log
>>
>> ] DEBUG: Connecting to <156.0.249.122>
>> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Sending PDU:
>> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 9 = 0x0009
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 0 = 0x
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: "mike"
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   password: "mike"
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_type: "orange"
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   interface_version: 52 =
>> 0x0034
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_ton: 0 = 0x
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_npi: 0 = 0x
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   address_range: NULL
>> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
>> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Got PDU:
>> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver_resp
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 2147483657 =
>> 0x8009
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 13 = 0x000d
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
>> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: NULL
>> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
>> 2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: SMSC rejected login
>> to transmit, code 0x000d (Bind Failed).
>> 2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: Couldn't connect to
>> SMS center (retrying in 10 seconds).
>>
>>
>>
>> OPENSMPP Log
>>
>> 2020-11-30 02:53:26 [19202] [0] DEBUG: Started thread 1
>> (opensmppbox.c:function)
>> 2020-11-30 02:53:26 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function)
>> maps to pid 19202.
>> 2020-11-30 02:53:26 [19202] [1] INFO: Client connected from
>> <74.208.228.38>
>> 2020-11-30 02:53:26 [19202] [1] DEBUG: Connecting to <127.0.0.1>
>> 2020-11-30 02:53:26 [19202] [1] INFO: Connected to bearerbox at localhost
>> port 13001.
>> 2020-11-30 02:53:26 [19202] [1] DEBUG: Started thread 2
>> (opensmppbox.c:smpp_to_bearerbox)
>> 2020-11-30 02:53:26 [19202] [2] DEBUG:

Re: OPENSMPPBOX code 0x0000000d (Bind Failed) help

2020-11-30 Thread Michael Osakede
Hi,

Its is separated by SPACE or TAB?
Do you have a functional login configuration?

Michael.

On Mon, 30 Nov 2020, 10:22 am Rene Kluwen,  wrote:

> You could double check your smpplogins.txt.
>
>
>
> == Rene
>
>
>
> *Van:* users  *Namens *Michael Osakede
> *Verzonden:* maandag 30 november 2020 03:06
> *Aan:* users@kannel.org
> *Onderwerp:* OPENSMPPBOX code 0x000d (Bind Failed) help
>
>
>
> Hello,
>
>
>
> I have this setup
>
>
>
> KANNEL SMSC <==> OPENSMPPBOX Server
>
> below are the opensmppbox and kannel config.
>
>
>
> OPENSMPPBOX
>
> group = core
> dlr-storage = internal
>
> group = opensmppbox
> opensmppbox-id = orange
> opensmppbox-port = 1991
> bearerbox-host = localhost
> bearerbox-port = 13001
> our-system-id = orange_vezeti
> smpp-logins = "/etc/kannel/box/smpplogins.txt"
> route-to-smsc = MEDIATEL
> log-level = 0
> log-file = /tmp/smppbox.log
>
> OPENSMPP Users
>
> mike mike orange 78.208.228.38
>
>
>
> CONNECTING Kannel SMSC
>
> # SMSC SMPP
> group = smsc
> smsc-id = orange
> smsc = smpp
> host = 156.0.249.122
> port = 1991
> #receive-port = 2346
> smsc-username = mike
> smsc-password = mike
> system-type = orange
> #interface-version = 52
> keepalive = 50
> allowed-smsc-id = orange
> transceiver-mode = true
> msg-id-type =  0x00
> throughput = 10
> max-pending-submits = 10
> wait-ack = 600
>
>
>
> Kannel Log
>
> ] DEBUG: Connecting to <156.0.249.122>
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Sending PDU:
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 9 = 0x0009
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 0 = 0x
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: "mike"
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   password: "mike"
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_type: "orange"
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   interface_version: 52 = 0x0034
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_ton: 0 = 0x
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_npi: 0 = 0x
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   address_range: NULL
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Got PDU:
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver_resp
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 2147483657 =
> 0x8009
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 13 = 0x000d
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
> 2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: NULL
> 2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
> 2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: SMSC rejected login
> to transmit, code 0x000d (Bind Failed).
> 2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: Couldn't connect to
> SMS center (retrying in 10 seconds).
>
>
>
> OPENSMPP Log
>
> 2020-11-30 02:53:26 [19202] [0] DEBUG: Started thread 1
> (opensmppbox.c:function)
> 2020-11-30 02:53:26 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function)
> maps to pid 19202.
> 2020-11-30 02:53:26 [19202] [1] INFO: Client connected from <74.208.228.38>
> 2020-11-30 02:53:26 [19202] [1] DEBUG: Connecting to <127.0.0.1>
> 2020-11-30 02:53:26 [19202] [1] INFO: Connected to bearerbox at localhost
> port 13001.
> 2020-11-30 02:53:26 [19202] [1] DEBUG: Started thread 2
> (opensmppbox.c:smpp_to_bearerbox)
> 2020-11-30 02:53:26 [19202] [2] DEBUG: Thread 2
> (opensmppbox.c:smpp_to_bearerbox) maps to pid 19202.
> 2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Got PDU:
> 2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c000d50 dump:
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 9 = 0x0009
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 0 = 0x
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: "mike"
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   password: "mike"
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   system_type: "orange"
> 2020-11-30 02:53:26 [19202] [2] DEBUG:   interface_version: 52 = 0x0034
> 2020-11-30 02:53:26 [19202] [2] DEBU

RE: OPENSMPPBOX code 0x0000000d (Bind Failed) help

2020-11-30 Thread Rene Kluwen
You could double check your smpplogins.txt.

 

== Rene

 

Van: users  Namens Michael Osakede
Verzonden: maandag 30 november 2020 03:06
Aan: users@kannel.org
Onderwerp: OPENSMPPBOX code 0x000d (Bind Failed) help

 

Hello,

 

I have this setup

 

KANNEL SMSC <==> OPENSMPPBOX Server

below are the opensmppbox and kannel config.

 

OPENSMPPBOX

group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = orange
opensmppbox-port = 1991
bearerbox-host = localhost
bearerbox-port = 13001
our-system-id = orange_vezeti
smpp-logins = "/etc/kannel/box/smpplogins.txt"
route-to-smsc = MEDIATEL
log-level = 0
log-file = /tmp/smppbox.log

OPENSMPP Users

mike mike orange 78.208.228.38

 

CONNECTING Kannel SMSC

# SMSC SMPP
group = smsc
smsc-id = orange
smsc = smpp
host = 156.0.249.122
port = 1991
#receive-port = 2346
smsc-username = mike
smsc-password = mike
system-type = orange
#interface-version = 52
keepalive = 50
allowed-smsc-id = orange
transceiver-mode = true
msg-id-type =  0x00
throughput = 10
max-pending-submits = 10
wait-ack = 600

 

Kannel Log

] DEBUG: Connecting to <156.0.249.122>
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 9 = 0x0009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   password: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_type: "orange"
2020-11-30 00:51:50 [18114] [6] DEBUG:   interface_version: 52 = 0x0034
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_ton: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_npi: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   address_range: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 2147483657 = 0x8009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 13 = 0x000d
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: SMSC rejected login to 
transmit, code 0x000d (Bind Failed).
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: Couldn't connect to SMS 
center (retrying in 10 seconds).

 

OPENSMPP Log

2020-11-30 02:53:26 [19202] [0] DEBUG: Started thread 1 (opensmppbox.c:function)
2020-11-30 02:53:26 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function) maps 
to pid 19202.
2020-11-30 02:53:26 [19202] [1] INFO: Client connected from <74.208.228.38>
2020-11-30 02:53:26 [19202] [1] DEBUG: Connecting to <127.0.0.1>
2020-11-30 02:53:26 [19202] [1] INFO: Connected to bearerbox at localhost port 
13001.
2020-11-30 02:53:26 [19202] [1] DEBUG: Started thread 2 
(opensmppbox.c:smpp_to_bearerbox)
2020-11-30 02:53:26 [19202] [2] DEBUG: Thread 2 
(opensmppbox.c:smpp_to_bearerbox) maps to pid 19202.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c000d50 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 9 = 0x0009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   password: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_type: "orange"
2020-11-30 02:53:26 [19202] [2] DEBUG:   interface_version: 52 = 0x0034
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_ton: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_npi: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   address_range: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c001050 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 2147483657 = 0x8009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 13 = 0x000d
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
20

OPENSMPPBOX code 0x0000000d (Bind Failed) help

2020-11-29 Thread Michael Osakede
Hello,

I have this setup

KANNEL SMSC <==> OPENSMPPBOX Server
below are the opensmppbox and kannel config.

OPENSMPPBOX
group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = orange
opensmppbox-port = 1991
bearerbox-host = localhost
bearerbox-port = 13001
our-system-id = orange_vezeti
smpp-logins = "/etc/kannel/box/smpplogins.txt"
route-to-smsc = MEDIATEL
log-level = 0
log-file = /tmp/smppbox.log

OPENSMPP Users
mike mike orange 78.208.228.38

CONNECTING Kannel SMSC
# SMSC SMPP
group = smsc
smsc-id = orange
smsc = smpp
host = 156.0.249.122
port = 1991
#receive-port = 2346
smsc-username = mike
smsc-password = mike
system-type = orange
#interface-version = 52
keepalive = 50
allowed-smsc-id = orange
transceiver-mode = true
msg-id-type =  0x00
throughput = 10
max-pending-submits = 10
wait-ack = 600

Kannel Log
] DEBUG: Connecting to <156.0.249.122>
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 9 = 0x0009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   password: "mike"
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_type: "orange"
2020-11-30 00:51:50 [18114] [6] DEBUG:   interface_version: 52 = 0x0034
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_ton: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   addr_npi: 0 = 0x
2020-11-30 00:51:50 [18114] [6] DEBUG:   address_range: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU 0x7f1154000a10 dump:
2020-11-30 00:51:50 [18114] [6] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_id: 2147483657 = 0x8009
2020-11-30 00:51:50 [18114] [6] DEBUG:   command_status: 13 = 0x000d
2020-11-30 00:51:50 [18114] [6] DEBUG:   sequence_number: 91 = 0x005b
2020-11-30 00:51:50 [18114] [6] DEBUG:   system_id: NULL
2020-11-30 00:51:50 [18114] [6] DEBUG: SMPP PDU dump ends.
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: SMSC rejected login to
transmit, code 0x000d (Bind Failed).
2020-11-30 00:51:50 [18114] [6] ERROR: SMPP[orange]: Couldn't connect to
SMS center (retrying in 10 seconds).

OPENSMPP Log
2020-11-30 02:53:26 [19202] [0] DEBUG: Started thread 1
(opensmppbox.c:function)
2020-11-30 02:53:26 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function)
maps to pid 19202.
2020-11-30 02:53:26 [19202] [1] INFO: Client connected from <74.208.228.38>
2020-11-30 02:53:26 [19202] [1] DEBUG: Connecting to <127.0.0.1>
2020-11-30 02:53:26 [19202] [1] INFO: Connected to bearerbox at localhost
port 13001.
2020-11-30 02:53:26 [19202] [1] DEBUG: Started thread 2
(opensmppbox.c:smpp_to_bearerbox)
2020-11-30 02:53:26 [19202] [2] DEBUG: Thread 2
(opensmppbox.c:smpp_to_bearerbox) maps to pid 19202.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Got PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c000d50 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 9 = 0x0009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   password: "mike"
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_type: "orange"
2020-11-30 02:53:26 [19202] [2] DEBUG:   interface_version: 52 = 0x0034
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_ton: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   addr_npi: 0 = 0x
2020-11-30 02:53:26 [19202] [2] DEBUG:   address_range: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP[orange]: Sending PDU:
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU 0x7fa51c001050 dump:
2020-11-30 02:53:26 [19202] [2] DEBUG:   type_name: bind_transceiver_resp
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_id: 2147483657 = 0x8009
2020-11-30 02:53:26 [19202] [2] DEBUG:   command_status: 13 = 0x000d
2020-11-30 02:53:26 [19202] [2] DEBUG:   sequence_number: 1 = 0x0001
2020-11-30 02:53:26 [19202] [2] DEBUG:   system_id: NULL
2020-11-30 02:53:26 [19202] [2] DEBUG: SMPP PDU dump ends.
2020-11-30 02:53:27 [19202] [2] ERROR: Invalid SMPP PDU received.
2020-11-30 02:53:27 [19202] [2] DEBUG: Thread 2
(opensmppbox.c:smpp_to_bearerbox) terminates.
2020-11-30 02:53:28 [19202] [1] DEBUG: Thread 1 (opensmppbox.c:function)
terminates.

any help is welcome, what am I getting wrong?

Michael


Fwd: need help for pluginbox implementation

2020-05-22 Thread ritesh rao
Hi

I tried to configure the pluginbox with bearerbox with steps provided in
https://github.com/donald-jackson/kannel-pluginbox.
But i dont see any messaged coming to php api   .
dont know whats going wrong on my side .can somebody help for this if
anybody has implemented it at there side  ?


Below are the configurations and some status is my test box
below are my config and status for pluginbox , but i not able to catch
headers in httpapi which is writtern in php .
can you please confirm me what will be value represent  bearerbox-port =
14001   and  smsbox-port = 13005  ?
*as  14001 is bearerbox port at my side  .*

can you please  help to debug the same  if its not taking much time at your
side   , that will help me to go further in my project .

group = pluginbox
bearerbox-host = localhost
bearerbox-port = 14001
smsbox-port = 13005
smsbox-port-ssl = false
log-file = "/tmp/kannel-pluginbox.log"
log-level = 0
#ssl-client-certkey-file = ""
#ssl-server-cert-file = ""
#ssl-server-key-file = ""
#ssl-trusted-ca-file = ""
admin-port=13050
admin-password=pluginpw

## Example group for configuring an HTTP plugin
group=pluginbox-plugin
#path=/opt/kannel/kannel-pluginbox/plugins/pluginbox_http.so
path=/opt/pluginbox/kannel-pluginbox/plugins/pluginbox_http.so
init="pluginbox_http_init"
priority=1
args="/opt/pluginbox/kannel-pluginbox/pluginbox_http.conf"
id=http1

group=pluginbox-plugin
path=plugins/pluginbox_example.so
priority=1
id=example1
init="pluginbox_example_init"
###
vim /opt/pluginbox/kannel-pluginbox/pluginbox_http.conf

group=pluginbox-http
id=http1
url=http://192.168.43.240/http-processor.php
max-pending-requests=200


###
http://192.168.43.240:13050/status?password=pluginpw
idpathargs
1 http1 /opt/pluginbox/kannel-pluginbox/plugins/pluginbox_http.so
/opt/pluginbox/kannel-pluginbox/pluginbox_http.conf
1 example1 plugins/pluginbox_example.so (null)



Regards


need help for pluginbox implementation

2020-05-20 Thread ritesh rao
Hi

I tried to configure the pluginbox with bearerbox with steps provided in
https://github.com/donald-jackson/kannel-pluginbox.
But i dont see any messaged coming to php api   .
dont know whats going wrong on my side .can somebody help for this if
anybody has implemented it at there side  ?


Below are the configurations and some status is my test box
below are my config and status for pluginbox , but i not able to catch
headers in httpapi which is writtern in php .
can you please confirm me what will be value represent  bearerbox-port =
14001   and  smsbox-port = 13005  ?
*as  14001 is bearerbox port at my side  .*

can you please  help to debug the same  if its not taking much time at your
side   , that will help me to go further in my project .

group = pluginbox
bearerbox-host = localhost
bearerbox-port = 14001
smsbox-port = 13005
smsbox-port-ssl = false
log-file = "/tmp/kannel-pluginbox.log"
log-level = 0
#ssl-client-certkey-file = ""
#ssl-server-cert-file = ""
#ssl-server-key-file = ""
#ssl-trusted-ca-file = ""
admin-port=13050
admin-password=pluginpw

## Example group for configuring an HTTP plugin
group=pluginbox-plugin
#path=/opt/kannel/kannel-pluginbox/plugins/pluginbox_http.so
path=/opt/pluginbox/kannel-pluginbox/plugins/pluginbox_http.so
init="pluginbox_http_init"
priority=1
args="/opt/pluginbox/kannel-pluginbox/pluginbox_http.conf"
id=http1

group=pluginbox-plugin
path=plugins/pluginbox_example.so
priority=1
id=example1
init="pluginbox_example_init"
###
vim /opt/pluginbox/kannel-pluginbox/pluginbox_http.conf

group=pluginbox-http
id=http1
url=http://192.168.43.240/http-processor.php
max-pending-requests=200


###
http://192.168.43.240:13050/status?password=pluginpw
idpathargs
1 http1 /opt/pluginbox/kannel-pluginbox/plugins/pluginbox_http.so
/opt/pluginbox/kannel-pluginbox/pluginbox_http.conf
1 example1 plugins/pluginbox_example.so (null)



Regards


Re: HI I need help for this error‏

2020-04-21 Thread Minh Tuan
It is not an error as far as i known. The client TCP connection has been
released after calling http api.

On Tue, Apr 21, 2020 at 9:16 PM abod ahameed  wrote:

> 2020-04-20 17:46:23 [4592] [1] DEBUG: HTTP: Destroying HTTPClient area
> 0x7fe7e8000ad0.
> 2020-04-20 17:46:23 [4592] [1] DEBUG: HTTP: Destroying HTTPClient for
> `188.240.98.40
>
> this is my kannel.conf
> group = core
> admin-port = 13000
> smsbox-port = 13003
> admin-password = *
> status-password = **
> #admin-deny-ip = ""
> admin-allow-ip = "127.0.0.1;*.*.*.*;X.X.X.X;Y.Y.Y.Y"
> log-file = "/tmp/kannel.log"
> log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1;*.*.*.*;X.X.X.X;Y.Y.Y.Y"
> #unified-prefix = "+358,00358,0;+,00"
> access-log = "/tmp/access.log"
>
> group = smsc
> smsc = smpp
> smsc-id = unsi5499
> host = 35.230.140.209
> port = 2775
> receive-port = 0
> #transceiver-mode = 1
> #interface-version=34
> #transceiver-mode = false
> #throughput = 10
> smsc-username = 
> smsc-password = **
> system-type = SMPP
> transceiver-mode=true
>
>
> group = smsbox
> smsbox-id = "**"
> bearerbox-host= "my server IP"
> sendsms-port = 13013
> global-sender = 13013
> sendsms-chars = "0123456789 +-"
> log-file = "/tmp/smsbox.log"
> #log-level = 0
> access-log = "/tmp/access.log"
>
>
> group = sendsms-user
> username = unsi5499
> password = ***
> default-sender=+1234567890
> #forced-smsc =  smpp-nexmo
> #name = users
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1;server my ip;X.X.X.X;Y.Y.Y.Y"
> max-messages = 10
> #concatenation = 1
>
> group = sms-service
> keyword = nop
> text = "You asked nothing and I did it!"
> catch-all = yes
>
>

-- 
  <((=o-( ',_,' )-o=))=>

Bản chất tốt nhưng cuộc đời xô đẩy!


HI I need help for this error‏

2020-04-21 Thread abod ahameed
2020-04-20 17:46:23 [4592] [1] DEBUG: HTTP: Destroying HTTPClient area
0x7fe7e8000ad0.
2020-04-20 17:46:23 [4592] [1] DEBUG: HTTP: Destroying HTTPClient for
`188.240.98.40

this is my kannel.conf
group = core
admin-port = 13000
smsbox-port = 13003
admin-password = *
status-password = **
#admin-deny-ip = ""
admin-allow-ip = "127.0.0.1;*.*.*.*;X.X.X.X;Y.Y.Y.Y"
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;*.*.*.*;X.X.X.X;Y.Y.Y.Y"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/tmp/access.log"

group = smsc
smsc = smpp
smsc-id = unsi5499
host = 35.230.140.209
port = 2775
receive-port = 0
#transceiver-mode = 1
#interface-version=34
#transceiver-mode = false
#throughput = 10
smsc-username = 
smsc-password = **
system-type = SMPP
transceiver-mode=true


group = smsbox
smsbox-id = "**"
bearerbox-host= "my server IP"
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
#log-level = 0
access-log = "/tmp/access.log"


group = sendsms-user
username = unsi5499
password = ***
default-sender=+1234567890
#forced-smsc =  smpp-nexmo
#name = users
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;server my ip;X.X.X.X;Y.Y.Y.Y"
max-messages = 10
#concatenation = 1

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
catch-all = yes


help with handling incoming sms via opensmppbox to sqlbox

2020-04-07 Thread Muteesa Fred
Hello Users, I have installed kannelOpensmpp à sqlbox -> smscI want to receive an sms via the opensmppbox and route it via smsc using sql box. Please advise on the best way to achieve this. I have installed kannel, sqlbox, opensmppbox successfully.  Regards,Fred Muteesa Sent from Mail for Windows 10 



RE: Help with Unicode Messages

2020-03-20 Thread Davor Spasoski
BTW, I don’t know why the cgi-bin was slow on you. We’ve sent bilions of SMS so 
far and there was not a single problem with the smsbox

What are you using to address to the smsbox?

Davor Spasoski

From: users  On Behalf Of Davor Spasoski
Sent: Friday, March 20, 2020 12:34 PM
To: Gabriel Augusto Diaz Zapata 
Cc: users@kannel.org
Subject: RE: Help with Unicode Messages


1.Your table must be created with Unicode support

2.select encoding/collation to UTF8mb4

3.If you are using a programming language, set the connection to the table 
must be with the proper (UTF-8) charset.

4.If you use SQL statement from the CLI, make sure the CLI supports UTF8mb4

5.Copy/paste the smiley sign or follow the link here 
https://stackoverflow.com/questions/39463134/how-to-store-emoji-character-in-mysql-database


Davor Spasoski

From: Gabriel Augusto Diaz Zapata 
mailto:gabriel.d...@gmail.com>>
Sent: Friday, March 20, 2020 5:30 AM
To: Davor Spasoski mailto:davor.spaso...@a1.mk>>
Cc: users@kannel.org<mailto:users@kannel.org>
Subject: Re: Help with Unicode Messages

Yes, I did.

So.. change my question
I need to send some millions of unicode messages
I tried with smsbox cgi, but I  didnt get a better performance.. some timeouts 
or very slow..

So.. I think to do a bulk insert to send_sms table, but i need to identify how 
is encoded the HMTL Entities, in example " Hello " to  
%00h%00e%00l%00l%00o%00%A0%D8%3D%DE%00 (bold text is the emoji)
I need to know please how to encode the text  and the UNICODE text

It is possible?

Thanks in advanced

On Thu, Mar 19, 2020 at 3:31 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Did you set coding=2

On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata 
mailto:gabriel.d...@gmail.com>> wrote:

Tks Davor, Antony

URL Encoded doesnt works.. The string after conversion is not the same

On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent 
encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata 
> mailto:gabriel.d...@gmail.com>> wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in 
> sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!



Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e

RE: Help with Unicode Messages

2020-03-20 Thread Davor Spasoski
1.Your table must be created with Unicode support

2.select encoding/collation to UTF8mb4

3.If you are using a programming language, set the connection to the table 
must be with the proper (UTF-8) charset.

4.If you use SQL statement from the CLI, make sure the CLI supports UTF8mb4

5.Copy/paste the smiley sign or follow the link here 
https://stackoverflow.com/questions/39463134/how-to-store-emoji-character-in-mysql-database


Davor Spasoski

From: Gabriel Augusto Diaz Zapata 
Sent: Friday, March 20, 2020 5:30 AM
To: Davor Spasoski 
Cc: users@kannel.org
Subject: Re: Help with Unicode Messages

Yes, I did.

So.. change my question
I need to send some millions of unicode messages
I tried with smsbox cgi, but I  didnt get a better performance.. some timeouts 
or very slow..

So.. I think to do a bulk insert to send_sms table, but i need to identify how 
is encoded the HMTL Entities, in example " Hello " to  
%00h%00e%00l%00l%00o%00%A0%D8%3D%DE%00 (bold text is the emoji)
I need to know please how to encode the text  and the UNICODE text

It is possible?

Thanks in advanced

On Thu, Mar 19, 2020 at 3:31 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Did you set coding=2


On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata 
mailto:gabriel.d...@gmail.com>> wrote:

Tks Davor, Antony

URL Encoded doesnt works.. The string after conversion is not the same

On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski 
mailto:davor.spaso...@a1.mk>> wrote:
Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent 
encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata 
> mailto:gabriel.d...@gmail.com>> wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in 
> sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!



Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот ко

Re: Help with Unicode Messages

2020-03-19 Thread Gabriel Augusto Diaz Zapata
Yes, I did.

So.. change my question
I need to send some millions of unicode messages
I tried with smsbox cgi, but I  didnt get a better performance.. some
timeouts or very slow..

So.. I think to do a bulk insert to send_sms table, but i need to identify
how is encoded the HMTL Entities, in example " Hello "
to  %00h%00e%00l%00l%00o%00%A0%*D8%3D%DE%00 (bold text is the emoji)*
I need to know please how to encode the text  and the UNICODE text

It is possible?

Thanks in advanced

On Thu, Mar 19, 2020 at 3:31 AM Davor Spasoski  wrote:

> Did you set coding=2
>
> On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata <
> gabriel.d...@gmail.com> wrote:
>
> 
> Tks Davor, Antony
>
> URL Encoded doesnt works.. The string after conversion is not the same
>
> On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski 
> wrote:
>
>> Hi,
>>
>> You need to address to smsbox in UTF-8. So, you then URL encode (percent
>> encode) every hex code of the UTF-8 sign.
>>
>> BR,
>> Davor
>>
>> > On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata <
>> gabriel.d...@gmail.com> wrote:
>> >
>> > Hello
>> > I need help please
>> >
>> > Im sending unicode messages (emojis) using sendsms. IE, xc; is
>> converted in sent_sms table to "%D8%3D%DE%00"
>> >
>> > Wich type of conversion is it? I mean UNICODE to? HEX?
>> >
>> > Thank you
>> >
>> > Gabriel
>>
>>
>> 
>>
>> Disclaimer: A1 Makedonija DOOEL Skopje
>> This e-mail (including any attachments) is confidential and may be
>> protected by legal privilege. If you are not the intended recipient, you
>> should not copy it, re-transmit it, use it or disclose its contents, but
>> should return it to the sender immediately and delete your copy from your
>> system. Any unauthorized use or dissemination of this message in whole or
>> in part is strictly prohibited. Please note that e-mails are susceptible to
>> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or
>> incomplete transmission of the information contained in this communication
>> nor for any delay in its receipt or damage to your system.
>> Please, do not print this e-mail unless it is necessary! Think about
>> saving the environment!
>>
>> Напомена: А1 Македонија ДООЕЛ Скопје
>> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може
>> да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му
>> е наменета пораката, не треба да ја копирате, дистрибуирате или да ја
>> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
>> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
>> компјутерски систем. Секое неовластено користење на оваа порака во целост
>> или делови од истата е строго забрането. Ве молиме да забележите дека
>> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не
>> презема одговорност за несоодветно или нецелосно пренесување на
>> информациите содржани во оваа комуникација, ниту пак за било какво
>> задоцнување на приемот или оштетувања на вашиот систем.
>> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
>> ја природата!
>>
>
> --
>
> Disclaimer: A1 Makedonija DOOEL Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: А1 Македонија ДООЕЛ Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не
> презема одговорност за несоодветно или нецелосно пренесување на
> информациите содржани во оваа комуникација, ниту пак за било какво
> задоцнување на приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


Re: Help with Unicode Messages

2020-03-19 Thread Davor Spasoski



Did you set coding=2

On Mar 19, 2020, at 04:42, Gabriel Augusto Diaz Zapata  wrote:





Tks Davor, Antony


URL Encoded doesnt works.. The string after conversion is not the same



On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski <davor.spaso...@a1.mk> wrote:


Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata <gabriel.d...@gmail.com> wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and
 delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete
 transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш
 да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските
 пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!







Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by legal privilege. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and
 delete your copy from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or incomplete
 transmission of the information contained in this communication nor for any delay in its receipt or damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината содржина, туку веднаш
 да ја препратите до испраќачот и да ја избришете оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое неовластено користење на оваа порака во целост или делови од истата е строго забрането. Ве молиме да забележите дека електронските
 пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја природата!





Re: Help with Unicode Messages

2020-03-18 Thread Gabriel Augusto Diaz Zapata
Tks Davor, Antony

URL Encoded doesnt works.. The string after conversion is not the same

On Wed, Mar 18, 2020 at 4:49 AM Davor Spasoski  wrote:

> Hi,
>
> You need to address to smsbox in UTF-8. So, you then URL encode (percent
> encode) every hex code of the UTF-8 sign.
>
> BR,
> Davor
>
> > On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata <
> gabriel.d...@gmail.com> wrote:
> >
> > Hello
> > I need help please
> >
> > Im sending unicode messages (emojis) using sendsms. IE, xc; is converted
> in sent_sms table to "%D8%3D%DE%00"
> >
> > Wich type of conversion is it? I mean UNICODE to? HEX?
> >
> > Thank you
> >
> > Gabriel
>
>
> 
>
> Disclaimer: A1 Makedonija DOOEL Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. A1 Makedonija DOOEL Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: А1 Македонија ДООЕЛ Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. А1 Македонија ДООЕЛ Скопје не
> презема одговорност за несоодветно или нецелосно пренесување на
> информациите содржани во оваа комуникација, ниту пак за било какво
> задоцнување на приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


Re: Help with Unicode Messages

2020-03-18 Thread Davor Spasoski
Hi,

You need to address to smsbox in UTF-8. So, you then URL encode (percent 
encode) every hex code of the UTF-8 sign.

BR,
Davor

> On Mar 18, 2020, at 02:07, Gabriel Augusto Diaz Zapata 
>  wrote:
>
> Hello
> I need help please
>
> Im sending unicode messages (emojis) using sendsms. IE, xc; is converted in 
> sent_sms table to "%D8%3D%DE%00"
>
> Wich type of conversion is it? I mean UNICODE to? HEX?
>
> Thank you
>
> Gabriel




Disclaimer: A1 Makedonija DOOEL Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. A1 Makedonija DOOEL Skopje 
shall not be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: А1 Македонија ДООЕЛ Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. А1 Македонија ДООЕЛ Скопје не презема одговорност за несоодветно или 
нецелосно пренесување на информациите содржани во оваа комуникација, ниту пак 
за било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


Re: Help with Unicode Messages

2020-03-18 Thread Antony Stone
On Wednesday 18 March 2020 at 02:07:48, Gabriel Augusto Diaz Zapata wrote:

> Im sending unicode messages (emojis) using sendsms. IE,  is
> converted in sent_sms table to "%D8%3D%DE%00"
> 
> Wich type of conversion is it? I mean UNICODE to? HEX?

I believe this is commonly referred to as URL-encoding.

Antony.

-- 
I don't know, maybe if we all waited then cosmic rays would write all our 
software for us. Of course it might take a while.

 - Ron Minnich, Los Alamos National Laboratory

   Please reply to the list;
 please *don't* CC me.



Help with Unicode Messages

2020-03-17 Thread Gabriel Augusto Diaz Zapata
Hello
I need help please

Im sending unicode messages (emojis) using sendsms. IE,  is
converted in sent_sms table to "%D8%3D%DE%00"

Wich type of conversion is it? I mean UNICODE to? HEX?

Thank you

Gabriel


Re: help

2019-11-27 Thread Nat Paul
Thank for your feedback.

I find solution,

i put  smsbox-route in my file "kannel.conf"

now , i cant save these values in my database mysql



Le mer. 27 nov. 2019 à 21:32, Alvaro Cornejo  a
écrit :

> Hi
>
> Your need to create your receive.php script with appropriate code to
> connect to your mysql and do the insert in the tables you define it.
>
> 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
>
>
> Le mer. 27 nov. 2019 à 15:14, Nat Paul  a
> écrit :
>
>> Hi,
>>
>> I need help,
>>
>> somebody can i explain how save value of get-url in database mysql ?
>>
>> 1. Now, when i send sms on my phone android with keyword, i can see the
>> sms
>>  on kannel :
>>
>> i made command line : cat /var/log/kannel/access.log
>>
>>
>>  2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:]
>> [ACT:Myshortcode] [BINF:1001] [FID:] [META:?smpp?] [from:sender]
>> [to:receiver] [flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:]
>> 2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT:
>> Myshortcode ] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to:
>> receiver ] [flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:]
>>
>>
>> and with curl "http://localhost:13000/status;, i see
>>
>>
>> SMS: received 1 (2 queued), sent 0 (0 queued), store size 2
>> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>>
>> this is my config service :
>>
>> #Default SERVICE
>> group = sms-service
>> keyword = default
>> #get-url = "
>> http://127.0.0.1/testsendsms.php?from=%p=%P=%a=%i;
>> get-url = "http://127.0.0.1/receive.php?from=%p=%P=%a=%i;
>> accept-x-kannel-headers = true
>> accepted-smsc = gabontelecom
>> max-messages = 3
>> catch-all = true
>> concatenation = true
>>
>>
>>


Re: help

2019-11-27 Thread Alvaro Cornejo
Hi

Your need to create your receive.php script with appropriate code to
connect to your mysql and do the insert in the tables you define it.

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


Le mer. 27 nov. 2019 à 15:14, Nat Paul  a écrit :

> Hi,
>
> I need help,
>
> somebody can i explain how save value of get-url in database mysql ?
>
> 1. Now, when i send sms on my phone android with keyword, i can see the
> sms
>  on kannel :
>
> i made command line : cat /var/log/kannel/access.log
>
>
>  2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:]
> [ACT:Myshortcode] [BINF:1001] [FID:] [META:?smpp?] [from:sender]
> [to:receiver] [flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:]
> 2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT: Myshortcode
> ] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to: receiver ]
> [flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:]
>
>
> and with curl "http://localhost:13000/status;, i see
>
>
> SMS: received 1 (2 queued), sent 0 (0 queued), store size 2
> SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
>
> this is my config service :
>
> #Default SERVICE
> group = sms-service
> keyword = default
> #get-url = "
> http://127.0.0.1/testsendsms.php?from=%p=%P=%a=%i;
> get-url = "http://127.0.0.1/receive.php?from=%p=%P=%a=%i;
> accept-x-kannel-headers = true
> accepted-smsc = gabontelecom
> max-messages = 3
> catch-all = true
> concatenation = true
>
>
>


help

2019-11-27 Thread Nat Paul
Hi,

I need help,

somebody can i explain how save value of get-url in database mysql ?

1. Now, when i send sms on my phone android with keyword, i can see the sms
 on kannel :

i made command line : cat /var/log/kannel/access.log


 2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT:Myshortcode]
[BINF:1001] [FID:] [META:?smpp?] [from:sender] [to:receiver]
[flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:]
2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT: Myshortcode
] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to: receiver ]
[flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:]


and with curl "http://localhost:13000/status;, i see


SMS: received 1 (2 queued), sent 0 (0 queued), store size 2
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

this is my config service :

#Default SERVICE
group = sms-service
keyword = default
#get-url = "http://127.0.0.1/testsendsms.php?from=%p=%P=%a=%i
"
get-url = "http://127.0.0.1/receive.php?from=%p=%P=%a=%i;
accept-x-kannel-headers = true
accepted-smsc = gabontelecom
max-messages = 3
catch-all = true
concatenation = true


Re: Need help for opensmpp and SQLBox

2019-02-24 Thread Stipe Tolj

Am 18.02.19 09:20, schrieb Loyc Cossou:

Hi,

It's now been 2 weeks that I am struggling with this configuration.

I am trying to connect OpenSMPPBox to SqlBix so all the messages are
sent via SQLBox and the DLRs and Logs are available in the database.

Kannel is working fine  as I am able to send SMS.
SQLBox is also working fine as all the messages I insert in the SEND_SMS
table are being sent and moved to SENT_SMS.
And all my clients are able to connect via SMPP and send SMS.

The configuration is like OpenSmppBox and SQLBox are all connected to
bearearBox, but I need this openSMPP --> SQLBox --> Kannel.

Bellow is my configuration files. Can you please advise on how to modify
it so i have opensmppbox connected to sqlbox connected to Bearerbox?
openSMPP --> SQLBox --> Kannel


*# Default kannel configuration file*
*group = core*
*admin-port = 13000*
*admin-password = adminuser*
*status-password = adminpass*
*admin-deny-ip = "*.*.*.*"*
*admin-allow-ip = "*.*.*.*"*
*smsbox-port = 13001*
*box-allow-ip = "*.*.*.*"*
*wdp-interface-name = "*"*
*log-file = "/etc/kannel/log/bearerbox.log"*
*log-level = 0*
*dlr-storage = mysql*
*smsbox-max-pending = 5000*
*sms-resend-freq = 5*
*sms-resend-retry = 5*
*store-location = "/etc/kannel/log/kannel-insms-tmp"*

*# SMSBOX SETUP*
*group = smsbox*
*smsbox-id = mysmsbox*
*bearerbox-host = localhost*
*sendsms-port = 13013*
*global-sender = Connectify*
*log-file = "/etc/kannel/log/smsbox.log"*
*log-level = 1*
*access-log = "/etc/kannel/log/Mo_sendSMSRequests.access"*
*reply-couldnotfetch = "Aucune correspondance pour votre requete"*
*reply-couldnotrepresent = "Le resultat ne peut etre transmis via SMS"*
*reply-requestfailed = "Une erreur temporaire est survenue... Veuillez
ressayer plus tard"*
*reply-emptymessage = "Aucune correspondance pour votre requete"*
*http-request-retry = 1*
*http-queue-delay = 5*
*max-pending-requests = 5000*
*#sms-length = 160*
*#mo-recode = true*

*group = smsbox-route*
*smsbox-id = mysmsbox*
*smsc-id = favoriteSMSC*

*# SMSC CONNECTIONS*
*group = smsc*
*smsc = smpp*
*smsc-id = MoovBjSoneb*
*preferred-smsc-id = MoovBjSoneb*
*denied-smsc-id = favoriteSMSC*
*interface-version = 34*
*host = *
*port = 2775*
*smsc-username = aa*
*smsc-password = bb*
*system-type = smpp*
*address-range = ""*
*dest-addr-ton = 1*
*dest-addr-npi = 1*
*bind-addr-ton = 1*
*bind-addr-npi = 1*
*#msg-id-type = 0x00*
*transceiver-mode = yes*
*source-addr-autodetect = yes*
*
*
*# SMSC CONNECTIONS*
*group = smsc*
*smsc = smpp*
*smsc-id = favoriteSMSC*
*preferred-smsc-id = favoriteSMSC*
*denied-smsc-id = MoovBjSoneb*
*interface-version = 34*
*host = *
*port = 2775*
*smsc-username = cc*
*smsc-password = dd*
*system-type = smpp*
*address-range = ""*
*dest-addr-ton = 1*
*dest-addr-npi = 1*
*bind-addr-ton = 1*
*bind-addr-npi = 1*
*msg-id-type = 0x00*
*transceiver-mode = yes*
*source-addr-autodetect = yes*

*group = sendsms-user*
*username = my*
*password = god*
*max-messages = 7*
*concatenation = true*
*forced-smsc = favoriteSMSC*
*
*
*# mysql connection*
*group = mysql-connection*
*id = mydlr*
*host = something.amazonaws.com *
*username = theuser*
*password = thepass*
*database = thedb*
*max-connections = 1*
*
*
*# DLR table structure*
*group = dlr-db*
*id = mydlr*
*table = dlr*
*field-smsc = smsc*
*field-timestamp = ts*
*field-destination = destination*
*field-source = source*
*field-service = service*
*field-url = url*
*field-mask = mask*
*field-status = status*
*field-boxc-id = boxc*
*
*

*
*
*
*
*SQLBox Conf *
*#SqlBox*
*group = sqlbox*
*id = sqlbox-db*
*smsbox-id = public_ctf*
*bearerbox-host = localhost*
*bearerbox-port = 13001*
*smsbox-port = 130013*
*smsbox-port-ssl = false*
*sql-log-table = sent_sms*
*sql-insert-table = send_sms*
*log-file = "/etc/kannel/log/sqlbox.log"*
*log-level = 0*

*# mysql connection*
*group = mysql-connection*
*id = sqlbox-db*
*host = something.amazonaws.com *
*port = 3306*
*username = theuser*
*password = thepass*
*database = aSQLBoxDb*
*max-connections = 1*
*
*
*
*

* Opensmppbox.conf ==*
*
*
*group = core*
*dlr-storage = mysql*

*#OpenSmppBox*
*group = opensmppbox*
*opensmppbox-id = smppboxA*
*opensmppbox-port = 8990*
*bearerbox-host = localhost*
*bearerbox-port = 13001*
*#bearerbox-port = 13013*
*our-system-id = public_ctf*
*smpp-logins = /etc/kannel/utilisateurs.txt*
*use-systemid-as-smsboxid = true*
*route-to-smsc = favoriteSMSC*
*source-addr-ton = 1*
*source-addr-npi = 1*
*dest-addr-ton = 1*
*dest-addr-npi = 1*
*log-file = /etc/kannel/log/opensmppbox.log*
*log-level = 0*

*# mysql connection*
*group = mysql-connection*
*id = mydlr*
*host = something.amazonaws.com *
*username = theuser*
*password = thedb*
*database = thesmppdb*
*max-connections = 1*

*# DLR table structure*
*group = dlr-db*
*id = mydlr*
*table = dlr*
*field-smsc = smsc*
*field-timestamp = ts*
*field-destination = destination*
*field-source = source*

Re: Need help for opensmpp and SQLBox

2019-02-18 Thread Loyc Cossou
Hi,

I have kannel 4.4.

I have downloaded the sources and complied.

Thanks.

Le lun. 18 févr. 2019 à 09:53, Web Min  a écrit :

> Which version of SQLBOX and KAnnel installed?
>
> Did you install them via a repository or via truck then compile?
>
> Regards
>
> On Mon, Feb 18, 2019 at 11:21 AM Loyc Cossou  wrote:
>
>> Hi,
>>
>> It's now been 2 weeks that I am struggling with this configuration.
>>
>> I am trying to connect OpenSMPPBox to SqlBix so all the messages are sent
>> via SQLBox and the DLRs and Logs are available in the database.
>>
>> Kannel is working fine  as I am able to send SMS.
>> SQLBox is also working fine as all the messages I insert in the SEND_SMS
>> table are being sent and moved to SENT_SMS.
>> And all my clients are able to connect via SMPP and send SMS.
>>
>> The configuration is like OpenSmppBox and SQLBox are all connected to
>> bearearBox, but I need this openSMPP --> SQLBox --> Kannel.
>>
>> Bellow is my configuration files. Can you please advise on how to modify
>> it so i have opensmppbox connected to sqlbox connected to Bearerbox?
>> openSMPP --> SQLBox --> Kannel
>>
>>
>> *# Default kannel configuration file*
>> *group = core*
>> *admin-port = 13000*
>> *admin-password = adminuser*
>> *status-password = adminpass*
>> *admin-deny-ip = "*.*.*.*"*
>> *admin-allow-ip = "*.*.*.*"*
>> *smsbox-port = 13001*
>> *box-allow-ip = "*.*.*.*"*
>> *wdp-interface-name = "*"*
>> *log-file = "/etc/kannel/log/bearerbox.log"*
>> *log-level = 0*
>> *dlr-storage = mysql*
>> *smsbox-max-pending = 5000*
>> *sms-resend-freq = 5*
>> *sms-resend-retry = 5*
>> *store-location = "/etc/kannel/log/kannel-insms-tmp"*
>>
>> *# SMSBOX SETUP*
>> *group = smsbox*
>> *smsbox-id = mysmsbox*
>> *bearerbox-host = localhost*
>> *sendsms-port = 13013*
>> *global-sender = Connectify*
>> *log-file = "/etc/kannel/log/smsbox.log"*
>> *log-level = 1*
>> *access-log = "/etc/kannel/log/Mo_sendSMSRequests.access"*
>> *reply-couldnotfetch = "Aucune correspondance pour votre requete"*
>> *reply-couldnotrepresent = "Le resultat ne peut etre transmis via SMS"*
>> *reply-requestfailed = "Une erreur temporaire est survenue... Veuillez
>> ressayer plus tard"*
>> *reply-emptymessage = "Aucune correspondance pour votre requete"*
>> *http-request-retry = 1*
>> *http-queue-delay = 5*
>> *max-pending-requests = 5000*
>> *#sms-length = 160*
>> *#mo-recode = true*
>>
>> *group = smsbox-route*
>> *smsbox-id = mysmsbox*
>> *smsc-id = favoriteSMSC*
>>
>> *# SMSC CONNECTIONS*
>> *group = smsc*
>> *smsc = smpp*
>> *smsc-id = MoovBjSoneb*
>> *preferred-smsc-id = MoovBjSoneb*
>> *denied-smsc-id = favoriteSMSC*
>> *interface-version = 34*
>> *host = *
>> *port = 2775*
>> *smsc-username = aa*
>> *smsc-password = bb*
>> *system-type = smpp*
>> *address-range = ""*
>> *dest-addr-ton = 1*
>> *dest-addr-npi = 1*
>> *bind-addr-ton = 1*
>> *bind-addr-npi = 1*
>> *#msg-id-type = 0x00*
>> *transceiver-mode = yes*
>> *source-addr-autodetect = yes*
>>
>> *# SMSC CONNECTIONS*
>> *group = smsc*
>> *smsc = smpp*
>> *smsc-id = favoriteSMSC*
>> *preferred-smsc-id = favoriteSMSC*
>> *denied-smsc-id = MoovBjSoneb*
>> *interface-version = 34*
>> *host = *
>> *port = 2775*
>> *smsc-username = cc*
>> *smsc-password = dd*
>> *system-type = smpp*
>> *address-range = ""*
>> *dest-addr-ton = 1*
>> *dest-addr-npi = 1*
>> *bind-addr-ton = 1*
>> *bind-addr-npi = 1*
>> *msg-id-type = 0x00*
>> *transceiver-mode = yes*
>> *source-addr-autodetect = yes*
>>
>> *group = sendsms-user*
>> *username = my*
>> *password = god*
>> *max-messages = 7*
>> *concatenation = true*
>> *forced-smsc = favoriteSMSC*
>>
>> *# mysql connection*
>> *group = mysql-connection*
>> *id = mydlr*
>> *host = something.amazonaws.com *
>> *username = theuser*
>> *password = thepass*
>> *database = thedb*
>> *max-connections = 1*
>>
>> *# DLR table structure*
>> *group = dlr-db*
>> *id = mydlr*
>> *table = dlr*
>> *field-smsc = smsc*
>> *field-timestamp = ts*
>> *field-destination = destination*
>> *field-source = source*
>> *field-service = service*
>> *field-url = url*
>> *field-mask = mask*
>> *field-status = status*
>> *field-boxc-id = boxc*
>>
>>
>>
>>
>> *SQLBox Conf *
>> *#SqlBox*
>> *group = sqlbox*
>> *id = sqlbox-db*
>> *smsbox-id = public_ctf*
>> *bearerbox-host = localhost*
>> *bearerbox-port = 13001*
>> *smsbox-port = 130013*
>> *smsbox-port-ssl = false*
>> *sql-log-table = sent_sms*
>> *sql-insert-table = send_sms*
>> *log-file = "/etc/kannel/log/sqlbox.log"*
>> *log-level = 0*
>>
>> *# mysql connection*
>> *group = mysql-connection*
>> *id = sqlbox-db*
>> *host = something.amazonaws.com *
>> *port = 3306*
>> *username = theuser*
>> *password = thepass*
>> *database = aSQLBoxDb*
>> *max-connections = 1*
>>
>>
>>
>> * Opensmppbox.conf ==*
>>
>> *group = core*
>> *dlr-storage = mysql*
>>
>> *#OpenSmppBox*
>> *group = opensmppbox*
>> *opensmppbox-id = smppboxA*
>> *opensmppbox-port = 8990*
>> 

Re: Need help for opensmpp and SQLBox

2019-02-18 Thread Web Min
Which version of SQLBOX and KAnnel installed?

Did you install them via a repository or via truck then compile?

Regards

On Mon, Feb 18, 2019 at 11:21 AM Loyc Cossou  wrote:

> Hi,
>
> It's now been 2 weeks that I am struggling with this configuration.
>
> I am trying to connect OpenSMPPBox to SqlBix so all the messages are sent
> via SQLBox and the DLRs and Logs are available in the database.
>
> Kannel is working fine  as I am able to send SMS.
> SQLBox is also working fine as all the messages I insert in the SEND_SMS
> table are being sent and moved to SENT_SMS.
> And all my clients are able to connect via SMPP and send SMS.
>
> The configuration is like OpenSmppBox and SQLBox are all connected to
> bearearBox, but I need this openSMPP --> SQLBox --> Kannel.
>
> Bellow is my configuration files. Can you please advise on how to modify
> it so i have opensmppbox connected to sqlbox connected to Bearerbox?
> openSMPP --> SQLBox --> Kannel
>
>
> *# Default kannel configuration file*
> *group = core*
> *admin-port = 13000*
> *admin-password = adminuser*
> *status-password = adminpass*
> *admin-deny-ip = "*.*.*.*"*
> *admin-allow-ip = "*.*.*.*"*
> *smsbox-port = 13001*
> *box-allow-ip = "*.*.*.*"*
> *wdp-interface-name = "*"*
> *log-file = "/etc/kannel/log/bearerbox.log"*
> *log-level = 0*
> *dlr-storage = mysql*
> *smsbox-max-pending = 5000*
> *sms-resend-freq = 5*
> *sms-resend-retry = 5*
> *store-location = "/etc/kannel/log/kannel-insms-tmp"*
>
> *# SMSBOX SETUP*
> *group = smsbox*
> *smsbox-id = mysmsbox*
> *bearerbox-host = localhost*
> *sendsms-port = 13013*
> *global-sender = Connectify*
> *log-file = "/etc/kannel/log/smsbox.log"*
> *log-level = 1*
> *access-log = "/etc/kannel/log/Mo_sendSMSRequests.access"*
> *reply-couldnotfetch = "Aucune correspondance pour votre requete"*
> *reply-couldnotrepresent = "Le resultat ne peut etre transmis via SMS"*
> *reply-requestfailed = "Une erreur temporaire est survenue... Veuillez
> ressayer plus tard"*
> *reply-emptymessage = "Aucune correspondance pour votre requete"*
> *http-request-retry = 1*
> *http-queue-delay = 5*
> *max-pending-requests = 5000*
> *#sms-length = 160*
> *#mo-recode = true*
>
> *group = smsbox-route*
> *smsbox-id = mysmsbox*
> *smsc-id = favoriteSMSC*
>
> *# SMSC CONNECTIONS*
> *group = smsc*
> *smsc = smpp*
> *smsc-id = MoovBjSoneb*
> *preferred-smsc-id = MoovBjSoneb*
> *denied-smsc-id = favoriteSMSC*
> *interface-version = 34*
> *host = *
> *port = 2775*
> *smsc-username = aa*
> *smsc-password = bb*
> *system-type = smpp*
> *address-range = ""*
> *dest-addr-ton = 1*
> *dest-addr-npi = 1*
> *bind-addr-ton = 1*
> *bind-addr-npi = 1*
> *#msg-id-type = 0x00*
> *transceiver-mode = yes*
> *source-addr-autodetect = yes*
>
> *# SMSC CONNECTIONS*
> *group = smsc*
> *smsc = smpp*
> *smsc-id = favoriteSMSC*
> *preferred-smsc-id = favoriteSMSC*
> *denied-smsc-id = MoovBjSoneb*
> *interface-version = 34*
> *host = *
> *port = 2775*
> *smsc-username = cc*
> *smsc-password = dd*
> *system-type = smpp*
> *address-range = ""*
> *dest-addr-ton = 1*
> *dest-addr-npi = 1*
> *bind-addr-ton = 1*
> *bind-addr-npi = 1*
> *msg-id-type = 0x00*
> *transceiver-mode = yes*
> *source-addr-autodetect = yes*
>
> *group = sendsms-user*
> *username = my*
> *password = god*
> *max-messages = 7*
> *concatenation = true*
> *forced-smsc = favoriteSMSC*
>
> *# mysql connection*
> *group = mysql-connection*
> *id = mydlr*
> *host = something.amazonaws.com *
> *username = theuser*
> *password = thepass*
> *database = thedb*
> *max-connections = 1*
>
> *# DLR table structure*
> *group = dlr-db*
> *id = mydlr*
> *table = dlr*
> *field-smsc = smsc*
> *field-timestamp = ts*
> *field-destination = destination*
> *field-source = source*
> *field-service = service*
> *field-url = url*
> *field-mask = mask*
> *field-status = status*
> *field-boxc-id = boxc*
>
>
>
>
> *SQLBox Conf *
> *#SqlBox*
> *group = sqlbox*
> *id = sqlbox-db*
> *smsbox-id = public_ctf*
> *bearerbox-host = localhost*
> *bearerbox-port = 13001*
> *smsbox-port = 130013*
> *smsbox-port-ssl = false*
> *sql-log-table = sent_sms*
> *sql-insert-table = send_sms*
> *log-file = "/etc/kannel/log/sqlbox.log"*
> *log-level = 0*
>
> *# mysql connection*
> *group = mysql-connection*
> *id = sqlbox-db*
> *host = something.amazonaws.com *
> *port = 3306*
> *username = theuser*
> *password = thepass*
> *database = aSQLBoxDb*
> *max-connections = 1*
>
>
>
> * Opensmppbox.conf ==*
>
> *group = core*
> *dlr-storage = mysql*
>
> *#OpenSmppBox*
> *group = opensmppbox*
> *opensmppbox-id = smppboxA*
> *opensmppbox-port = 8990*
> *bearerbox-host = localhost*
> *bearerbox-port = 13001*
> *#bearerbox-port = 13013*
> *our-system-id = public_ctf*
> *smpp-logins = /etc/kannel/utilisateurs.txt*
> *use-systemid-as-smsboxid = true*
> *route-to-smsc = favoriteSMSC*
> *source-addr-ton = 1*
> *source-addr-npi = 1*
> *dest-addr-ton = 1*
> *dest-addr-npi = 1*
> 

Need help for opensmpp and SQLBox

2019-02-18 Thread Loyc Cossou
Hi,

It's now been 2 weeks that I am struggling with this configuration.

I am trying to connect OpenSMPPBox to SqlBix so all the messages are sent
via SQLBox and the DLRs and Logs are available in the database.

Kannel is working fine  as I am able to send SMS.
SQLBox is also working fine as all the messages I insert in the SEND_SMS
table are being sent and moved to SENT_SMS.
And all my clients are able to connect via SMPP and send SMS.

The configuration is like OpenSmppBox and SQLBox are all connected to
bearearBox, but I need this openSMPP --> SQLBox --> Kannel.

Bellow is my configuration files. Can you please advise on how to modify it
so i have opensmppbox connected to sqlbox connected to Bearerbox?
openSMPP --> SQLBox --> Kannel


*# Default kannel configuration file*
*group = core*
*admin-port = 13000*
*admin-password = adminuser*
*status-password = adminpass*
*admin-deny-ip = "*.*.*.*"*
*admin-allow-ip = "*.*.*.*"*
*smsbox-port = 13001*
*box-allow-ip = "*.*.*.*"*
*wdp-interface-name = "*"*
*log-file = "/etc/kannel/log/bearerbox.log"*
*log-level = 0*
*dlr-storage = mysql*
*smsbox-max-pending = 5000*
*sms-resend-freq = 5*
*sms-resend-retry = 5*
*store-location = "/etc/kannel/log/kannel-insms-tmp"*

*# SMSBOX SETUP*
*group = smsbox*
*smsbox-id = mysmsbox*
*bearerbox-host = localhost*
*sendsms-port = 13013*
*global-sender = Connectify*
*log-file = "/etc/kannel/log/smsbox.log"*
*log-level = 1*
*access-log = "/etc/kannel/log/Mo_sendSMSRequests.access"*
*reply-couldnotfetch = "Aucune correspondance pour votre requete"*
*reply-couldnotrepresent = "Le resultat ne peut etre transmis via SMS"*
*reply-requestfailed = "Une erreur temporaire est survenue... Veuillez
ressayer plus tard"*
*reply-emptymessage = "Aucune correspondance pour votre requete"*
*http-request-retry = 1*
*http-queue-delay = 5*
*max-pending-requests = 5000*
*#sms-length = 160*
*#mo-recode = true*

*group = smsbox-route*
*smsbox-id = mysmsbox*
*smsc-id = favoriteSMSC*

*# SMSC CONNECTIONS*
*group = smsc*
*smsc = smpp*
*smsc-id = MoovBjSoneb*
*preferred-smsc-id = MoovBjSoneb*
*denied-smsc-id = favoriteSMSC*
*interface-version = 34*
*host = *
*port = 2775*
*smsc-username = aa*
*smsc-password = bb*
*system-type = smpp*
*address-range = ""*
*dest-addr-ton = 1*
*dest-addr-npi = 1*
*bind-addr-ton = 1*
*bind-addr-npi = 1*
*#msg-id-type = 0x00*
*transceiver-mode = yes*
*source-addr-autodetect = yes*

*# SMSC CONNECTIONS*
*group = smsc*
*smsc = smpp*
*smsc-id = favoriteSMSC*
*preferred-smsc-id = favoriteSMSC*
*denied-smsc-id = MoovBjSoneb*
*interface-version = 34*
*host = *
*port = 2775*
*smsc-username = cc*
*smsc-password = dd*
*system-type = smpp*
*address-range = ""*
*dest-addr-ton = 1*
*dest-addr-npi = 1*
*bind-addr-ton = 1*
*bind-addr-npi = 1*
*msg-id-type = 0x00*
*transceiver-mode = yes*
*source-addr-autodetect = yes*

*group = sendsms-user*
*username = my*
*password = god*
*max-messages = 7*
*concatenation = true*
*forced-smsc = favoriteSMSC*

*# mysql connection*
*group = mysql-connection*
*id = mydlr*
*host = something.amazonaws.com *
*username = theuser*
*password = thepass*
*database = thedb*
*max-connections = 1*

*# DLR table structure*
*group = dlr-db*
*id = mydlr*
*table = dlr*
*field-smsc = smsc*
*field-timestamp = ts*
*field-destination = destination*
*field-source = source*
*field-service = service*
*field-url = url*
*field-mask = mask*
*field-status = status*
*field-boxc-id = boxc*




*SQLBox Conf *
*#SqlBox*
*group = sqlbox*
*id = sqlbox-db*
*smsbox-id = public_ctf*
*bearerbox-host = localhost*
*bearerbox-port = 13001*
*smsbox-port = 130013*
*smsbox-port-ssl = false*
*sql-log-table = sent_sms*
*sql-insert-table = send_sms*
*log-file = "/etc/kannel/log/sqlbox.log"*
*log-level = 0*

*# mysql connection*
*group = mysql-connection*
*id = sqlbox-db*
*host = something.amazonaws.com *
*port = 3306*
*username = theuser*
*password = thepass*
*database = aSQLBoxDb*
*max-connections = 1*



* Opensmppbox.conf ==*

*group = core*
*dlr-storage = mysql*

*#OpenSmppBox*
*group = opensmppbox*
*opensmppbox-id = smppboxA*
*opensmppbox-port = 8990*
*bearerbox-host = localhost*
*bearerbox-port = 13001*
*#bearerbox-port = 13013*
*our-system-id = public_ctf*
*smpp-logins = /etc/kannel/utilisateurs.txt*
*use-systemid-as-smsboxid = true*
*route-to-smsc = favoriteSMSC*
*source-addr-ton = 1*
*source-addr-npi = 1*
*dest-addr-ton = 1*
*dest-addr-npi = 1*
*log-file = /etc/kannel/log/opensmppbox.log*
*log-level = 0*

*# mysql connection*
*group = mysql-connection*
*id = mydlr*
*host = something.amazonaws.com *
*username = theuser*
*password = thedb*
*database = thesmppdb*
*max-connections = 1*

*# DLR table structure*
*group = dlr-db*
*id = mydlr*
*table = dlr*
*field-smsc = smsc*
*field-timestamp = ts*
*field-destination = destination*
*field-source = source*
*field-service = service*
*field-url = url*
*field-mask = mask*

[Help with Kannel Configuration for incoming and outgoing (Receive and Send ) SMS using OPENSMPPBOX, SQLBOX]

2018-04-04 Thread sekabira yasin
Hello there,

I kindly need some help/pointers on how i can configure Kannel to receive
and send sms with Opensmppbox and SQLBox addons..

I'm new to kannel, i have set up my kannel with a fakesmsc, its up and
running.. though i need to configure it with OPENSMPPBOX and SQLBOX, this
is because i wish to have the incoming messages to be stored in a database,
and the OPENSMPPBOX to provide me a smsc settings such that i can receive
messages from other SMPP Providers / ESMEs, for outgoing/sending messages,
these should also be stored in the databases, plus the dlrs..

here is my kannel.conf

# Main kannel config file
#-
# BEARERBOX CONFIGURATIONS
# CORE
group = core
dlr-storage = internal
admin-port = 13000
admin-password = bar
#status-password = 
admin-allow-ip = '*.*.*.*'
smsbox-port = 13001
log-level = 0
log-file = "/etc/kannel/logs/kannel.log"
box-allow-ip = '*.*.*.*'

#-
# This is a fake smsc connection, _only_ used to test the
# system and services. It really cannot relay messages to
# actual handsets!
group = smsc
smsc = fake
smsc-id = FAKE
port = 1
log-level = 0
connect-allow-ip = 127.0.0.1

#-
# SMSBOX SETUP
group = smsbox
smsbox-id  = mysmsbox
bearerbox-host = A.B.C.D # This is a public IP
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/etc/kannel/logs/smsbox.log"
log-level = 0
access-log = "/etc/kannel/logs/access.log"

#-
# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar

group = smsbox-route
smsbox-id = mysmsbox
smsc-id = FAKE

#-
# SERVICES
group = sms-service
keyword = nop
text = "You asked nothing and i did it!"

# Default
group = sms-service
keyword = default
text = "No service specified"


---
Here is my bearer box status, i have installed Kannel version 1.4.4, my
server is in the Cloud at Linode.

$curl 'http://A.B.C.D:13000/status?password=bar'
Kannel bearerbox version `1.4.4'.
Build `Mar 27 2018 06:58:08', compiler `4.8.5 20150623 (Red Hat 4.8.5-16)'.
System Linux, release 4.15.8-x86_64-linode103, version #1 SMP Fri Mar 9
21:02:39 UTC 2018, machine x86_64.
Hostname li1509-36.members.linode.com, IP A.B.C.D.
Libxml version 2.9.1.
Compiled with MySQL 5.6.39, using MySQL 5.6.39.
Using native malloc.


Status: running, uptime 0d 2h 26m 49s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 0 (0 queued), sent 0 (0 queued), store size -1
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: received 0, sent 0
DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 0 queued, using internal storage

Box connections:
smsbox:mysmsbox, IP A.B.C.D (0 queued), (on-line 0d 2h 25m 49s)


SMSC connections:
FAKE[FAKE]FAKE:1 (connecting, rcvd: sms 0 (0.00,0.00,0.00) /
dlr 0 (0.00,0.00,0.00), sent: sms 0 (0.00,0.00,0.00) / dlr 0
(0.00,0.00,0.00), failed 0, queued 0 msgs)

--

Any Help is highly appreciated...

-- 
Regards
---
*Sekabira Yasin*
sekayasin.me
@sekayasin9 <https://twitter.com/sekayasin9>
-

*Chief Technical Ninja *@katwecolab <https://twitter.com/katwecolab>* | *@
patchedUG <https://twitter.com/patchedUG>* | Mamawalu Foundation | Kompyuta
Giants*
---
#Topooowa


HELP with new 3G Modem (serial port)

2017-03-21 Thread Peter Lum
Dear friends

I recently changed my 2G GSM Modem to a new 3G modem because we are phasing out 
2G.

I thought the work is just replacement but after 1 week, I am still struggling 
with Kannel to work with this new modem.

I am using Kannel 1.4.4 and the modem is the TCAM T61-EHS5 

http://tcam.com.sg/products/modem-and-gateway/t61-smart-gateway/

AT Commands are at 
http://tcam.com.sg/wp-content/uploads/2014/02/ehs5-e_atc_v02000.pdf

I have been using different settings and doing google searches but just 
couldn’t get it to work. It may work for 1 min and then, stopped.

This is driving me crazy!! I learned from techsupport that the 3G modem has 2 
restrictions:

1.   The rate of sending SMS must be throttled. 

2.   The memory space is only 140 bytes

For point 1, I added throughput = 0.5 in the config

For point 2, it is too challenging for me to reoslve.

As the I need to send uncode (16-bits), how to I set up the PDU in kannel to 
auto break messages into 140 bytes chunk.

HELP!

Thanks in advanced!

Peter 



Re: Help regarding sending pound '£' symbol through kannel

2017-02-23 Thread Leos Tovarek
Hi,
The easiest and 100% successful is using the official standard name "GBP"
for that currency.
BR,
jh

On Thu, Feb 23, 2017 at 3:31 PM, Manas Mohanty <mohanty.ran...@gmail.com>
wrote:

> Thanks Davor.
>  I will try what you suggested.
>
> On Thu, Feb 23, 2017 at 4:16 PM, Davor Spasoski <davor.spaso...@onevip.mk>
> wrote:
>
>> P.S.
>>
>>
>>
>> Best way to check the default SMSC encoding is to send %00 with coding=0
>>  and check if you get @ or ¡ on your handset. If you get the ¡, then for
>> sure GSM 03.38 is not the default SMSC alphabet (as far as the SMPP
>> communication is concerned).
>>
>>
>>
>> BR,
>>
>>
>>
>> *Davor Spasoski*
>>
>> *From:* Davor Spasoski
>> *Sent:* 22 February 2017 15:03
>> *To:* 'Manas Mohanty' <mohanty.ran...@gmail.com>; users@kannel.org
>> *Subject:* RE: Help regarding sending pound '£' symbol through kannel
>>
>>
>>
>> Hi,
>>
>>
>>
>> In my understanding, you could send the @ and £ using GSM 7-bit alphabet
>> only if the default SMSC encoding is set to GSM or you have set alt-dcs in
>> kannel whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM
>> alphabet.
>>
>>
>>
>> But you should also consider this document  http://www.linkas.it/docs/kan
>> nel/Characters,%20Kannel%20&%20MT%20SMS.docx which explains that after
>> version 1.4.2 kannel has switched to internal use of utf-8. So bascially
>> you should use utf-8 to submit to kannel and kannel will translate to GSM
>> alphabet if alt-dces i set to true. This might have evolved with the
>> vesrions and I would appreciate if someone sched light to this topic.
>>
>>
>>
>> I think you should do some tests with various parameters and draw your
>> own conclusions, but first check the default smsc alphabet. This is the
>> alphabet used for SMPP, it’s usually ASCII and *is not the same thing as
>> the default GSM alphabet.*
>>
>>
>>
>> *Davor Spasoski*
>>
>> *From:* users [mailto:users-boun...@kannel.org <users-boun...@kannel.org>]
>> *On Behalf Of *Manas Mohanty
>> *Sent:* 22 February 2017 14:34
>> *To:* users@kannel.org
>> *Subject:* Help regarding sending pound '£' symbol through kannel
>>
>>
>>
>> Hi,
>>
>> I am trying to send pound '£' symbol through kannel using
>> charset=utf8=0 but getting '@£' on the handset.
>>
>> But when I set coding=2, message properly '£' landed on the handset. But
>> doing this I am wasting half of the sms capacity as pound symbol is defined
>> in the default 7bit GSM 03.38.
>>
>> Please suggest how to send the message so that I can manage to send it in
>> default 7bit GSM 03.38.
>>
>> Thanks
>>
>> Manas
>>
>>
>>
>>
>>
>> --
>>
>> Disclaimer: one.Vip DOO Skopje
>> This e-mail (including any attachments) is confidential and may be
>> protected by legal privilege. If you are not the intended recipient, you
>> should not copy it, re-transmit it, use it or disclose its contents, but
>> should return it to the sender immediately and delete your copy from your
>> system. Any unauthorized use or dissemination of this message in whole or
>> in part is strictly prohibited. Please note that e-mails are susceptible to
>> change. one.Vip DOO Skopje shall not be liable for the improper or
>> incomplete transmission of the information contained in this communication
>> nor for any delay in its receipt or damage to your system.
>> Please, do not print this e-mail unless it is necessary! Think about
>> saving the environment!
>>
>> Напомена: оне.Вип ДОО Скопје
>> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може
>> да биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му
>> е наменета пораката, не треба да ја копирате, дистрибуирате или да ја
>> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
>> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
>> компјутерски систем. Секое неовластено користење на оваа порака во целост
>> или делови од истата е строго забрането. Ве молиме да забележите дека
>> електронските пораки се подложни на промени. оне.Вип ДОО Скопје не презема
>> одговорност за несоодветно или нецелосно пренесување на информациите
>> содржани во оваа комуникација, ниту пак за било какво задоцнување на
>> приемот или оштетувања на вашиот систем.
>> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
>> ја природата!
>>
>
>


Re: Help regarding sending pound '£' symbol through kannel

2017-02-23 Thread Manas Mohanty
Thanks Davor.
 I will try what you suggested.

On Thu, Feb 23, 2017 at 4:16 PM, Davor Spasoski <davor.spaso...@onevip.mk>
wrote:

> P.S.
>
>
>
> Best way to check the default SMSC encoding is to send %00 with coding=0
>  and check if you get @ or ¡ on your handset. If you get the ¡, then for
> sure GSM 03.38 is not the default SMSC alphabet (as far as the SMPP
> communication is concerned).
>
>
>
> BR,
>
>
>
> *Davor Spasoski*
>
> *From:* Davor Spasoski
> *Sent:* 22 February 2017 15:03
> *To:* 'Manas Mohanty' <mohanty.ran...@gmail.com>; users@kannel.org
> *Subject:* RE: Help regarding sending pound '£' symbol through kannel
>
>
>
> Hi,
>
>
>
> In my understanding, you could send the @ and £ using GSM 7-bit alphabet
> only if the default SMSC encoding is set to GSM or you have set alt-dcs in
> kannel whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM
> alphabet.
>
>
>
> But you should also consider this document  http://www.linkas.it/docs/
> kannel/Characters,%20Kannel%20&%20MT%20SMS.docx which explains that after
> version 1.4.2 kannel has switched to internal use of utf-8. So bascially
> you should use utf-8 to submit to kannel and kannel will translate to GSM
> alphabet if alt-dces i set to true. This might have evolved with the
> vesrions and I would appreciate if someone sched light to this topic.
>
>
>
> I think you should do some tests with various parameters and draw your own
> conclusions, but first check the default smsc alphabet. This is the
> alphabet used for SMPP, it’s usually ASCII and *is not the same thing as
> the default GSM alphabet.*
>
>
>
> *Davor Spasoski*
>
> *From:* users [mailto:users-boun...@kannel.org <users-boun...@kannel.org>]
> *On Behalf Of *Manas Mohanty
> *Sent:* 22 February 2017 14:34
> *To:* users@kannel.org
> *Subject:* Help regarding sending pound '£' symbol through kannel
>
>
>
> Hi,
>
> I am trying to send pound '£' symbol through kannel using
> charset=utf8=0 but getting '@£' on the handset.
>
> But when I set coding=2, message properly '£' landed on the handset. But
> doing this I am wasting half of the sms capacity as pound symbol is defined
> in the default 7bit GSM 03.38.
>
> Please suggest how to send the message so that I can manage to send it in
> default 7bit GSM 03.38.
>
> Thanks
>
> Manas
>
>
>
>
>
> --
>
> Disclaimer: one.Vip DOO Skopje
> This e-mail (including any attachments) is confidential and may be
> protected by legal privilege. If you are not the intended recipient, you
> should not copy it, re-transmit it, use it or disclose its contents, but
> should return it to the sender immediately and delete your copy from your
> system. Any unauthorized use or dissemination of this message in whole or
> in part is strictly prohibited. Please note that e-mails are susceptible to
> change. one.Vip DOO Skopje shall not be liable for the improper or
> incomplete transmission of the information contained in this communication
> nor for any delay in its receipt or damage to your system.
> Please, do not print this e-mail unless it is necessary! Think about
> saving the environment!
>
> Напомена: оне.Вип ДОО Скопје
> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да
> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е
> наменета пораката, не треба да ја копирате, дистрибуирате или да ја
> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и
> да ја избришете оригиналната порака и сите нејзини копии од Вашиот
> компјутерски систем. Секое неовластено користење на оваа порака во целост
> или делови од истата е строго забрането. Ве молиме да забележите дека
> електронските пораки се подложни на промени. оне.Вип ДОО Скопје не презема
> одговорност за несоодветно или нецелосно пренесување на информациите
> содржани во оваа комуникација, ниту пак за било какво задоцнување на
> приемот или оштетувања на вашиот систем.
> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте
> ја природата!
>


RE: Help regarding sending pound '£' symbol through kannel

2017-02-23 Thread Davor Spasoski
P.S.

Best way to check the default SMSC encoding is to send %00 with coding=0  and 
check if you get @ or ¡ on your handset. If you get the ¡, then for sure GSM 
03.38 is not the default SMSC alphabet (as far as the SMPP communication is 
concerned).

BR,

Davor Spasoski
From: Davor Spasoski
Sent: 22 February 2017 15:03
To: 'Manas Mohanty' <mohanty.ran...@gmail.com>; users@kannel.org
Subject: RE: Help regarding sending pound '£' symbol through kannel

Hi,

In my understanding, you could send the @ and £ using GSM 7-bit alphabet only 
if the default SMSC encoding is set to GSM or you have set alt-dcs in kannel 
whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM alphabet.

But you should also consider this document  
http://www.linkas.it/docs/kannel/Characters,%20Kannel%20&%20MT%20SMS.docx which 
explains that after version 1.4.2 kannel has switched to internal use of utf-8. 
So bascially you should use utf-8 to submit to kannel and kannel will translate 
to GSM alphabet if alt-dces i set to true. This might have evolved with the 
vesrions and I would appreciate if someone sched light to this topic.

I think you should do some tests with various parameters and draw your own 
conclusions, but first check the default smsc alphabet. This is the alphabet 
used for SMPP, it’s usually ASCII and is not the same thing as the default GSM 
alphabet.

Davor Spasoski
From: users [mailto:users-boun...@kannel.org] On Behalf Of Manas Mohanty
Sent: 22 February 2017 14:34
To: users@kannel.org<mailto:users@kannel.org>
Subject: Help regarding sending pound '£' symbol through kannel

Hi,
I am trying to send pound '£' symbol through kannel using charset=utf8=0 
but getting '@£' on the handset.
But when I set coding=2, message properly '£' landed on the handset. But doing 
this I am wasting half of the sms capacity as pound symbol is defined in the 
default 7bit GSM 03.38.
Please suggest how to send the message so that I can manage to send it in 
default 7bit GSM 03.38.
Thanks
Manas






Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


RE: Help regarding sending pound '£' symbol through kannel

2017-02-22 Thread Davor Spasoski
Hi,

In my understanding, you could send the @ and £ using GSM 7-bit alphabet only 
if the default SMSC encoding is set to GSM or you have set alt-dcs in kannel 
whics sets DCS=241 and should indicate the SMSC to use the 7-bit GSM alphabet.

But you should also consider this document  
http://www.linkas.it/docs/kannel/Characters,%20Kannel%20&%20MT%20SMS.docx which 
explains that after version 1.4.2 kannel has switched to internal use of utf-8. 
So bascially you should use utf-8 to submit to kannel and kannel will translate 
to GSM alphabet if alt-dces i set to true. This might have evolved with the 
vesrions and I would appreciate if someone sched light to this topic.

I think you should do some tests with various parameters and draw your own 
conclusions, but first check the default smsc alphabet. This is the alphabet 
used for SMPP, it’s usually ASCII and is not the same thing as the default GSM 
alphabet.

Davor Spasoski
From: users [mailto:users-boun...@kannel.org] On Behalf Of Manas Mohanty
Sent: 22 February 2017 14:34
To: users@kannel.org
Subject: Help regarding sending pound '£' symbol through kannel

Hi,
I am trying to send pound '£' symbol through kannel using charset=utf8=0 
but getting '@£' on the handset.
But when I set coding=2, message properly '£' landed on the handset. But doing 
this I am wasting half of the sms capacity as pound symbol is defined in the 
default 7bit GSM 03.38.
Please suggest how to send the message so that I can manage to send it in 
default 7bit GSM 03.38.
Thanks
Manas






Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


Help regarding sending pound '£' symbol through kannel

2017-02-22 Thread Manas Mohanty
Hi,

I am trying to send pound '£' symbol through kannel using
charset=utf8=0 but getting '@£' on the handset.
But when I set coding=2, message properly '£' landed on the handset. But
doing this I am wasting half of the sms capacity as pound symbol is defined
in the default 7bit GSM 03.38.

Please suggest how to send the message so that I can manage to send it in
default 7bit GSM 03.38.

Thanks
Manas


ask for help

2016-03-26 Thread Florentin Congo
Hello,
I install Kannel on a virtual machine like google with OS Ubuntu
15.10. I have an account cehz an SMS-C provider so I dispode of:
Host (IP address), port, username, password.
I did some research and I used these settings in /etc/kannel/kannel.conf:

group = core
# The below two ports are used for kannel gateway administration.
# The port values should be unique when multiple conf files are created.
admin-port = 1
smsbox-port = 10001
admin-password = shareolite
log-file = "/var/log/kannel/bearerbox.log"
# Default log level - enables low level logs also
log-level = 0
box-allow-ip = "127.0.0.1"
access-log = "/var/log/kannel/test-access.log"

#This is the main group where SMS center details will be configured
group = smsc
smsc = smpp
smsc-id = SMPP
#SMS center TCP port - which mobile operator provides.
port = 
#SMS center Host IP - which mobile operator provides
host = xxx.xxx.xxx.xxx
# Mode which indicates whether Transmit & Receive is enabled or only Trasmit
transceiver-mode = 1
system-type = kannel
#SMS center account details - username and password shared by mobile operator
smsc-username = xx
smsc-password = xxx
# Type of Number - Alphanumeric , Numeric etc . Refer manual for details
source-addr-ton = 2
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
keepalive = 25

# This is sendsms process configuration . For kannel gateway management.
group=sendsms-user
username=happy
password=blog
max-messages=3
concatenation=true

# This is used by smsbox process.
group = smsbox
bearerbox-host = localhost
# This port should be unique when multiple conf files are used.
# This port is used in the HTTP URL application which application calls.
sendsms-port = 13002
global-sender = 13002
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"

# This is used for incoming messages from SMS center
group = sms-service
accepted-smsc = http
keyword = default
# When a message is received from SMS center this URL is called. Refer
manual for wildcards details.
get-url=http://10.12.34.1/cgi-bin/SMSGW?&%t%p&%a;
max-messages=0


Then I type in terminal: /usr/sbin/bearerbox /etc/kannel/kannel.conf

but typing in the URL of a browser or by using the command "curl" with
the sending url:

http://localhost:13002/cgi-bin/sendsms?username=happy=blog=22675200209=Hello+world=3304

Nothing is happening. no message is sent.

can you help me?

Thanks in advance!

-- 
CONGO Florentin
Étudiant en réseau informatique et télécoms



TR: Need help with kannel HTTP SMSC with openssmppbox, sqlbox, custom web App for billing and delivery report management

2016-03-26 Thread abel adegnon




De : abel adegnon <abelinoko...@hotmail.fr>
Envoyé : samedi 26 mars 2016 07:14
À : de...@kannel.org; annou...@kannel.org; users@kannel.org
Cc : maxtadot...@gmail.com
Objet : Need help with kannel HTTP SMSC with openssmppbox, sqlbox, custom web 
App for billing and delivery report management


Hello Guys !
I needs to bill my clients and I have configure bearebox,opensmppbox smsbox, 
sqlbox to achieved my goal.
I have configure two instance of kannel :
* first instance :
./bearerbox -v 1 /usr/local/gateway/clients/kannel.conf
 ./smsbox -v 1 /usr/local/gateway/clients/kannel.conf
 ./opensmppbox -v 1 /usr/local/gateway/clients/opensmppbox.conf

 * seconde instance of kannel :
 ./bearerbox -v 1 /usr/local/gateway/server/kannel.conf
 ./smsbox -v 1 /usr/local/gateway/server/kannel.conf
 ./sqlbox -v 1 /usr/local/gateway/server/sqlbox.conf

First of all I have configure and http smsc in bearerbox of the first instance 
and I use route-to-smsc of opensmppbox to route all incoming SMS from client by 
SMPP connection to the HTTP SMSC in bearerbox of the first instance.
The HTTP SMSC with generic type, thus send the message variable to web App 
which deduict the credit , do some stuff and record the message into sqlbox 
database.

Therefore the second instance of kannel send normaly the message as there are 
new entry in the send_sms table of sqlbox.

All thing are worked fine but I have some problem and need also some 
explanation to understand more how kannel exactly operate.

My operator have gave me two http API accounts to connect to him, so the two 
http APi account server also as HTTP SMSC in the second instance to deliver the 
final message to the final client handset.

Now my questions are :
1- How to get the operator messageId in Kannel ?

2- When I inserting the message in sqlbox send_sms table kannel give internal 
message ID to the message and I can retrieve the DLR in a DLR table with same 
messageID with status 0 but when the second instance make the execution and 
move the data to sent_sms table I can see another DLR in the dlr table with 
another messageId with status 0.
So It is very difficult for me to manage the DLR and send also the result back 
to my customer because my customer have the first messageId gave by the kannel 
when the message was pass throught the 1st HTTP SMSC.
Can you show me the right way to make the sytem ?

3- How to get the delivery report from operator ?
2 - How the send back delivery report back to my customer connect through 
opensmppbox?
3 - Can anybody explain me clearly the role of the generic param, by example 
generic-param-to of http SMSC?

Here are my configuration files :
 * first instance configuration file :
 *1 instance kannel.conf***
 # Default kannel configuration file
group = core
admin-port = 13000
admin-password = gateway2016
status-password = gateway2016
admin-allow-ip = "*.*.*.*"
smsbox-port = 13012
box-allow-ip = 127.0.0.1
log-file = "/var/log/kannel/bearerbox.log"
log-level = 3
dlr-storage = internal
#ssl-client-certkey-file = /usr/local/gateway/certificats/public/sever.key
ssl-server-cert-file = /usr/local/gateway/certificats/public/sever.crt
ssl-server-key-file =  /usr/local/gateway/certificats/public/sever.key
ssl-trusted-ca-file = /usr/local/gateway/certificats/private/sms.csr

include ="/usr/local/gateway/sbin/smsbox.conf"

group = smsc
smsc = http
system-type = generic
smsc-id = http-billing
port = 13015
send-url="http://IP_of_remote_site/gateway/?r=sendSms/send=%=%P=%p=%u=%a=%t=%n=%n=%F_type=%=%m=%M=%c=%=%=%_mask=%d_url=%R=%_dcs=%O=%=%C_id=%=%B_data=%D=%I;
status-success-regex = "ok"
status-permfail-regex = "failure"
status-tempfail-regex = "retry later"
reroute-dlr = true
transceiver-mode = true
generic-param-from = "from"
generic-param-to = "to"
generic-param-text = "text"
generic-param-udh = "udh"
generic-param-service ="service"
generic-param-account ="account"
generic-param-binfo = "binfo"
generic-param-dlr-mask ="dlr_mak"
generic-param-dlr-url ="dlr_url"
generic-param-dlr-mid = "dlr_mid"
generic-param-flash = "flash"
generic-param-mclass ="mclass"
generic-param-mwi = "mwi"
generic-param-coding = "coding"
generic-param-validity = "validity"
generic-param-deferred = "deferred"
generic-param-foreign-id ="messageId"
generic-message-sent ="%I"
generic-status-sent = 200
generic-status-error = 404

# SEND­SMS USERS
group = sendsms-user
default-sender=MysendeId
username = username
password = gate8976353
max-messages = 6
concatenation = true

# SERVICES
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
# there should be default always

group = sms-service
keyword = default
text = "No s

Re: Urgent help with sms issue

2016-02-28 Thread Alvaro Cornejo
Hi Andreas

Much appreciate your help.

P3 never sent a sms to P2.  P3 only sent sms to P1 and viceversa.

P1 and P2 are in Peru,  P3 in Argentina

Hope helps clarify this mess.

Alvaro



On Sunday, February 28, 2016, Andreas Fink <af...@list.fink.org> wrote:

> this is very confusing description.
> if P3 sents sms to P2 and got DLR then it probably did so.
> the DLR however could come from an intermediate system, especially if
> P2/P1 are in the USA where DLR's are always fake.
>
>
> Am 28.02.2016 um 16:17 schrieb Alvaro Cornejo <cornejo.alv...@gmail.com
> <javascript:_e(%7B%7D,'cvml','cornejo.alv...@gmail.com');>>:
>
>  Hey guys
>
> I have a really weird sms issue I'm trying to clarify.  It is not a kannel
> issue but this is really important for me.  I do appologise for using this
> forum for this but have no idea where to turn my face for help.
>
> The issue goes as this ;
>
> There are three phones involved.  Two same carrier,  same country, (P1 and
> P2) one from a different carrier and country (P3).
>
> P3 claims it have sent several sms to P2 but gets dlr comming from P2
> number
>
> During a couple of hours, for testing MO mesaging,  P1 was using P2 sim.
> P2 never sent a sms to P3,  neither from P2 phone nor when P2 sim was in P1
> phone.
>
> We haven't information about if P3 MO were sent when P2 sim was or not in
> P1 phone.
>
> P3 number was in P1 agenda but not in its sim.
>
> P1 and P2 claims they never received those P3 MO.  However sometime before
> and after the claims,  P1 and P3 exchanged sms without problems.
>
> We have requested P1 and P2 sms reccords from carrier but they didn't show
> the claimed messages.
>
> Note tha kannel was not used here.  All transactions were made directly
> between phones.
>
> Any idea of what could had happened?
>
> I know that when you insert a sim on a phone the phone gets some basic
> parameters from sim/carrier but haven't more information.
>
> Might P2 number had persisted on P1 phone after sim exchange for some time?
>
> Arent sms delivered to sim and then fw to phone? And if sim has the
> imsi/phone number,  how come might it send a dlr with P2 number?
>
> Might it be that carrier smsc had P2 number along with P1 imei cached
> somewhere?
>
> I do really appreciate your help
>
> Finally if you know about a good sms forum I may place my question,
>  please let me know.
>
> Alvaro
>
> Sorry to use users &  devel lists,  but as said,  this issue is really
> important to me since I'm being accussed of hacking phones and/or smsc.
> Which I didn't.
>
>
> --
>
> |-|
> 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
>
>
> Andreas Fink
> DataCell ehf, Backbone ehf, Cajutel Inc, Alisanus GmbH
> --
> c/o Alisanus GmbH Clarastreasse 3, 4058 Basel, Switzerland
> E-Mail: andr...@fink.org
> <javascript:_e(%7B%7D,'cvml','andr...@fink.org');> https://www.fink.org
> Mobile: +41-78-6677333 Office: +41 61 330
> Skype: andreasfinkJabber/XMPP: andr...@fink.org
> <javascript:_e(%7B%7D,'cvml','andr...@fink.org');> ICQ: 8239353
> --
>
>
>
>

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


Urgent help with sms issue

2016-02-28 Thread Alvaro Cornejo
 Hey guys

I have a really weird sms issue I'm trying to clarify.  It is not a kannel
issue but this is really important for me.  I do appologise for using this
forum for this but have no idea where to turn my face for help.

The issue goes as this ;

There are three phones involved.  Two same carrier,  same country, (P1 and
P2) one from a different carrier and country (P3).

P3 claims it have sent several sms to P2 but gets dlr comming from P2 number

During a couple of hours, for testing MO mesaging,  P1 was using P2 sim.
P2 never sent a sms to P3,  neither from P2 phone nor when P2 sim was in P1
phone.

We haven't information about if P3 MO were sent when P2 sim was or not in
P1 phone.

P3 number was in P1 agenda but not in its sim.

P1 and P2 claims they never received those P3 MO.  However sometime before
and after the claims,  P1 and P3 exchanged sms without problems.

We have requested P1 and P2 sms reccords from carrier but they didn't show
the claimed messages.

Note tha kannel was not used here.  All transactions were made directly
between phones.

Any idea of what could had happened?

I know that when you insert a sim on a phone the phone gets some basic
parameters from sim/carrier but haven't more information.

Might P2 number had persisted on P1 phone after sim exchange for some time?

Arent sms delivered to sim and then fw to phone? And if sim has the
imsi/phone number,  how come might it send a dlr with P2 number?

Might it be that carrier smsc had P2 number along with P1 imei cached
somewhere?

I do really appreciate your help

Finally if you know about a good sms forum I may place my question,  please
let me know.

Alvaro

Sorry to use users &  devel lists,  but as said,  this issue is really
important to me since I'm being accussed of hacking phones and/or smsc.
Which I didn't.


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


OpenSMPP PANIC HELP

2016-01-21 Thread crystalik
Good day colleagues,

I wanted to know if anyone has a solution to this problem:

 root@sms03 copy]# 2016-01-21 11:46:04 [24275] [144] PANIC:
gwlib/octstr.c:2488: seems_valid_real: Assertion `ostr != NULL' failed.
(Called from gwlib/octstr.c:875:octstr_compare.)
2016-01-21 11:46:04 [24275] [144] PANIC: ./opensmppbox(gw_panic+0x147)
[0x441167]
2016-01-21 11:46:04 [24275] [144] PANIC: ./opensmppbox() [0x442362]
2016-01-21 11:46:04 [24275] [144] PANIC: ./opensmppbox(octstr_compare+0x20)
[0x447180]
2016-01-21 11:46:04 [24275] [144] PANIC: ./opensmppbox(check_login+0x2b8)
[0x40ce58]
2016-01-21 11:46:04 [24275] [144] PANIC: ./opensmppbox() [0x40d1b8]
2016-01-21 11:46:04 [24275] [144] PANIC: ./opensmppbox() [0x43832e]
2016-01-21 11:46:04 [24275] [144] PANIC: /lib64/libpthread.so.0(+0x7a51)
[0x7fe29f3e2a51]
2016-01-21 11:46:04 [24275] [144] PANIC: /lib64/libc.so.6(clone+0x6d)
[0x7fe29eae093d]

Even when we restart the opensmpp, we may connect succesfull but once we
try to initialise, it gives the error below and the same error above in the
log:

[160121-124837] call: Connected
[160121-124900] call: Initialization failed. Error: -4
[160121-124900] call: Disconnected. Reason: 0

Has anyone been able to get past this? Please share your story?

Regards,

Paul


Re: Re: Need help with Debian startup script (restart/stop command)

2015-12-07 Thread Grant Vorenberg
echo "backing up kannel queue"
rm -f /var/spool/queue_kannel.bak
cp /var/spool/kannel /var/spool/queue_kannel.bak
echo "Stopping SQLBox"
/usr/bin/killall -9 sqlbox
echo "Stopping BearerBox"
/usr/bin/killall -9 bearerbox
/bin/sleep 5
echo " "
echo "Starting BearerBox"
/usr/local/sbin/bearerbox -v 5 /usr/local/sbin/smskannel.conf &
/bin/sleep 5
echo "Starting SQLBox"
/usr/local/sbin/sqlbox -v 5 /usr/local/etc/sqlbox.conf &
/bin/sleep 1
echo "All processes started"

--
Office: 0861 SAICOM (724 266)
Direct: 010 140 5012
Support: 010 140 5050
Fax: 010 140 5001
Email: gr...@saicomvoice.co.za
Visit our website: www.saicomvoice.co.za


Re: Re: Need help with Debian startup script (restart/stop command)

2015-12-07 Thread spameden
2015-12-07 15:08 GMT+03:00 Grant Vorenberg :

> 
>
> echo "backing up kannel queue"
> rm -f /var/spool/queue_kannel.bak
> cp /var/spool/kannel /var/spool/queue_kannel.bak
> echo "Stopping SQLBox"
> /usr/bin/killall -9 sqlbox
> echo "Stopping BearerBox"
> /usr/bin/killall -9 bearerbox
> /bin/sleep 5
> echo " "
> echo "Starting BearerBox"
> /usr/local/sbin/bearerbox -v 5 /usr/local/sbin/smskannel.conf &
> /bin/sleep 5
> echo "Starting SQLBox"
> /usr/local/sbin/sqlbox -v 5 /usr/local/etc/sqlbox.conf &
> /bin/sleep 1
> echo "All processes started"
>
Hi!

Look into kannel's mailing lists archives, one was posted there recently.

Or just use:
http://www.kannel.org/download/1.4.4/gateway-1.4.4/debian/kannel.init

Actually you didn't say which Debian version you're using? 6, 7, 8? Because
in recent Debian sysvinit was replaced with systemd.


>
> Grant Vorenberg
>
> Technical Manager
> Office  0861 SAICOM (724 266) Direct  010 140 5012 Support  010 140 5050
> Cell  - Fax  010 140 5001 Email  gr...@saicomvoice.co.za Visit our website
> www.saicomvoice.co.za
>
> [image: logo image] 
>
>


Re: Need help with Debian startup script (restart/stop command)

2015-11-09 Thread Richard Ng
Hello,

 

My startup script seems to work on boot, but I have problems when trying to
run "service kannel restart" or "service kannel stop".

 

I'm running kannel v 1.4.3 on Debian Wheezy 7.8

 

The problem is that none of the boxes shut down nor do they show any logs in
regard to shutdown at all.  Even though my script produces this:

 

root@kanneluser: /var/log/kannel# service kannel stop

Stopping WAP gateway: smsbox sqlbox bearerbox.

 

Obviously when I run kannel service restart, I see errors regarding ports
already in use.etc.   so the startup portion seems to be working fine.

 

Any ideas?

 

Richard Ng

Solistech, LLC

 

e:   r...@solistech.com

t: 519.937.1702

f: 888.220.0549

 

#!/bin/sh
# Start/stop the Kannel boxes: One bearer box and one WAP box.

# This is the default init.d script for Kannel.  Its configuration is
# appropriate for a small site running Kannel on one machine.

# Make sure that the Kannel binaries can be found in $BOXPATH or somewhere
# else along $PATH.  run_kannel_box has to be in $BOXPATH.

### BEGIN INIT INFO
# Provides:  kannel
# Required-Start:$syslog
# Required-Stop: $syslog
# Should-Start:  $local_fs $network
# Should-Stop:   $local_fs $network
# Default-Start: 2 3 4 5
# Default-Stop:  0 1 6
# Short-Description: SMS and WAP gateway
# Description:   Kannel is a gateway for connecting WAP phones to the
#Internet. It also works as an SMS gateway.
### END INIT INFO

BOXPATH=/usr/sbin
PIDFILES=/var/run/kannel
CONF=/etc/kannel/kannel.conf
SQLBOX_CONF=/etc/kannel/sqlbox.conf

PATH=$BOXPATH:$PATH

# On Debian, the most likely reason for the bearerbox not being available
# is that the package is in the "removed" or "unconfigured" state, and the
# init.d script is still around because it's a conffile.  This is normal,
# so don't generate any output.
test -x $BOXPATH/bearerbox || exit 0

test -r /etc/default/kannel && . /etc/default/kannel

if [ ! -d $PIDFILES ]
then
mkdir $PIDFILES
chown kannel:root $PIDFILES
fi

# Check for old pid files before starting.
for PIDFILE in `ls $PIDFILES/kannel_*.pid 2>/dev/null`; do
if [ -e "$PIDFILE" ] ; then
kill -0 $(< $PIDFILE) 2> /dev/null || rm -f $PIDFILE 2>/dev/null
fi
done

#exit;


case "$1" in
  start)
echo -n "Starting WAP gateway:"
echo -n " bearerbox"
start-stop-daemon --start --quiet \
--pidfile $PIDFILES/kannel_bearerbox.pid \
--chuid kannel \
--exec $BOXPATH/bearerbox -- --pid-file $PIDFILES/kannel_bearerbox.pid 
--parachute --daemonize -v 0 $CONF
sleep 3 # Wait for sqlbox
test ! -z $START_SQLBOX && test -x $BOXPATH/sqlbox && (
echo -n " sqlbox"
start-stop-daemon --start --quiet \
--pidfile $PIDFILES/kannel_sqlbox.pid \
--chuid kannel \
--exec $BOXPATH/sqlbox -- --pid-file $PIDFILES/kannel_sqlbox.pid 
--parachute --daemonize -v 0 $SQLBOX_CONF
)
sleep 4 # Wait for smsbox
test ! -z $START_SMSBOX && (
echo -n " smsbox"
start-stop-daemon --start --quiet \
--pidfile $PIDFILES/kannel_smsbox.pid \
--chuid kannel \
--exec $BOXPATH/smsbox -- --pid-file $PIDFILES/kannel_smsbox.pid 
--parachute --daemonize -v 0 $CONF
)
echo "."
;;

  stop)
echo -n "Stopping WAP gateway:"
test ! -z $START_SMSBOX && (
echo -n " smsbox"
start-stop-daemon --stop --retry 5 --quiet \
--pidfile $PIDFILES/kannel_smsbox.pid \
--name smsbox
)
sleep 3 # Wait for smsbox
test ! -z $START_SQLBOX && test -x $BOXPATH/sqlbox && (
echo -n " sqlbox"
start-stop-daemon --stop --retry 5 --quiet \
--pidfile $PIDFILES/kannel_sqlbox.pid \
--name sqlbox
)
sleep 4 # Wait for sqlbox
echo -n " bearerbox"
start-stop-daemon --stop --retry 5 \
--pidfile $PIDFILES/kannel_bearerbox.pid --quiet \
--name bearerbox
echo "."
;;

  reload)
# We don't have support for this yet.
exit 1
;;

  restart|force-reload)
$0 stop
sleep 1
$0 start
;;

  *)
echo "Usage: $0 {start|stop|restart|force-reload}"
exit 1

esac

exit 0


Need Opensmppbox help for dlr route

2015-10-07 Thread Manas Mohanty
Hi,

I am using opensmppbox.
I have noticed certain thing that in the case of multiple Rx or TRx session
while submitting dlr opensmppbox is sending dlr to particularly one (first)
session in all_boxes queue in find_receiver_box function

for (cnt = 0; cnt < gwlist_len(all_boxes); cnt++) {
thisbox = (Boxc *)gwlist_get(all_boxes, cnt);
if ((thisbox->login_type == SMPP_LOGIN_RECEIVER ||
thisbox->login_type == SMPP_LOGIN_TRANSCEIVER) &&
(octstr_compare(thisbox->boxc_id, box->boxc_id) == 0) && thisbox->alive) {
return thisbox;
}
}

Is there any way and is anyone tried to make round robin manner or
something like random pick of esme, so that all esmes will distribute the
load ??


Regards,
Manas


help

2015-10-07 Thread falou zaynoun
please remove me from this list.

> From: users-requ...@kannel.org
> Subject: users Digest, Vol 110, Issue 4
> To: users@kannel.org
> Date: Tue, 6 Oct 2015 12:00:07 +0200
> 
> Send users mailing list submissions to
>   users@kannel.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>   http://www.kannel.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>   users-requ...@kannel.org
> 
> You can reach the person managing the list at
>   users-ow...@kannel.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
> 
> 
> Today's Topics:
> 
>1. Re: IMSI number from GSM Modem as SMSC (Raghvendra Sahu)
> 
> 
> --
> 
> Message: 1
> Date: Mon, 5 Oct 2015 17:12:28 +0530
> From: Raghvendra Sahu <rx.s...@gmail.com>
> To: users@kannel.org
> Subject: Re: IMSI number from GSM Modem as SMSC
> Message-ID: <a845596c-a5f3-4c08-8faa-9e7afa3d9...@gmail.com>
> Content-Type: text/plain; charset=windows-1252
> 
> Hello Guys,
> 
> I am still waiting for a response, can anyone respond.
> 
> Thanks
> Raghvendra
> 
> > On 30-Sep-2015, at 8:25 pm, Raghvendra Sahu <rx.s...@gmail.com> wrote:
> > 
> > Hi,
> > 
> > I am trying to setup kannel and have success with sending messages. Now I 
> > wish to have feature that allows to have IMSI number of SIM from which 
> > message was sent.
> > 
> > Suppose a message is sent. I get acknowledgment, with this ack I need IMSI 
> > number of SIM as well. Is this possible to achieve.
> > 
> > My kannel.conf file (ubuntu 14)
> > 
> > 
> > group = core
> > admin-port = 13000
> > admin-password = bar
> > # admin-deny-ip = "*.*.*.*"
> > admin-allow-ip = "*.*.*.*"
> > wapbox-port = 13002
> > wdp-interface-name = "*"
> > log-file = "/var/log/kannel/bearerbox.log"
> > # box-deny-ip = "*.*.*.*"
> > box-allow-ip = "*.*.*.*"
> > smsbox-port = 13004
> > 
> > group = wapbox
> > bearerbox-host = localhost
> > log-file = "/var/log/kannel/wapbox.log"
> > 
> > group = smsbox
> > bearerbox-host = localhost
> > log-file = /var/log/kannel/smsbox.log
> > sendsms-port = 13013
> > 
> > # group = sms-service
> > 
> > group = sendsms-user
> > username = simple
> > password = simple
> > 
> > group = smsc
> > smsc = at
> > smsc-id = modem1
> > # smsc-admin-id = modem1
> > log-file = /var/log/kannel/smsc-modem1.log
> > log-level = 0
> > modemtype = auto
> > device = /dev/ttyUSB0
> > speed = 115200
> > 
> > 
> > group = modems
> > id = wavecom
> > name = Wavecom
> > detect-string = "WAVECOM"
> > init-string = "AT+CIMI"
> > # keepalive-cmd = "AT+CIMI"
> > 
> > Any help will be great.
> > 
> > Thanks
> > Raghvendra
> > 
> 
> 
> 
> 
> --
> 
> Subject: Digest Footer
> 
> ___
> users mailing list
> users@kannel.org
> http://www.kannel.org/mailman/listinfo/users
> 
> 
> --
> 
> End of users Digest, Vol 110, Issue 4
> *
  

Help me support the 'malome' campaign on Indiegogo

2015-06-03 Thread Blessing Phokedi

Blessing Phokedi has sent you a message via Indiegogo about the malome campaign.

Hi there,

I'm reaching out to ask for your support for  the malome campaign on 
Indiegogo.

There are two ways to help:
1. Contribute - even small contributions raise their popularity and give them 
more visibility on the site.
2. Post to Facebook - in the end, the more people hear about them, the more 
likely they are to meet their target.

Thank you!

Blessing Phokedi


Help the malome campaign reach its goal today!



Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-16 Thread Muhammad Danish
Mr Spameden,
As great Shahrukh Khan once said in a movie Never underestimate with power of 
common man , I am happy to inform you that I am able to successfully resolve 
the issue using the below link .
http://www.kannel.org/pipermail/users/2012-February/017400.html
See i mentioned earlier  that their are still enough good people in this forum 
who are sharing their knowledge for free.
BTW my offer to assist you in Telecom and Data Network is still valid .
Dear Active followers of this forum , The above link is good source to resolve 
OpenSMPPBOX invalid user id / password issue , or if you are having any trouble 
in configuring OpenSMPPBOX then feel free to contact me via email ,I am happy 
to assist you in free  :P :P

Regards,
DanishKarachi/Pakistan .
   


 On Saturday, May 16, 2015 10:26 AM, Tapan Kumar Thapa 
tapan.thapa2...@gmail.com wrote:
   

 Dear Muhammad,

I am glad that you understood what i was trying to explain.

Thanks  Regards
Tapan Thapa

On Sat, May 16, 2015 at 10:50 AM, Muhammad Danish danish_cs...@yahoo.com 
wrote:

Dear Tapan Kumar sahib,
My reply was specifically related to following comment .I am totally agreed 
that I mistakenly added additional groups .

Nobody is going to do that work for you for FREE. So you either google a bit 
and read manual or hire someone to set it up for you for money.   


 On Saturday, May 16, 2015 10:15 AM, Tapan Kumar Thapa 
tapan.thapa2...@gmail.com wrote:
   

 As per my observation, Spameden has not said any wrong word here.

He has just informed that announce@ and devel@ mailing list are for different 
jobs and should not be marked for question like this.

If any query related questions, we should always mark to @users.

Thanks  Regards
Tapan Thapa



On Sat, May 16, 2015 at 10:37 AM, Muhammad Danish danish_cs...@yahoo.com 
wrote:

Dear Spameden,
Thanks for your suggestion , I guess I have the right to ask anything related 
to Kannel in this form and their are enough people who are willing to assist . 

I am primary associated with Core Telecom and Data N/w for the last 12 years , 
If you ever need help related to these domains , I am just one email away and 
for sure I wont change anything .
Once again thanks replying my earlier email     
  


 On Saturday, May 16, 2015 1:06 AM, spameden spame...@gmail.com wrote:
   

 First of all no need to add irrelevant mailing lists such as announce@ and 
devel@. 
They are not for questions like this.
Second, there is a thing called opensmppbox which suit your needs, read the 
manual and configure it.
Nobody is going to do that work for you for FREE. So you either google a bit 
and read manual or hire someone to set it up for you for money.




2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

Dear All,
I am already manage a Kannel SMS Gateway having Multiple connection with 
different Telco , however I have received a required from a customer that they 
wanted to use SMPP client software ( NOW SMS/MMS Gateway) through which they 
can connect to our SMSC GW ( which is running on Kannel).
Would appreciate if you could send me the required configuration file so that I 
can update the configuration .
I did the below configuration however my client is unable to connect to port 
. roup = smsc
smsc = smpp
smsc-id=    ABC
host=x.x.x.74
port=2221
receive-port =
smsc-username = danish
smsc-password = danish12
#service-type = 612
system-type=default
interface-version = 34
preferred-smsc-id=ABC
throughput = 10
keepalive = 50
sender-prefix=
idle-timeout = 30


 



   



   



  

Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-16 Thread spameden
2015-05-16 19:58 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

 Mr Spameden,

 As great Shahrukh Khan once said in a movie Never underestimate with
 power of common man , I am happy to inform you that I am able to
 successfully resolve the issue using the below link .

 http://www.kannel.org/pipermail/users/2012-February/017400.html

 See i mentioned earlier  that their are still enough good people in this
 forum who are sharing their knowledge for free.


See as I mentioned before if you google a bit you'll get what you need :)



 BTW my offer to assist you in Telecom and Data Network is still valid .

 Dear Active followers of this forum , The above link is good source to
 resolve OpenSMPPBOX invalid user id / password issue , or if you are having
 any trouble in configuring OpenSMPPBOX then feel free to contact me via
 email ,I am happy to assist you in free  :P :P


Sure, but question should be asked properly and be on point. After you read
everything and you can't solve something you post a question.

I'm glad you've solved your problem yourself.



 Regards,

 Danish
 Karachi/Pakistan .




   On Saturday, May 16, 2015 10:26 AM, Tapan Kumar Thapa 
 tapan.thapa2...@gmail.com wrote:


 Dear Muhammad,

 I am glad that you understood what i was trying to explain.

 Thanks  Regards
 Tapan Thapa

 On Sat, May 16, 2015 at 10:50 AM, Muhammad Danish danish_cs...@yahoo.com
 wrote:

 Dear Tapan Kumar sahib,

 My reply was specifically related to following comment .I am totally
 agreed that I mistakenly added additional groups .

 Nobody is going to do that work for you for FREE. So you either google a
 bit and read manual or hire someone to set it up for you for money.




   On Saturday, May 16, 2015 10:15 AM, Tapan Kumar Thapa 
 tapan.thapa2...@gmail.com wrote:


 As per my observation, Spameden has not said any wrong word here.

 He has just informed that announce@ and devel@ mailing list are for
 different jobs and should not be marked for question like this.

 If any query related questions, we should always mark to @users.

 Thanks  Regards
 Tapan Thapa



 On Sat, May 16, 2015 at 10:37 AM, Muhammad Danish danish_cs...@yahoo.com
 wrote:

 Dear Spameden,

 Thanks for your suggestion , I guess I have the right to ask anything
 related to Kannel in this form and their are enough people who are willing
 to assist .

 I am primary associated with Core Telecom and Data N/w for the last 12
 years , If you ever need help related to these domains , I am just one
 email away and for sure I wont change anything .

 Once again thanks replying my earlier email



   On Saturday, May 16, 2015 1:06 AM, spameden spame...@gmail.com wrote:


 First of all no need to add irrelevant mailing lists such as announce@
 and devel@.

 They are not for questions like this.

 Second, there is a thing called opensmppbox which suit your needs, read
 the manual and configure it.

 Nobody is going to do that work for you for FREE. So you either google a
 bit and read manual or hire someone to set it up for you for money.





 2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

 Dear All,

 I am already manage a Kannel SMS Gateway having Multiple connection with
 different Telco , however I have received a required from a customer that
 they wanted to use SMPP client software ( NOW SMS/MMS Gateway) through
 which they can connect to our SMSC GW ( which is running on Kannel).

 Would appreciate if you could send me the required configuration file so
 that I can update the configuration .

 I did the below configuration however my client is unable to connect to
 port .

 roup = smsc
 smsc = smpp
 smsc-id=ABC
 host=x.x.x.74
 port=2221
 receive-port =
 smsc-username = danish
 smsc-password = danish12
 #service-type = 612
 system-type=default
 interface-version = 34
 preferred-smsc-id=ABC
 throughput = 10
 keepalive = 50
 sender-prefix=
 idle-timeout = 30














Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-15 Thread Muhammad Danish
Dear Spameden,
Thanks for your suggestion , I guess I have the right to ask anything related 
to Kannel in this form and their are enough people who are willing to assist . 

I am primary associated with Core Telecom and Data N/w for the last 12 years , 
If you ever need help related to these domains , I am just one email away and 
for sure I wont change anything .
Once again thanks replying my earlier email     
  


 On Saturday, May 16, 2015 1:06 AM, spameden spame...@gmail.com wrote:
   

 First of all no need to add irrelevant mailing lists such as announce@ and 
devel@. 
They are not for questions like this.
Second, there is a thing called opensmppbox which suit your needs, read the 
manual and configure it.
Nobody is going to do that work for you for FREE. So you either google a bit 
and read manual or hire someone to set it up for you for money.




2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

Dear All,
I am already manage a Kannel SMS Gateway having Multiple connection with 
different Telco , however I have received a required from a customer that they 
wanted to use SMPP client software ( NOW SMS/MMS Gateway) through which they 
can connect to our SMSC GW ( which is running on Kannel).
Would appreciate if you could send me the required configuration file so that I 
can update the configuration .
I did the below configuration however my client is unable to connect to port 
. roup = smsc
smsc = smpp
smsc-id=    ABC
host=x.x.x.74
port=2221
receive-port =
smsc-username = danish
smsc-password = danish12
#service-type = 612
system-type=default
interface-version = 34
preferred-smsc-id=ABC
throughput = 10
keepalive = 50
sender-prefix=
idle-timeout = 30


 



  

Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-15 Thread Tapan Kumar Thapa
Dear Muhammad,

I am glad that you understood what i was trying to explain.

Thanks  Regards
Tapan Thapa

On Sat, May 16, 2015 at 10:50 AM, Muhammad Danish danish_cs...@yahoo.com
wrote:

 Dear Tapan Kumar sahib,

 My reply was specifically related to following comment .I am totally
 agreed that I mistakenly added additional groups .

 Nobody is going to do that work for you for FREE. So you either google a
 bit and read manual or hire someone to set it up for you for money.




   On Saturday, May 16, 2015 10:15 AM, Tapan Kumar Thapa 
 tapan.thapa2...@gmail.com wrote:


 As per my observation, Spameden has not said any wrong word here.

 He has just informed that announce@ and devel@ mailing list are for
 different jobs and should not be marked for question like this.

 If any query related questions, we should always mark to @users.

 Thanks  Regards
 Tapan Thapa



 On Sat, May 16, 2015 at 10:37 AM, Muhammad Danish danish_cs...@yahoo.com
 wrote:

 Dear Spameden,

 Thanks for your suggestion , I guess I have the right to ask anything
 related to Kannel in this form and their are enough people who are willing
 to assist .

 I am primary associated with Core Telecom and Data N/w for the last 12
 years , If you ever need help related to these domains , I am just one
 email away and for sure I wont change anything .

 Once again thanks replying my earlier email



   On Saturday, May 16, 2015 1:06 AM, spameden spame...@gmail.com wrote:


 First of all no need to add irrelevant mailing lists such as announce@
 and devel@.

 They are not for questions like this.

 Second, there is a thing called opensmppbox which suit your needs, read
 the manual and configure it.

 Nobody is going to do that work for you for FREE. So you either google a
 bit and read manual or hire someone to set it up for you for money.





 2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

 Dear All,

 I am already manage a Kannel SMS Gateway having Multiple connection with
 different Telco , however I have received a required from a customer that
 they wanted to use SMPP client software ( NOW SMS/MMS Gateway) through
 which they can connect to our SMSC GW ( which is running on Kannel).

 Would appreciate if you could send me the required configuration file so
 that I can update the configuration .

 I did the below configuration however my client is unable to connect to
 port .

 roup = smsc
 smsc = smpp
 smsc-id=ABC
 host=x.x.x.74
 port=2221
 receive-port =
 smsc-username = danish
 smsc-password = danish12
 #service-type = 612
 system-type=default
 interface-version = 34
 preferred-smsc-id=ABC
 throughput = 10
 keepalive = 50
 sender-prefix=
 idle-timeout = 30











Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-15 Thread Tapan Kumar Thapa
As per my observation, Spameden has not said any wrong word here.

He has just informed that announce@ and devel@ mailing list are for
different jobs and should not be marked for question like this.

If any query related questions, we should always mark to @users.

Thanks  Regards
Tapan Thapa



On Sat, May 16, 2015 at 10:37 AM, Muhammad Danish danish_cs...@yahoo.com
wrote:

 Dear Spameden,

 Thanks for your suggestion , I guess I have the right to ask anything
 related to Kannel in this form and their are enough people who are willing
 to assist .

 I am primary associated with Core Telecom and Data N/w for the last 12
 years , If you ever need help related to these domains , I am just one
 email away and for sure I wont change anything .

 Once again thanks replying my earlier email



   On Saturday, May 16, 2015 1:06 AM, spameden spame...@gmail.com wrote:


 First of all no need to add irrelevant mailing lists such as announce@
 and devel@.

 They are not for questions like this.

 Second, there is a thing called opensmppbox which suit your needs, read
 the manual and configure it.

 Nobody is going to do that work for you for FREE. So you either google a
 bit and read manual or hire someone to set it up for you for money.





 2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

 Dear All,

 I am already manage a Kannel SMS Gateway having Multiple connection with
 different Telco , however I have received a required from a customer that
 they wanted to use SMPP client software ( NOW SMS/MMS Gateway) through
 which they can connect to our SMSC GW ( which is running on Kannel).

 Would appreciate if you could send me the required configuration file so
 that I can update the configuration .

 I did the below configuration however my client is unable to connect to
 port .

 roup = smsc
 smsc = smpp
 smsc-id=ABC
 host=x.x.x.74
 port=2221
 receive-port =
 smsc-username = danish
 smsc-password = danish12
 #service-type = 612
 system-type=default
 interface-version = 34
 preferred-smsc-id=ABC
 throughput = 10
 keepalive = 50
 sender-prefix=
 idle-timeout = 30








Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-15 Thread Muhammad Danish
Dear Tapan Kumar sahib,
My reply was specifically related to following comment .I am totally agreed 
that I mistakenly added additional groups .

Nobody is going to do that work for you for FREE. So you either google a bit 
and read manual or hire someone to set it up for you for money.   


 On Saturday, May 16, 2015 10:15 AM, Tapan Kumar Thapa 
tapan.thapa2...@gmail.com wrote:
   

 As per my observation, Spameden has not said any wrong word here.

He has just informed that announce@ and devel@ mailing list are for different 
jobs and should not be marked for question like this.

If any query related questions, we should always mark to @users.

Thanks  Regards
Tapan Thapa



On Sat, May 16, 2015 at 10:37 AM, Muhammad Danish danish_cs...@yahoo.com 
wrote:

Dear Spameden,
Thanks for your suggestion , I guess I have the right to ask anything related 
to Kannel in this form and their are enough people who are willing to assist . 

I am primary associated with Core Telecom and Data N/w for the last 12 years , 
If you ever need help related to these domains , I am just one email away and 
for sure I wont change anything .
Once again thanks replying my earlier email     
  


 On Saturday, May 16, 2015 1:06 AM, spameden spame...@gmail.com wrote:
   

 First of all no need to add irrelevant mailing lists such as announce@ and 
devel@. 
They are not for questions like this.
Second, there is a thing called opensmppbox which suit your needs, read the 
manual and configure it.
Nobody is going to do that work for you for FREE. So you either google a bit 
and read manual or hire someone to set it up for you for money.




2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

Dear All,
I am already manage a Kannel SMS Gateway having Multiple connection with 
different Telco , however I have received a required from a customer that they 
wanted to use SMPP client software ( NOW SMS/MMS Gateway) through which they 
can connect to our SMSC GW ( which is running on Kannel).
Would appreciate if you could send me the required configuration file so that I 
can update the configuration .
I did the below configuration however my client is unable to connect to port 
. roup = smsc
smsc = smpp
smsc-id=    ABC
host=x.x.x.74
port=2221
receive-port =
smsc-username = danish
smsc-password = danish12
#service-type = 612
system-type=default
interface-version = 34
preferred-smsc-id=ABC
throughput = 10
keepalive = 50
sender-prefix=
idle-timeout = 30


 



   



  

Urgent help required to connect SMPP client softwere with Kannel

2015-05-15 Thread Muhammad Danish
Dear All,
I am already manage a Kannel SMS Gateway having Multiple connection with 
different Telco , however I have received a required from a customer that they 
wanted to use SMPP client software ( NOW SMS/MMS Gateway) through which they 
can connect to our SMSC GW ( which is running on Kannel).
Would appreciate if you could send me the required configuration file so that I 
can update the configuration .
I did the below configuration however my client is unable to connect to port 
. roup = smsc
smsc = smpp
smsc-id=    ABC
host=x.x.x.74
port=2221
receive-port =
smsc-username = danish
smsc-password = danish12
#service-type = 612
system-type=default
interface-version = 34
preferred-smsc-id=ABC
throughput = 10
keepalive = 50
sender-prefix=
idle-timeout = 30




Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-15 Thread spameden
First of all no need to add irrelevant mailing lists such as announce@ and
devel@.

They are not for questions like this.

Second, there is a thing called opensmppbox which suit your needs, read the
manual and configure it.

Nobody is going to do that work for you for FREE. So you either google a
bit and read manual or hire someone to set it up for you for money.





2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

 Dear All,

 I am already manage a Kannel SMS Gateway having Multiple connection with
 different Telco , however I have received a required from a customer that
 they wanted to use SMPP client software ( NOW SMS/MMS Gateway) through
 which they can connect to our SMSC GW ( which is running on Kannel).

 Would appreciate if you could send me the required configuration file so
 that I can update the configuration .

 I did the below configuration however my client is unable to connect to
 port .

 roup = smsc
 smsc = smpp
 smsc-id=ABC
 host=x.x.x.74
 port=2221
 receive-port =
 smsc-username = danish
 smsc-password = danish12
 #service-type = 612
 system-type=default
 interface-version = 34
 preferred-smsc-id=ABC
 throughput = 10
 keepalive = 50
 sender-prefix=
 idle-timeout = 30





Re: Urgent help required to connect SMPP client softwere with Kannel

2015-05-15 Thread Valdas Petrulis
Muhammad, I can setup it for U.
PM, please

2015-05-15, pn, 23:07 spameden spame...@gmail.com rašė:

 First of all no need to add irrelevant mailing lists such as announce@
 and devel@.

 They are not for questions like this.

 Second, there is a thing called opensmppbox which suit your needs, read
 the manual and configure it.

 Nobody is going to do that work for you for FREE. So you either google a
 bit and read manual or hire someone to set it up for you for money.





 2015-05-15 22:56 GMT+03:00 Muhammad Danish danish_cs...@yahoo.com:

 Dear All,

 I am already manage a Kannel SMS Gateway having Multiple connection with
 different Telco , however I have received a required from a customer that
 they wanted to use SMPP client software ( NOW SMS/MMS Gateway) through
 which they can connect to our SMSC GW ( which is running on Kannel).

 Would appreciate if you could send me the required configuration file so
 that I can update the configuration .

 I did the below configuration however my client is unable to connect to
 port .

 roup = smsc
 smsc = smpp
 smsc-id=ABC
 host=x.x.x.74
 port=2221
 receive-port =
 smsc-username = danish
 smsc-password = danish12
 #service-type = 612
 system-type=default
 interface-version = 34
 preferred-smsc-id=ABC
 throughput = 10
 keepalive = 50
 sender-prefix=
 idle-timeout = 30






VCard Help

2015-01-23 Thread Tapan Kumar Thapa
Hello Friends,

Has anyone having any experience sending VCard V2.1/3.0/4.0 via SMS to
Android and IPhone Devices.

It works on Nokia but not on Android and IPhone.

Message is getting delivered but not getting shown by handset anywhere.

VCard which i have tried so far.

$text = BEGIN:VCARD\r\n;
$text .= VERSION:2.1\r\n;
$text .= N: . $lastname . ; . $firstname . \r\n;
$text .= TEL;PREF:+ . $contactphone . \r\n;
if ($contactemail != NULL  $contactemail != FALSE) {
$text .= EMAIL: $contactemail \r\n;
}
$text .= END:VCARD\r\n;

$text = BEGIN:VCARD\r\n;
$text .= VERSION:3.0\r\n;
$text .= N: . $lastname . ; . $firstname . \r\n;
$text .= TEL;PREF:+ . $contactphone . \r\n;
if ($contactemail != NULL  $contactemail != FALSE) {
$text .= EMAIL: $contactemail \r\n;
}
$text .= END:VCARD\r\n;

$text = BEGIN:VCARD\r\n;
$text .= VERSION:4.0\r\n;
$text .= N: . $lastname . ; . $firstname . \r\n;
$text .= TEL;PREF:+ . $contactphone . \r\n;
if ($contactemail != NULL  $contactemail != FALSE) {
$text .= EMAIL: $contactemail \r\n;
}
$text .= END:VCARD\r\n;

Thanks  Regards
Tapan Thapa


Newbie Alert: Help needed in MySQL DLR configuration.

2014-12-22 Thread Sina Owolabi
Hi List

I am a total noob, this is my first time using kannel. And I am hoping
someone can set me straight. I have been able to setup kannel and
playSMS. PlaySMS
works great and it has its own dlr working as expected.
I am trying to get http send sms calls to kannel to work too for
sendsms-user groups to call the dlr-url and mask by setting this in
kannel.conf:


group = sendsms-user
username = me
password = you
default-smsc = testsmsc
dlr-url = http://localhost/smsdlr/kanneldb.php;

group = sms-service
keyword = default
catch-all = true
omit-empty = true
accept-x-kannel-headers = true
max-messages = 0
#accepted-smsc = testsmsc;clickatells;smpp-nexmo
get-url = 
http://localhost/playsms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%aQ=%Q;

group = smsc
smsc = smpp
smsc-id = testsmsc
host = 127.0.0.1
port = 2775
smsc-username = smppclient1
smsc-password = password
system-type = 'VMA'
service-type = 'test'
interface-version = 34
address-range = ''
msg-id-type = 0
connect-allow-ip = 127.0.0.*;10.22.0.*

This is also my very first foray into php in a very long time. I
wonder if anyone can tell me why the dlr URL isnt working either. Its
contents are like so:

?php

$user_name = user;
$password = pwd;
$database = kanneldb;
$server = 127.0.0.1;

$db_handle = mysql_connect($server, $user_name, $password);
$db_found = mysql_select_db($database, $db_handle);

if ($db_found) {

$SQL = INSERT INTO kannel_dlr ( smsc, timestamp, destination, source,
service, url, mask, status, boxc_id ) VALUES ('$field-smsc',
'$field-timestamp', '$field-destination', '$field-source',
'$field-service', '$field-url', '$field-mask', '$field-status',
'$field-boxc-id');

$result = mysql_query($SQL);

mysql_close($db_handle);

print Records added to the database;

}
else {

print Database NOT Found ;
mysql_close($db_handle);

}

?

I feel I am totally in over my head. Please can someone offer any
advice to set me straight?

Yours in anticipation;



Re: OTA DLR help needed!!!

2014-07-07 Thread bhavya
Hi,

I have also find the solution of this question.

DLR is not hit while sending ota messages.

Please guide me.


Regards,
Bhavya




--
View this message in context: 
http://kannel.6189.n7.nabble.com/OTA-DLR-help-needed-tpp30311.html
Sent from the Kannel - User mailing list archive at Nabble.com.



Re: OTA DLR help needed!!!

2014-07-07 Thread bhavya
Hi,

If anybody know the answer then please share us.

This is very important for our project , i have tried a lot but unable to
find the solution.

Please HELP us.


Thanks  Regards,
Bhavya 



--
View this message in context: 
http://kannel.6189.n7.nabble.com/OTA-DLR-help-needed-tpp30312.html
Sent from the Kannel - User mailing list archive at Nabble.com.



Re: Help with configuring delivery report and billing for Nowsms

2014-07-04 Thread spameden
2014-07-04 13:19 GMT+04:00 Herve Memba herveme...@gmail.com:

 Dear Sir,

   I found your E-mail address on https://www.mail-archive.com

I need your help with configuring nowsms as follows
 1) i need delivery report submitted to my SMPP/HTTP clients
 and also be able to see them. sent/received sms' stats need to be
 entered in a database (Access if possible) with entries such as user
 ID and i should be able to query these info at a frontend for stuff
 such as quantity sent/received per date and user ID


Hi.

For free solution: check sqlbox/opensmppbox. To suit all your needs (e.g.
sent/received stats and status in single MT row) you would need to modify
it.

For commercial: there are various SMPP servers around here based on kannel,
please e-mail s...@tolj.org or commerc...@kannel.org mailing list.

Please use users@kannel.org for future help. Always copy the list address
so others would benefit too.


  let me know if you can also come up with a billing solution



There is no 'complete billing solution' for kannel. You need to develop it
yourself or rent someone to code it for you. I'm not providing such
service, only helping on kannel mailing lists.





 waiting to hear from you


 Your prompt reply would be highly appreciated.


 --
 Best Regards

 Herve Memba

 Satvision Sarl

 Tel. +237 73 04 68 66
   +237 33 71 76 58
 Skyp: herve4biz
 MSN: herveme...@live.com



 --
 Best Regards

 Herve Memba

 Satvision Sarl

 Tel. +237 73 04 68 66
   +237 33 71 76 58
 Skyp: herve4biz
 MSN: herveme...@live.com



Re: Please Help Me !!! http://www.kannel.org/pipermail/users/2009-March/006521.html

2014-06-05 Thread Alvaro Cornejo
Hi

Kannel questions are to be sent to kannel lists. Either users o devel.

You need to create/config the sms-service entries in kannel config
files. You also need to be sure kannel has enough permission to call
the url you defined in get-url.

Check manual for more detailed 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.com


On Thu, Jun 5, 2014 at 6:55 AM, Amos SEVI arthurs...@gmail.com wrote:
 Hello my dear,
 I find your email at
 http://www.kannel.org/pipermail/users/2009-March/006521.html

 At the moment, i have the same problem you had in 2009.

 I am able to send SMS from PHP
 and Kannel is able to receive SMS as shown in log files.
 But my get-url service not transfering sms to my php application.

 Can you help me to resolve this?

 Thank you. Regards.


 Arthur SEVI.



Re: Kannel Web interface - Help

2014-05-27 Thread spameden
there is no such tool available for public use.

the only tool you can use is kannel web monitor written in php, look into
contrib folder on SVN you'll find it there.


2014-05-27 16:46 GMT+04:00 Hatem Sabrey h.sab...@hotmail.com:

  Hello All.


 kindly advice if there any web interface tool to be integrated with KANNEL
 in order to manage.


 if there is where i can find it ??



Kannel deployment - help

2014-05-27 Thread Hatem Sabrey








Gentlemen 


we have to deploy Kannel for a test service, as we are not expert in Linux 
(entry level) nor in Kannel can some one help us to deploy our server?


we need to collect SMSs using Mobile modems, then send them to the Database, 
then reply to the sender with a thank you for registration SMS


Requirement: 
HW: Dell optiplix (tesing)
OS: Debian  Installed , if it is possible to install Ubuntu, well be great.// 
windows are available too Cyg instaled
App: Kannel  Installed, but not configured.
GSM Modem: Huawei K3565, working on installing it.
Database : MySQL  installed 


your help are highly appreciated.




you may call me on skype: 
h_ghreeb





  

Kannel Implementation - Help

2014-05-27 Thread Hatem Sabrey
Gentlemen 

we have to deploy Kannel for a test service, as we are not expert in Linux 
(entry level) nor in Kannel can some one help us to deploy our server?

we need to collect SMSs using Mobile modems, then send them to the Database, 
then reply to the sender with a thank you for registration SMS

Requirement: 
HW: Dell optiplix (tesing)
OS: Debian  Installed , if it is possible to install Ubuntu, well be great.// 
windows are available too Cyg instaled
App: Kannel  Installed, but not configured.
GSM Modem: Huawei K3565, working on installing it.
Database : MySQL  installed 

your help are highly appreciated.


you may call me on skype: 
h_ghreeb









Re: Kannel Implementation - Help

2014-05-27 Thread Willy Mularto
The easiest way is to install the debian package, it is available at
kannel's website. After that read the user guide at kannel's website.

Sent from my Sony Xperia™ smartphone
On 28 May 2014 01:00, Hatem Sabrey h.sab...@hotmail.com wrote:

 Gentlemen

 we have to deploy Kannel for a test service, as we are not expert in Linux
 (entry level) nor in Kannel can some one help us to deploy our server?

 we need to collect SMSs using Mobile modems, then send them to the
 Database, then reply to the sender with a thank you for registration SMS

 Requirement:
 HW: Dell optiplix (tesing)
 OS: Debian  Installed , if it is possible to install Ubuntu, well be
 great.// windows are available too Cyg instaled
 App: Kannel  Installed, but not configured.
 GSM Modem: Huawei K3565, working on installing it.
 Database : MySQL  installed

 your help are highly appreciated.


 you may call me on skype:
 h_ghreeb










Re: Kannel Web interface - Help

2014-05-27 Thread Joseph Koech
Try Play SMS

On Tuesday, May 27, 2014, spameden spame...@gmail.com wrote:

 there is no such tool available for public use.

 the only tool you can use is kannel web monitor written in php, look into
 contrib folder on SVN you'll find it there.


 2014-05-27 16:46 GMT+04:00 Hatem Sabrey 
 h.sab...@hotmail.comjavascript:_e(%7B%7D,'cvml','h.sab...@hotmail.com');
 :

  Hello All.


 kindly advice if there any web interface tool to be integrated with
 KANNEL in order to manage.


 if there is where i can find it ??





Re: help

2014-03-21 Thread Alvaro Cornejo
 Hi

Allways copy kannel list. This way others can benefit from discussion
and also add their opinions.

About your new question, this is only possible when using SMPP links.
Almost all operator does not allow to change that info with modem/AT
devices.

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 Fri, Mar 21, 2014 at 7:14 AM, anurag joshi anuragajo...@gmail.com wrote:
 Thank you.It worked.

 can you assist me how to set the sender id:I don't want a phone number to be
 displayed each time I send a message, instead I want some other name like
 Dept of CSE

 --
 Thank you
 anurag
 +91 99008 35849
 Sent with Sparrow

 On Friday 21 March 2014 at 12:15 AM, Alvaro Cornejo wrote:

 Hi

 You need to use urlencode($message) instead of str_replace(...).

 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 Thu, Mar 20, 2014 at 1:35 PM, anurag joshi anuragajo...@gmail.com
 wrote:

 Hello there,


 I am using a web(html) page to read an input message from user than that
 html will send the data to another php created by me: that php will do some
 refine work like adding country code to the number, database checkand
 than
 the php will actual call the http://localhost/x/sendsms and the message
 will be sent.


 but whenever a new line character is used in the message box in web page,
 the message don't get delivered, it returns an error code 1.


 please help.


 Things I already know: The spaces from message(from web) has to be converted
 to + for that I am using str_replace( ,+,$message); everything work
 fine with spaces present

 But I don't know how to treat the new line characters.


 --
 Thank you
 anurag
 +91 99008 35849
 Sent with Sparrow





help

2014-03-20 Thread anurag joshi
Hello there,

I am using a web(html) page to read an input message from user than that html 
will send the data to another php created by me: that php will do some refine 
work like adding country code to the number, database check….and than the php 
will actual call the http://localhost/x/sendsms  and the message will be 
sent.  

but whenever a new line character is used in the message box in web page, the 
message don't get delivered, it returns an error code 1.  

please help.  

Things I already know: The spaces from message(from web) has to be converted to 
+ for that I am using str_replace( ,+,$message);  everything work fine 
with spaces present  
But I don't know how to treat the new line characters.


--  
Thank you
anurag
+91 99008 35849
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)



help

2014-02-20 Thread anurag joshi
Hello there,

My name is Anurag, I am working on a project which has some requirements as SMS 
sending through web. I found kannel as good tool for that.

Well, My question is when I try to 'make' (while compiling kannel) I get error 
as something like this
..
utils/seewbmp.o : file not recognized : File format not recognized
collect2: error :  ld returned 1 exit status
make : *** [utils/seewbmp] Error 1

please help me installing this, its urgent.
I am using fedora 20 on a virtual machine.



-- 
Thank you
anurag
+91 99008 35849
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)



RE: Please help me in configureing Opensmppbox (bind Failed)

2014-01-23 Thread Rene Kluwen
Please don´t email me directly with Kannel questions, but use
users@kannel.org.

In your group = core, add smsbox-port = 13002.

-Original Message-
From: hamid2kv...@hotmail.com [mailto:hamid2kv...@hotmail.com] 
Sent: donderdag 23 januari 2014 13:24
To: rene.klu...@chimit.nl
Subject: Please help me in configureing Opensmppbox (bind Failed)

I have gone through many asked question, but they didnt work for me. I have
the same problem in configuring opensmppbox. 

Client Logs

2014-01-23 17:15:16 [12357] [6] DEBUG: Connecting to 172.16.37.103
2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP[MVOIPdev]: Sending PDU:
2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP PDU 0x7fb03a10 dump:
2014-01-23 17:15:16 [12357] [6] DEBUG:   type_name: bind_transceiver
2014-01-23 17:15:16 [12357] [6] DEBUG:   command_id: 9 = 0x0009
2014-01-23 17:15:16 [12357] [6] DEBUG:   command_status: 0 = 0x
2014-01-23 17:15:16 [12357] [6] DEBUG:   sequence_number: 2 = 0x0002
2014-01-23 17:15:16 [12357] [6] DEBUG:   system_id: usern
2014-01-23 17:15:16 [12357] [6] DEBUG:   password: passw
2014-01-23 17:15:16 [12357] [6] DEBUG:   system_type: SMPP
2014-01-23 17:15:16 [12357] [6] DEBUG:   interface_version: 52 = 0x0034
2014-01-23 17:15:16 [12357] [6] DEBUG:   addr_ton: 0 = 0x
2014-01-23 17:15:16 [12357] [6] DEBUG:   addr_npi: 0 = 0x
2014-01-23 17:15:16 [12357] [6] DEBUG:   address_range: 
2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP PDU dump ends.
2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP[MVOIPdev]: Got PDU:
2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP PDU 0x7fb03a10 dump:
2014-01-23 17:15:17 [12357] [6] DEBUG:   type_name: bind_transceiver_resp
2014-01-23 17:15:17 [12357] [6] DEBUG:   command_id: 2147483657 = 0x8009
2014-01-23 17:15:17 [12357] [6] DEBUG:   command_status: 13 = 0x000d
2014-01-23 17:15:17 [12357] [6] DEBUG:   sequence_number: 2 = 0x0002
2014-01-23 17:15:17 [12357] [6] DEBUG:   system_id: NULL
2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP PDU dump ends.
2014-01-23 17:15:17 [12357] [6] ERROR: SMPP[MVOIPdev]: SMSC rejected login
to transmit, code 0x000d (Bind Failed).
2014-01-23 17:15:17 [12357] [6] ERROR: SMPP[MVOIPdev]: Couldn't connect to
SMS center (retrying in 10 seconds).

opensmppbox Logs

2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP[OpenSMPPBox1]: Got PDU:
2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU 0x7f95cc000d50 dump:
2014-01-23 17:16:18 [7959] [28] DEBUG:   type_name: bind_transceiver
2014-01-23 17:16:18 [7959] [28] DEBUG:   command_id: 9 = 0x0009
2014-01-23 17:16:18 [7959] [28] DEBUG:   command_status: 0 = 0x
2014-01-23 17:16:18 [7959] [28] DEBUG:   sequence_number: 7 = 0x0007
2014-01-23 17:16:18 [7959] [28] DEBUG:   system_id: usern
2014-01-23 17:16:18 [7959] [28] DEBUG:   password: passw
2014-01-23 17:16:18 [7959] [28] DEBUG:   system_type: SMPP
2014-01-23 17:16:18 [7959] [28] DEBUG:   interface_version: 52 = 0x0034
2014-01-23 17:16:18 [7959] [28] DEBUG:   addr_ton: 0 = 0x
2014-01-23 17:16:18 [7959] [28] DEBUG:   addr_npi: 0 = 0x
2014-01-23 17:16:18 [7959] [28] DEBUG:   address_range: NULL
2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU dump ends.
2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP[OpenSMPPBox1]: Sending PDU:
2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU 0x7f95cc001050 dump:
2014-01-23 17:16:18 [7959] [28] DEBUG:   type_name: bind_transceiver_resp
2014-01-23 17:16:18 [7959] [28] DEBUG:   command_id: 2147483657 = 0x8009
2014-01-23 17:16:18 [7959] [28] DEBUG:   command_status: 13 = 0x000d
2014-01-23 17:16:18 [7959] [28] DEBUG:   sequence_number: 7 = 0x0007
2014-01-23 17:16:18 [7959] [28] DEBUG:   system_id: NULL
2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU dump ends.
2014-01-23 17:16:19 [7959] [28] ERROR: Invalid SMPP PDU received.
2014-01-23 17:16:19 [7959] [28] DEBUG: Thread 28
(opensmppbox.c:smpp_to_bearerbox) terminates.
2014-01-23 17:16:20 [7959] [27] DEBUG: Thread 27 (opensmppbox.c:function)
terminates.



[Kannel server]

* {kannel.conf}

#Kannel-Server Configuration
#

group = core
admin-port = 13000
admin-password = bar
dlr-storage = mysql
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1;172.16.37.103
smsbox-port = 13002

group = smsc
smsc = fake
smsc-id = Kannel-Server
host = 127.0.0.1
port = 13003

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13010

group = sendsms-user
username = kannel
password = password

group = mysql-connection
id = mydlr
host = localhost
username = root
password = password
database = sqlbox
# max count of connections that will be opened for dbpool # default is 1
max-connections = 1

group = dlr-db
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

* {sql.conf}
#SQLBox Server Configuration
#--

group = sqlbox
id

FW: Please help me in configureing Opensmppbox (bind Failed)

2014-01-23 Thread Hamid Hashmi
I have added smsbox-port=13002 in group core of opensmpp.conf file. But it 
doesnt work for me. Any other mistake. 

Regards
Hamid R. Hashmi

 From: rene.kluwen
 To: hamid2kv...@hotmail.com
 CC: users@kannel.org
 Subject: RE: Please help me in configureing Opensmppbox (bind Failed)
 Date: Thu, 23 Jan 2014 14:15:02 +0100
 
 Please don´t email me directly with Kannel questions, but use
 users@kannel.org.
 
 In your group = core, add smsbox-port = 13002.
 
 -Original Message-
 From: hamid2kv...@hotmail.com [mailto:hamid2kv...@hotmail.com] 
 Sent: donderdag 23 januari 2014 13:24
 To: rene.klu...@chimit.nl
 Subject: Please help me in configureing Opensmppbox (bind Failed)
 
 I have gone through many asked question, but they didnt work for me. I have
 the same problem in configuring opensmppbox. 
 
 Client Logs
 
 2014-01-23 17:15:16 [12357] [6] DEBUG: Connecting to 172.16.37.103
 2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP[MVOIPdev]: Sending PDU:
 2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP PDU 0x7fb03a10 dump:
 2014-01-23 17:15:16 [12357] [6] DEBUG:   type_name: bind_transceiver
 2014-01-23 17:15:16 [12357] [6] DEBUG:   command_id: 9 = 0x0009
 2014-01-23 17:15:16 [12357] [6] DEBUG:   command_status: 0 = 0x
 2014-01-23 17:15:16 [12357] [6] DEBUG:   sequence_number: 2 = 0x0002
 2014-01-23 17:15:16 [12357] [6] DEBUG:   system_id: usern
 2014-01-23 17:15:16 [12357] [6] DEBUG:   password: passw
 2014-01-23 17:15:16 [12357] [6] DEBUG:   system_type: SMPP
 2014-01-23 17:15:16 [12357] [6] DEBUG:   interface_version: 52 = 0x0034
 2014-01-23 17:15:16 [12357] [6] DEBUG:   addr_ton: 0 = 0x
 2014-01-23 17:15:16 [12357] [6] DEBUG:   addr_npi: 0 = 0x
 2014-01-23 17:15:16 [12357] [6] DEBUG:   address_range: 
 2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP PDU dump ends.
 2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP[MVOIPdev]: Got PDU:
 2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP PDU 0x7fb03a10 dump:
 2014-01-23 17:15:17 [12357] [6] DEBUG:   type_name: bind_transceiver_resp
 2014-01-23 17:15:17 [12357] [6] DEBUG:   command_id: 2147483657 = 0x8009
 2014-01-23 17:15:17 [12357] [6] DEBUG:   command_status: 13 = 0x000d
 2014-01-23 17:15:17 [12357] [6] DEBUG:   sequence_number: 2 = 0x0002
 2014-01-23 17:15:17 [12357] [6] DEBUG:   system_id: NULL
 2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP PDU dump ends.
 2014-01-23 17:15:17 [12357] [6] ERROR: SMPP[MVOIPdev]: SMSC rejected login
 to transmit, code 0x000d (Bind Failed).
 2014-01-23 17:15:17 [12357] [6] ERROR: SMPP[MVOIPdev]: Couldn't connect to
 SMS center (retrying in 10 seconds).
 
 opensmppbox Logs
 
 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP[OpenSMPPBox1]: Got PDU:
 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU 0x7f95cc000d50 dump:
 2014-01-23 17:16:18 [7959] [28] DEBUG:   type_name: bind_transceiver
 2014-01-23 17:16:18 [7959] [28] DEBUG:   command_id: 9 = 0x0009
 2014-01-23 17:16:18 [7959] [28] DEBUG:   command_status: 0 = 0x
 2014-01-23 17:16:18 [7959] [28] DEBUG:   sequence_number: 7 = 0x0007
 2014-01-23 17:16:18 [7959] [28] DEBUG:   system_id: usern
 2014-01-23 17:16:18 [7959] [28] DEBUG:   password: passw
 2014-01-23 17:16:18 [7959] [28] DEBUG:   system_type: SMPP
 2014-01-23 17:16:18 [7959] [28] DEBUG:   interface_version: 52 = 0x0034
 2014-01-23 17:16:18 [7959] [28] DEBUG:   addr_ton: 0 = 0x
 2014-01-23 17:16:18 [7959] [28] DEBUG:   addr_npi: 0 = 0x
 2014-01-23 17:16:18 [7959] [28] DEBUG:   address_range: NULL
 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU dump ends.
 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP[OpenSMPPBox1]: Sending PDU:
 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU 0x7f95cc001050 dump:
 2014-01-23 17:16:18 [7959] [28] DEBUG:   type_name: bind_transceiver_resp
 2014-01-23 17:16:18 [7959] [28] DEBUG:   command_id: 2147483657 = 0x8009
 2014-01-23 17:16:18 [7959] [28] DEBUG:   command_status: 13 = 0x000d
 2014-01-23 17:16:18 [7959] [28] DEBUG:   sequence_number: 7 = 0x0007
 2014-01-23 17:16:18 [7959] [28] DEBUG:   system_id: NULL
 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU dump ends.
 2014-01-23 17:16:19 [7959] [28] ERROR: Invalid SMPP PDU received.
 2014-01-23 17:16:19 [7959] [28] DEBUG: Thread 28
 (opensmppbox.c:smpp_to_bearerbox) terminates.
 2014-01-23 17:16:20 [7959] [27] DEBUG: Thread 27 (opensmppbox.c:function)
 terminates.
 
 
 
 [Kannel server]
 
 * {kannel.conf}
 
 #Kannel-Server Configuration
 #
 
 group = core
 admin-port = 13000
 admin-password = bar
 dlr-storage = mysql
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1;172.16.37.103
 smsbox-port = 13002
 
 group = smsc
 smsc = fake
 smsc-id = Kannel-Server
 host = 127.0.0.1
 port = 13003
 
 group = smsbox
 bearerbox-host = 127.0.0.1
 sendsms-port = 13010
 
 group = sendsms-user
 username = kannel
 password = password
 
 group = mysql-connection
 id = mydlr
 host = localhost
 username = root
 password = password
 database

Help for Modems

2013-12-09 Thread Faizan Mirza

Hello,

I have 3 GSM Devices, all devices are D-Link Devices, One is different 
model and 2 same model.. When i add command lsusb it shows all 3 usbs 
but for 2 usbs which are same model it shows same vendor id and product id:


Bus 002 Device 005: ID 07d1:7e11 D-Link System
Bus 002 Device 006: ID 2001:7d01 D-Link Corp.
Bus 002 Device 007: ID 2001:7d01 D-Link Corp.

All are showing also in dmesg | grep ttyUSB

[   13.587161] usb 2-2.3: generic converter now attached to ttyUSB0
[   13.587297] usb 2-2.3: generic converter now attached to ttyUSB1
[   13.587427] usb 2-2.3: generic converter now attached to ttyUSB2
[   13.587557] usb 2-2.3: generic converter now attached to ttyUSB3
[   13.587703] usb 2-2.4: generic converter now attached to ttyUSB4
[   13.587833] usb 2-2.4: generic converter now attached to ttyUSB5
[   13.587961] usb 2-2.4: generic converter now attached to ttyUSB6
[   13.588126] usb 2-2.4: generic converter now attached to ttyUSB7
[   14.950147] usb 2-2.2: GSM modem (1-port) converter now attached to 
ttyUSB8
[   14.950310] usb 2-2.2: GSM modem (1-port) converter now attached to 
ttyUSB9
[   14.951149] usb 2-2.2: GSM modem (1-port) converter now attached to 
ttyUSB10


Before I added 3 devices to my kannel config 1st ttyUSB1, 2nd ttyUSB5 
and 3rd ttyUSB9 all were working well but now one device is not working 
it is keep showing:


2013-12-10 03:03:46 [24268] [7] DEBUG: AT2[ufone]: -- ^Z
2013-12-10 03:03:46 [24268] [7] DEBUG: AT2[ufone]: -- ERROR
2013-12-10 03:03:46 [24268] [7] ERROR: AT2[ufone]: Generic error: ERROR
2013-12-10 03:03:46 [24268] [7] DEBUG: AT2[ufone]: send command status: -1
2013-12-10 03:04:16 [24268] [7] DEBUG: AT2[ufone]: TP-Validity-Period: 
24.0 hours

2013-12-10 03:04:16 [24268] [7] DEBUG: AT2[ufone]: -- AT+CMGS=74^M
2013-12-10 03:04:16 [24268] [7] DEBUG: AT2[ufone]: --
2013-12-10 03:04:16 [24268] [7] DEBUG: AT2[ufone]: -- 
2013-12-10 03:04:16 [24268] [7] DEBUG: AT2[ufone]: send command status: 1

I cant send SMS with this device and another 2 working.. I tried to use 
this USB on windows machine it is working sending receiving sms can you 
guys please help me to sort this issue...


thats wvdial report..

Modem configuration written to /etc/wvdial.conf.
ttyUSB0Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
ttyUSB1Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
ttyUSB4Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
ttyUSB5Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
ttyUSB9Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
ttyUSB10Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0

Is it may be issue if both model are same?




Re: Urgent Help

2013-12-07 Thread Alvaro Cornejo
Hi

The error is self explanatory, you modem sim is full. You need to
delete those messages from it.

You can ask kannel to check for them and delete once processed. use
sim-buffering=true

Check user guide for more details.

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 Fri, Dec 6, 2013 at 7:08 PM, Faizan Mirza efuz...@gmail.com wrote:
 Hello,

 My kannel was working fine but i dont know what happen it is keep giving
 error:

 ERROR 500 SIM storage is full etc..

 I have 3 GSM Modems i have added all without any smsc-id i want to make load
 balancing

 My config file:

 # CORe GROUP

 group = core
 admin-port = 13000
 smsbox-port = 13002
 admin-password = bar
 status-password = far
 log-file = /var/log/kannel/kannel.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 #sms-combine-concatenated-mo = true

 # Smsbox related

 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13013
 global-sender = +
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 sms-length = 1000

 # SMS SERVICES for GSM 1 Ufone (75)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB1
 my-number = 0
 sms-center= 00
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true


 # SMS SERVICES for GSM 2 Ufone (74)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB5
 my-number = 000
 sms-center= 000
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true

 # SMS SERVICES for GSM 3 Ufone (73)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB9
 my-number = 
 sms-center= 
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true

 # SEND-SMS USERS

 group = sendsms-user
 username = x
 password = xxx
 concatenation= true
 max-messages = 50

 include = /etc/kannel/modems.conf

 group = sms-service
 keyword = default
 get-url =
 http://localhost/sms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%a;
 catch-all = yes
 max-messages = 0
 accept-x-kannel-headers = true
 concatenation = yes
 omit-empty = yes

 I will appreciate if someone correct my config file for load balancing multi
 device SMS.



Re: Urgent Help

2013-12-07 Thread Alvaro Cornejo
Hi

Allways cc kannel list so you can get help from others and they can
benefit from discussion.

Can you post the start of the log of the modem? On start kannel should
check all sim locations to check if there are sms on sim card and
retrieve them. Then it should periodically check for messages.

add to each of your smsc=at groups the following in order to have a
separate log for each modem.

log-level = 0
log-file = /var/log/modem_n.log

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 Sat, Dec 7, 2013 at 2:58 PM, Faizan Mirza efuz...@gmail.com wrote:
 Hello,

 It i have deleted SMS and i have set sim-buffering = true but still same
 issue


 On 12/07/2013 11:51 PM, Alvaro Cornejo wrote:

 Hi

 The error is self explanatory, you modem sim is full. You need to
 delete those messages from it.

 You can ask kannel to check for them and delete once processed. use
 sim-buffering=true

 Check user guide for more details.

 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 Fri, Dec 6, 2013 at 7:08 PM, Faizan Mirza efuz...@gmail.com wrote:

 Hello,

 My kannel was working fine but i dont know what happen it is keep giving
 error:

 ERROR 500 SIM storage is full etc..

 I have 3 GSM Modems i have added all without any smsc-id i want to make
 load
 balancing

 My config file:

 # CORe GROUP

 group = core
 admin-port = 13000
 smsbox-port = 13002
 admin-password = bar
 status-password = far
 log-file = /var/log/kannel/kannel.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 #sms-combine-concatenated-mo = true

 # Smsbox related

 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13013
 global-sender = +
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 sms-length = 1000

 # SMS SERVICES for GSM 1 Ufone (75)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB1
 my-number = 0
 sms-center= 00
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true


 # SMS SERVICES for GSM 2 Ufone (74)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB5
 my-number = 000
 sms-center= 000
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true

 # SMS SERVICES for GSM 3 Ufone (73)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB9
 my-number = 
 sms-center= 
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true

 # SEND-SMS USERS

 group = sendsms-user
 username = x
 password = xxx
 concatenation= true
 max-messages = 50

 include = /etc/kannel/modems.conf

 group = sms-service
 keyword = default
 get-url =

 http://localhost/sms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%a;
 catch-all = yes
 max-messages = 0
 accept-x-kannel-headers = true
 concatenation = yes
 omit-empty = yes

 I will appreciate if someone correct my config file for load balancing
 multi
 device SMS.





Re: Urgent Help

2013-12-07 Thread Faizan Mirza
Can you tell me, modem_n.log i set for all or i set different name of 
different modems...


Another thing is if i provide you my config file will you optimize it 
and check for the mistakes i made?



On 12/08/2013 07:47 AM, Alvaro Cornejo wrote:

Hi

Allways cc kannel list so you can get help from others and they can
benefit from discussion.

Can you post the start of the log of the modem? On start kannel should
check all sim locations to check if there are sms on sim card and
retrieve them. Then it should periodically check for messages.

add to each of your smsc=at groups the following in order to have a
separate log for each modem.

log-level = 0
log-file = /var/log/modem_n.log

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 Sat, Dec 7, 2013 at 2:58 PM, Faizan Mirza efuz...@gmail.com wrote:

Hello,

It i have deleted SMS and i have set sim-buffering = true but still same
issue


On 12/07/2013 11:51 PM, Alvaro Cornejo wrote:

Hi

The error is self explanatory, you modem sim is full. You need to
delete those messages from it.

You can ask kannel to check for them and delete once processed. use
sim-buffering=true

Check user guide for more details.

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 Fri, Dec 6, 2013 at 7:08 PM, Faizan Mirza efuz...@gmail.com wrote:

Hello,

My kannel was working fine but i dont know what happen it is keep giving
error:

ERROR 500 SIM storage is full etc..

I have 3 GSM Modems i have added all without any smsc-id i want to make
load
balancing

My config file:

# CORe GROUP

group = core
admin-port = 13000
smsbox-port = 13002
admin-password = bar
status-password = far
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
#sms-combine-concatenated-mo = true

# Smsbox related

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = +
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
sms-length = 1000

# SMS SERVICES for GSM 1 Ufone (75)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB1
my-number = 0
sms-center= 00
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true


# SMS SERVICES for GSM 2 Ufone (74)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB5
my-number = 000
sms-center= 000
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true

# SMS SERVICES for GSM 3 Ufone (73)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB9
my-number = 
sms-center= 
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true

# SEND-SMS USERS

group = sendsms-user
username = x
password = xxx
concatenation= true
max-messages = 50

include = /etc/kannel/modems.conf

group = sms-service
keyword = default
get-url =

http://localhost/sms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%a;
catch-all = yes
max-messages = 0
accept-x-kannel-headers = true
concatenation = yes
omit-empty = yes

I will appreciate if someone correct my config file for load balancing
multi
device SMS.







Re: Urgent Help

2013-12-07 Thread Alvaro Cornejo
Hi

Add a different log name for each modem. This will ease debug.

Just post initialization of modem. Once it connect to modem it should
start checking all sim mem locations.

Regards

|-|
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 Sat, Dec 7, 2013 at 10:07 PM, Faizan Mirza efuz...@gmail.com wrote:
 Can you tell me, modem_n.log i set for all or i set different name of
 different modems...

 Another thing is if i provide you my config file will you optimize it and
 check for the mistakes i made?



 On 12/08/2013 07:47 AM, Alvaro Cornejo wrote:

 Hi

 Allways cc kannel list so you can get help from others and they can
 benefit from discussion.

 Can you post the start of the log of the modem? On start kannel should
 check all sim locations to check if there are sms on sim card and
 retrieve them. Then it should periodically check for messages.

 add to each of your smsc=at groups the following in order to have a
 separate log for each modem.

 log-level = 0
 log-file = /var/log/modem_n.log

 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 Sat, Dec 7, 2013 at 2:58 PM, Faizan Mirza efuz...@gmail.com wrote:

 Hello,

 It i have deleted SMS and i have set sim-buffering = true but still same
 issue


 On 12/07/2013 11:51 PM, Alvaro Cornejo wrote:

 Hi

 The error is self explanatory, you modem sim is full. You need to
 delete those messages from it.

 You can ask kannel to check for them and delete once processed. use
 sim-buffering=true

 Check user guide for more details.

 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 Fri, Dec 6, 2013 at 7:08 PM, Faizan Mirza efuz...@gmail.com wrote:

 Hello,

 My kannel was working fine but i dont know what happen it is keep
 giving
 error:

 ERROR 500 SIM storage is full etc..

 I have 3 GSM Modems i have added all without any smsc-id i want to make
 load
 balancing

 My config file:

 # CORe GROUP

 group = core
 admin-port = 13000
 smsbox-port = 13002
 admin-password = bar
 status-password = far
 log-file = /var/log/kannel/kannel.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 #sms-combine-concatenated-mo = true

 # Smsbox related

 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13013
 global-sender = +
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 sms-length = 1000

 # SMS SERVICES for GSM 1 Ufone (75)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB1
 my-number = 0
 sms-center= 00
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true


 # SMS SERVICES for GSM 2 Ufone (74)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB5
 my-number = 000
 sms-center= 000
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true

 # SMS SERVICES for GSM 3 Ufone (73)

 group = smsc
 smsc = at
 modemtype = auto
 device=/dev/ttyUSB9
 my-number = 
 sms-center= 
 connect-allow-ip = 127.0.0.1
 log-level = 0
 sim-buffering = true

 # SEND-SMS USERS

 group = sendsms-user
 username = x
 password = xxx
 concatenation= true
 max-messages = 50

 include = /etc/kannel/modems.conf

 group = sms-service
 keyword = default
 get-url =


 http://localhost/sms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%a;
 catch-all = yes
 max-messages = 0
 accept-x-kannel-headers = true
 concatenation = yes
 omit-empty = yes

 I will appreciate if someone correct my config file for load balancing
 multi
 device SMS.






Re: Urgent Help

2013-12-07 Thread Faizan Mirza

Hello,

can you also check for my config file? and also is there better to block 
outgoing sms to some numbers? means make blacklist and add numbers there 
for outgoing SMS?



On 12/08/2013 08:17 AM, Alvaro Cornejo wrote:

Hi

Add a different log name for each modem. This will ease debug.

Just post initialization of modem. Once it connect to modem it should
start checking all sim mem locations.

Regards

|-|
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 Sat, Dec 7, 2013 at 10:07 PM, Faizan Mirza efuz...@gmail.com wrote:

Can you tell me, modem_n.log i set for all or i set different name of
different modems...

Another thing is if i provide you my config file will you optimize it and
check for the mistakes i made?



On 12/08/2013 07:47 AM, Alvaro Cornejo wrote:

Hi

Allways cc kannel list so you can get help from others and they can
benefit from discussion.

Can you post the start of the log of the modem? On start kannel should
check all sim locations to check if there are sms on sim card and
retrieve them. Then it should periodically check for messages.

add to each of your smsc=at groups the following in order to have a
separate log for each modem.

log-level = 0
log-file = /var/log/modem_n.log

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 Sat, Dec 7, 2013 at 2:58 PM, Faizan Mirza efuz...@gmail.com wrote:

Hello,

It i have deleted SMS and i have set sim-buffering = true but still same
issue


On 12/07/2013 11:51 PM, Alvaro Cornejo wrote:

Hi

The error is self explanatory, you modem sim is full. You need to
delete those messages from it.

You can ask kannel to check for them and delete once processed. use
sim-buffering=true

Check user guide for more details.

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 Fri, Dec 6, 2013 at 7:08 PM, Faizan Mirza efuz...@gmail.com wrote:

Hello,

My kannel was working fine but i dont know what happen it is keep
giving
error:

ERROR 500 SIM storage is full etc..

I have 3 GSM Modems i have added all without any smsc-id i want to make
load
balancing

My config file:

# CORe GROUP

group = core
admin-port = 13000
smsbox-port = 13002
admin-password = bar
status-password = far
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
#sms-combine-concatenated-mo = true

# Smsbox related

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = +
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
sms-length = 1000

# SMS SERVICES for GSM 1 Ufone (75)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB1
my-number = 0
sms-center= 00
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true


# SMS SERVICES for GSM 2 Ufone (74)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB5
my-number = 000
sms-center= 000
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true

# SMS SERVICES for GSM 3 Ufone (73)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB9
my-number = 
sms-center= 
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true

# SEND-SMS USERS

group = sendsms-user
username = x
password = xxx
concatenation= true
max-messages = 50

include = /etc/kannel/modems.conf

group = sms-service
keyword = default
get-url =


http://localhost/sms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%a;
catch-all = yes
max-messages = 0
accept-x-kannel-headers = true
concatenation = yes
omit-empty = yes

I will appreciate if someone correct my config file for load balancing
multi
device SMS.







Urgent Help

2013-12-06 Thread Faizan Mirza
Hello,

My kannel was working fine but i dont know what happen it is keep giving
error:

ERROR 500 SIM storage is full etc..

I have 3 GSM Modems i have added all without any smsc-id i want to make
load balancing

My config file:

# CORe GROUP

group = core
admin-port = 13000
smsbox-port = 13002
admin-password = bar
status-password = far
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
#sms-combine-concatenated-mo = true

# Smsbox related

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = +
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
sms-length = 1000

# SMS SERVICES for GSM 1 Ufone (75)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB1
my-number = 0
sms-center= 00
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true


# SMS SERVICES for GSM 2 Ufone (74)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB5
my-number = 000
sms-center= 000
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true

# SMS SERVICES for GSM 3 Ufone (73)

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB9
my-number = 
sms-center= 
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true

# SEND-SMS USERS

group = sendsms-user
username = x
password = xxx
concatenation= true
max-messages = 50

include = /etc/kannel/modems.conf

group = sms-service
keyword = default
get-url = 
http://localhost/sms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%a

catch-all = yes
max-messages = 0
accept-x-kannel-headers = true
concatenation = yes
omit-empty = yes

I will appreciate if someone correct my config file for load balancing
multi device SMS.


Re: Help Routing from Bearerbox to OpenSMPPBox

2013-11-13 Thread Gabriel Augusto Diaz Zapata
Rene,
Can I route only some messages? I mean? I need t route SOME MOs  or some
messages from special shortcode, and not all traffic. It s possible?

Thanks in advanced

Gabriel


On Tue, Nov 12, 2013 at 9:10 AM, Rene Kluwen rene.klu...@chimit.nl wrote:

 On server 1, use group = smsbox-route with smsbox id set to the system-id
 (or system-type) of the 1 = 2 connection.l



 *From:* users [mailto:users-boun...@kannel.org] *On Behalf Of *michael
 osakede
 *Sent:* woensdag 23 oktober 2013 15:18
 *To:* users@kannel.org
 *Subject:* Help Routing from Bearerbox to OpenSMPPBox



 Hi,



 I have setup 2 servers:

 Server 1: Bearerbox | SMSbox | SQLBox | OpenSMPPBox

 Server 2: Bearerbox | SMSBox | SQLBox



 How do I route all sms coming into an SMSC on Server one to server 2m and
 how do I route the response from Server 2 back to Server 1?



 Bearerbox 1 = Opensmppbox1 = Bearerbox 2 =SMSBox 2 = and return the
 response back to Bearerbox 1.



 How can I achieve this?



 Michael







RE: Help Routing from Bearerbox to OpenSMPPBox

2013-11-12 Thread Rene Kluwen
On server 1, use group = smsbox-route with smsbox id set to the system-id
(or system-type) of the 1 = 2 connection.l

 

From: users [mailto:users-boun...@kannel.org] On Behalf Of michael osakede
Sent: woensdag 23 oktober 2013 15:18
To: users@kannel.org
Subject: Help Routing from Bearerbox to OpenSMPPBox

 

Hi,

 

I have setup 2 servers:

Server 1: Bearerbox | SMSbox | SQLBox | OpenSMPPBox

Server 2: Bearerbox | SMSBox | SQLBox

 

How do I route all sms coming into an SMSC on Server one to server 2m and
how do I route the response from Server 2 back to Server 1?

 

Bearerbox 1 = Opensmppbox1 = Bearerbox 2 =SMSBox 2 = and return the
response back to Bearerbox 1.

 

How can I achieve this?

 

Michael

 

 



Help Routing from Bearerbox to OpenSMPPBox

2013-10-23 Thread michael osakede
Hi,

I have setup 2 servers:
Server 1: Bearerbox | SMSbox | SQLBox | OpenSMPPBox
Server 2: Bearerbox | SMSBox | SQLBox

How do I route all sms coming into an SMSC on Server one to server 2m and how 
do I route the response from Server 2 back to Server 1?

Bearerbox 1 = Opensmppbox1 = Bearerbox 2 =SMSBox 2 = and return the 
response back to Bearerbox 1.

How can I achieve this?

Michael

NEED HELP!!! kannel EMI multiple sessions

2013-03-20 Thread Gilbert Perez
good day!!

may i know if it is possible to create multiple sessions in EMI ?

RE: NEED HELP!! in sqlbox..

2013-03-06 Thread Rene Kluwen
As I understand correctly what you want to do, there's two options.

 

Run smsbox - sqlbox - bearerbox.

 

Smsbox does accept http connections and they will be saved in the sent_sms
table (see users manual).

 

The other option is to write a simple php/asp script that accepts the
message parameters that you want and have it inserted in send_sms.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Gilbert Perez
Sent: woensdag 6 maart 2013 8:22
To: Jose Figueroa
Cc: users@kannel.org
Subject: Re: NEED HELP!! in sqlbox..

 

thanks... actually my problem is how to save messages sent via http url to a
mysql database. is it possible? if so, what are the steps that i need to do?

 

so far i think i've configured sqlbox properly with smppbox and bearerbox. 

 

hope you could help me with this one Image removed by sender. *:) happy

 

  _  

From: Jose Figueroa josen.figue...@unixmexico.org
To: Gilbert Perez p_gilb...@rocketmail.com 
Cc: users@kannel.org users@kannel.org 
Sent: Wednesday, March 6, 2013 11:03 AM
Subject: Re: NEED HELP!! in sqlbox..





Hello Gilberto

 

I don't really understand your question at all.

 

You want to send from smppbox to the sqlbox and then to bearer box?

 

If that's your question the answer is yes. You just have to set the port of
the bearerbox on the smppbox conf file and that would be the port set in the
sqlbox.

 

Pastebin your config files and I can help you up with the step by step, if
that's not your question please explain more about it or your complete
scenario case.

 

Thanks,

Jose Figueroa

Geek friend and caffeine dealer

josen.figue...@unixmexico.org

 

On Mar 5, 2013, at 8:55 PM, Gilbert Perez p_gilb...@rocketmail.com wrote:





good day..

 

recently i was able to run sqlbox alongside with smppbox and bearerbox. i
was also able to insert an entry in sqlbox's send_sms table and eventually
see it transferred to sent_sms table upon running sqlbox.. my question is,
is it possible to send an sms via a http-url which sqlbox is then going to
receive? or is there a way to insert an sms in the send_sms table aside from
manually inserting in the table?

 

 

 

 

~WRD000.jpg

Re: NEED HELP!! in sqlbox..

2013-03-06 Thread Gilbert Perez
thanks...

currently i'm trying to work on your first suggestion 
regarding the second option, may you give me a link/ sample script or anything 
insightful that can guide me? 



 From: Rene Kluwen rene.klu...@chimit.nl
To: 'Gilbert Perez' p_gilb...@rocketmail.com; 'Jose Figueroa' 
josen.figue...@unixmexico.org 
Cc: users@kannel.org 
Sent: Wednesday, March 6, 2013 7:39 PM
Subject: RE: NEED HELP!! in sqlbox..
 

As I understand correctly what you want to do, there’s two options.
 
Run smsbox - sqlbox - bearerbox.
 
Smsbox does accept http connections and they will be saved in the sent_sms 
table (see users manual).
 
The other option is to write a simple php/asp script that accepts the message 
parameters that you want and have it inserted in send_sms.
 
== Rene
 
 
From:users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Gilbert Perez
Sent: woensdag 6 maart 2013 8:22
To: Jose Figueroa
Cc: users@kannel.org
Subject: Re: NEED HELP!! in sqlbox..
 
thanks... actually my problem is how to save messages sent via http url to a 
mysql database. is it possible? if so, what are the steps that i need to do?
 
so far i think i've configured sqlbox properly with smppbox and bearerbox. 
 
hope you could help me with this one 
 



From:Jose Figueroa josen.figue...@unixmexico.org
To: Gilbert Perez p_gilb...@rocketmail.com 
Cc: users@kannel.org users@kannel.org 
Sent: Wednesday, March 6, 2013 11:03 AM
Subject: Re: NEED HELP!! in sqlbox..


Hello Gilberto
 
I don't really understand your question at all.
 
You want to send from smppbox to the sqlbox and then to bearer box?
 
If that's your question the answer is yes. You just have to set the port of the 
bearerbox on the smppbox conf file and that would be the port set in the sqlbox.
 
Pastebin your config files and I can help you up with the step by step, if 
that's not your question please explain more about it or your complete scenario 
case.
 
Thanks,
Jose Figueroa
Geek friend and caffeine dealer
josen.figue...@unixmexico.org
 
On Mar 5, 2013, at 8:55 PM, Gilbert Perez p_gilb...@rocketmail.com wrote:


good day..
 
recently i was able to run sqlbox alongside with smppbox and bearerbox. i was 
also able to insert an entry in sqlbox's send_sms table and eventually see it 
transferred to sent_sms table upon running sqlbox.. my question is, is it 
possible to send an sms via a http-url which sqlbox is then going to receive? 
or is there a way to insert an sms in the send_sms table aside from manually 
inserting in the table?

NEED HELP!! in sqlbox..

2013-03-05 Thread Gilbert Perez
good day..

recently i was able to run sqlbox alongside with smppbox and bearerbox. i was 
also able to insert an entry in sqlbox's send_sms table and eventually see it 
transferred to sent_sms table upon running sqlbox.. my question is, is it 
possible to send an sms via a http-url which sqlbox is then going to receive? 
or is there a way to insert an sms in the send_sms table aside from manually 
inserting in the table?

Re: NEED HELP!! in sqlbox..

2013-03-05 Thread Jose Figueroa
Hello Gilberto

I don't really understand your question at all.

You want to send from smppbox to the sqlbox and then to bearer box?

If that's your question the answer is yes. You just have to set the port of the 
bearerbox on the smppbox conf file and that would be the port set in the sqlbox.

Pastebin your config files and I can help you up with the step by step, if 
that's not your question please explain more about it or your complete scenario 
case.

Thanks,
Jose Figueroa
Geek friend and caffeine dealer
josen.figue...@unixmexico.org

On Mar 5, 2013, at 8:55 PM, Gilbert Perez p_gilb...@rocketmail.com wrote:

 good day..
 
 recently i was able to run sqlbox alongside with smppbox and bearerbox. i was 
 also able to insert an entry in sqlbox's send_sms table and eventually see it 
 transferred to sent_sms table upon running sqlbox.. my question is, is it 
 possible to send an sms via a http-url which sqlbox is then going to receive? 
 or is there a way to insert an sms in the send_sms table aside from manually 
 inserting in the table?
 
 



Re: NEED HELP!! in sqlbox..

2013-03-05 Thread Gilbert Perez
thanks... actually my problem is how to save messages sent via http url to a 
mysql database. is it possible? if so, what are the steps that i need to do?

so far i think i've configured sqlbox properly with smppbox and bearerbox. 

hope you could help me with this one 



 From: Jose Figueroa josen.figue...@unixmexico.org
To: Gilbert Perez p_gilb...@rocketmail.com 
Cc: users@kannel.org users@kannel.org 
Sent: Wednesday, March 6, 2013 11:03 AM
Subject: Re: NEED HELP!! in sqlbox..
 

Hello Gilberto

I don't really understand your question at all.

You want to send from smppbox to the sqlbox and then to bearer box?

If that's your question the answer is yes. You just have to set the port of the 
bearerbox on the smppbox conf file and that would be the port set in the sqlbox.

Pastebin your config files and I can help you up with the step by step, if 
that's not your question please explain more about it or your complete scenario 
case.

Thanks,
Jose Figueroa
Geek friend and caffeine dealer
josen.figue...@unixmexico.org

On Mar 5, 2013, at 8:55 PM, Gilbert Perez p_gilb...@rocketmail.com wrote:

good day..


recently i was able to run sqlbox alongside with smppbox and bearerbox. i was 
also able to insert an entry in sqlbox's send_sms table and eventually see it 
transferred to sent_sms table upon running sqlbox.. my question is, is it 
possible to send an sms via a http-url which sqlbox is then going to receive? 
or is there a way to insert an sms in the send_sms table aside from manually 
inserting in the table?





Re: HELP!! regarding smpp server - client proper configuration

2013-02-18 Thread Gilbert Perez
Thanks Ali for your response. 

I actually tried your suggestions, but unfortunately, there were still 
persistent errors.

In addition to what i've stated earlier, i am able to send a message from a 
browser via this url:

http://192.168.1.59:18200/cgi-bin/sendsms?username=testerpassword=foobarfrom=12345to=09164809770text=hello+world


where the output reflects accordingly to the server side. my problem is, i want 
to send a message from the client to the server using that url above. the 
client seems to be absolutely not involved in the entire process...

may i also know if the url above contains appropriate parameters (like is there 
something that i missed, etc)..?



 From: Ali Kashif syedalikas...@gmail.com
To: Gilbert Perez p_gilb...@rocketmail.com 
Cc: users@kannel.org users@kannel.org 
Sent: Monday, February 18, 2013 3:51 PM
Subject: Re: HELP!! regarding smpp server - client proper configuration
 

Hi

things seems fine to me, though you can try changing the order of starting the 
openSMPP. to my knowledge it should be bearerBox , smsBox, sqlBox , smppBox (in 
order)


1) run bearerbox -- smskannel.conf (server side)
2) run smsbox -- smskannel.conf (server side)

3) run smppbox -- opensmppbox.conf (server side)



2nd thing , enable log-level on server side (opensmpp box) and see if you are 
really receiving any request.

last thing i am sure /usr/local/src/gateway-1.4.3/smpplogins.txt exists and 
have user definitions like ..

tester foobar VMA *.*.*.*


if you have specfied some IP address as the last parameter try replacing it 
with *.* just to check what is causing the issue.

over all your configurations seems fine to me, (may be i have missed something.)

Thanks 
Ali



On Mon, Feb 18, 2013 at 10:02 AM, Gilbert Perez p_gilb...@rocketmail.com 
wrote:

GOOD DAY!


i have already installed opensmppbox which, based on my research, would enable 
kannel to act as SMPP server. Now, i am trying to perform a connection to a 
client from a different IP address and see if i can successfully transmit a 
message. My problem is, i keep on getting errors and found no viable result 
based from the solutions i've searched in the internet. 


May i also know if the diagram below shows the correct structure of smppbox 
alongside with bearerbox and smsbox in server and client sides, respectively?


        ( SERVER  SIDE )                                                       
( CLIENT SIDE )
                                             (connection refused)
       OPENSMPPBOX            -                BEARERBOX 


              ^                                                                
                   ^
              |                                                                
                    |
       BEARERBOX                                                               
  SMSBOX
              ^
              |
        SMSBOX


If the one i've drawn above is absolutely/partially wrong, can you please tell 
me what should i exactly do so i can configure it properly?




Below are my configuration files: feel free to point out what makes the whole 
thing wrong and kindly tell me what i must do to run in correctly:


opensmppbox.conf:


group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = SMPP
opensmppbox-port = 16400
bearerbox-host = 192.168.1.59;192.168.0.29;202.126.47.72
bearerbox-port = 13501
our-system-id = CMT
smpp-logins = /usr/local/src/gateway-1.4.3/smpplogins.txt
use-systemid-as-smsboxid = true
route-to-smsc = smpp
log-file = /tmp/smppbox.log









smskannel.conf (server side)



group = core
admin-port = 13500
smsbox-port = 13501
admin-password = bar
#status-password = foo
#admin-deny-ip = 
#admin-allow-ip = 
log-file = /tmp/bearerbox2.log
#log-level = 0
box-deny-ip = *...*
box-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72
#unified-prefix = +358,00358,0;+,00
#access-log = /tmp/access2.log
#store-file = /tmp/kannel2.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem


# This is a fake smsc connection, only used to test the system and services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = fake
smsc-id = FAKE
port = 1
connect-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72


# SMSC CONNECTIONS -- SMPP

group=smsc
smsc=smpp
smsc-id=SMPP
interface-version=34
host= 192.168.1.59;192.168.0.29;202.126.47.72
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = CMT
idle-timeout = 30
transceiver-mode = 1
throughput = 50
address-range = 123
enquire-link-interval = 10
reconnect-delay = 1
keepalive = 55


# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1;192.168.0.29;202.126.47.72
sendsms-port = 18200
global-sender = 18200
#sendsms-chars = 0123456789 +-
log-file = /tmp/smsbox2.log
#log-level = 0
access-log = /tmp/access2.log



# SEND-SMS USERS

group = sendsms-user
username

HELP!! regarding smpp server - client proper configuration

2013-02-17 Thread Gilbert Perez
GOOD DAY!

i have already installed opensmppbox which, based on my research, would enable 
kannel to act as SMPP server. Now, i am trying to perform a connection to a 
client from a different IP address and see if i can successfully transmit a 
message. My problem is, i keep on getting errors and found no viable result 
based from the solutions i've searched in the internet. 

May i also know if the diagram below shows the correct structure of smppbox 
alongside with bearerbox and smsbox in server and client sides, respectively?

        ( SERVER  SIDE )                                                       
( CLIENT SIDE )
                                             (connection refused)
       OPENSMPPBOX            -                BEARERBOX 

              ^                                                                 
                  ^
              |                                                                 
                   |
       BEARERBOX                                                                
 SMSBOX
              ^
              |
        SMSBOX

If the one i've drawn above is absolutely/partially wrong, can you please tell 
me what should i exactly do so i can configure it properly?


Below are my configuration files: feel free to point out what makes the whole 
thing wrong and kindly tell me what i must do to run in correctly:

opensmppbox.conf:

group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = SMPP
opensmppbox-port = 16400
bearerbox-host = 192.168.1.59;192.168.0.29;202.126.47.72
bearerbox-port = 13501
our-system-id = CMT
smpp-logins = /usr/local/src/gateway-1.4.3/smpplogins.txt
use-systemid-as-smsboxid = true
route-to-smsc = smpp
log-file = /tmp/smppbox.log





smskannel.conf (server side)


group = core
admin-port = 13500
smsbox-port = 13501
admin-password = bar
#status-password = foo
#admin-deny-ip = 
#admin-allow-ip = 
log-file = /tmp/bearerbox2.log
#log-level = 0
box-deny-ip = *...*
box-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72
#unified-prefix = +358,00358,0;+,00
#access-log = /tmp/access2.log
#store-file = /tmp/kannel2.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem


# This is a fake smsc connection, only used to test the system and services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = fake
smsc-id = FAKE
port = 1
connect-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72


# SMSC CONNECTIONS -- SMPP

group=smsc
smsc=smpp
smsc-id=SMPP
interface-version=34
host= 192.168.1.59;192.168.0.29;202.126.47.72
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = CMT
idle-timeout = 30
transceiver-mode = 1
throughput = 50
address-range = 123
enquire-link-interval = 10
reconnect-delay = 1
keepalive = 55


# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1;192.168.0.29;202.126.47.72
sendsms-port = 18200
global-sender = 18200
#sendsms-chars = 0123456789 +-
log-file = /tmp/smsbox2.log
#log-level = 0
access-log = /tmp/access2.log



# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = 
#user-allow-ip = 

# SERVICES

group = sms-service
keyword = jeck
text = You asked nothing and I did it!

# there should be default always

group = sms-service
keyword = default
text = No service specified




smskannel.conf (client side)

group = core
admin-port = 13500
smsbox-port = 13501
admin-password = bar
#status-password = foo
#admin-deny-ip = 
#admin-allow-ip = 
log-file = /tmp/bearerbox2.log
#log-level = 0
box-deny-ip = *...*
box-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72
#unified-prefix = +358,00358,0;+,00
#access-log = /tmp/access2.log
#store-file = /tmp/kannel2.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem


# This is a fake smsc connection, only used to test the system and services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = fake
smsc-id = FAKE
port = 1
connect-allow-ip = 127.0.0.1;192.168.0.29;202.126.47.72


# SMSC CONNECTIONS -- SMPP

group=smsc
smsc=smpp
smsc-id=SMPP
interface-version=34
host= 192.168.1.59;192.168.0.29;202.126.47.72
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = CMT
idle-timeout = 30
transceiver-mode = 1
throughput = 50
address-range = 123
enquire-link-interval = 10
reconnect-delay = 1
keepalive = 55



# SMSBOX SETUP

group = smsbox
bearerbox-host = 127.0.0.1;192.168.0.29;202.126.47.72
sendsms-port = 18200
global-sender = 18200
#sendsms-chars = 0123456789 +-
log-file = /tmp/smsbox2.log
#log-level = 0
access-log = /tmp/access2.log



# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = 
#user-allow-ip = 

# SERVICES

group = sms-service
keyword = jeck
text = You asked nothing and I did it!

# there should be default always

group = sms-service

Re: HELP!! regarding smpp server - client proper configuration

2013-02-17 Thread Ali Kashif
Hi

things seems fine to me, though you can try changing the order of starting
the openSMPP. to my knowledge it should be bearerBox , smsBox, sqlBox ,
smppBox (in order)


1) run bearerbox -- smskannel.conf (server side)
2) run smsbox -- smskannel.conf (server side)
3) run smppbox -- opensmppbox.conf (server side)


2nd thing , enable log-level on server side (opensmpp box) and see if you
are really receiving any request.

last thing i am sure /usr/local/src/gateway-1.4.3/**smpplogins.txt exists
and have user definitions like ..

tester foobar VMA *.*.*.*

if you have specfied some IP address as the last parameter try replacing it
with *.* just to check what is causing the issue.

over all your configurations seems fine to me, (may be i have missed
something.)

Thanks
Ali


On Mon, Feb 18, 2013 at 10:02 AM, Gilbert Perez p_gilb...@rocketmail.comwrote:

 GOOD DAY!

 i have already installed opensmppbox which, based on my research, would
 enable kannel to act as SMPP server. Now, i am trying to perform a
 connection to a client from a different IP address and see if i can
 successfully transmit a message. My problem is, i keep on getting errors
 and found no viable result based from the solutions i've searched in the
 internet.

 May i also know if the diagram below shows the correct structure of
 smppbox alongside with bearerbox and smsbox in server and client sides,
 respectively?

 ( SERVER  SIDE )
 ( CLIENT SIDE )
  (connection refused)
OPENSMPPBOX-
  BEARERBOX

   ^
 ^
   |
  |
BEARERBOX
   SMSBOX
   ^
   |
 SMSBOX

 If the one i've drawn above is absolutely/partially wrong, can you please
 tell me what should i exactly do so i can configure it properly?


 Below are my configuration files: feel free to point out what makes the
 whole thing wrong and kindly tell me what i must do to run in correctly:

 opensmppbox.conf:

 group = core
 dlr-storage = internal

 group = opensmppbox
 opensmppbox-id = SMPP
 opensmppbox-port = 16400
 bearerbox-host = 192.168.1.59;192.168.0.29;202.**126.47.72
 bearerbox-port = 13501
 our-system-id = CMT
 smpp-logins = /usr/local/src/gateway-1.4.3/**smpplogins.txt
 use-systemid-as-smsboxid = true
 route-to-smsc = smpp
 log-file = /tmp/smppbox.log




 smskannel.conf (server side)


 group = core
 admin-port = 13500
 smsbox-port = 13501
 admin-password = bar
 #status-password = foo
 #admin-deny-ip = 
 #admin-allow-ip = 
 log-file = /tmp/bearerbox2.log
 #log-level = 0
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72
 #unified-prefix = +358,00358,0;+,00
 #access-log = /tmp/access2.log
 #store-file = /tmp/kannel2.store
 #ssl-server-cert-file = cert.pem
 #ssl-server-key-file = key.pem
 #ssl-certkey-file = mycertandprivkeyfile.pem


 # This is a fake smsc connection, *only* used to test the system and
 services.
 # It really cannot relay messages to actual handsets!

 group = smsc
 smsc = fake
 smsc-id = FAKE
 port = 1
 connect-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72


 # SMSC CONNECTIONS -- SMPP

 group=smsc
 smsc=smpp
 smsc-id=SMPP
 interface-version=34
 host= 192.168.1.59;192.168.0.29;202.**126.47.72
 port= 16400
 receive-port = 16400
 smsc-username = tester
 smsc-password = foobar
 system-type = CMT
 idle-timeout = 30
 transceiver-mode = 1
 throughput = 50
 address-range = 123
 enquire-link-interval = 10
 reconnect-delay = 1
 keepalive = 55


 # SMSBOX SETUP

 group = smsbox
 bearerbox-host = 127.0.0.1;192.168.0.29;202.**126.47.72
 sendsms-port = 18200
 global-sender = 18200
 #sendsms-chars = 0123456789 +-
 log-file = /tmp/smsbox2.log
 #log-level = 0
 access-log = /tmp/access2.log



 # SEND-SMS USERS

 group = sendsms-user
 username = tester
 password = foobar
 #user-deny-ip = 
 #user-allow-ip = 

 # SERVICES

 group = sms-service
 keyword = jeck
 text = You asked nothing and I did it!

 # there should be default always

 group = sms-service
 keyword = default
 text = No service specified



 smskannel.conf (client side)

 group = core
 admin-port = 13500
 smsbox-port = 13501
 admin-password = bar
 #status-password = foo
 #admin-deny-ip = 
 #admin-allow-ip = 
 log-file = /tmp/bearerbox2.log
 #log-level = 0
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72
 #unified-prefix = +358,00358,0;+,00
 #access-log = /tmp/access2.log
 #store-file = /tmp/kannel2.store
 #ssl-server-cert-file = cert.pem
 #ssl-server-key-file = key.pem
 #ssl-certkey-file = mycertandprivkeyfile.pem


 # This is a fake smsc connection, *only* used to test the system and
 services.
 # It really cannot relay messages to actual handsets!

 group = smsc
 smsc = fake
 smsc-id = FAKE
 port = 1
 connect-allow-ip = 127.0.0.1;192.168.0.29;202.**126.47.72


 # SMSC CONNECTIONS -- SMPP

 group=smsc
 smsc=smpp
 smsc-id=SMPP
 

Help me to set registered delivery flag for all parts of messsages:

2013-02-04 Thread Himanshu Matta
Hello,

I am using kannel. I have a problem when I send message longer than 160
char. Kannel splits it into 2 or more messages. Only on the first one the
registered delivery flag is set. That means that kannel asks for DLR's only
on the first part.
*
*
*Can I be sure that all parts has been delivered ? *
*Can I set  registered delivery flag for all parts of message ?*

-- 
Thanks and regards,
Himanshu Matta.
7566559950


Re: Help me to set registered delivery flag for all parts of messsages:

2013-02-04 Thread spameden
You need to patch source code.

2013/2/4 Himanshu Matta himan...@hostnsoft.com:
 Hello,

 I am using kannel. I have a problem when I send message longer than 160
 char. Kannel splits it into 2 or more messages. Only on the first one the
 registered delivery flag is set. That means that kannel asks for DLR's only
 on the first part.

 Can I be sure that all parts has been delivered ?
 Can I set  registered delivery flag for all parts of message ?

 --
 Thanks and regards,
 Himanshu Matta.
 7566559950



help me please!! how to test emiucp configuratio :( badly needs some help..!

2013-01-30 Thread Gilbert Perez
now i understand that kannel supports emiucp only as client. but as of the 
moment, i want to test it without external device such as gsm modem whatnot, so 
may i know what software/addon may i download to implement a virtual server 
that is compatible with emiucp client? i've already tried and run opensmppbox 
but i always receive errors such as connection closed.. wait_for_ack and 
couldnt connect to sms center, retrying in 10 sec... is there something such as 
emibox which i can configure as well? i've also tried finding emibox on the 
internet but found no related results...

if opensmppbox indeed could work with emi ucp client, may you please tell me 
what is the proper configuration?

here  is my opensmppbox.conf:



group = opensmppbox
opensmppbox-id = SMPP
opensmppbox-port = 15887
bearerbox-host = 127.0.0.1
bearerbox-port = 15885
our-system-id = smpp
smpp-logins = /usr/local/src/gateway-1.4.3/smpplogins.txt
use-systemid-as-smsboxid = true
route-to-smsc = emi
#log-file = /usr/local/src/gateway-1.4.3/logs/smppbox.log


and here is my smskannel.conf



group = core
admin-port = 15885
smsbox-port = 15886
admin-password = bar
#status-password = foo
#admin-deny-ip = 
#admin-allow-ip = 
#log-file = /tmp/kannel.log
#log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
#unified-prefix = +358,00358,0;+,00
#access-log = /tmp/access.log
#store-file = kannel.store
#ssl-server-cert-file = cert.pem
#ssl-server-key-file = key.pem
#ssl-certkey-file = mycertandprivkeyfile.pem


group = smsc
smsc = fake
smsc-id = FAKE
port = 15889
connect-allow-ip = 127.0.0.1

group = smsc
smsc = smpp
host = 127.0.0.1
port = 15888
receive-port = 15887
smsc-username = tester
smsc-password = foobar
system-type = kannel
#address-range = 

group = smsc
smsc = emi
host = 127.0.0.1
port = 15887
smsc-username = tester
smsc-password = foobar
keepalive = 55
our-port = 600 (optional bind in our end)
receive-port = 15877
idle-timeout = 30

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13152
global-sender = 13152
#sendsms-chars = 0123456789 +-
#log-file = /tmp/smsbox.log
#log-level = 0
#access-log = /tmp/access.log

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = 
#user-allow-ip = 

group = sms-service
keyword = nop
text = You asked nothing and I did it!

group = sms-service
keyword = default
text = No service specified


you may point out as well what went wrong in my .conf files above :) thanks!

RE: help me please!! how to test emiucp configuratio :( badly needs some help..!

2013-01-30 Thread Rene Kluwen
Opensmppbox just does what it claims. That is smpp and nothing more.

You might have some luck with the commercial smppbox.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Gilbert Perez
Sent: woensdag 30 januari 2013 10:34
To: users@kannel.org
Subject: help me please!! how to test emiucp configuratio :( badly needs
some help..!

 

now i understand that kannel supports emiucp only as client. but as of the
moment, i want to test it without external device such as gsm modem whatnot,
so may i know what software/addon may i download to implement a virtual
server that is compatible with emiucp client? i've already tried and run
opensmppbox but i always receive errors such as connection closed..
wait_for_ack and couldnt connect to sms center, retrying in 10 sec... is
there something such as emibox which i can configure as well? i've also
tried finding emibox on the internet but found no related results...

 

if opensmppbox indeed could work with emi ucp client, may you please tell me
what is the proper configuration?

 

here  is my opensmppbox.conf:

 

 

group = opensmppbox

opensmppbox-id = SMPP

opensmppbox-port = 15887

bearerbox-host = 127.0.0.1

bearerbox-port = 15885

our-system-id = smpp

smpp-logins = /usr/local/src/gateway-1.4.3/smpplogins.txt

use-systemid-as-smsboxid = true

route-to-smsc = emi

#log-file = /usr/local/src/gateway-1.4.3/logs/smppbox.log

 

 

and here is my smskannel.conf

 

 

group = core

admin-port = 15885

smsbox-port = 15886

admin-password = bar

#status-password = foo

#admin-deny-ip = 

#admin-allow-ip = 

#log-file = /tmp/kannel.log

#log-level = 0

box-deny-ip = *.*.*.*

box-allow-ip = 127.0.0.1

#unified-prefix = +358,00358,0;+,00

#access-log = /tmp/access.log

#store-file = kannel.store

#ssl-server-cert-file = cert.pem

#ssl-server-key-file = key.pem

#ssl-certkey-file = mycertandprivkeyfile.pem

 

 

group = smsc

smsc = fake

smsc-id = FAKE

port = 15889

connect-allow-ip = 127.0.0.1

 

group = smsc

smsc = smpp

host = 127.0.0.1

port = 15888

receive-port = 15887

smsc-username = tester

smsc-password = foobar

system-type = kannel

#address-range = 

 

group = smsc

smsc = emi

host = 127.0.0.1

port = 15887

smsc-username = tester

smsc-password = foobar

keepalive = 55

our-port = 600 (optional bind in our end)

receive-port = 15877

idle-timeout = 30

 

group = smsbox

bearerbox-host = 127.0.0.1

sendsms-port = 13152

global-sender = 13152

#sendsms-chars = 0123456789 +-

#log-file = /tmp/smsbox.log

#log-level = 0

#access-log = /tmp/access.log

 

group = sendsms-user

username = tester

password = foobar

#user-deny-ip = 

#user-allow-ip = 

 

group = sms-service

keyword = nop

text = You asked nothing and I did it!

 

group = sms-service

keyword = default

text = No service specified

 

 

you may point out as well what went wrong in my .conf files above :) thanks!

 

 



Re: I Need your HELP

2012-12-30 Thread Ali Kashif
i think you need to read this first.

http://spin.atomicobject.com/2011/04/20/concatenated-sms-messages-and-character-counts/

in above article please pay attention to this area

*The UDH takes up 6 bytes (48 bits) of a normal SMS message payload. This
reduces the space for actual message data in concatenated SMS messages:*
*
*
*1120 bits - 48 bits = 1072 bits*
*As a result, each individual concatenated SMS message can only contain
1072 bits of message data.*
*
*
and you said in your email (EVEN LESS THAN 160 and GREATER THAN 153) as
long SMS,

i think you are talking about the character counting in Playsms. (i think
that is issue with playsms and it always counts the character for multi
part messages. and that has nothing to do with kannel; )


Thanks
Ali


On Sun, Dec 30, 2012 at 5:31 PM, Rene Kluwen rene.klu...@chimit.nl wrote:

 Post your question in the list. You might get an answer.

 ** **

 = Rene

 ** **

 *From:* Rupesh Sah [mailto:rupesh@gmail.com]
 *Sent:* zondag 30 december 2012 12:43
 *To:* rene.klu...@chimit.nl
 *Subject:* I Need your HELP

 ** **

 Hi Rene,

 ** **

 I am NewBie to kannel. I am using Kannel 1.4.3 on Ubuntu and Cent OS 6.3
 as well.

 I am using Kannel--SMSbox--Playsms.

 It's working fine..I have problem in Multi part SMS. 

 I have used in sendsms-users.

 Concatenation = true 

 max-messages =3.

 ** **

 It sends SMS correctly as concatenated sms. But the problem is It assumes
 every sms (EVEN LESS THAN 160 and GREATER THAN 153) as long SMS , i think ,
 

 and splits messages greater than 153. I want to split those sms which are
 larger than 160 not 153.

 What should i do...? Help me.

 ** **

 Rupesh

  

 ** **



help me

2012-10-19 Thread Rodrigue Ango
hello
I'm new to kannel, I had to cross many obstacles but this morning I had two new 
ones. I receive messages but when I try to send I have an answer: 
Authorization failed for sendsms yet user name and password created in the 
group sendsms-users is exact. The second problem is that I can not route a 
message to the recipient I have an answer: No client - multi-send or ACK to 
pull-reply. please I need your assistance to be able to cross this barrier

Re: help me

2012-10-19 Thread Satyadeep Kumar

Please post your kannel.conf.

Thanks


On 19-10-2012 14:54, Rodrigue Ango wrote:

hello
I'm new to kannel, I had to cross many obstacles but this morning I 
had two new ones. I receive messages but when I try to send I have an 
answer: Authorization failed for sendsms yet user name and password 
created in the group sendsms-users is exact. The second problem is 
that I can not route a message to the recipient I have an answer: No 
client - multi-send or ACK to pull-reply. please I need your 
assistance to be able to cross this barrier





--
Satyadeep Kumar

sa...@satyadoorva.in
+91 971 147 5156



Re: help me

2012-10-19 Thread Tapan Kumar Thapa
Hello,

It seems sendsms url is incorrect.

Your provided url:
http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

Right url:

http://127.0.0.1:13131/cgi-bin/sendsms?username=testpassword=test;
to=0023794410781text=bonjourhttp://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

Kindly check above from command link and check if kannel is working
properly.

Regards
Tapan Thapa

On Fri, Oct 19, 2012 at 3:06 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thas is kannel config:

 # CORE
 group = core
 admin-port = 13000
 admin-password = playsms
 #status-password = playsms
 #admin-allow-ip = 127.0.0.1;192.168.18.168
 #admin-deny-ip = *.*.*.*
 box-deny-ip = *.*.*.*
 log-file = /var/log/kannel/kannel.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 smsbox-port = 13001
 #wapbox-port = 13002
 store-type = spool
 store-file = /var/log/kannel/kannel.store
 store-location = /var/spool/kannel/store
 smsbox-max-pending = 100
 box-allow-ip = 127.0.0.1
 unified-prefix = 00237,+237,00
 wdp-interface-name = *

 #group wapbox
 group = wapbox
 bearerbox-host = localhost
 log-file = /var/log/kannel/wapbox.log
 log-level = 0
 syslog-level = none

 # SMSBOX
 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13131
 global-sender = 13131
 sendsms-url = /cgi-bin/sendsms
 sendsms-chars = 0123456789+
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/access.log


 # SMSC fastrack
 group = smsc
 smsc = at
 smsc-id = default
 #allowed-smsc-id = default
 #preferred-smsc-id = default
 modemtype = HUAWEI
 sms-center = +23799900990
 my-number = +23797550002
 validityperiod = 167
 pin = 
 sim-buffering = true
 host = localhost
 device = /dev/ttyUSBO
 device = /dev/ttyUSB1
 log-file = /var/log/kannel/smsc.log
 log-level = 0
 speed = 9600

 #group = modems
 group = modems
 id = huawei_e1552
 name = Huawei E1552
 detect-string = huawei
 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 message-storage = SM
 need-sleep = true
 speed = 9600

 # SENDSMS-USER
 group = sendsms-user
 default-smsc = default
 username = test
 password = test
 max-messages = 10
 concatenation = true
 #user-deny-ip = *.*.*.*
 #user-allow-ip = 127.0.0.1;192.168.18.168

 # SMS SERVICE 'default'
 group = sms-service
 keyword = cnps
 #la variable aliase est importante car elle permet de tenir compte des
 erreurs de frappes
 aliases = 'CNPS;Cnps;CNps'
 text = merci de faire confiance a la cnps
 omit-empty = true
 max-messages = 3
 get-url = 
 http://localhost/playsms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%aQ=%Q
 

 group = sms-service
 keyword = default
 text = Mauvaise syntaxe veuillez saisir le message en respectant la
 syntaxe définie


 and thas is url

 http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour


   --
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Envoyé le :* Vendredi 19 octobre 2012 10h27
 *Objet :* Re: help me

 Kindly share your kannel config as well as sendsms url which you are
 invoking..

 On Fri, Oct 19, 2012 at 2:54 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 hello
 I'm new to kannel, I had to cross many obstacles but this morning I had
 two new ones. I receive messages but when I try to send I have an answer:
 Authorization failed for sendsms yet user name and password created in
 the group sendsms-users is exact. The second problem is that I can not
 route a message to the recipient I have an answer: No client - multi-send
 or ACK to pull-reply. please I need your assistance to be able to cross this
 barrier









Re: help me

2012-10-19 Thread Tapan Kumar Thapa
Hello,

I hope, you are using playsms. Check if playsms can do this for you.

Regards
Tapan Thapa

On Fri, Oct 19, 2012 at 3:54 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thank you I found that the credit of communication was over the message
 was put in the queu. I have a second problem how to configure an
 automatic reply to the number that sent the message to my platform because
 when I receive a message that indicates SMSBOX No client - multi-send or
 ACK to pull-reply how to Resolve this problem




   --
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Envoyé le :* Vendredi 19 octobre 2012 11h14
 *Objet :* Re: help me

 If kannel sendsms url is returning 0: Accepted for delivery that means
 kannel is working perfectly.

 Kindly check kannel access logs for further error/issue.

 Regards
 Tapan Thapa

 On Fri, Oct 19, 2012 at 3:22 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thanks
 but when i put this url i have this message 0: Accepted for delivery
 but the phone to which I sent the message has not received the message i
 want to known this problem game from kannel config

 Rodrigue ANGO
 ENSPT Yaoudé
 Tel: 00237 97 55 00 02 / 00237 75 34 66 37
 apim...@yahoo.fr / apim...@live.fr
 Devise: Réussir ou Mourir


   --
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Cc :* users@kannel.org
 *Envoyé le :* Vendredi 19 octobre 2012 10h42
 *Objet :* Re: help me

 Hello,

 It seems sendsms url is incorrect.

 Your provided url:

 http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

 Right url:

 http://127.0.0.1:13131/cgi-bin/sendsms?username=testpassword=test;
 to=0023794410781text=bonjourhttp://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour

 Kindly check above from command link and check if kannel is working
 properly.

 Regards
 Tapan Thapa

 On Fri, Oct 19, 2012 at 3:06 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 thas is kannel config:

 # CORE
 group = core
 admin-port = 13000
 admin-password = playsms
 #status-password = playsms
 #admin-allow-ip = 127.0.0.1;192.168.18.168
 #admin-deny-ip = *.*.*.*
 box-deny-ip = *.*.*.*
 log-file = /var/log/kannel/kannel.log
 log-level = 0
 access-log = /var/log/kannel/access.log
 smsbox-port = 13001
 #wapbox-port = 13002
 store-type = spool
 store-file = /var/log/kannel/kannel.store
 store-location = /var/spool/kannel/store
 smsbox-max-pending = 100
 box-allow-ip = 127.0.0.1
 unified-prefix = 00237,+237,00
 wdp-interface-name = *

 #group wapbox
 group = wapbox
 bearerbox-host = localhost
 log-file = /var/log/kannel/wapbox.log
 log-level = 0
 syslog-level = none

 # SMSBOX
 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13131
 global-sender = 13131
 sendsms-url = /cgi-bin/sendsms
 sendsms-chars = 0123456789+
 log-file = /var/log/kannel/smsbox.log
 log-level = 0
 access-log = /var/log/kannel/access.log


 # SMSC fastrack
 group = smsc
 smsc = at
 smsc-id = default
 #allowed-smsc-id = default
 #preferred-smsc-id = default
 modemtype = HUAWEI
 sms-center = +23799900990
 my-number = +23797550002
 validityperiod = 167
 pin = 
 sim-buffering = true
 host = localhost
 device = /dev/ttyUSBO
 device = /dev/ttyUSB1
 log-file = /var/log/kannel/smsc.log
 log-level = 0
 speed = 9600

 #group = modems
 group = modems
 id = huawei_e1552
 name = Huawei E1552
 detect-string = huawei
 init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 message-storage = SM
 need-sleep = true
 speed = 9600

 # SENDSMS-USER
 group = sendsms-user
 default-smsc = default
 username = test
 password = test
 max-messages = 10
 concatenation = true
 #user-deny-ip = *.*.*.*
 #user-allow-ip = 127.0.0.1;192.168.18.168

 # SMS SERVICE 'default'
 group = sms-service
 keyword = cnps
 #la variable aliase est importante car elle permet de tenir compte des
 erreurs de frappes
 aliases = 'CNPS;Cnps;CNps'
 text = merci de faire confiance a la cnps
 omit-empty = true
 max-messages = 3
 get-url = 
 http://localhost/playsms/index.php?app=callcat=gatewayplugin=kannelaccess=geturlt=%tq=%qa=%aQ=%Q
 

 group = sms-service
 keyword = default
 text = Mauvaise syntaxe veuillez saisir le message en respectant la
 syntaxe définie


 and thas is url

 http://127.0.0.1:13131/cgi-bin/sendsms?username=test%C2%A7password=test%C2%A7to=0023794410781%C2%A7text=bonjour


--
 *De :* Tapan Kumar Thapa tapan.thapa2...@gmail.com
 *À :* Rodrigue Ango apim...@yahoo.fr
 *Envoyé le :* Vendredi 19 octobre 2012 10h27
 *Objet :* Re: help me

 Kindly share your kannel config as well as sendsms url which you are
 invoking..

 On Fri, Oct 19, 2012 at 2:54 PM, Rodrigue Ango apim...@yahoo.fr wrote:

 hello
 I'm new to kannel, I had to cross many obstacles but this morning I had
 two new ones. I receive messages but when I try to send I have an answer

Re: sms gateway help

2012-10-02 Thread Eric Beda
Hi,

As far as I know, kannel may be the best way for SMS data,,, but if your
thinking of video, voice, forms there is another opensource tool called
open data kit (ODK), its perfect for such but utilises 3G and/or GPRS.

Hope that helps

On Mon, Oct 1, 2012 at 4:28 PM, hala alramli doreme202...@yahoo.com wrote:

 i am a student and i am planning to develop data collect system as my
 final project ,that depend on GSM SMS ,voice message,video message,and
 emails as an input ,these data should be processed and the output should be
 summary charts and reports ,plus alert GSM sms and emails .
 i am confused a bout the hierarchy of the server,and what open source
 software i should chose,i searched a lot and found many choice to implement
 the system.
 Freeswitch referred to this page http://wiki.freeswitch.org/wiki/GSMopen
   http://wiki.freeswitch.org/wiki/GSMopen
 or asterisk and sms gateway http://www.ozekisms.com/index.php?owpn=319
  http://www.ozekisms.com/index.php?owpn=319
 or should i use kannel as sms gateway plus other communication server.
 could you please advice me or suggest other solutions ?
 thanks






sms gateway help

2012-10-01 Thread hala alramli
i am a student and i am planning to develop data collect system as my final 
project ,that depend on GSM SMS ,voice message,video message,and emails as an 
input ,these data should be processed and the output should be summary charts 
and reports ,plus alert GSM sms and emails .
i am confused a bout the hierarchy of the server,and what open source software 
i should chose,i searched a lot and found many choice to implement the system.
Freeswitch referred to this page
  http://wiki.freeswitch.org/wiki/GSMopen
or asterisk and sms gateway
 http://www.ozekisms.com/index.php?owpn=319
or should i use kannel as sms gateway plus other communication server.
could you please advice me or suggest other solutions ?
thanks

Re: help configuring smppbox addon

2012-09-12 Thread Natalia Spoon
Ok thank you kindly, just how can I configure it to connect to other SMSC, I 
couldn't find it in the userguide, these are my smppbox configurations + SMSCs:

# opensmppbox.conf
--

group = core
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13002
log-level = 0
log-file = opensmppbox.log
our-system-id = chim1
route-to-smsc = my-default-smsc
# see sample smpplogins.txt
smpp-logins = smpplogins.txt
# If you set usesmppbox-id, you must set use-systemid-as-smsboxid, too
# See documentation for details of this flag.
use-smppboxid = yes
use-systemid-as-smsboxid = yes
box-dlr-storage = mysql

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = root
password = password
database = kannel
# you can increase this upon a higher load
max-connections = 1

group = dlr-db
id = mydlr
table = smppbox_dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxcid
# this field is needed when use-smppboxid flag is used
#field-msg-id =id

# Rules to route MOs. Routing is based either on smsc id,
# shortcode or both.
group = client-route
client-id = myclient1
smsc-id = mysmsc1

group = client-route
client-id = myclient2
smsc-id = mysmsc2




SMSC im connected to:


#operator 1
group = smsc
smsc = smpp
smsc-id = operator1_tx
smsc-admin-id = operator1_tx
allowed-smsc-id = operator1_tx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
transceiver-mode = 0
system-id = operator1_tx
log-file = /var/log/kannel/operator1_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator1_rx
smsc-admin-id = operator1_rx
allowed-smsc-id = operator1_rx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
receive-port = 1024
transceiver-mode = 0
system-id = operator1_rx
log-file = /var/log/kannel/operator1_rx.log
log-level = 3


#operator 2

group = smsc
smsc = smpp
smsc-id = operator2_tx
smsc-admin-id = operator2_tx
allowed-smsc-id = operator2_tx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
transceiver-mode = 0
system-id = operator2_tx
log-file = /var/log/kannel/operator2_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator2_rx
smsc-admin-id = operator2_rx
allowed-smsc-id = operator2_rx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
receive-port = 1025
transceiver-mode = 0
system-id = operator2_rx
log-file = /var/log/kannel/operator2_rx.log
log-level = 3





Again, how can I configure smppbox to connect to each one of those(I know I 
need 2 smppboxes)? instead of bearerbox(which is connected to them now)? I 
think it's the smpplogins.txt is what I need to edit, just don't know how to 
configure it exactly?

Thanks for everything.




 From: Rene Kluwen rene.klu...@chimit.nl
To: 'Natalia Spoon' natalia.sp...@yahoo.com; 'users@kannel.org' 
us...@vm1.kannel.org 
Sent: Tuesday, September 11, 2012 11:04 PM
Subject: RE: help configuring smppbox addon
 

At this moment, opensmppbox only connects to 1 smsc at the time.
For multiple smsc’s you will need to start 2 opensmppbox instances. But no 
least cost or prefix or other routing is done.
 
To get in touch with companies providing services for kannel, you can post in 
commerc...@kannel.org.
 
== Rene
 
From:users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Natalia Spoon
Sent: Tuesday, 11 September, 2012 14:45
To: users@kannel.org
Subject: help configuring smppbox addon
 
Dear Team,

My company recently started using Kannel and We have it working fine, my 
question is regarding opensmppbx, It's connected to my bearerbox and working, 
but how can We configure it to connect to my operators' smsc? We can't find it 
in it's userguide, (please note We have 2 operators).
 
Another question, how can I get in touch with companies providing services for 
kannel? ranges from mostly configuring + maintenance to sometimes backend 
server developments...
 
Thank for your time.

RE: help configuring smppbox addon

2012-09-12 Thread Rene Kluwen
Change:

 

route-to-smsc = my-default-smsc



 

to

 

route-to-smsc = operator1_tx

 

From: Natalia Spoon [mailto:natalia.sp...@yahoo.com] 
Sent: Wednesday, 12 September, 2012 11:17
To: Rene Kluwen
Cc: users@kannel.org
Subject: Re: help configuring smppbox addon

 

Ok thank you kindly, just how can I configure it to connect to other SMSC, I 
couldn't find it in the userguide, these are my smppbox configurations + SMSCs:

 

# opensmppbox.conf

--

group = core
dlr-storage = mysql

# this group defines your opensmppbox
group = opensmppbox
# our boxc type
opensmppbox-id = smppbox1
# the port to listen on for smpp connections
opensmppbox-port = 2346
# we connect to the following host as a box
bearerbox-host = 127.0.0.1
bearerbox-port = 13002
log-level = 0
log-file = opensmppbox.log
our-system-id = chim1
route-to-smsc = my-default-smsc
# see sample smpplogins.txt
smpp-logins = smpplogins.txt
# If you set usesmppbox-id, you must set use-systemid-as-smsboxid, too
# See documentation for details of this flag.
use-smppboxid = yes
use-systemid-as-smsboxid = yes
box-dlr-storage = mysql

# the following is just standard dlr configuration

group = mysql-connection
id = mydlr
host = localhost
username = root
password = password
database = kannel
# you can increase this upon a higher load
max-connections = 1

group = dlr-db
id = mydlr
table = smppbox_dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxcid
# this field is needed when use-smppboxid flag is used
#field-msg-id =id

# Rules to route MOs. Routing is based either on smsc id,
# shortcode or both.
group = client-route
client-id = myclient1
smsc-id = mysmsc1

group = client-route
client-id = myclient2
smsc-id = mysmsc2




 

SMSC im connected to:

 

 

#operator 1
group = smsc
smsc = smpp
smsc-id = operator1_tx
smsc-admin-id = operator1_tx
allowed-smsc-id = operator1_tx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
transceiver-mode = 0
system-id = operator1_tx
log-file = /var/log/kannel/operator1_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator1_rx
smsc-admin-id = operator1_rx
allowed-smsc-id = operator1_rx
interface-version = 34
host = IP1
smsc-username = user1*
smsc-password = password1*
system-type = smpp
receive-port = 1024
transceiver-mode = 0
system-id = operator1_rx
log-file = /var/log/kannel/operator1_rx.log
log-level = 3


#operator 2

group = smsc
smsc = smpp
smsc-id = operator2_tx
smsc-admin-id = operator2_tx
allowed-smsc-id = operator2_tx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
transceiver-mode = 0
system-id = operator2_tx
log-file = /var/log/kannel/operator2_tx.log
log-level = 3

group = smsc
smsc = smpp
smsc-id = operator2_rx
smsc-admin-id = operator2_rx
allowed-smsc-id = operator2_rx
interface-version = 34
host = IP2
smsc-username = user2*
smsc-password = password2*
system-type = smpp
receive-port = 1025
transceiver-mode = 0
system-id = operator2_rx
log-file = /var/log/kannel/operator2_rx.log
log-level = 3

 



 

Again, how can I configure smppbox to connect to each one of those(I know I 
need 2 smppboxes)? instead of bearerbox(which is connected to them now)? I 
think it's the smpplogins.txt is what I need to edit, just don't know how to 
configure it exactly?

 

Thanks for everything.

 

  _  

From: Rene Kluwen rene.klu...@chimit.nl
To: 'Natalia Spoon' natalia.sp...@yahoo.com; 'users@kannel.org' 
us...@vm1.kannel.org 
Sent: Tuesday, September 11, 2012 11:04 PM
Subject: RE: help configuring smppbox addon





At this moment, opensmppbox only connects to 1 smsc at the time.

For multiple smsc’s you will need to start 2 opensmppbox instances. But no 
least cost or prefix or other routing is done.

 

To get in touch with companies providing services for kannel, you can post in 
commerc...@kannel.org.

 

== Rene

 

From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On 
Behalf Of Natalia Spoon
Sent: Tuesday, 11 September, 2012 14:45
To: users@kannel.org
Subject: help configuring smppbox addon

 

Dear Team,


My company recently started using Kannel and We have it working fine, my 
question is regarding opensmppbx, It's connected to my bearerbox and working, 
but how can We configure it to connect to my operators' smsc? We can't find it 
in it's

help configuring smppbox addon

2012-09-11 Thread Natalia Spoon
Dear Team,

My company recently started using Kannel and We have it working fine, my 
question is regarding opensmppbx, It's connected to my bearerbox and working, 
but how can We configure it to connect to my operators' smsc? We can't find it 
in it's userguide, (please note We have 2 operators).

Another question, how can I get in touch with companies providing services for 
kannel? ranges from mostly configuring + maintenance to sometimes backend 
server developments...

Thank for your time.


  1   2   3   4   5   6   7   8   9   10   >