[Freeswitch-dev] RTCP patch to send source reports in the RECV_RTCP_MESSAGE event

Guillaume Binet G.Binet at mondialtelecom.be
Tue Jun 29 03:16:57 PDT 2010


Hi all,

Please find attached a patch that parses and add RTCP source reports and added the info to the corresponding the switch event.

It adds the following headers, numbered by source :

Event arrived : RECV_RTCP_MESSAGE
     Event Header : Event-Name -> RECV_RTCP_MESSAGE
     Event Header : Core-UUID -> 649cbe4e-7bb8-4edd-a0f5-2662246966f8
     Event Header : FreeSWITCH-Hostname -> sal
     Event Header : FreeSWITCH-IPv4 -> 192.168.0.89
     Event Header : FreeSWITCH-IPv6 -> ::1
     Event Header : Event-Date-Local -> 2010-06-29 12:11:00
     Event Header : Event-Date-GMT -> Tue, 29 Jun 2010 10:11:00 GMT
     Event Header : Event-Date-Timestamp -> 1277806260737911
     Event Header : Event-Calling-File -> mod_sofia.c
     Event Header : Event-Calling-Function -> sofia_read_frame
     Event Header : Event-Calling-Line-Number -> 907
     Event Header : Unique-ID -> 4fa7d00b-64f2-47ff-b2db-266943ee5fe2
     Event Header : SSRC -> 402076d6
     Event Header : NTP-Most-Significant-Word -> 3486795060
     Event Header : NTP-Least-Significant-Word -> 3111085330
     Event Header : RTP-Timestamp -> 40160
     Event Header : Sender-Packet-Count -> 246
     Event Header : Octect-Packet-Count -> 39360
     Event Header : Last-RTP-Timestamp -> 39840
     Event Header : RTP-Rate -> 8000
     Event Header : Capture-Time -> 1277806260738059
--> HERE
     Event Header : Source0-SSRC -> 18320497
     Event Header : Source0-Fraction -> 0
     Event Header : Source0-Lost -> 0
     Event Header : Source0-Highest-Sequence-Number-Received -> 40032
     Event Header : Source0-Jitter -> 5
     Event Header : Source0-LSR -> 0
     Event Header : Source0-DLSR -> 0

Guillaume BINET.
Guillaume Binet
Mobile: +32 487 57 35 81
Fax: +32 2 223 01 15

Ch. de la Hulpe 181 Terhulpsesteenweg
Bruxelles          B-1170            Brussel
www.mondialtelecom.be

To discover the innovation of Mondial Telecom,
becherry.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RTCP-source-parsing.patch
Type: text/x-patch
Size: 10481 bytes
Desc: 0001-RTCP-source-parsing.patch
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100629/6ce5a1a9/attachment.bin 


More information about the FreeSWITCH-dev mailing list