Hi there

We are using homer to analyce and monitor traffic.
I did not get a solution to send x-rtp or p-rtp stats to homer.

How can I find infos about jitter, sent/received packages, lost packages, etc.?

Our current infos are based on
Rtpstat provided by kamailio.

At the moment I do

                                               $var(xrtpstat) = 
$(rtpstat{s.striptail,1});

                                 # Work the stats
                                 $var(octetsent) = $(var(xrtpstat){s.select,1, 
}); #octetsent / OS
                                 $var(packetsent) = $(var(xrtpstat){s.select,3, 
}); #PS
                                 $var(octetrcv) = $(var(xrtpstat){s.select,8, 
}); #OR
                                 $var(packetrcv) = $(var(xrtpstat){s.select,10, 
}); #PR
                                 $var(errorsent) = $(var(xrtpstat){s.select,5, 
});
                                                                                
                                              $var(errorrcv) = 
$(var(xrtpstat){s.select,12, });
                                 if ($var(octetsent) != "" || $var(packetsent) 
!= "")
                                 {
                                                                                
                                              xlog(,"L_INFO", "WITHINDLG 
PS=$var(rtp0),PR=$var(rtp1),PL=$var(rtp3) \n");
                                                                                
                                              xlog(,"L_INFO", "WITHINDLG 
xrtpstats=$var(xrtpstat) \r\n");
                                                                                
                                              xlog(,"L_INFO", "WITHINDLG 
rtpstats=$rtpstat \r\n");
                                                                                
                                              xlog(,"L_INFO", "WITHINDLG 
X-RTP-Stat: 
PS=$var(packetsent),OS=$var(octetsent),PR=$var(packetrcv),OR=$var(octetrcv),PL=$var(errorsent)
 \r\n");
                                 #append_hf("P-RTP-Stat:  $rtpstat\r\n");
                                                                                
                                              append_hf("X-RTP-Stat: 
PS=$var(packetsent);OS=$var(octetsent);PR=$var(packetrcv);OR=$var(octetrcv);PL=$var(errorsent);JI=600;LA=40;\r\n");
                                 }


Other question:
Where has this to be placed? Only on bye messages?

KR,
Oli


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to