I/O error or other error. Re-connecting

2015-03-27 Thread Ammar Ali
Hello Everyone,

I am getting this error when I'm connecting live SMSC connections with my
kannel.



*I/O error or other error. Re-connecting.*
This is the log:

2015-03-27 11:56:53 [5] [6] DEBUG: Connecting to ***.***.***.
2015-03-27 11:56:53 [5] [6] DEBUG: SMPP[smsc1]: Sending PDU:
2015-03-27 11:56:53 [5] [6] DEBUG: SMPP PDU 0x7fa1ea10 dump:
2015-03-27 11:56:53 [5] [6] DEBUG:   type_name: bind_transceiver
2015-03-27 11:56:53 [5] [6] DEBUG:   command_id: 9 = 0x0009
2015-03-27 11:56:53 [5] [6] DEBUG:   command_status: 0 = 0x
2015-03-27 11:56:53 [5] [6] DEBUG:   sequence_number: 1 = 0x0001
2015-03-27 11:56:53 [5] [6] DEBUG:   system_id: ***
2015-03-27 11:56:53 [5] [6] DEBUG:   password: ***
2015-03-27 11:56:53 [5] [6] DEBUG:   system_type: VMA
2015-03-27 11:56:53 [5] [6] DEBUG:   interface_version: 52 = 0x0034
2015-03-27 11:56:53 [5] [6] DEBUG:   addr_ton: 0 = 0x
2015-03-27 11:56:53 [5] [6] DEBUG:   addr_npi: 0 = 0x
2015-03-27 11:56:53 [5] [6] DEBUG:   address_range: ^$
2015-03-27 11:56:53 [5] [6] DEBUG: SMPP PDU dump ends.
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP[smsc1]: Got PDU:
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP PDU 0x7fa1ea10 dump:
2015-03-27 11:56:54 [5] [6] DEBUG:   type_name: bind_transceiver_resp
2015-03-27 11:56:54 [5] [6] DEBUG:   command_id: 2147483657 = 0x8009
2015-03-27 11:56:54 [5] [6] DEBUG:   command_status: 0 = 0x
2015-03-27 11:56:54 [5] [6] DEBUG:   sequence_number: 1 = 0x0001
2015-03-27 11:56:54 [5] [6] DEBUG:   system_id: BULKTRANS
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP PDU dump ends.
2015-03-27 11:56:54 [5] [6] DEBUG: SMPP[smsc1]: throughput
(0.00,1000.00)
2015-03-27 12:02:00 [5] [6] DEBUG: SMPP[smsc1]: throughput
(0.00,1000.00)
2015-03-27 12:02:00 [5] [6] ERROR: SMPP[smsc1]: I/O error or other
error. Re-connecting.
2015-03-27 12:02:00 [5] [6] ERROR: SMPP[smsc1]: Couldn't connect to SMS
center (retrying in 0 seconds).


And this is my Kannel configuration:

#-
# THIS IS A CONFIGURATION FOR KANNEL
#-
#  Single Group CORE
#-

group = core
admin-port = 15000
admin-port-ssl=no
admin-password = **
status-password = **
admin-deny-ip=*.*.*.*
admin-allow-ip=*.*.*.*
smsbox-interface =127.0.0.1
smsbox-port = 15001
#smsbox-port-ssl=no
log-file = mykannel.log
log-level = 0
access-log = myaccess.access
dlr-storage = internal
sms-incoming-queue-limit = -1
sms-outgoing-queue-limit = 100
smsbox-max-pending = 100
sms-resend-freq = 60
sms-resend-retry = -1

#-
#  Single Group smsbox
#-

group = smsbox
smsbox-id = smsbox
bearerbox-host = 127.0.0.1
bearerbox-port = 15001
sendsms-port = 15010
log-file = mysmsbox1.log
log-level = 0
access-log=smsaccess1.access
sendsms-chars = 0123456789+ 
#max-pending-requests = 512
#sendsms-url=/cgi-bin/sendsms
#global-sender = 123456
#ms-length = 140
#http-request-retry=5
mo-recode='1'

#-
#  Multi Group SMSC
#-

group = smsc
smsc = smpp
smsc-id = smsc1
log-file = mysmsc1.log
log-level = 0
host = ***.***.***.***
port = *
#receive-port=2776
smsc-username = ***
smsc-password = **
denied-smsc-id = smsc2
allowed-smsc-id = smsc1
preferred-smsc-id = smsc1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
service-type = CMT
validityperiod = 600
system-type = VMA
alt-charset=us-ascii
#alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
#alt-addr-charset = GSM
address-range = ^$
bind-addr-ton = 0
bind-addr-npi = 0
enquire-link-interval = 20
reconnect-delay = 0
transceiver-mode = true
interface-version = 34
connection-timeout = 0
throughput = 1000.00
max-pending-submits=10
#reroute=true
#reroute-smsc-id=smsc1
reroute-dlr=true

