返回列表 發帖

Resolving hangup detection problems with fxo cards

本帖最後由 角色 於 2010-8-30 12:43 編輯

When I dialled in an FXO card of an Asterisk server, the call will be answered by an IVR. Then I entered an extension number, for instance 6001, and hangup without waiting for the callee to pick up my call. However, the extension 6000 was kept on ringing for a very period of time until Asterisk issued an soft hang up signal to stop ringing because no one picked up the phone.

Does anyone have come across this situation before? I have used the following methods but still failed.

http://www.asteriskguru.com/tuto ... _tdm_voicemail.html

http://bbs.chinaunix.net/thread-1727426-1-1.html

YH

本帖最後由 角色 於 2010-8-29 16:28 編輯

Finally I am able to fix this problem based on the above link in the first post.

1) Uncommenting the following two lines in /etc/asterisk/chan_dahdi.conf as follows:

busydetect=yes
busycount=4

2) Stop the asterisk
/etc/init.d/asterisk stop

3) Restart the dahdi
/etc/init.d/dahdi restart

4) Start the asterisk
/etc/init.d/asterisk start

or Using CLI method
CLI> dahdi restart

If the above two methods do not work, you have to reboot the whole system to check if it works.

YH

TOP

You may try to force hang up in your dial plan as below.  Hopefully, it will not keep on sending invitation to others.

; force hangup immediately
exten => h,1,Hangup()

TOP

Where do we put this command?

For the timing, Asterisk APL hangup problem has already been fixed but not for Asterisk-GUI 2.0 mode.

YH

TOP

Put it in individual outgoing extension under extension.conf

TOP

本帖最後由 角色 於 2010-8-30 10:42 編輯

For outgoing calls,there is no problem found. The present problem comes from incoming from FXO ports.

For APL, the hangup problem has already been fixed.

For Asterisk-GUI, the problem still persists.


YH

TOP

返回列表