playSMS Forum

Want to add custom field

I want to add a new field named “Campaign ID” in playsms front end interface and want to pass that fields data to my locally install kannel smsc (http) as a parameter like $to, $from etc… After getting those data from smsc I am calling my php script for sending sms to my http api sms provider, Can any one guide me how to do this.

below my smsc.conf sendurl, where I want to add an extra parameter like “%Campaign_ID” or something like that which data will come from my playsms front end as I I stated above.

send-url = “the-http-link:://localhostbox/_myscpr/sendto.php?smsc=smsc-name&from=%P&to=%p&text=%b&host=”

Thanks in advance.