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

Eric Tamme eric at uphreak.com
Wed Mar 18 18:38:30 CET 2015


The function calls that populate the rtpstat pvar are not properly set 
up at the moment.  I will work on getting a pull request together with a 
fix.
-Eric

On 03/18/2015 11:05 AM, Rob Gagnon wrote:
>
> 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>.
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150318/2289f4a7/attachment.htm>


More information about the Devel mailing list