Hi,
 
    I was trying to use the "sendsms" url with the latest cygwin kannel package. I get the below error.
 
SMSC returned error code 0x0000000c in response to submit_sm
 
I understand that it is a "Message ID invalid" error, but i have not set any msg id. I think it is taking a default msg id. Can anyone help me to figure out the cause of the error? How can i explicitly set a msg id from the URL? Could it be that the operator SMSC is blocking any messages? Initially, i received a trasmitter_bind and receiver_bind success, then what could be the cause?
 
I also observe that it sets a default_msg_id and a default_msg_length as 0.
 
This is the error log:
2003-06-11 19:38:25 [8] DEBUG: boxc_receiver: sms received
2003-06-11 19:38:25 [5] DEBUG: SMPP[xxx]: Sending PDU:
2003-06-11 19:38:25 [5] DEBUG: SMPP PDU 0x100c7708 dump:
2003-06-11 19:38:25 [5] DEBUG:   type_name: submit_sm
2003-06-11 19:38:25 [5] DEBUG:   command_id: 4 = 0x00000004
2003-06-11 19:38:25 [5] DEBUG:   command_status: 0 = 0x00000000
2003-06-11 19:38:25 [5] DEBUG:   sequence_number: 6 = 0x00000006
2003-06-11 19:38:25 [5] DEBUG:   service_type: NULL
2003-06-11 19:38:25 [5] DEBUG:   source_addr_ton: 2 = 0x00000002
2003-06-11 19:38:25 [5] DEBUG:   source_addr_npi: 1 = 0x00000001
2003-06-11 19:38:25 [5] DEBUG:   source_addr: "354"
2003-06-11 19:38:25 [5] DEBUG:   dest_addr_ton: 2 = 0x00000002
2003-06-11 19:38:25 [5] DEBUG:   dest_addr_npi: 1 = 0x00000001
2003-06-11 19:38:25 [5] DEBUG:   destination_addr:
"919845472779"
2003-06-11 19:38:25 [5] DEBUG:   esm_class: 3 = 0x00000003
2003-06-11 19:38:25 [5] DEBUG:   protocol_id: 0 = 0x00000000
2003-06-11 19:38:25 [5] DEBUG:   priority_flag: 0 = 0x00000000
2003-06-11 19:38:25 [5] DEBUG:   schedule_delivery_time: NULL
2003-06-11 19:38:25 [5] DEBUG:   validity_period: NULL
2003-06-11 19:38:25 [5] DEBUG:   registered_delivery: 0 =
0x00000000
2003-06-11 19:38:25 [5] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2003-06-11 19:38:25 [5] DEBUG:   data_coding: 0 = 0x00000000
2003-06-11 19:38:25 [5] DEBUG:   sm_default_msg_id: 0 =
0x00000000
2003-06-11 19:38:25 [5] DEBUG:   sm_length: 0 = 0x00000000
2003-06-11 19:38:25 [5] DEBUG:   short_message: "hellow"
2003-06-11 19:38:25 [5] DEBUG: SMPP PDU dump ends.
2003-06-11 19:38:25 [5] DEBUG: SMPP[praxair]: Got PDU:
2003-06-11 19:38:25 [5] DEBUG: SMPP PDU 0x100c7738 dump:
2003-06-11 19:38:25 [5] DEBUG:   type_name: submit_sm_resp
2003-06-11 19:38:25 [5] DEBUG:   command_id: 2147483652 =
0x80000004
2003-06-11 19:38:25 [5] DEBUG:   command_status: 12 = 0x0000000c
2003-06-11 19:38:25 [5] DEBUG:   sequence_number: 6 = 0x00000006
2003-06-11 19:38:25 [5] DEBUG:   message_id: "0"
2003-06-11 19:38:25 [5] DEBUG: SMPP PDU dump ends.
2003-06-11 19:38:25 [5] ERROR: SMPP[xxx]: SMSC returned error
code 0x0000000c in response to submit_sm.
 
My kannel.conf configs are as below.
 
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = Dumb-bugger
log-file = "kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;10.0.0.*;64.104.147.*"
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;10.0.0.*;64.104.147.*"
#unified-prefix = "00358,0"
access-log = "access.log"
#all-log = all-packet.log"
#dlr-storage = internal
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 354
#sendsms-chars = "0123456789 +-"
log-file = "smsbox.log"
log-level =0
#access-log = "access.log"
group = sendsms-user
username = test
password = test
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;10.0.0.*;64.104.147.*"
default-smsc = "chat"
max-messages = 10
 
group = sms-service
keyword = default
get-url="">max-messages=0

group = smsc
smsc = smpp
smsc-id = "xxx"
host = xx.xx.xx.xx
port = 5018
receive-port = 5018
smsc-username = xxx
smsc-password = xxx
address-range = ""
system-type = "VMA"
 
Thanks for the help,
Chirag
 
**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

Reply via email to