[asterisk-bugs] [JIRA] (ASTERISK-22279) when fxs(fxs is callee) is ring, dialing is set to 1, and so frametype = AST_FRAME_NULL in chan_dahdi.c/dahdi_read() , so will not invoke ast_dsp_busydetect()
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Aug 15 15:23:08 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209203#comment-209203 ]
Rusty Newton commented on ASTERISK-22279:
-----------------------------------------
We require a complete debug log to help triage the issue. This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
Please follow the instructions on the wiki page indicated.
* Specifically attach (More Actions > Attach Files) logs of both scenarios you describe, where busydetect works and where it doesn't.
* Be sure the log includes DEBUG messages. If capturing from the CLI be sure you set it to level 5 and VERBOSE to 5 as well.
What hardware are you using with DAHDI?
> when fxs(fxs is callee) is ring, dialing is set to 1,and so frametype = AST_FRAME_NULL in chan_dahdi.c/dahdi_read() , so will not invoke ast_dsp_busydetect()
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-22279
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22279
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 1.8.22.0
> Environment: ubuntu 12.04
> Reporter: wangpeng
>
> 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.
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list