Hi. For a long time, our company has been using EMI_IP, because we didn't
know better.
But, for the past week, we've been trying to use EMI2 instead (particularly
because
we are very interested in DLR).
However, EMI2 doesn't seem to work alright. It works for text SMS's, but
our operator logos / ring tones, which still works with EMI_IP, fail to
work.
The dump of the differences below is from Kannel 1.1.5, but AFAIK is also
present
in the latest CVS version (if people doubt this, I can return with a kannel
dump for the current version).
There seem to be quite a lot of differences, however I'm not sure why it
fails.
Here are two dumps: one for emi_IP, that works, and one for emi2, that
doesn't...
When it works with EMI_IP, it looks like this:
_
2001-09-25 13:03:43 Log begins
2001-09-25 13:04:25 Sent SMS [SMSC:witest] [from:31012] [to:29682762] [msg:
<<UDH>>]
2001-09-25 13:04:26 Sent SMS [SMSC:witest] [from:31012] [to:29682762] [msg:
<<UDH>>]
_kannel.log:
2001-09-25 11:04:25 [10] DEBUG: boxc_receiver: sms received
2001-09-25 11:04:25 [6] DEBUG: smscconn_sender (EMIIP:194.182.251.10:n/a):
sending message
2001-09-25 11:04:25 [6] DEBUG: emi 1 message
^B00/00356/O/51/29682762/31012/////0100////////////4/1024/3032F8100A00480E013FF00110005B0001E87FF802A801A500021C3FF802001-09-25
11:04:25 [6] DEBUG: get_data:Read 43 bytes:
<^B00/00041/R/51/A//29682762:250901145525/E2^C>
2001-09-25 11:04:25 [6] DEBUG: get_data:smsc->buffer == <>
2001-09-25 11:04:25 [6] DEBUG: found message <R/51>...msg
<^B00/00041/R/51/A//29682762:250901145525/E2^C>
2001-09-25 11:04:25 [6] DEBUG: Found ACK/NACK:
<^B00/00041/R/51/A//29682762:250901145525/E2^C>
2001-09-25 11:04:25 [6] DEBUG: Submit Ok...
2001-09-25 11:04:25 [10] DEBUG: boxc_receiver: sms received
2001-09-25 11:04:25 [6] DEBUG: smscconn_sender (EMIIP:194.182.251.10:n/a):
sending message
2001-09-25 11:04:25 [6] DEBUG: emi 2 message
^B01/00114/O/51/29682762/31012/////0100////////////4/0056/00960001080EAA////1//////010C0B0504158200000003000202///DE
2001-09-25 11:04:26 [6] DEBUG: get_data:Read 43 bytes:
<^B01/00041/R/51/A//29682762:250901145526/E4^C>
2001-09-25 11:04:26 [6] DEBUG: get_data:smsc->buffer == <>
2001-09-25 11:04:26 [6] DEBUG: found message <R/51>...msg
<^B01/00041/R/51/A//29682762:250901145526/E4^C>
2001-09-25 11:04:26 [6] DEBUG: Found ACK/NACK:
<^B01/00041/R/51/A//29682762:250901145526/E4^C>
2001-09-25 11:04:26 [6] DEBUG: Submit Ok...
_________________
2001-09-25 13:03:44 Log begins
2001-09-25 13:04:25 send-SMS request added - sender:wi:31012 10.10.10.55
target:29682762 request: '<< UDH >>'
_smsbox.log:
2001-09-25 11:03:44 [0] DEBUG:
----------------------------------------------
2001-09-25 11:03:44 [0] DEBUG: Kannel smsbox version 1.1.5 starting
2001-09-25 11:03:44 [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2001-09-25 11:03:44 [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2001-09-25 11:03:44 [0] INFO: Connected to bearerbox at localhost port
13001.
2001-09-25 11:03:44 [0] DEBUG: Started thread 6
(gw/heartbeat.c:heartbeat_thread)
2001-09-25 11:04:25 [2] DEBUG: HTTP: Creating HTTPClient for `10.10.10.55'.
2001-09-25 11:04:25 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <10.10.10.55>
2001-09-25 11:04:25 [3] INFO: /sendsms used by <wi>
2001-09-25 11:04:25 [3] INFO: /cgi-bin/sendsms sender:<wi:31012>
(10.10.10.55) to:<29682762> msg:<<< UDH >>>
2001-09-25 11:04:25 [3] DEBUG: Octet string at 0x81ba730:
2001-09-25 11:04:25 [3] DEBUG: len: 7
2001-09-25 11:04:25 [3] DEBUG: size: 8
2001-09-25 11:04:25 [3] DEBUG: immutable: 0
2001-09-25 11:04:25 [3] DEBUG: data: 06 05 04 15 82 00 00 .......
2001-09-25 11:04:25 [3] DEBUG: Octet string dump ends.
2001-09-25 11:04:25 [3] DEBUG: Status: 202 Answer: <Sent.>
2001-09-25 11:04:25 [3] DEBUG: HTTP: Resetting HTTPClient for
`10.10.10.55'.
2001-09-25 11:04:25 [1] DEBUG: HTTP: Destroying HTTPClient area 0x81b85d8.
2001-09-25 11:04:25 [1] DEBUG: HTTP: Destroying HTTPClient for
`10.10.10.55'.
----
// EMI2 - 'doesn't work with UDH / logo:
2001-09-25 12:56:15 Log begins
2001-09-25 12:58:34 Sent SMS [SMSC:witest] [from:31012] [to:29682762] [msg:
<<UDH>>]
2001-09-25 12:58:35 Sent SMS [SMSC:witest] [from:31012] [to:29682762] [msg:
<<UDH>>]
_kannel.log:
2001-09-25 10:58:34 [10] DEBUG: boxc_receiver: sms received
2001-09-25 10:58:34 [6] DEBUG: emi2 sending packet:
<^B00/00352/O/51/29682762/31012/////////////////4/1024/3032F8100A00480E013FF00110005B0001E87FF802A801A500021C32001-09-25
10:58:34 [10] DEBUG: boxc_receiver: sms received
2001-09-25 10:58:34 [6] DEBUG: emi2 sending packet:
<^B01/00110/O/51/29682762/31012/////////////////4/0056/00960001080EAA////1//////010C0B0504158200000003000202//2001-09-25
10:58:34 [6] DEBUG: Got packet from the main socket
2001-09-25 10:58:34 [6] DEBUG: emi2 parsing packet:
<^B00/00041/R/51/A//29682762:250901144934/E5^C>
2001-09-25 10:58:35 [6] DEBUG: Got packet from the main socket
2001-09-25 10:58:35 [6] DEBUG: emi2 parsing packet:
<^B01/00041/R/51/A//29682762:250901144935/E7^C>
2001-09-25 10:59:15 [8] INFO: emi2: Main connection closed by SMSC
2001-09-25 10:59:15 [8] ERROR: connect failed
2001-09-25 10:59:15 [8] ERROR: System error 99: Cannot assign requested
address
2001-09-25 10:59:15 [8] ERROR: error connecting to server `194.182.251.10'
at port `5000'
2001-09-25 10:59:15 [8] ERROR: smsc_emi2: opening TCP connection to
194.182.251.10 failed
2001-09-25 10:59:15 [8] INFO: smsc_emi2: waiting for 1 minutes before
trying to connect again
_
2001-09-25 12:58:34 send-SMS request added - sender:wi:31012 10.10.10.55
target:29682762 request: '<< UDH >>'
_
2001-09-25 10:56:16 [0] DEBUG:
----------------------------------------------
2001-09-25 10:56:16 [0] DEBUG: Kannel smsbox version 1.1.5 starting
2001-09-25 10:56:16 [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2001-09-25 10:56:16 [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2001-09-25 10:56:16 [0] INFO: Connected to bearerbox at localhost port
13001.
2001-09-25 10:56:16 [0] DEBUG: Started thread 6
(gw/heartbeat.c:heartbeat_thread)
2001-09-25 10:58:34 [2] DEBUG: HTTP: Creating HTTPClient for `10.10.10.55'.
2001-09-25 10:58:34 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <10.10.10.55>
2001-09-25 10:58:34 [3] INFO: /sendsms used by <wi>
2001-09-25 10:58:34 [3] INFO: /cgi-bin/sendsms sender:<wi:31012>
(10.10.10.55) to:<29682762> msg:<<< UDH >>>
2001-09-25 10:58:34 [3] DEBUG: Octet string at 0x81ba720:
2001-09-25 10:58:34 [3] DEBUG: len: 7
2001-09-25 10:58:34 [3] DEBUG: size: 8
2001-09-25 10:58:34 [3] DEBUG: immutable: 0
2001-09-25 10:58:34 [3] DEBUG: data: 06 05 04 15 82 00 00 .......
2001-09-25 10:58:34 [3] DEBUG: Octet string dump ends.
2001-09-25 10:58:34 [3] DEBUG: Status: 202 Answer: <Sent.>
2001-09-25 10:58:34 [3] DEBUG: HTTP: Resetting HTTPClient for
`10.10.10.55'.
2001-09-25 10:58:34 [1] DEBUG: HTTP: Destroying HTTPClient area 0x81b85c8.
2001-09-25 10:58:34 [1] DEBUG: HTTP: Destroying HTTPClient for
`10.10.10.55'.
---------------------------------------------------------------------------------------