[sr-dev] git:master:c441c922: pv: added $rpl(key) variable

Daniel-Constantin Mierla miconda at gmail.com
Wed May 12 13:14:23 CEST 2021


Module: kamailio
Branch: master
Commit: c441c9226635fb825096080029be7ba2d3ba8132
URL: https://github.com/kamailio/kamailio/commit/c441c9226635fb825096080029be7ba2d3ba8132

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-05-12T13:14:12+02:00

pv: added $rpl(key) variable

- return attributes of the sip reply that is processed at that moment
- the key can be:
    - duri - SIP URI corresponding to the destination address where the
    reply is going to be sent based on 2nd via
    - dhost - host part of duri
    - dport - port part of duri
    - dproto - proto of duri
    - dprotoid - proto id of duri
    - cntvia - number of via header bodies

---

Modified: src/modules/pv/pv.c
Modified: src/modules/pv/pv_core.c
Modified: src/modules/pv/pv_core.h

---

Diff:  https://github.com/kamailio/kamailio/commit/c441c9226635fb825096080029be7ba2d3ba8132.diff
Patch: https://github.com/kamailio/kamailio/commit/c441c9226635fb825096080029be7ba2d3ba8132.patch




More information about the sr-dev mailing list