User manual
31: Diagnostics
_______________________________________________________________________________________________________
To view configuration of the asterisk package, enter:
root@VA_router:~# uci export asterisk
package asterisk
config provider
option host '10.1.183.20'
option hostport '5060'
option username 'username'
option secret 'secret'
config client
option username 'username'
option secret 'secret'
option msn '384720'
config client
option username 'username'
option secret 'secret'
option 384721
31.11.2 Asterisk CLI diagnostics
You can use Asterisk CLI to view diagnostics. To enter asterisk CLI:
root@VA_router:~# asterisk -r
To view configured SIP peers when in asterisk CLI, enter:
root@VA_router:~# sip show peers
Name/username Host Dyn Forcerport ACL Port Status
VA_username 10.1.23.15 N 5060 Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0
offline]
To view current call diagnostics when in asterisk CLI, enter:
_______________________________________________________________________________________________________
© Virtual Access 2015
GW1000 Series User Manual
Issue: 2.4 Page 248 of 255