Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applyArrivalRulesForReceipts option #126

Open
vetss opened this issue Oct 10, 2016 · 0 comments
Open

applyArrivalRulesForReceipts option #126

vetss opened this issue Oct 10, 2016 · 0 comments

Comments

@vetss
Copy link
Contributor

vetss commented Oct 10, 2016

As for now for all generated by SMSC GW delivery receipts mproc rules at Arrival step are not applied. Arrival step mpoc rules includes some message content changing and regilar routing process (Also most of default mproc rules actions also belongs to Arrival step). This fact makes more difficult to routing of created by SMSC GW delivery receipts.

We have one usefull option for it: incomereceiptsprocessing. When it is turned on then networkID for generated receipts is assigned as a networkID via which an original message has come to SMSC GW. This helps in many cases.

But sometimes we need to apply extra logic by Arrival step mproc rules. We need to

  1. introduce an extra general SMSC option applyArrivalRulesForReceipts. If we turn it on then Arrival step mproc rules will be applied to generated by SMSC GW delivery receipts.

  2. we need also add to default mproc rules conditions "isdr" and "isnotdr" that means "a message is a deleivery receipt (local generated or come from a remote smsc gw)" / "not a delivery receipts" it order to we can create different rules for messages and receipts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant