FW: Problem with DLRs in stable version 1.2.1??

"VERGOUWEN Thomas FTRD/DMR/ISS" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <D9539A20520CAB47A79307BC1637116D62CDE9@lanmhs50.rd.francetelecom.fr>
> Hello,
> 
> Recently I installed Kannel stable version 1.2.1 on a new server connected to our SMSC for test purposes. Sending SMS messages works great as long as I don't ask for delivery reports. However, when I ask for delivery reports (with DLR mask 31) Kannel has a PANIC message and is terminated as soon as the SMSC acknowledges the SMS message (the message is correctly received on the phone).
> 
> I was wondering whether you are aware of such problems in 1.2.1 (or on specific platforms) and if that's the case whether a workaround exists.
> 
> Please find below part of the kannel.log logfile concerning this issue:
> 
> 2004-03-05 18:38:42 [5] DEBUG: EMI2[orange]: emi2 sending packet:
> <^B00/00251/O/51/0033632647722/20683//1//7/////////////4/06
> 32/010601AE0205040045C60C037761702E6F72616E67652E6672000AC3072004030518382410C30720040306183824081103313030313530373839330001
> 0373616C7574206C657320616D6973000101////1//////01070605040B8423F0///2C^C>
> 2004-03-05 18:38:42 [5] DEBUG: Adding DLR smsc=orange, ts=orange-0, src=20683,
> dst=0033632647722, mask=31
> 2004-03-05 18:38:42 [5] DEBUG: EMI2[orange]: Got packet from the main socket
> 2004-03-05 18:38:42 [5] DEBUG: EMI2[orange]: emi2 parsing packet:
> <^B00/00046/R/51/A//0033632647722:050304183842/D9^C>
> 2004-03-05 18:38:42 [5] DEBUG: Looking for DLR smsc=orange, ts=orange-0,
> dst=+33632647722, type=8
> 2004-03-05 18:38:42 [5] DEBUG: created DLR message for URL
> <http://10.193.131.32/sms/dlr/index.php?result=%d&text=%A&ID=7>
> 2004-03-05 18:38:42 [5] PANIC: gwlib/octstr.c:2119: seems_valid_real:
> Assertion `ostr != NULL' failed. (Called from gwlib/oct
> str.c:413:octstr_hex_to_binary.)
> 
> For your information: the URL http://10.193.131.32/sms/dlr/index.php?result=%d&text=%A&ID=7 is a script which processes the delivery report by taking the numerical value result and the text value text for the message with identifier ID (7 in this case).
> >  <<smsc_ftrd-orange.conf>> 
> Please note that I use exactly the same configuration (the configuration file I use can be fined above by the way) on another test server with Kannel development version 1.1.6 and that it works perfectly fine! The problem occurs using Kannel version 1.2.1 on a Linux Mandrake machine (the other one is a Solaris).
> 
> Please let me know if you could help.
> Best regards,
> 
> ______________________________________________________
> Thomas Vergouwen
> France Telecom R&D/DMR/SMO/TOM
> R&D engineer - Mobile terminals & embedded Java services
> 38-40, rue du Général Leclerc
> 92794 Issy-les-Moulineaux Cedex 9 - France
> Tel : +33 1 45 29 47 72
> Mobile : +33 6 32 64 77 22
> Fax : +33 1 45 29 66 43
> http://www.francetelecom.com/rd/
> 
> Remember: it's nice 2b important, but it's more important 2b nice
> ______________________________________________________
>
smsc_ftrd-orange.conf (application/octet-stream, 6.2 KB)
# For any modifications to this file, see Kannel User Guide
# If that does not help, send email to [email protected]
#
# __________________________________________________________
#
#  Thomas Vergouwen - (initial version) January 2004
#  [email protected]
#  01 45 29 47 72 (from Issy: 80 4772)
# __________________________________________________________
#
#  Please note any changes and the reason for it below!!
#  Change log:
#
# ----------------------------------------------------------------------------------------------------- #
# DATE		| MODIFICATION				| REASON					#
# --------------+---------------------------------------+---------------------------------------------- #
# 21/01/2004	| Creation initial configuration	| Establishment Kannel SMS server		#
#		| - 'sitest' and 'si'			| For sending SI messages			#
#		| - 'push'				| For sending push messages on request per SMS	#
# 		| - 'push2'				| Same as service 'push' but with an extra	#
#		|					| parameter to send push to another user	#
# 		| - 'A', 'B', 'C' and 'D'		| Reply services for ActivePoll via SMS		#
# 		| - 'meteo'				| Weather service				#
# 		| - 'bourse'				| Stock quote service				#
# 		| - 'meteo2' and 'bourse2'		| Stock quote & Weather to a specific person	#
# 		| - 'service' 				| Generic service				#
# 		| - 'gallery'				| Gallery					#
#		| - 'upload'				| 'Uploads' a file to a mobile			#
# 		| - 'pri' and 'pr'			| Prevention routière				#
# 		| - 'dab'				| Dynamic Address Book				#
# 		| - 'reco'				| SMS recommandés				#
# --------------+---------------------------------------+---------------------------------------------- #
# 18/02/2004	| Configuration: IP, number, etc.	| Establishing connection to SMSC		#
# --------------+---------------------------------------+---------------------------------------------- #
# 04/03/2004	| Final configuration			| Real establishment SMSC connection		#
#													#

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = changedbeforesending
status-password = changedbeforesending
admin-deny-ip = ""
#"*.*.*.*"
admin-allow-ip = "*.*.*.*"
#"127.0.0.1, 192.168.200.*"
log-file = "/home/user/kannel/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix = "+33,0033,0,33;+,00"
access-log = "/home/user/kannel/access.log"
#dlr-storage = mysql
#store-file = "kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
http-proxy-host = "p-niceway.rd.francetelecom.fr"
http-proxy-port = "3128"

# SMSC CONNECTIONS

group = smsc
smsc = emi2
smsc-id = orange
host = "" (deleted before sending)
port = 5200
# the port number of the SMSC (outgoing)
connect-allow-ip = "*.*.*.*"
#connect-allow-ip = "127.0.0.1"
#receive-port = 5200
# the port number of the SMSC (incoming)
my-number = 20683
# my shortID
smsc-username = "20683"
smsc-password = "changedbeforesending"

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/home/user/kannel/smsbox.log"
log-level = 0
access-log = "/home/user/kannel/access.log"

# SEND-SMS USERS

group = sendsms-user
username = ftrd
password = changedbeforesending
default-smsc = orange
user-deny-ip = ""
#"*.*.*.*"
user-allow-ip = "*.*.*.*"

# SERVICES
# there should be default always

group = sms-service
keyword = default
get-url = http://10.193.131.32/sms/kannel/serviceunknown.php?sent=true&msisdn=0632647722&from=%p&mclass=2&text=K:%a

group = sms-service
keyword = si-test
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&message=SI+via+Kannel+%r&href=wap.orange.fr&msisdn=%p
max-messages = 0

group = sms-service
keyword = si
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&href=%s&message=%r&msisdn=%p
max-messages = 0

group = sms-service
keyword = push
get-url = http://192.168.200.51/sms/pushonsmsrequest/push.php?from=%p&to=%p&type=%r
max-messages = 0

group = sms-service
keyword = push2
get-url = http://192.168.200.51/sms/pushonsmsrequest/push.php?from=%p&to=%s&type=%r
max-messages = 0

group = sms-service
keyword = A
get-url = http://192.168.20.195/apollSMS/poller?msisdn=%p&ans=a&req=20
max-messages = 0

group = sms-service
keyword = B
get-url = http://192.168.20.195/apollSMS/poller?msisdn=%p&ans=b&req=20
max-messages = 0

group = sms-service
keyword = C
get-url = http://192.168.20.195/apollSMS/poller?msisdn=%p&ans=c&req=20
max-messages = 0

group = sms-service
keyword = D
get-url = http://192.168.20.195/apollSMS/poller?msisdn=%p&ans=d&req=20
max-messages = 0

group = sms-service
keyword = meteo
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&href=wap.meteoconsult.fr/terrestre/choix_ville.php?dpt=%s&message=%a&msisdn=%p
max-messages = 0

group = sms-service
keyword = bourse
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&href=wap.boursorama.com/resrechcode.pwml?code=%s&message=%a&msisdn=%p
max-messages = 0

group = sms-service
keyword = meteo2
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&msisdn=%s&href=wap.meteoconsult.fr/terrestre/choix_ville.php?dpt=%s&message=Meteo+de+%p
max-messages = 0

group = sms-service
keyword = bourse2
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&msisdn=%s&href=wap.boursorama.com/resrechcode.pwml?code=%s&message=Bourse+de+%p
max-messages = 0

group = sms-service
keyword = service
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&msisdn=%p&href=193.49.124.33/yves/services/index.php?message=%r|msisdn=%p&message=%a
max-messages = 0

group = sms-service
keyword = gallery
get-url = http://192.168.200.51/yves/gallery.php?msisdn=%p&service=%s&duree=%s
max-messages = 0

group = sms-service
keyword = upload
get-url = http://10.193.131.32/sms/si.php?sent=true&action=signal-high&msisdn=%p&href=161.106.104.24/upload/verif.php?msisdn=%p&message=Upload
max-messages = 0

group = sms-service
keyword = pri
get-url = http://192.168.200.51/hubert/TiersP/inscription_pr.php?msisdn=%p&contents=%r
max-messages = 0

group = sms-service
keyword = pr
get-url = http://192.168.200.51/hubert/TiersP/service_pr.php?msisdn=%p&contents=%r
max-messages = 0

group = sms-service
keyword = reco
get-url = http://p-xcornimont.rd.francetelecom.fr/SMSreco/enregistrer.php?S=%p&D=%s&sms=%r
max-messages = 0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.