I’m using playSMS 1.4 and Kannel 1.5 with a MultiTech MultiConnect Cell 100 (MTC-H5-B03-KIT) as GSM modem.
I’ve succeeded to Forward all sandbox SMS to a URL with the form that we got on the admin panel (index.php?app=main&inc=feature_incoming&op=incoming), but I want to do the same with DLR.
Have you any idea on how can I do it ? I’m pretty sure I need to change the PHP source code, but where ?
Also, I see that DLR works well with playSMS, I see the status change in the “all outcoming SMS” page, but it seems that I don’t receive the “delivered” status: I see the “pending” and “sent” states, but I don’t get “delivered”.
try checking on Kannel side, can’t tell you which log file coz I have short memory on Kannel config and don’t have running Kannel right now
basically both “sent” and “delivered” are updates from Kannel, so if you saw “sent” it means Kannel pushed it to playSMS, but if you didn’t see “delivered” it meant Kannel didn’t push it to playSMS
why Kannel didn’t push it, usually because Kannel didn’t receive it from carrier
I’m adding some modems to my confirguration, so I got to do some changes in my DLR fowarding and I need your help.
In the function dlr($smslog_id, $uid, $p_status) in lib/fn_dlr.php, I need to know from which SMSC the DLR comes (like {SANDBOX_SMSC} in the incoming SMS forwarding), do you know how I can get that ?