[Asterisk-Users] X100p Problem, randomly hungup pstn line
Faris Raouf
asterisk at raouf.net
Tue Oct 4 07:00:19 MST 2005
Right at the end of your Zapata.conf you have:
#include zapata_additional.conf
hanguponpolarityswitch
;Include genzaptelconf configs
#include zapata-auto.conf
Remove that hanuponpolarityswitch as you already have
hanguponpolarityswitch=yes earlier on, and I don't know what having the
second one, with no =yes/no would do.
Then, with regards to logging, in logger.conf (and not logging.conf like I
said in my original message -- but you noticed that already :-) )
Looks for the console => and messages => lines.
At the moment they will be something like
console => notice,warning,error
and
messages => notice,warning,error
If you add ",debug" without the quotes to either line, debug information
will then be shown on the console (if you add it to the console line) or in
/var/log/asterisk/messages (or somewhere similar) if you add it to the
messages line.
To view the contents of /var/log/asterisk/messages in real time (constantly
updated), use the following command from the command line (not asterisk's
command line but your Linux box's command line)
tail -f /var/log/asterisk/messages
tail, by itself, shows the last 5 or so lines. Tail, with -f, keeps looking,
and so you get a scrolling log of what is being added. Very useful.
Restart asterisk for the new logging changes to be shown.
You should then be able to see some hopefully useful debug messages as your
call progresses.
Faris.
More information about the asterisk-users
mailing list