Problem with SMPP smsc-password being too long

Michael Tung <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <00e301c22423$18efcfe0$6f01a8c0@michaelevo>
Dear all,

I am having problems with Kannel 1.2.0 on RedHat 7.0.
Whenever I set try to connect to my SMSC on SMPP 3.4
with these settings (sorry for all the x's, not allowed to reveal) :

group = smsc
smsc = smpp
smsc-id = test
preferred-prefix = "60xx;060xx;0060xx;+60xx;+060xx;+0060xx"
host = xxx.xxx.xxx.xxx
port = xxxx
receive-port = xxxx
smsc-username = "xxxxxxx"
smsc-password = "test_xxxxxxx"
system-type = "VMA"
address-range = ""
enquire-link-interval = 30
max-pending-submits = 10
reconnect-delay = 10

I get this error :

2002-07-05 20:51:43 [0] INFO: Added logfile `kannel.log' with level `0'.
2002-07-05 20:51:43 [0] INFO: ----------------------------------------
2002-07-05 20:51:43 [0] INFO: Kannel bearerbox II version 1.2.0 starting
2002-07-05 20:51:43 [0] INFO: Started access logfile `access.log'.
2002-07-05 20:51:43 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2002-07-05 20:51:43 [0] DEBUG: HTTP: Opening server at port 18000.
2002-07-05 20:51:43 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-07-05 20:51:43 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2002-07-05 20:51:43 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2002-07-05 20:51:43 [0] DEBUG: starting smsbox connection module
2002-07-05 20:51:43 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2002-07-05 20:51:43 [0] DEBUG: Started thread 6 (gw/smsc_smpp.c:io_thread)
2002-07-05 20:51:43 [0] DEBUG: Started thread 7 (gw/smsc_smpp.c:io_thread)
2002-07-05 20:51:43 [0] DEBUG: Started thread 8
(gw/bb_smscconn.c:sms_router)
2002-07-05 20:51:43 [0] INFO: Loading store file kannel.store
2002-07-05 20:51:43 [0] INFO: Store-file size 0, starting to unpack
2002-07-05 20:51:43 [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2002-07-05 20:51:43 [0] INFO: MAIN: Start-up done, entering mainloop
2002-07-05 20:51:43 [8] DEBUG: sms_router: time to sleep
2002-07-05 20:51:43 [8] DEBUG: sms_router: list_len = 0
2002-07-05 20:51:43 [6] PANIC: gw/smpp_pdu.def:60: smpp_pdu_pack: Assertion
`octstr_len(p->password) < 9' failed.

If I reduce the password length to 8 or less, then bearerbox will work (but
the authentication with my SMSC
will fail of course). This looks like a major bug, or it could just be me
being stupid.

Can someone advice?


--Michael Tung



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.372 / Virus Database: 207 - Release Date: 6/20/2002
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.