Difference between revisions of "Audiocodes tunneling"

From VoIPmonitor.org
Jump to navigation Jump to search
Line 13: Line 13:
 
The options specifies conditions which rtp/rtcp packets should be assigned to CDR.
 
The options specifies conditions which rtp/rtcp packets should be assigned to CDR.
  
  audiocodes_rtp = no/YES/only/only_for_audiocodes_sip
+
  audiocodes_rtp = no/YES/only/only_for_audiocodes_sip
 
  audiocodes_rtcp = no/YES/only/only_for_audiocodes_sip
 
  audiocodes_rtcp = no/YES/only/only_for_audiocodes_sip
  
 
where the values means:
 
where the values means:
  no - means no process rtp/rtcp encapsulated by audiocodes
+
  no                     - means no process rtp/rtcp encapsulated by audiocodes
  yes - means process rtp/rtcp encapsulated by audiocodes - default YES
+
  yes                     - means process rtp/rtcp encapsulated by audiocodes - default YES
  only - assigns only RTP/RTCP packets encapsulated by audiocodes to SIP sessions/CDRs (will not assigns pure RTP packets if observed as well, no matter if SIP arrived via audiocodes or not)
+
  only                   - assigns only RTP/RTCP packets encapsulated by audiocodes to SIP sessions/CDRs (will not assigns pure RTP packets if observed as well, no matter if SIP arrived via audiocodes or not)
 
  only_for_audiocodes_sip - means that RTP/RTCP packets encapsulated in audiocodes will be assigned only in case that SIP packets for this call were audiocodes encapsulated as well.
 
  only_for_audiocodes_sip - means that RTP/RTCP packets encapsulated in audiocodes will be assigned only in case that SIP packets for this call were audiocodes encapsulated as well.

Revision as of 13:22, 3 May 2023

How to set voipmonitor

Basic options

Following options needs to be enabled in the sniffer service configuration in /etc/voipmonitor.conf for audiocodes packets procssing

audiocodes           = yes 
#choose which transport protocol will be used for audiocodes and enabled the option
udp_port_audiocodes  = 925
tcp_port_audiocodes  = 925

Special options

Following options helps you in case that also the pure (non-encapsulated) packets are visible to voipmonitor (of a same call - where are also packets encapsulated w audiocodes). The options specifies conditions which rtp/rtcp packets should be assigned to CDR.

audiocodes_rtp  = no/YES/only/only_for_audiocodes_sip
audiocodes_rtcp = no/YES/only/only_for_audiocodes_sip

where the values means:

no                      - means no process rtp/rtcp encapsulated by audiocodes
yes                     - means process rtp/rtcp encapsulated by audiocodes - default YES
only                    - assigns only RTP/RTCP packets encapsulated by audiocodes to SIP sessions/CDRs (will not assigns pure RTP packets if observed as well, no matter if SIP arrived via audiocodes or not)
only_for_audiocodes_sip - means that RTP/RTCP packets encapsulated in audiocodes will be assigned only in case that SIP packets for this call were audiocodes encapsulated as well.