All the information in a SIP request shall be available for condition
evaluation in DCR. The evaluation includes comparison and pattern matching. For
example, it should be possible to write a rule that is only valid for requests
with a specific SIP method.
Note that alternative solutions to just extend the current structure shall be
evaluated. There are ideas about switching to a solution based on a java class
which would be among other things easier to understand and maintain.
The following "variables" should be supported for condition evaluation:
DCR shall be able to return a URI without parameters. This is important since
the UC key need to be the same as the session key which in turn must be exactly
the same as the PUI (without parameters such as "transport") that is
provisioned for the application.
As an example:
sip:email@example.com;transport=tcp should return sip:firstname.lastname@example.org