[OpenSIPS-Devel] new module: qos

Ovidiu Sas osas at voipembedded.com
Tue Dec 23 22:06:23 CET 2008


Hello,

QoS is an new module that can be used to track per dialog SDP sessions.
The QoS module is sitting on top of the dialog module and provides an
API to be used by other module.
The QoS module does not provide any scripting functionality (it is a
passive module).
See the module documentation for more informations.

SDP session(s) can be inspected via the dialog dlg_list_ctx MI
interface command:
dialog::  hash=3732:573385728
        state:: 4
        timestart:: 1230068558
        timeout:: 1009
        callid:: d3d816cce3e24a19b937b56e4689e524
        from_uri:: sip:111111111 at 10.11.10.63
        from_tag:: 8c85c079
        caller_contact:: sip:111111111 at 10.11.128.129
        caller_cseq:: 100
        caller_route_set::
        caller_bind_addr:: udp:10.11.10.63:5060
        to_uri:: sip:222222222 at 10.11.10.63
        to_tag:: 43FED9C4-20CF
        callee_contact:: sip:222222222 at 10.111.3.241:5060
        callee_cseq:: 100
        callee_route_set::
        callee_bind_addr:: udp:10.11.10.63:5060
        context::
                qos:: negotiated_sdp
                        sdp::  m_dir=1 m_id=1 method=INVITE cseq=100
negotiation=1
                                session:: callee cnt_disp= bw_type=
bw_width= streams=2
                                        stream:: 1 media=video
IP=10.111.3.241 port=0 transport=RTP/AVP payloads_num=0
                                        stream:: 0 media=audio
IP=10.111.3.241 port=17240 transport=RTP/AVP payloads_num=3
                                                payload:: 2 rtpmap=100
codec=X-NSE
                                                payload:: 1 rtpmap=101
codec=telephone-event
                                                payload:: 0 rtpmap=0 codec=PCMU
                                session:: caller cnt_disp= bw_type=AS
bw_width=400 streams=2
                                        stream:: 1 media=video
IP=10.11.128.129 port=22804 transport=RTP/AVP payloads_num=2
                                                payload:: 1 rtpmap=34 codec=H263
                                                payload:: 0 rtpmap=107
codec=H263-1998
                                        stream:: 0 media=audio
IP=10.11.128.129 port=22800 transport=RTP/AVP payloads_num=12
                                                payload:: 11
rtpmap=112 codec=iLBC
                                                payload:: 10
rtpmap=100 codec=AMR
                                                payload:: 9 rtpmap=13 codec=CN
                                                payload:: 8 rtpmap=101
codec=telephone-event
                                                payload:: 7 rtpmap=111
codec=G726-40
                                                payload:: 6 rtpmap=110
codec=G726-32
                                                payload:: 5 rtpmap=109
codec=G726-24
                                                payload:: 4 rtpmap=108
codec=G726-16
                                                payload:: 3 rtpmap=4 codec=G723
                                                payload:: 2 rtpmap=18 codec=G729
                                                payload:: 1 rtpmap=0 codec=PCMU
                                                payload:: 0 rtpmap=8 codec=PCMA



Regards,
Ovidiu Sas



More information about the Devel mailing list