Knowledge BaseThe Digium Knowledge Base is a searchable library of troubleshooting advice and current information updated by Digium support technicians. |
|
Search:
Advanced search
|
Browse by category:
|
Contact Us |
Knowledge Base / Hardware /
Asterisk does not properly detect when a caller hangs up the phone. How do I fix this? |
|||||
You may also edit the ZT_KEWLTIME variable in zaptel.h. Navigate to the #define ZT_KEWLTIME line and change the value from 500 to 1000 (You'll need to recompile zaptel before this takes effect). You can enable busydetect and busycount to detect when a call has been hungup. Set 'busydetect=yes' and 'busycount=10'. You may experience hangups if your busycount number is too low, so increase the number until you find a variable that you're comfortable with. You can also try enabling callprogress, and set your progzone to your current country code. Callprogress is experimental, so if you experience frequent disconnects, you should disable it. Busydetect and callprogress are ways to try and detect a hangup in software which isn't as reliable as having the actual signalling indicate the hangup. If you're telcom uses polarity switching to signal for answer and/or disconnects, you should use 'answeronpolarityswitch=yes' and 'hanguponpolarityswitch=yes' |
|||||
