[sr-dev] [tracker] Comment added: dialplan: allow match/subst rules with variables

sip-router bugtracker at sip-router.org
Sat May 17 11:30:09 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#429 - dialplan: allow match/subst rules with variables
User who did this - Víctor Seva (linuxmaniac)

----------
The idea is to detect in the load process if match/subst rule contain pvs and flag it accordingly (pv_flags). Then in the child_init, every process builds a similar structure but in private memory and only with the flagged rules, it uses pv_parse_format to save the match_elem/subst_elem list in the structure. So, later, if the rule flagged is accessed in translate() the match/subst regex gets build with the actual value of the match/subst expression.

In order to detect a reload, a counter revision gets incremented. Each process will rebuild its private info if its private rev do not match the shared one.      
----------

More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=429#comment1458

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list