Since updating from version 1.4.2 to 1.4.3 forwarding no longer works at it used to.
Under Settings > Route Incoming SMS > Post Rules I have the following settings:
Route all sandbox SMS with matched sender ID = yes
Route all sandbox SMS to users =
Forward All sandbox to SMS to a URL = /pushNotice/playsms2url/?ID={SANDBOX_DATETIME}&Timestamp={SANDBOX_DATETIME}&OriginatingAddress={SANDBOX_SENDER}&Message={SANDBOX_MESSAGE}&Recipients={SANDBOX_RECEIVER}&Network={SANDBOX_SMSC}&smsc={SANDBOX_SMSC}&psms_user={PSMS_USER}
In Settings > Route Incoming SMS > Settings:
Leave a copy in sandbox SMS page = yes
Match with all approved sender ID = yes
Before the update, {PSMS_USER} would parse to the user receiving the text. After the update, playsms attempts to forward the message but the final keypair remains “&psms_user={PSMS_USER}”. The intent of forwarding this URL is to forward texts to different locations dependant on the user.
Was this intended? Has there been an update to the syntax of the PSMS_USER? or a change in variable name? I’m unsure if this is a misconfiguration or if this variable has suddenly gone missing from this portion of the system.
1.4.3 does not include this portion of code at all. I can only assume it has been consciously removed, although I’m not sure if this was for security reasons. Whatever the reason I have managed to add {PSMS_USER} back into the list of variables by editing /plugin/feature/incoming/fn.php and updating the forward to url section to be as follows: