I am integrating kannel to an SMPP based USSD gateway which requires responses to be data_sm.
I have been able to bind, receive and send messages, but the USSDC is rejecting my responses because Kannel is sending submit_sm ( when examined in the tcpdump) despite the fact that I set pdu_type=data_sm in X-Kannel-Meta-Data, while every other sm parameters were well set and formatted. Please help! What am I doing wrong My get-url script is: <?php $msg_id = $_REQUEST['mid']; //mid passed from get-url %F $pssr_res = 0x11; $uresponse = "Welcome to my World."; $meta = "?smpp?pdu_type=" .urlencode("data_sm") ."&ussd_service_op=".urlencode($pssr_res) ."&receipted_message_id=" .urlencode($msg_id)."&message_payload=" .urlencode("$uresponse"); header("X-Kannel-Meta-Data: $meta"); header("X-Kannel-SMSC: SMUSSD"); header("X-Kannel-From: 554"); header("X-Kannel-Coding: 0"); header("Content-Type: text/plain"); ?> My SMPP-TLV Service Definition is as follows: ######################################### # USSD ServiceĀ ######################################## group = smpp-tlv name = ussd_service_op tag = 0x0501 type = integer length = 1 smsc-id="SMUSSD" group = smpp-tlv name = receipted_message_id tag = 0x001e type = nulterminated length = 65 smsc-id = "SMUSSD" group = smpp-tlv name = message_payload tag = 0x0424 type = nulterminated length = 255 smsc-id = "SMUSSD" Regards, Olu