Hello.

I've been reading some threads of this issue and I applied the patch mentioned 
in 
http://www.kannel.org/pipermail/devel/2007-August/001156.html

But, I don't understand how to use meta-data.

My conf file sais:


group = smpp-tlv
name=MAS_APP_ID
tag=0x1401
type=octetstring
length=1
name=MAS_SVC_ID
tag=0x1402
type=octetstring
length=1
name=MAS_CONF_ID
tag=0x1403
type=octetstring
length=1
name=MAS_CONT_DESC
tag=0x1404
type=octetstring
length=4

Because operator gave me this values:
MAS_APP_ID:               53
MAS_SVC_ID:               13
MAS_CONT_ID:             1          
MAS_CONT_DESC:       Info

This values are used to the billing process in the MT message. 

So, my doubt is if this is the way to create the url with meta-data value to 
send sms mt:
$md = 
urlencode("?smpp?MAS_APP_ID=53&MAS_SVC_ID=13&MAS_CONT_ID=1&MAS_CONT_DESC=Info");
$url = "http://localhost:4000/cgi-bin/sendsms?username=...&meta-data=$md";;

Because, sms mts are deliverd to the phone, but no charges are made ...

Regards,
m

Reply via email to