#---

group = smsc
smsc = smpp
smsc-id = smsc2
log-file = mysmsc2.log
log-level = 0
host = ***.***.***.***
port = 
#receive-port=2776
smsc-username = *
smsc-password = *
denied-smsc-id = smsc1
allowed-smsc-id = smsc2
preferred-smsc-id = smsc2
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
service-type = CMT
validityperiod = 600
system-type = VMA
alt-charset=us-ascii
#alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
#alt-addr-charset = GSM
address-range = ^$
bind-addr-ton = 0
bind-addr-npi = 0
enquire-link-interval = 20
reconnect-delay = 0
transceiver-mode = true
interface-version = 34
connection-timeout = 0
throughput = 1000.00
max-pending-submits=10
#reroute=true
#reroute-smsc-id=smsc2
reroute-dlr=true


Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread Ammar Ali
Hello Everyone,

When I'm sending unicode message from my interface then it is not delivered
properly on cell phones. Only ? got.

I'm using sqlbox for message pushing. When I'm inserting sms into send_sms
table then I'm also inserting the value of coding parameter (*coding=2*)
and charset parameter (*charset=UTF-8*).


This is my whole configuration:

#-
# THIS IS A CONFIGURATION FOR KANNEL
#-
#  Single Group CORE
#-

group = core
admin-port = 15000
admin-port-ssl=no
admin-password = **
status-password = **
admin-deny-ip=*.*.*.*
admin-allow-ip=*.*.*.*
smsbox-interface =127.0.0.1
smsbox-port = 15001
#smsbox-port-ssl=no
log-file = mykannel.log
log-level = 0
access-log = myaccess.access
dlr-storage = internal
sms-incoming-queue-limit = -1
sms-outgoing-queue-limit = 100
smsbox-max-pending = 100
sms-resend-freq = 60
sms-resend-retry = -1

#-
#  Single Group smsbox
#-

group = smsbox
smsbox-id = smsbox
bearerbox-host = 127.0.0.1
bearerbox-port = 15001
sendsms-port = 15010
log-file = mysmsbox1.log
log-level = 0
access-log=smsaccess1.access
sendsms-chars = 0123456789+ 
#max-pending-requests = 512
#sendsms-url=/cgi-bin/sendsms
#global-sender = 123456
#ms-length = 140
#http-request-retry=5
mo-recode='1'

#-
#  Multi Group SMSC
#-

group = smsc
smsc = smpp
smsc-id = smsc1
log-file = mysmsc1.log
log-level = 0
host = ***.***.***.***
port = *
#receive-port=2776
smsc-username = ***
smsc-password = **
denied-smsc-id = smsc2
allowed-smsc-id = smsc1
preferred-smsc-id = smsc1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
service-type = CMT
validityperiod = 600
system-type = VMA
alt-charset=us-ascii
#alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
#alt-addr-charset = GSM
address-range = ^$
bind-addr-ton = 0
bind-addr-npi = 0
enquire-link-interval = 20
reconnect-delay = 0
transceiver-mode = true
interface-version = 34
connection-timeout = 0
throughput = 1000.00
max-pending-submits=10
#reroute=true
#reroute-smsc-id=smsc1
reroute-dlr=true

#---

group = smsc
smsc = smpp
smsc-id = smsc2
log-file = mysmsc2.log
log-level = 0
host = ***.***.***.***
port = 
#receive-port=2776
smsc-username = *
smsc-password = *
denied-smsc-id = smsc1
allowed-smsc-id = smsc2
preferred-smsc-id = smsc2
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
service-type = CMT
validityperiod = 600
system-type = VMA
alt-charset=us-ascii
#alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
#alt-addr-charset = GSM
address-range = ^$
bind-addr-ton = 0
bind-addr-npi = 0
enquire-link-interval = 20
reconnect-delay = 0
transceiver-mode = true
interface-version = 34
connection-timeout = 0
throughput = 1000.00
max-pending-submits=10
#reroute=true
#reroute-smsc-id=smsc2
reroute-dlr=true

#-
#  Multi Group smsbox-route
#-

group = smsbox-route
smsbox-id = smsbox
smsc-id = smsc1

group = smsbox-route
smsbox-id = smsbox
smsc-id = smsc2

#-
# Multi Group sms-service
# There should be always a 'default' service.
# This service is used when no other 'sms-service' is applied.
#-

group = sms-service
keyword = default
text = No service specified
accept-x-kannel-headers = true
#max-messages = 3
concatenation = true
catch-all = true

#-
#  Multi Group sendsms-user
#-

group = sendsms-user
name = sendsmsuser1
username = tester1
password = tester1
forced-smsc = smsc1
#default-smsc= smsc1
#user-allow-ip=*.*.*.*
max-messages=10

group = sendsms-user
name = sendsmsuser2
username = tester2
password = tester2
forced-smsc = smsc2
#default-smsc= smsc2
user-allow-ip=*.*.*.*
max-messages=10

