[OpenSIPS-Devel] [opensips] $rtpstat pvar in rtpengine is empty (#434)

Rob Gagnon notifications at github.com
Wed Mar 18 18:05:58 CET 2015


After successful call with rtpengine proxying the RTP, an attempt to log, or insert the value of $rtpstat into a header does not work.  The content is blank.

```
...
if (has_totag()) {
   if (loose_route() || topology_hiding_match()) {
      if (is_method("INVITE")) {
         record_route();
      }
      if (is_method("CANCEL|BYE")) {
         append_hf("x-rtp-statistics: $rtpstat\r\n");
         rtpengine_delete();
      }
   }
   route(relay);
} else {
   ...
}
...
```

The header appears in the BYE, but there is nothing following the colon.  

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


More information about the Devel mailing list