SIP filters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SIPServer |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
Depends on bug 1989478
squashed: https:/
more granular scratchwork: https:/
This is new functionality that allows you to add stanzas like these to the SIP configuration file for modifying SIP responses:
<filters>
<!--
Filters allow SIPServer to strip or modify specified fields inline from outgoing SIP messages. Currently, these
rules apply to all message types and only work for variable-length fields, but the config layout leaves room for
future enhancement.
Examples:
<field identifier="AE" replace_with="John Doe" />
<field identifier="BE" remove="true" />
-->
</filters>
Not yet pullrequesting until we're happy with the SIP test suite revitalization branch.
I removed the dependency on bug 1989478 and cherry-picked the commit into master and resolved a minor conflict. The test suite as a whole still doesn't pass, but 16filters.t does, assuming a concerto database by default, or by modifying SIPtest.pm as appropriate (which should be reconciled with oils_sip.xml anyway when testing).
https:/ /git.evergreen- ils.org/ ?p=working/ SIPServer. git;a=shortlog; h=refs/ heads/collab/ phasefx/ sip-filters- on-master
So... pullrequested. :-)