- Debug mgcp packet (if applicable)
- Debug isdn q931
- voice hpi capture buffer 1000000
- voice hpi capture destination flash:pcm.dat
- exit
- test voice port 0/0/0:23.23 pcm-dump caplog 7 30
- :::::::::Make Test Call::::::::::::;
- test voice port 0/0/0:23.23 pcm-dump disable
- conf t
- no voice hpi capture buffer 1000000
- no voice hpi capture destination flash:pcm.dat
Note this is for prior to IOS 15. Also, your voice ports are going to be different based on whichever channel gets opened for the bearer channel for IOS 15 and later:
voice pcm capture buffer 200000
voice pcm capture destination flash:
exit
!
test voice port 0/1/3 pcm-dump caplog 7
:::::::::Make Test Call::::::::::::;
test voice port 0/1/3 pcm-dump disable
conf t
no voice pcm capture buffer 200000
no voice pcm capture destination flash:
On dial peer:
conf t
voice pcm capture buffer 80000000
voice pcm capture destination flash:
dial-peer voice 1
pcm-dump caplog FFFFFFF 254
!
After the all is done, to stop:
conf t
no voice pcm capture buffer 80000000
no voice pcm capture destination flash:
dial-peer voice 1
pcm-dump caplog disable
!