We have tried to connect to CMG SMSC using UCP60. The connection look fine but when we want to send SMS, the SMSC reply error. Below is the log file:
 
2002-09-05 17:16:10 [0] INFO: Starting to log to file /tmp/smsbox.log level 1
2002-09-05 17:16:10 [0] INFO: Added logfile `/tmp/smsbox.log' with level `1'.
2002-09-05 17:16:10 [0] INFO: Service global sender set as '72207'
2002-09-05 17:16:10 [0] INFO: Logging accesses to 'access.log'.
2002-09-05 17:16:10 [0] INFO: Started access logfile `access.log'.
2002-09-05 17:16:10 [0] DEBUG: HTTP: Opening server at port 13013.
2002-09-05 17:16:10 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-09-05 17:16:10 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-09-05 17:16:10 [0] INFO: Set up send sms service at port 13013
2002-09-05 17:16:10 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2002-09-05 17:16:10 [0] DEBUG: ----------------------------------------------
2002-09-05 17:16:10 [0] DEBUG: Kannel smsbox version 1.2.0 starting
2002-09-05 17:16:10 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2002-09-05 17:16:10 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2002-09-05 17:16:10 [0] INFO: Connected to bearerbox at 2.84.1.194 port 13001.
2002-09-05 17:16:10 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2002-09-05 17:16:10 [0] DEBUG: Started thread 6 (gw/heartbeat.c:heartbeat_thread)
2002-09-05 17:16:10 [7] INFO: Client connected from <2.84.1.194>
2002-09-05 17:16:10 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
2002-09-05 17:16:14 [2] DEBUG: HTTP: Creating HTTPClient for `2.84.1.194'.
2002-09-05 17:16:14 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <2.84.1.194>
2002-09-05 17:16:14 [3] INFO: sendsms used by <sfteam>
2002-09-05 17:16:14 [3] INFO: sendsms sender:<sfteam:72207> (2.84.1.194) to:<3128079> msg:<test>
2002-09-05 17:16:14 [3] DEBUG: message length 4, sending 1 messages
2002-09-05 17:16:14 [3] DEBUG: Status: 202 Answer: <Sent.>
2002-09-05 17:16:14 [3] DEBUG: HTTP: Resetting HTTPClient for `2.84.1.194'.
2002-09-05 17:16:14 [7] DEBUG: boxc_receiver: sms received
2002-09-05 17:16:14 [5] DEBUG: EMI2[smsfocal]: emi2 sending packet: <00/00070/O/51/3128079/72207/////////////////3//74657374/////////////25>
2002-09-05 17:16:14 [1] DEBUG: HTTP: Destroying HTTPClient area 0x80dd6c0.
2002-09-05 17:16:14 [1] DEBUG: HTTP: Destroying HTTPClient for `2.84.1.194'.
2002-09-05 17:16:14 [5] DEBUG: EMI2[smsfocal]: Got packet from the main socket
2002-09-05 17:16:14 [5] DEBUG: EMI2[smsfocal]: emi2 parsing packet: <00/00065/R/51/N/04/ Message not accepted, waiting for password/F6>
2002-09-05 17:16:14 [5] ERROR: EMI2[smsfocal]: Got negative ack. op:51, trn:0, error:4 (Operation not allowed), message: Message not accepted, waiting for password
2002-09-05 17:16:14 [5] INFO: EMI2[smsfocal]: Main connection closed by SMSC
2002-09-05 17:16:14 [5] DEBUG: EMI2[smsfocal]: clear_sent called
2002-09-05 17:16:14 [5] INFO: EMI2[smsfocal]: connecting to Primary SMSC
Our configuration is:
group = smsc
smsc = emi2
host = 10.122.25.140
port = 5401
smsc-password = password
keepalive = 55
idle-timeout = 30
my-number = 72207
 
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789 "
global-sender = 72207
access-log = "kannel.access"
log-file = "smsbox.log"
log-level = 1
 
Do we need to set the OTON, NPI and Subtype. According to the technical team, we need to set the OTON to 6, NPI to 5 and Subtype to 4. Is there any settings in .config file that we need to change?.
 
Regards,
Nasir

Reply via email to