Summary: | ASTERISK-22280: busydetect not work | ||||
Reporter: | wangpeng (voipwangpeng) | Labels: | |||
Date Opened: | 2013-08-12 04:10:28 | Date Closed: | 2013-08-15 15:09:32 | ||
Priority: | Major | Regression? | |||
Status: | Closed/Complete | Components: | |||
Versions: | 1.8.22.0 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | ubuntu 12.04 | Attachments: | |||
Description: | dialplan is :
[from-pstn] exten => s,1,Answer() same => n,Background(welcome) same => n,WaitExten(100) exten => 8003,1,Dial(${FXSPORT_3}) same => n,Goto(S_${DIALSTATUS},1) in chan_dahdi.conf is: busydetect=yes busycount=3 busypattern=350,350 first: an incoming call(will via fxo port),and when run WaitExten(100),outbound call hungup, but see log(by asterisk -rvvvv) "Perform busy detection etc on the dahdi line", fxo port not hungup until 100 sec. second: i modify WaitExten(100) to WaitExten(10). an incoming call(will via fxo port and then dial exten of asterisk),and dial 8003,will run Dial(${FXSPORT_3}), outbound call hungup, but exten 8003 is still ring. i found p->dialing is 1 when fxs(8003) is ring,this will led to "frametype = AST_FRAME_NULL" in chan_dahdi.c/dahdi_read() , so will not invoke ast_dsp_busydetect() (ref ast_dsp_process,and fxo will invoke ast_dsp_busydetect,but not return 1). fxs is callee,why set dialing to 1??is this led to busydetect not work?? how to resolve it?? thanks | ||||
Comments: |