#-



Please resolve my problem as soon as possible.


Thanks
Ammar Ali


RE: sms-service group is mandatory ??

2015-03-27 Thread Ajay Patel
Can anyone help me for below !!!

 

Thanks  Regards,

Ajay Patel

 

From: Ajay Patel [mailto:ajay.pa...@elitecore.com] 
Sent: Wednesday, March 18, 2015 6:18 PM
To: 'users@kannel.org'
Subject: sms-service group is mandatory ??

 

Hi All,

 

I have read many places that there should be 1 default sms-service group
required even if you are configured kannel to sending message only.

Can anyone let me know why so ?

 

one of my env. I have received below message. Can anyone tell me what is the
significance of this message.

Is it because of I have not specified any sms-service group ??

 

2015-03-17 10:22:25 [30924] [4] WARNING: No translation found for QN from
+xxx to 613

2015-03-17 10:22:25 [30924] [4] ERROR: request failed

 

Thanks,

Ajay Patel

 



Fwd: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread Ammar Ali
Hello Everyone,

When I'm sending UNICODE message through URL like:

http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

It has been receive correctly. But I'm using SQLBox then it has not been
delivered properly.


So please check my Kannel configuration and logs. Where is the exact
problem.


Thanks in advance.


Thanks  Regards
Ammar Ali





-- Forwarded message --
From: Ammar Ali ammarali3...@gmail.com
Date: Fri, Mar 27, 2015 at 12:27 PM
Subject: Unicode Message is not Delivered properly on cell phones
To: users@kannel.org users@kannel.org
Cc: Ammar Ali ammarali3...@gmail.com


Hello Everyone,

When I'm sending unicode message from my interface then it is not delivered
properly on cell phones. Only ? got.

I'm using sqlbox for message pushing. When I'm inserting sms into send_sms
table then I'm also inserting the value of coding parameter (*coding=2*)
and charset parameter (*charset=UTF-8*).


This is my whole configuration:

#-
# THIS IS A CONFIGURATION FOR KANNEL
#-
#  Single Group CORE
#-

group = core
admin-port = 15000
admin-port-ssl=no
admin-password = **
status-password = **
admin-deny-ip=*.*.*.*
admin-allow-ip=*.*.*.*
smsbox-interface =127.0.0.1
smsbox-port = 15001
#smsbox-port-ssl=no
log-file = mykannel.log
log-level = 0
access-log = myaccess.access
dlr-storage = internal
sms-incoming-queue-limit = -1
sms-outgoing-queue-limit = 100
smsbox-max-pending = 100
sms-resend-freq = 60
sms-resend-retry = -1

#-
#  Single Group smsbox
#-

group = smsbox
smsbox-id = smsbox
bearerbox-host = 127.0.0.1
bearerbox-port = 15001
sendsms-port = 15010
log-file = mysmsbox1.log
log-level = 0
access-log=smsaccess1.access
sendsms-chars = 0123456789+ 
#max-pending-requests = 512
#sendsms-url=/cgi-bin/sendsms
#global-sender = 123456
#ms-length = 140
#http-request-retry=5
mo-recode='1'

#-
#  Multi Group SMSC
#-

group = smsc
smsc = smpp
smsc-id = smsc1
log-file = mysmsc1.log
log-level = 0
host = ***.***.***.***
port = *
#receive-port=2776
smsc-username = ***
smsc-password = **
denied-smsc-id = smsc2
allowed-smsc-id = smsc1
preferred-smsc-id = smsc1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
service-type = CMT
validityperiod = 600
system-type = VMA
alt-charset=us-ascii
#alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
#alt-addr-charset = GSM
address-range = ^$
bind-addr-ton = 0
bind-addr-npi = 0
enquire-link-interval = 20
reconnect-delay = 0
transceiver-mode = true
interface-version = 34
connection-timeout = 0
throughput = 1000.00
max-pending-submits=10
#reroute=true
#reroute-smsc-id=smsc1
reroute-dlr=true

#---

group = smsc
smsc = smpp
smsc-id = smsc2
log-file = mysmsc2.log
log-level = 0
host = ***.***.***.***
port = 
#receive-port=2776
smsc-username = *
smsc-password = *
denied-smsc-id = smsc1
allowed-smsc-id = smsc2
preferred-smsc-id = smsc2
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
service-type = CMT
validityperiod = 600
system-type = VMA
alt-charset=us-ascii
#alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
#alt-addr-charset = GSM
address-range = ^$
bind-addr-ton = 0
bind-addr-npi = 0
enquire-link-interval = 20
reconnect-delay = 0
transceiver-mode = true
interface-version = 34
connection-timeout = 0
throughput = 1000.00
max-pending-submits=10
#reroute=true
#reroute-smsc-id=smsc2
reroute-dlr=true

#-
#  Multi Group smsbox-route
#-

