Hi, 

We are sending a sms via smsbox cgi, but I need set esm_class to zero, but we 
can't do it... 

I copy the http, plus debug output and smsc config. 

Thanks in advance, 
Gustavo


$ curl 
"http://127.0.0.1:13113/cgi-bin/sendsms?username=use&password=pwd&from=1111&to=%2B54911000000&text=prueba+mclass&meta-data=%3Fsmpp%3Ftlvcarrierid%3Dcarrier&mclass=0";

DEBUG: new group created `smpp'
DEBUG: group=`smpp' key=`tlvcarrierid' value=`carrier'
DEBUG: SMPP[smsc]: Sending PDU:
DEBUG: SMPP PDU 0xab517980 dump:
DEBUG:   type_name: submit_sm
DEBUG:   command_id: 4 = 0x00000004
DEBUG:   command_status: 0 = 0x00000000
DEBUG:   sequence_number: 20231 = 0x00004f07
DEBUG:   service_type: NULL
DEBUG:   source_addr_ton: 2 = 0x00000002
DEBUG:   source_addr_npi: 1 = 0x00000001
DEBUG:   source_addr: "1111"
DEBUG:   dest_addr_ton: 1 = 0x00000001
DEBUG:   dest_addr_npi: 1 = 0x00000001
DEBUG:   destination_addr: "5491100000000"
DEBUG:   esm_class: 3 = 0x00000003
DEBUG:   protocol_id: 0 = 0x00000000
DEBUG:   priority_flag: 0 = 0x00000000
DEBUG:   schedule_delivery_time: NULL
DEBUG:   validity_period: NULL
DEBUG:   registered_delivery: 0 = 0x00000000
DEBUG:   replace_if_present_flag: 0 = 0x00000000
DEBUG:   data_coding: 240 = 0x000000f0
DEBUG:   sm_default_msg_id: 0 = 0x00000000
DEBUG:   sm_length: 13 = 0x0000000d
DEBUG:   short_message: "prueba mclass"
DEBUG:   tlvcarrierid: "carrier"
DEBUG: SMPP PDU dump ends.
DEBUG: SMPP[smsc]: Got PDU:
DEBUG: SMPP PDU 0xab517a80 dump:
DEBUG:   type_name: submit_sm_resp
DEBUG:   command_id: 2147483652 = 0x80000004
DEBUG:   command_status: 0 = 0x00000000
DEBUG:   sequence_number: 20231 = 0x00004f07
DEBUG:   message_id: "0050AD58"
DEBUG: SMPP PDU dump ends.



group = smsc
smsc = smpp
smsc-id = smsc
host = HOST
port = 7000
smsc-username = usersss
smsc-password = pwdsss
system-type = VMA
my-number = 111
transceiver-mode=true
log-file = "/var/log/kannel/smpp.log"
log-level = 0



Reply via email to