messages with udh

Avner Sternheim <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <DC11ECFDC22ED511890D0002A5071E3B043FD1@outlook_web.outlook.co.il>
I'm using 2 versions of KANNEL.  
one: 1.1.5
other : last CVS version.

I'm sending via http the same message with the same paramters over the two
versions but I get diffrent messages to my mobile
both of the versions use the same configuration file.

I add all the logs  to my messsage. both of the kannel version wrote to the
same log
(after i shut down 1.1.5 i restart the CVS - can be seen in the log files)

I need the CVS to work like the 1.1.5. does anyone know what the problem is
? and how it can be fixed ?
what are the differences between the versions ? why did it happend ?
on the CVS it doesn't seem to send as a 8 bit message

the message I send over http is :
http://<IP ADDRESS>/cgi-bin/sendsms?user=<user
name>&pass=<password>&to=<phone>&text=%ff&udh=


bearerbox log file

2002-03-13 15:26:25 [0] INFO: Added logfile `/tmp/bearerbox.log' with level
`0'.
2002-03-13 15:26:25 [0] INFO: ----------------------------------------
2002-03-13 15:26:25 [0] INFO: Kannel bearerbox II version 1.1.5 starting
2002-03-13 15:26:26 [0] DEBUG: HTTP: Opening server at port 13000.
2002-03-13 15:26:26 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-03-13 15:26:26 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-03-13 15:26:26 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-03-13 15:26:26 [0] DEBUG: starting smsbox connection module
2002-03-13 15:26:26 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-03-13 15:26:26 [0] DEBUG: Started thread 5
(gw/smsc_emi2.c:emi2_listener)
2002-03-13 15:26:26 [0] DEBUG: Started thread 6 (gw/smsc_emi2.c:emi2_sender)
2002-03-13 15:26:26 [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2002-03-13 15:26:26 [0] INFO: MAIN: Start-up done, entering mainloop
2002-03-13 15:26:26 [0] DEBUG: smsc_emi2: start called
2002-03-13 15:26:26 [7] DEBUG: sms_router: time to sleep
2002-03-13 15:26:26 [7] DEBUG: sms_router: list_len = 0
2002-03-13 15:26:26 [6] DEBUG: Sending operation type 60, message with
password not shown in log file.
2002-03-13 15:26:27 [6] DEBUG: emi2 parsing packet: <00/00019/R/60/A//6D>
2002-03-13 15:26:27 [6] DEBUG: emi2 sending packet:
<00/00031/O/31/313203101/0539/B0>
2002-03-13 15:26:27 [6] DEBUG: Got packet from the main socket
2002-03-13 15:26:27 [6] DEBUG: emi2 parsing packet:
<00/00023/R/31/A/0001/27>
2002-03-13 15:26:32 [4] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2002-03-13 15:26:32 [8] INFO: Client connected from <127.0.0.1>
2002-03-13 15:26:32 [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender)
2002-03-13 15:26:43 [8] DEBUG: boxc_receiver: sms received
2002-03-13 15:26:43 [6] DEBUG: emi2 sending packet:
<00/00081/O/51/97254365743/313203101/////////////////4/0008/FF////1//////01
00///58>
2002-03-13 15:26:44 [6] DEBUG: Got packet from the main socket
2002-03-13 15:26:44 [6] DEBUG: emi2 parsing packet:
<00/00044/R/51/A//97254365743:130302162722/78>
2002-03-13 15:27:23 [0] WARNING: Killing signal received, shutting down...
2002-03-13 15:27:23 [0] DEBUG: Shutting down Kannel...
2002-03-13 15:27:23 [0] DEBUG: shutting down smsc
2002-03-13 15:27:23 [0] DEBUG: Shutting down SMSCConn EMI2, slow
2002-03-13 15:27:23 [0] DEBUG: shutting down udp
2002-03-13 15:27:23 [5] DEBUG: Thread 5 (gw/smsc_emi2.c:emi2_listener)
terminates.
2002-03-13 15:27:23 [6] DEBUG: smsc_emi2 connection has completed shutdown.
2002-03-13 15:27:23 [6] DEBUG: Thread 6 (gw/smsc_emi2.c:emi2_sender)
terminates.
2002-03-13 15:27:23 [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender)
terminates.
2002-03-13 15:27:23 [8] INFO: Connection closed by the box <127.0.0.1>
2002-03-13 15:27:23 [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) terminates.
2002-03-13 15:27:24 [4] DEBUG: Thread 4 (gw/bb_boxc.c:smsboxc_run)
terminates.
2002-03-13 15:27:24 [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
terminates.
2002-03-13 15:27:24 [0] INFO: All flow threads have died, killing core
2002-03-13 15:27:24 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to
terminate
2002-03-13 15:27:24 [3] DEBUG: HTTP: No clients with requests, quitting.
2002-03-13 15:27:24 [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
terminates.
2002-03-13 15:27:24 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
terminates.
2002-03-13 15:27:24 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2002-03-13 15:27:24 [0] DEBUG: final clean-up for SMSCConn
2002-03-13 15:27:24 [0] INFO: Total WDP messages: received 0, sent 0
2002-03-13 15:27:24 [0] INFO: Total SMS messages: received 0, sent 1
2002-03-13 15:27:24 [0] DEBUG: Immutable octet strings: 64.
2002-03-13 15:27:24 [0] DEBUG: Current allocations: 0 areas, 0 bytes
2002-03-13 15:27:24 [0] DEBUG: Highest number of allocations: 686 areas
2002-03-13 15:27:24 [0] DEBUG: Highest memory usage: 35999 bytes
2002-03-13 15:27:47 [0] INFO: Added logfile `/tmp/bearerbox.log' with level
`0'.
2002-03-13 15:27:47 [0] INFO: ----------------------------------------
2002-03-13 15:27:47 [0] INFO: Kannel bearerbox II version cvs starting
2002-03-13 15:27:47 [0] DEBUG: HTTP: Opening server at port 13000.
2002-03-13 15:27:47 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-03-13 15:27:47 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-03-13 15:27:47 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-03-13 15:27:47 [0] DEBUG: starting smsbox connection module
2002-03-13 15:27:47 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-03-13 15:27:47 [0] DEBUG: Started thread 5
(gw/smsc_emi2.c:emi2_listener)
2002-03-13 15:27:47 [0] DEBUG: Started thread 6 (gw/smsc_emi2.c:emi2_sender)
2002-03-13 15:27:47 [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2002-03-13 15:27:47 [0] INFO: MAIN: Start-up done, entering mainloop
2002-03-13 15:27:47 [0] DEBUG: EMI2[Libertel]: start called
2002-03-13 15:27:47 [6] INFO: EMI2[Libertel]: connecting to Primary SMSC
2002-03-13 15:27:47 [7] DEBUG: sms_router: time to sleep
2002-03-13 15:27:47 [7] DEBUG: sms_router: list_len = 0
2002-03-13 15:27:47 [6] DEBUG: EMI2[Libertel]: Sending operation type 60,
message with password not shown in log file.
2002-03-13 15:27:48 [6] DEBUG: EMI2[Libertel]: emi2 parsing packet:
<00/00019/R/60/A//6D>
2002-03-13 15:27:56 [4] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2002-03-13 15:27:56 [8] INFO: Client connected from <127.0.0.1>
2002-03-13 15:27:56 [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender)
2002-03-13 15:28:00 [8] DEBUG: boxc_receiver: sms received
2002-03-13 15:28:00 [6] DEBUG: EMI2[Libertel]: emi2 sending packet:
<00/00072/O/51/97254365743/313203101/////////////////3//79/////////////81>
2002-03-13 15:28:00 [6] DEBUG: EMI2[Libertel]: Got packet from the main
socket
2002-03-13 15:28:00 [6] DEBUG: EMI2[Libertel]: emi2 parsing packet:
<00/00044/R/51/A//97254365743:130302162838/80>

smsbox log file

2002-03-13 15:26:32 [0] INFO: Added logfile `/tmp/smsbox.log' with level
`0'.
2002-03-13 15:26:32 [0] INFO: Service global sender set as '313203101'
2002-03-13 15:26:32 [0] INFO: Logging accesses to '/tmp/access.log'.
2002-03-13 15:26:32 [0] INFO: Started access logfile `/tmp/access.log'.
2002-03-13 15:26:32 [0] DEBUG: HTTP: Opening server at port 13013.
2002-03-13 15:26:32 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-03-13 15:26:32 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-03-13 15:26:32 [0] INFO: Set up send sms service at port 13013
2002-03-13 15:26:32 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2002-03-13 15:26:32 [0] DEBUG:
----------------------------------------------
2002-03-13 15:26:32 [0] DEBUG: Kannel smsbox version 1.1.5 starting
2002-03-13 15:26:32 [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2002-03-13 15:26:32 [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2002-03-13 15:26:32 [0] INFO: Connected to bearerbox at localhost port
13001.
2002-03-13 15:26:32 [0] DEBUG: Started thread 6
(gw/heartbeat.c:heartbeat_thread)
2002-03-13 15:26:43 [2] DEBUG: HTTP: Creating HTTPClient for
`199.203.184.110'.
2002-03-13 15:26:43 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <199.203.184.110>
2002-03-13 15:26:43 [3] INFO: /sendsms used by <tester>
2002-03-13 15:26:43 [3] INFO: /cgi-bin/sendsms sender:<tester:313203101>
(199.203.184.110) to:<97254365743> msg:<<< UDH >>>
2002-03-13 15:26:43 [3] DEBUG: Octet string at 0x81b2918:
2002-03-13 15:26:43 [3] DEBUG:   len:  0
2002-03-13 15:26:43 [3] DEBUG:   size: 0
2002-03-13 15:26:43 [3] DEBUG:   immutable: 0
2002-03-13 15:26:43 [3] DEBUG: Octet string dump ends.
2002-03-13 15:26:43 [3] DEBUG: Status: 202 Answer: <Sent.>
2002-03-13 15:26:43 [3] DEBUG: HTTP: Resetting HTTPClient for
`199.203.184.110'.
2002-03-13 15:27:23 [0] INFO: Bearerbox told us to die
2002-03-13 15:27:23 [0] INFO: Received (and handled?) 0 requests in 51
seconds (0.00 per second)
2002-03-13 15:27:23 [0] INFO: Kannel smsbox terminating.
2002-03-13 15:27:23 [6] DEBUG: Thread 6 (gw/heartbeat.c:heartbeat_thread)
terminates.
2002-03-13 15:27:23 [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to
terminate
2002-03-13 15:27:23 [3] DEBUG: HTTP: No clients with requests, quitting.
2002-03-13 15:27:23 [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
terminates.
2002-03-13 15:27:23 [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
terminates.
2002-03-13 15:27:23 [1] WARNING: Destroying fdset with 1 active entries.
2002-03-13 15:27:23 [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2002-03-13 15:27:23 [0] DEBUG: Waiting for 4
(gw/smsbox.c:obey_request_thread) to terminate
2002-03-13 15:27:23 [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread)
terminates.
2002-03-13 15:27:23 [0] DEBUG: Waiting for 5 (gw/smsbox.c:url_result_thread)
to terminate
2002-03-13 15:27:23 [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread)
terminates.
2002-03-13 15:27:23 [0] DEBUG: Immutable octet strings: 96.
2002-03-13 15:27:23 [0] DEBUG: Current allocations: 12 areas, 655 bytes
2002-03-13 15:27:23 [0] DEBUG: Highest number of allocations: 768 areas
2002-03-13 15:27:23 [0] DEBUG: Highest memory usage: 54373 bytes
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b1220, size 272, max_size 272
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_grow at
gwlib/octstr.c:107
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   47 45 54 20 2f 63 67 69 2d 62 69 6e 2f 73
65 6e 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b0e78, size 16, max_size 32
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_grow at
gwlib/octstr.c:107
2002-03-13 15:27:23 [0] DEBUG: Re-allocated by octstr_grow at
gwlib/octstr.c:107
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   31 39 39 2e 32 30 33 2e 31 38 34 2e 31 31
30 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b0d58, size 16, max_size 16
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_create_from_data_real at
gwlib/octstr.c:170
2002-03-13 15:27:23 [0] DEBUG: Claimed by octstr_format_valist at
gwlib/octstr.c:1969
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   78 0e 1b 08 0f 00 00 00 10 00 00 00 00 00
00 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b5fe8, size 113, max_size 113
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_grow at
gwlib/octstr.c:107
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   00 54 54 50 2f 31 2e 31 20 32 30 32 20 46
6f 6f 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b0d20, size 16, max_size 16
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_create_from_data_real at
gwlib/octstr.c:170
2002-03-13 15:27:23 [0] DEBUG: Claimed by conn_wrap_fd at gwlib/conn.c:404
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   20 12 1b 08 0f 01 00 00 10 01 00 00 00 00
00 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b0be0, size 80, max_size 80
2002-03-13 15:27:23 [0] DEBUG: Allocated by conn_wrap_fd at gwlib/conn.c:397
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   58 0c 1b 08 a0 0c 1b 08 00 00 00 00 be ba
fe ca 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b0c58, size 32, max_size 32
2002-03-13 15:27:23 [0] DEBUG: Allocated by mutex_create_real at
gwlib/thread.c:26
2002-03-13 15:27:23 [0] DEBUG: Claimed by conn_wrap_fd at gwlib/conn.c:398
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   be ba fe ca 00 00 00 00 00 00 00 00 00 00
00 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b1100, size 32, max_size 32
2002-03-13 15:27:23 [0] DEBUG: Allocated by client_create at
gwlib/http.c:1337
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   d5 32 00 00 e0 0b 1b 08 58 0d 1b 08 00 00
00 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b0ce8, size 16, max_size 16
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_create_from_data_real at
gwlib/octstr.c:170
2002-03-13 15:27:23 [0] DEBUG: Claimed by conn_wrap_fd at gwlib/conn.c:402
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   e8 5f 1b 08 00 00 00 00 71 00 00 00 00 00
00 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81a6e98, size 16, max_size 16
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_create_from_data_real at
gwlib/octstr.c:170
2002-03-13 15:27:23 [0] DEBUG: Claimed by init_smsbox at gw/smsbox.c:1680
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   d0 6e 1a 08 0d 00 00 00 0e 00 00 00 00 00
00 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81a6ed0, size 14, max_size 14
2002-03-13 15:27:23 [0] DEBUG: Allocated by octstr_create_from_data_real at
gwlib/octstr.c:178
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   30 31 32 33 34 35 36 37 38 39 20 2b 2d 00 
2002-03-13 15:27:23 [0] DEBUG: Area 0x81b0ca0, size 32, max_size 32
2002-03-13 15:27:23 [0] DEBUG: Allocated by mutex_create_real at
gwlib/thread.c:26
2002-03-13 15:27:23 [0] DEBUG: Claimed by conn_wrap_fd at gwlib/conn.c:399
2002-03-13 15:27:23 [0] DEBUG: Contents of area (first 16 bytes):
2002-03-13 15:27:23 [0] DEBUG:   be ba fe ca 00 00 00 00 00 00 00 00 00 00
00 00 
2002-03-13 15:27:55 [0] INFO: Added logfile `/tmp/smsbox.log' with level
`0'.
2002-03-13 15:27:55 [0] INFO: Service global sender set as '313203101'
2002-03-13 15:27:55 [0] INFO: Logging accesses to '/tmp/access.log'.
2002-03-13 15:27:55 [0] INFO: Started access logfile `/tmp/access.log'.
2002-03-13 15:27:55 [0] DEBUG: HTTP: Opening server at port 13013.
2002-03-13 15:27:55 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-03-13 15:27:56 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-03-13 15:27:56 [0] INFO: Set up send sms service at port 13013
2002-03-13 15:27:56 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2002-03-13 15:27:56 [0] DEBUG:
----------------------------------------------
2002-03-13 15:27:56 [0] DEBUG: Kannel smsbox version cvs starting
2002-03-13 15:27:56 [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2002-03-13 15:27:56 [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2002-03-13 15:27:56 [0] INFO: Connected to bearerbox at localhost port
13001.
2002-03-13 15:27:56 [0] DEBUG: Started thread 6
(gw/heartbeat.c:heartbeat_thread)
2002-03-13 15:28:00 [2] DEBUG: HTTP: Creating HTTPClient for
`199.203.184.110'.
2002-03-13 15:28:00 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <199.203.184.110>
2002-03-13 15:28:00 [3] INFO: sendsms used by <tester>
2002-03-13 15:28:00 [3] INFO: sendsms sender:<tester:313203101>
(199.203.184.110) to:<97254365743> msg:<?>
2002-03-13 15:28:00 [3] DEBUG: message length 1, sending 1 messages
2002-03-13 15:28:00 [3] DEBUG: Status: 202 Answer: <Sent.>
2002-03-13 15:28:00 [3] DEBUG: HTTP: Resetting HTTPClient for
`199.203.184.110'.

access log file

2002-03-13 17:26:32 Log begins
2002-03-13 17:26:43 send-SMS request added - sender:tester:313203101
199.203.184.110 target:97254365743 request: '<< UDH >>'
2002-03-13 17:27:23 Log ends
2002-03-13 17:27:55 Log begins
2002-03-13 17:28:00 send-SMS request added - sender:tester:313203101
199.203.184.110 target:97254365743 request: '<< UDH >>'
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.