[OpenSIPS-Devel] [opensips] MOD DIALPLAN v2.1.2: New Dialplan Features (same as pull request #794) (#796)

Parantido De Rica notifications at github.com
Tue Feb 16 09:18:01 CET 2016


- Rules preload/translate alghoritm reworked: no more needs to have different buckets for REGEXP and BEST MATCH ones. All rules belong from same bucket. This way opens to many different scenarios and future development without afflicting performances (this rework will also fix issue #696 https://github.com/OpenSIPS/opensips/issues/696).
- New "match_var" database column introduced. This column will override "src/dest" dp_translate parameter when filled. It respects same syntax (wrong syntax will cause rule to being discarded at preload time).
- New "matched_pvar" AVP introduced. It will be filled with last matched rule id. AVP name can be set by modparam directive:

		modparam("dialplan", "matched_pvar", "$avp(dp_ruleid)")

- New "continue_search" database column introduced. When filled to "1", rule matching will continue through other rules. ATTRS and MATCHED_PVAR will be updated as soon as rule matches (next rule match will works on PVAR updated values). After a dp_translate ATTRS and MATCHED_PVAR will be updated with last rule match values.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/796

-- Commit Summary --

  * MOD DIALPLAN v2.1.2: New Dialplan Features (same as pull request #794)

-- File Changes --

    M modules/dialplan/dialplan.c (259)
    M modules/dialplan/dialplan.h (24)
    M modules/dialplan/dp_db.c (207)
    M modules/dialplan/dp_db.h (17)
    M modules/dialplan/dp_repl.c (270)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/796.patch
https://github.com/OpenSIPS/opensips/pull/796.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/796
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160216/eaa0ee4c/attachment.htm>


More information about the Devel mailing list