Mirroring PCM, RTP packets, or voice command data on a digital voice subscriber line

The mirroring function copies the specified PCM, RTP, and voice command data on a digital voice subscriber line to the specified destination. With the mirroring function, you can analyze and locate problems.

To mirror PCM, RTP, or voice command data on a digital voice subscriber line to a specified interface or destination:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter digital voice subscriber line view.

subscriber-line line-number

N/A

3. Mirror PCM, RTP, or voice command data to a specified interface or destination.

  • Mirror PCM or RTP data based on a calling number:mirror number number { pcm | { in | out | all } data } calling calling-number to { local-interface interface-type interface-number [ mac H-H-H ] | remote-ip ip-address [ port port ] }

  • Mirror PCM data based on a timeslot:mirror number number pcm { bdsp | fdsp } channel-number to { local-interface interface-type interface-number [ mac H-H-H ] | remote-ip ip-address [ port port ] }

  • Mirror RTP or voice command data on all timeslots:mirror number number { in | out | all } { command | data } to { local-interface interface-type interface-number [ mac H-H-H ] | remote-ip ip-address [ port port ] }

Optional.

By default, no traffic is mirrored.