group = smsbox-route
smsbox-id = smsbox
smsc-id = smsc1

group = smsbox-route
smsbox-id = smsbox
smsc-id = smsc2

#-
# Multi Group sms-service
# There should be always a 'default' service.
# This service is used when no other 'sms-service' is applied.
#-

group = sms-service
keyword = default
text = No service specified
accept-x-kannel-headers = true
#max-messages = 3
concatenation = true
catch-all = true

#-
#  Multi Group sendsms-user
#-

group = sendsms-user
name = sendsmsuser1
username = tester1
password = tester1
forced-smsc = smsc1
#default-smsc= smsc1
#user-allow-ip=*.*.*.*
max-messages=10

group = sendsms-user
name = sendsmsuser2
username = tester2
password = tester2
forced-smsc 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread spameden
2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not been
 delivered properly.


Make sure when you insert into database text source encoding is UTF-8 and
text is urlencoded. Also there was some bug with builds posted on kannel.org
site (specifically kannel-1.5.0 dev build), so make sure to use latest
kannel version 1.4.4 or better build from SVN (which contains all the
latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the exact
 problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into send_sms
 table then I'm also inserting the value of coding parameter (*coding=2*)
 and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 15001
 sendsms-port = 15010
 log-file = mysmsbox1.log
 log-level = 0
 access-log=smsaccess1.access
 sendsms-chars = 0123456789+ 
 #max-pending-requests = 512
 #sendsms-url=/cgi-bin/sendsms
 #global-sender = 123456
 #ms-length = 140
 #http-request-retry=5
 mo-recode='1'

 #-
 #  Multi Group SMSC
 #-

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = *
 #receive-port=2776
 smsc-username = ***
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-charset =
 ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
 #alt-addr-charset = GSM
 address-range = ^$
 bind-addr-ton = 0
 bind-addr-npi = 0
 enquire-link-interval = 20
 reconnect-delay = 0
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 0
 throughput = 1000.00
 max-pending-submits=10
 #reroute=true
 #reroute-smsc-id=smsc1
 reroute-dlr=true

 #---

 group = smsc
 smsc = smpp
 smsc-id = smsc2
 log-file = mysmsc2.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=2776
 smsc-username = *
 smsc-password = *
 denied-smsc-id = smsc1
 allowed-smsc-id = smsc2
 preferred-smsc-id = smsc2
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-charset =
 ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
 #alt-addr-charset = GSM
 address-range = ^$
 bind-addr-ton = 0
 bind-addr-npi = 0
 enquire-link-interval = 20
 reconnect-delay = 0
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 0
 throughput = 1000.00
 max-pending-submits=10
 #reroute=true
 #reroute-smsc-id=smsc2
 reroute-dlr=true

 #-
 #  Multi Group smsbox-route
 #-

 group = smsbox-route
 smsbox-id = smsbox
 smsc-id = smsc1

 group = smsbox-route
 smsbox-id = smsbox
 smsc-id = smsc2

 #-
 # Multi Group sms-service
 # There should be always a 'default' service.
 # This service is used when no other 'sms-service' is applied.
 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread Ammar Ali
Hello Spameden,

Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting this
values in sqlbox_send_sms table:










*momt=MTsender=123456receiver=9123456msgdata=unicode
messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
*charset=utf-8*
I notice one thing, when I'm inserting unicode message into sqlbox_send_sms
table then stored correct sms in this table. But this table forward to
kannel queue. It convert into codes, So message has not been received
properly. Only ? sign.


Please resolve this issue as soon as possible.

Thanks
Ammar Ali














On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not been
 delivered properly.


 Make sure when you insert into database text source encoding is UTF-8 and
 text is urlencoded. Also there was some bug with builds posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make sure to
 use latest kannel version 1.4.4 or better build from SVN (which contains
 all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the exact
 problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 15001
 sendsms-port = 15010
 log-file = mysmsbox1.log
 log-level = 0
 access-log=smsaccess1.access
 sendsms-chars = 0123456789+ 
 #max-pending-requests = 512
 #sendsms-url=/cgi-bin/sendsms
 #global-sender = 123456
 #ms-length = 140
 #http-request-retry=5
 mo-recode='1'

 #-
 #  Multi Group SMSC
 #-

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = *
 #receive-port=2776
 smsc-username = ***
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-charset =
 ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
 #alt-addr-charset = GSM
 address-range = ^$
 bind-addr-ton = 0
 bind-addr-npi = 0
 enquire-link-interval = 20
 reconnect-delay = 0
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 0
 throughput = 1000.00
 max-pending-submits=10
 #reroute=true
 #reroute-smsc-id=smsc1
 reroute-dlr=true

 #---

 group = smsc
 smsc = smpp
 smsc-id = smsc2
 log-file = mysmsc2.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=2776
 smsc-username = *
 smsc-password = *
 denied-smsc-id = smsc1
 allowed-smsc-id = smsc2
 preferred-smsc-id = smsc2
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-charset =
 ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
 #alt-addr-charset = GSM
 address-range = ^$
 bind-addr-ton = 0
 bind-addr-npi = 0
 enquire-link-interval = 20
 reconnect-delay 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread Ammar Ali
I also use this urlencode function for encoding but not getting proper
message on cell phone.

On Fri, Mar 27, 2015 at 6:49 PM, spameden spame...@gmail.com wrote:

 msgdata needs to be urlencoded, you can use urlencode() php function to do
 this.

 2015-03-27 16:04 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting this
 values in sqlbox_send_sms table:










 *momt=MTsender=123456receiver=9123456msgdata=unicode
 messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
 *charset=utf-8*
 I notice one thing, when I'm inserting unicode message into
 sqlbox_send_sms table then stored correct sms in this table. But this table
 forward to kannel queue. It convert into codes, So message has not been
 received properly. Only ? sign.


 Please resolve this issue as soon as possible.

 Thanks
 Ammar Ali














 On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not
 been delivered properly.


 Make sure when you insert into database text source encoding is UTF-8
 and text is urlencoded. Also there was some bug with builds posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make sure to
 use latest kannel version 1.4.4 or better build from SVN (which contains
 all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the exact
 problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 15001
 sendsms-port = 15010
 log-file = mysmsbox1.log
 log-level = 0
 access-log=smsaccess1.access
 sendsms-chars = 0123456789+ 
 #max-pending-requests = 512
 #sendsms-url=/cgi-bin/sendsms
 #global-sender = 123456
 #ms-length = 140
 #http-request-retry=5
 mo-recode='1'

 #-
 #  Multi Group SMSC
 #-

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = *
 #receive-port=2776
 smsc-username = ***
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-charset =
 ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
 #alt-addr-charset = GSM
 address-range = ^$
 bind-addr-ton = 0
 bind-addr-npi = 0
 enquire-link-interval = 20
 reconnect-delay = 0
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 0
 throughput = 1000.00
 max-pending-submits=10
 #reroute=true
 #reroute-smsc-id=smsc1
 reroute-dlr=true

 #---

 group = smsc
 smsc = smpp
 smsc-id = smsc2
 log-file = mysmsc2.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=2776
 smsc-username = *
 smsc-password = *
 denied-smsc-id = smsc1
 allowed-smsc-id = smsc2
 preferred-smsc-id = smsc2
 source-addr-ton = 0
 source-addr-npi = 1
 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread spameden
msgdata needs to be urlencoded, you can use urlencode() php function to do
this.

2015-03-27 16:04 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting this
 values in sqlbox_send_sms table:










 *momt=MTsender=123456receiver=9123456msgdata=unicode
 messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
 *charset=utf-8*
 I notice one thing, when I'm inserting unicode message into
 sqlbox_send_sms table then stored correct sms in this table. But this table
 forward to kannel queue. It convert into codes, So message has not been
 received properly. Only ? sign.


 Please resolve this issue as soon as possible.

 Thanks
 Ammar Ali














 On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not been
 delivered properly.


 Make sure when you insert into database text source encoding is UTF-8 and
 text is urlencoded. Also there was some bug with builds posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make sure to
 use latest kannel version 1.4.4 or better build from SVN (which contains
 all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the exact
 problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 15001
 sendsms-port = 15010
 log-file = mysmsbox1.log
 log-level = 0
 access-log=smsaccess1.access
 sendsms-chars = 0123456789+ 
 #max-pending-requests = 512
 #sendsms-url=/cgi-bin/sendsms
 #global-sender = 123456
 #ms-length = 140
 #http-request-retry=5
 mo-recode='1'

 #-
 #  Multi Group SMSC
 #-

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = *
 #receive-port=2776
 smsc-username = ***
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-charset =
 ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE
 #alt-addr-charset = GSM
 address-range = ^$
 bind-addr-ton = 0
 bind-addr-npi = 0
 enquire-link-interval = 20
 reconnect-delay = 0
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 0
 throughput = 1000.00
 max-pending-submits=10
 #reroute=true
 #reroute-smsc-id=smsc1
 reroute-dlr=true

 #---

 group = smsc
 smsc = smpp
 smsc-id = smsc2
 log-file = mysmsc2.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=2776
 smsc-username = *
 smsc-password = *
 denied-smsc-id = smsc1
 allowed-smsc-id = smsc2
 preferred-smsc-id = smsc2
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-charset =
 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread Ammar Ali
Hello Spameden,

I have one more issue regarding smsc connection to the kannel. My smsc
connections are going on reconnection mode again and again.

This is my SMSC configuration in kannel

group = smsc
smsc = smpp
smsc-id = smsc1
log-file = mysmsc1.log
log-level = 0
host = ***.***.***.***
port = 
#receive-port=
smsc-username = **
smsc-password = **
denied-smsc-id = smsc2
allowed-smsc-id = smsc1
preferred-smsc-id = smsc1
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
service-type = CMT
#validityperiod = 600
system-type = VMA
alt-charset=us-ascii
#alt-addr-charset = GSM
#address-range = ^$
#bind-addr-ton = 0
#bind-addr-npi = 0
enquire-link-interval = 120
reconnect-delay = 120
transceiver-mode = true
interface-version = 34
connection-timeout = 120
throughput = 100




On Fri, Mar 27, 2015 at 6:59 PM, Ammar Ali ammarali3...@gmail.com wrote:

 I also use this urlencode function for encoding but not getting proper
 message on cell phone.

 On Fri, Mar 27, 2015 at 6:49 PM, spameden spame...@gmail.com wrote:

 msgdata needs to be urlencoded, you can use urlencode() php function to
 do this.

 2015-03-27 16:04 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting this
 values in sqlbox_send_sms table:










 *momt=MTsender=123456receiver=9123456msgdata=unicode
 messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
 *charset=utf-8*
 I notice one thing, when I'm inserting unicode message into
 sqlbox_send_sms table then stored correct sms in this table. But this table
 forward to kannel queue. It convert into codes, So message has not been
 received properly. Only ? sign.


 Please resolve this issue as soon as possible.

 Thanks
 Ammar Ali














 On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not
 been delivered properly.


 Make sure when you insert into database text source encoding is UTF-8
 and text is urlencoded. Also there was some bug with builds posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make sure to
 use latest kannel version 1.4.4 or better build from SVN (which contains
 all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the exact
 problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 15001
 sendsms-port = 15010
 log-file = mysmsbox1.log
 log-level = 0
 access-log=smsaccess1.access
 sendsms-chars = 0123456789+ 
 #max-pending-requests = 512
 #sendsms-url=/cgi-bin/sendsms
 #global-sender = 123456
 #ms-length = 140
 #http-request-retry=5
 mo-recode='1'

 #-
 #  Multi Group SMSC
 #-

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = *
 #receive-port=2776
 smsc-username = ***
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 

dlr-url information

2015-03-27 Thread Nestor DuraƱona

Hi
I'm new in kannel, and I want to know how can I gather all the 
information of the delivery report when I send a message from kannel to 
a cell phone.

I want to save that information in a database.

Thanks.



Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread spameden
2015-03-27 16:31 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 I have one more issue regarding smsc connection to the kannel. My smsc
 connections are going on reconnection mode again and again.


Most likely you have either a network issue or problem with upstream SMSC,
contact your upstream SMSC provider for details.


 This is my SMSC configuration in kannel

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=
 smsc-username = **
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 #validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-addr-charset = GSM
 #address-range = ^$
 #bind-addr-ton = 0
 #bind-addr-npi = 0
 enquire-link-interval = 120
 reconnect-delay = 120
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 120
 throughput = 100




 On Fri, Mar 27, 2015 at 6:59 PM, Ammar Ali ammarali3...@gmail.com wrote:

 I also use this urlencode function for encoding but not getting proper
 message on cell phone.

 On Fri, Mar 27, 2015 at 6:49 PM, spameden spame...@gmail.com wrote:

 msgdata needs to be urlencoded, you can use urlencode() php function to
 do this.

 2015-03-27 16:04 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting this
 values in sqlbox_send_sms table:










 *momt=MTsender=123456receiver=9123456msgdata=unicode
 messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
 *charset=utf-8*
 I notice one thing, when I'm inserting unicode message into
 sqlbox_send_sms table then stored correct sms in this table. But this table
 forward to kannel queue. It convert into codes, So message has not been
 received properly. Only ? sign.


 Please resolve this issue as soon as possible.

 Thanks
 Ammar Ali














 On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not
 been delivered properly.


 Make sure when you insert into database text source encoding is UTF-8
 and text is urlencoded. Also there was some bug with builds posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make sure
 to use latest kannel version 1.4.4 or better build from SVN (which 
 contains
 all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the exact
 problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 15001
 sendsms-port = 15010
 log-file = mysmsbox1.log
 log-level = 0
 access-log=smsaccess1.access
 sendsms-chars = 0123456789+ 
 #max-pending-requests = 512
 #sendsms-url=/cgi-bin/sendsms
 #global-sender = 123456
 #ms-length = 140
 #http-request-retry=5
 mo-recode='1'

 #-
 #  Multi Group SMSC
 #-

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread Ammar Ali
Hello Spameden,


This will be valid value for alt-charset in SMSC group in kannel
configuration

alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE



Thanks
Ammar Ali



On Fri, Mar 27, 2015 at 8:00 PM, spameden spame...@gmail.com wrote:



 2015-03-27 16:31 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 I have one more issue regarding smsc connection to the kannel. My smsc
 connections are going on reconnection mode again and again.


 Most likely you have either a network issue or problem with upstream SMSC,
 contact your upstream SMSC provider for details.


 This is my SMSC configuration in kannel

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=
 smsc-username = **
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 #validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-addr-charset = GSM
 #address-range = ^$
 #bind-addr-ton = 0
 #bind-addr-npi = 0
 enquire-link-interval = 120
 reconnect-delay = 120
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 120
 throughput = 100




 On Fri, Mar 27, 2015 at 6:59 PM, Ammar Ali ammarali3...@gmail.com
 wrote:

 I also use this urlencode function for encoding but not getting proper
 message on cell phone.

 On Fri, Mar 27, 2015 at 6:49 PM, spameden spame...@gmail.com wrote:

 msgdata needs to be urlencoded, you can use urlencode() php function to
 do this.

 2015-03-27 16:04 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting this
 values in sqlbox_send_sms table:










 *momt=MTsender=123456receiver=9123456msgdata=unicode
 messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
 *charset=utf-8*
 I notice one thing, when I'm inserting unicode message into
 sqlbox_send_sms table then stored correct sms in this table. But this 
 table
 forward to kannel queue. It convert into codes, So message has not been
 received properly. Only ? sign.


 Please resolve this issue as soon as possible.

 Thanks
 Ammar Ali














 On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not
 been delivered properly.


 Make sure when you insert into database text source encoding is UTF-8
 and text is urlencoded. Also there was some bug with builds posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make sure
 to use latest kannel version 1.4.4 or better build from SVN (which 
 contains
 all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the exact
 problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 15001
 sendsms-port = 15010
 log-file = mysmsbox1.log
 log-level = 0
 access-log=smsaccess1.access
 sendsms-chars = 0123456789+ 
 #max-pending-requests = 512
 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread spameden
Try using charset=utf8 and coding=2 it should work.

No need to specify alt-charset in the kannel's configuration.

2015-03-27 17:39 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,


 This will be valid value for alt-charset in SMSC group in kannel
 configuration

 alt-charset = ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE



 Thanks
 Ammar Ali



 On Fri, Mar 27, 2015 at 8:00 PM, spameden spame...@gmail.com wrote:



 2015-03-27 16:31 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 I have one more issue regarding smsc connection to the kannel. My smsc
 connections are going on reconnection mode again and again.


 Most likely you have either a network issue or problem with upstream
 SMSC, contact your upstream SMSC provider for details.


 This is my SMSC configuration in kannel

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=
 smsc-username = **
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 #validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-addr-charset = GSM
 #address-range = ^$
 #bind-addr-ton = 0
 #bind-addr-npi = 0
 enquire-link-interval = 120
 reconnect-delay = 120
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 120
 throughput = 100




 On Fri, Mar 27, 2015 at 6:59 PM, Ammar Ali ammarali3...@gmail.com
 wrote:

 I also use this urlencode function for encoding but not getting proper
 message on cell phone.

 On Fri, Mar 27, 2015 at 6:49 PM, spameden spame...@gmail.com wrote:

 msgdata needs to be urlencoded, you can use urlencode() php function
 to do this.

 2015-03-27 16:04 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting
 this values in sqlbox_send_sms table:










 *momt=MTsender=123456receiver=9123456msgdata=unicode
 messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
 *charset=utf-8*
 I notice one thing, when I'm inserting unicode message into
 sqlbox_send_sms table then stored correct sms in this table. But this 
 table
 forward to kannel queue. It convert into codes, So message has not been
 received properly. Only ? sign.


 Please resolve this issue as soon as possible.

 Thanks
 Ammar Ali














 On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has not
 been delivered properly.


 Make sure when you insert into database text source encoding is
 UTF-8 and text is urlencoded. Also there was some bug with builds 
 posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make sure
 to use latest kannel version 1.4.4 or better build from SVN (which 
 contains
 all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the
 exact problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001
 #smsbox-port-ssl=no
 log-file = mykannel.log
 log-level = 0
 access-log = myaccess.access
 dlr-storage = internal
 sms-incoming-queue-limit = -1
 sms-outgoing-queue-limit = 100
 smsbox-max-pending = 100
 sms-resend-freq = 60
 sms-resend-retry = -1

 #-
 #  Single Group smsbox
 #-

 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 

Re: Unicode Message is not Delivered properly on cell phones

2015-03-27 Thread Ammar Ali
Hello Spameden,

I have checked my code as well as mysql data. Everything is fine because in
sqlbox insert table 'send_sms' msgdata has been inserted with urlencoded
properly. Because I have urldecode this msgdata, It gives me correct
message that I have inserted into mysql send_sms table.


So, Please give me some valuable guidance what to do.


Thanks
Ammar Ali





On Fri, Mar 27, 2015 at 8:59 PM, spameden spame...@gmail.com wrote:

 Try using charset=utf8 and coding=2 it should work.

 No need to specify alt-charset in the kannel's configuration.

 2015-03-27 17:39 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,


 This will be valid value for alt-charset in SMSC group in kannel
 configuration

 alt-charset =
 ASCII;windows-1252;UTF-8;ISO-8859-1;ISO-8859-7;GSM;UTF-16BE



 Thanks
 Ammar Ali



 On Fri, Mar 27, 2015 at 8:00 PM, spameden spame...@gmail.com wrote:



 2015-03-27 16:31 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 I have one more issue regarding smsc connection to the kannel. My smsc
 connections are going on reconnection mode again and again.


 Most likely you have either a network issue or problem with upstream
 SMSC, contact your upstream SMSC provider for details.


 This is my SMSC configuration in kannel

 group = smsc
 smsc = smpp
 smsc-id = smsc1
 log-file = mysmsc1.log
 log-level = 0
 host = ***.***.***.***
 port = 
 #receive-port=
 smsc-username = **
 smsc-password = **
 denied-smsc-id = smsc2
 allowed-smsc-id = smsc1
 preferred-smsc-id = smsc1
 source-addr-ton = 0
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 service-type = CMT
 #validityperiod = 600
 system-type = VMA
 alt-charset=us-ascii
 #alt-addr-charset = GSM
 #address-range = ^$
 #bind-addr-ton = 0
 #bind-addr-npi = 0
 enquire-link-interval = 120
 reconnect-delay = 120
 transceiver-mode = true
 interface-version = 34
 connection-timeout = 120
 throughput = 100




 On Fri, Mar 27, 2015 at 6:59 PM, Ammar Ali ammarali3...@gmail.com
 wrote:

 I also use this urlencode function for encoding but not getting proper
 message on cell phone.

 On Fri, Mar 27, 2015 at 6:49 PM, spameden spame...@gmail.com wrote:

 msgdata needs to be urlencoded, you can use urlencode() php function
 to do this.

 2015-03-27 16:04 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Spameden,

 Yes, I'm currently use latest Kannel Version 1.4.4. I'm inserting
 this values in sqlbox_send_sms table:










 *momt=MTsender=123456receiver=9123456msgdata=unicode
 messagesmsc_id=smsc1sms_type=2coding=2dlr_mask=31alt_dcs=1*
 *charset=utf-8*
 I notice one thing, when I'm inserting unicode message into
 sqlbox_send_sms table then stored correct sms in this table. But this 
 table
 forward to kannel queue. It convert into codes, So message has not been
 received properly. Only ? sign.


 Please resolve this issue as soon as possible.

 Thanks
 Ammar Ali














 On Fri, Mar 27, 2015 at 5:10 PM, spameden spame...@gmail.com
 wrote:



 2015-03-27 13:52 GMT+03:00 Ammar Ali ammarali3...@gmail.com:

 Hello Everyone,

 When I'm sending UNICODE message through URL like:


 http://192.168.1.1:15010/cgi-bin/sendsms?username=tester2password=tester2to=9039238251text=%E0%A4%AF%E0%A4%B9%20%E0%A4%B8%E0%A4%A8%E0%A5%8D%E0%A4%A6%E0%A5%87%E0%A4%B6%20%E0%A4%B9%E0%A5%88from=454545coding=2charset=utf-8

 It has been receive correctly. But I'm using SQLBox then it has
 not been delivered properly.


 Make sure when you insert into database text source encoding is
 UTF-8 and text is urlencoded. Also there was some bug with builds 
 posted on
 kannel.org site (specifically kannel-1.5.0 dev build), so make
 sure to use latest kannel version 1.4.4 or better build from SVN (which
 contains all the latest fixes and considered as stable).



 So please check my Kannel configuration and logs. Where is the
 exact problem.


 Thanks in advance.


 Thanks  Regards
 Ammar Ali





 -- Forwarded message --
 From: Ammar Ali ammarali3...@gmail.com
 Date: Fri, Mar 27, 2015 at 12:27 PM
 Subject: Unicode Message is not Delivered properly on cell phones
 To: users@kannel.org users@kannel.org
 Cc: Ammar Ali ammarali3...@gmail.com


 Hello Everyone,

 When I'm sending unicode message from my interface then it is not
 delivered properly on cell phones. Only ? got.

 I'm using sqlbox for message pushing. When I'm inserting sms into
 send_sms table then I'm also inserting the value of coding parameter (
 *coding=2*) and charset parameter (*charset=UTF-8*).


 This is my whole configuration:

 #-
 # THIS IS A CONFIGURATION FOR KANNEL
 #-
 #  Single Group CORE
 #-

 group = core
 admin-port = 15000
 admin-port-ssl=no
 admin-password = **
 status-password = **
 admin-deny-ip=*.*.*.*
 admin-allow-ip=*.*.*.*
 smsbox-interface =127.0.0.1
 smsbox-port = 15001