So if I type sip show peers I get back a table telling me that the status of the trunks is “OK”, but I don’t think it tests to see if authentication has worked. Is there a way of testing if the trunk is OK and calls can go through?
So if I type sip show peers I get back a table telling me
Share
You can check for different text strings like
BUSY,CONGESTION,CHANUNAVAIL,etc from checking the${DIALSTATUS}variable in your dialplan.You could’ve a log which is created with the hangup cause after a channel is hungup.