Vega R2 Debugging
Use the Guide below to assist with MFCR2 Debugging for your Vega Gateway
Enable R2 Debugging by inserting all the following commands in your Vega CLI, individually:
debug enable router rs
debug enable isdn rs
debug enable _cas 4567
debug enable _logger i
sip monitor on
log display off
debug onReproduce the R2 issue
Type 'debug dump' in your Vega CLI to dump the debug session. You should see a file produce which looks like this
Download the 'debug dump' file to a Linux system so that we can easily dissect. Do a search filter in the file by typing the following:
-> cat putty.log | grep "CAS-RG" > putty-1.logThe result is a file that looks like this which contains only the R2 Forward and Backwards tones.
Open the Forward Tones Chart in a new tab and open the Backward Tones Chart in another tab
Now you can see in detail what is occurring on the call. Note both tones start in the first group and move to the second group if indicated
A good reference for R2 is: http://wiki.sangoma.com/mfcr2-openr2-troubleshooting
Below is a quick summary of what occurred in the "putty-1.log" file:
0;37;46m_CAS :CAS-RG: 1855002: 00000:ISDN :<-- Rcvd tone A :(api_cas.c;1006)[1;32;40m
<<< Received forward tone 10. This indicates the "discriminating digit" has been set.
0;37;46m_CAS :CAS-RG: 1855032: 00000:ISDN :--> Play BWD tone 6 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 1. This means "address-complete".
0;37;46m_CAS :CAS-RG: 1855282: 00000:ISDN :<-- Rcvd tone 1 :(api_cas.c;1006)[1;32;40m
<<< Receive forward tone 1. This means digit 1.
0;37;46m_CAS :CAS-RG: 1855315: 00003:ISDN :--> Play BWD tone 1 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 1. This means send next digit.
0;37;46m_CAS :CAS-RG: 1855557: 00000:ISDN :<-- Rcvd tone 2 :(api_cas.c;1006)[1;32;40m
<<< Receive forward tone 1. This means digit 2.
0;37;46m_CAS :CAS-RG: 1855592: 00000:ISDN :--> Play BWD tone 1 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 1. This means send next digit.
0;37;46m_CAS :CAS-RG: 1855867: 00002:ISDN :<-- Rcvd tone 1 :(api_cas.c;1006)[1;32;40m
<<< Receive forward tone 1. This means digit 1.
0;37;46m_CAS :CAS-RG: 1855892: 00000:ISDN :--> Play BWD tone 1 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 1. This means send next digit.
0;37;46m_CAS :CAS-RG: 1856140: 00000:ISDN :<-- Rcvd tone 3 :(api_cas.c;1006)[1;32;40m
<<< Receive forward tone 1. This means digit 3.
0;37;46m_CAS :CAS-RG: 1856172: 00000:ISDN :--> Play BWD tone 1 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 1. This means send next digit.
0;37;46m_CAS :CAS-RG: 1856442: 00000:ISDN :<-- Rcvd tone 3 :(api_cas.c;1006)[1;32;40m
<<< Receive forward tone 1. This means digit 3.
0;37;46m_CAS :CAS-RG: 1856472: 00000:ISDN :--> Play BWD tone 1 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 1. This means send next digit.
0;37;46m_CAS :CAS-RG: 1856717: 00002:ISDN :<-- Rcvd tone C :(api_cas.c;1006)[1;32;40m
<<< Receive forward tone 12. This means no echo suppressor required
0;37;46m_CAS :CAS-RG: 1870475: 00003:ISDN :--> Play BWD tone 3 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 3. This means change over to reception of group b signals
0;37;46m_CAS :CAS-RG: 1870737: 00000:ISDN :<-- Rcvd tone 2 :(api_cas.c;1006)[1;32;40m
<<< Receive forward tone 2.
0;37;46m_CAS :CAS-RG: 1884595: 00003:ISDN :--> Play BWD tone 4 :(api_cas.c;823)[1;32;40m
>>> Play backward tone 4. This means congestion.