jasmin
jasmin copied to clipboard
Jasmin Web-hook (dlr-url) | how to script in php
Hi, I am using the script below to try retrieving DLR from SMSC. When I browse the php page, There are nothing displayed.
-My http request is http://xx.xx.xx.x:1401/send?username=smsuser&password=xxxx&dlr=yes&dlr-level=2dlr-url=http://host/dlr-request.php&dlr-method=POST&from=INFO NET&to=xxxxx&content=xxxxxxxxxxxxx
---dlr-request.php
<?php
$MO_SMS=$_POST;
//extract variable
extract($MO_SMS);
//display values
echo "<pre>";
var_dump($MO_SMS);
echo "</pre>";
// acking reception
echo "ACK/Jasmin";
?>
Can I get any help to just testing retrieving DLR
Thanks in advance
Jasmin expect your page to return the content ACK/Jasmin. It's the only echo you should have I the page.
Your are free to use The POST or GET data your receive. You may trigger an action or save in a database.
Stale issue detected, remove stale label or comment or this will be closed soon.
This issue was closed because it has been stalled more than a year with no activity.