[asterisk-bugs] [JIRA] (ASTERISK-22251) after dial 7, i must wait 1 sec before hear second dialtone, i want hear second dialtone at once or at most 0.5 second

Michael L. Young (JIRA) noreply at issues.asterisk.org
Mon Aug 5 09:37:05 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael L. Young closed ASTERISK-22251.
---------------------------------------

    Resolution: Duplicate
    
> after dial 7, i must wait 1 sec before hear second dialtone, i want hear second dialtone at once or at most 0.5 second 
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-22251
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22251
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>            Reporter: wangpeng
>
> i use asterisk 1.8.22.0 and dahdi-linux-complete-2.7.0+2.7.0
> use default configure and tdm410p card, fxo port connect to CO, and have a phone connect to fxs, my dialplan:
> [from-internal]
> exten => 7,1,Dial(DAHDI/2)
> 	same=> n,Hangup()
> i dial 7, after hear second dialtone, dial External number,it is OK.
> but i have a problem, after dial 7 , i must wait 1 second until second dialtone play,why???
> i catch debug log, and found: before 1 second, frame type from FXO channnel are all AST_FRAME_NULL, afer 1 second ,are all AST_FRAME_VOICE and hear dialtone.
> then i found dialing filed of struct dahdi_pvt is 1 before 1 second, after 1 second it become to 0.
> then i found before 1 second, invoke function dahdi_exception two times, in firest time, event is ANALOG_EVENT_HOOKCOMPLETE(9) and dial string is "Tw", in second time ,event is ANALOG_EVENT_DIALCOMPLETE(6). i remember that if use DAHDI/2/www8001, will wait 3 second before dial 8001. if delete char "w", will not wait 1 second?? but i do not find where add "w".
> i found, before program run into  app_dial.c/wait_for_answer, it will invoke ast_call->analog_call,but after invoke analog_start in analog_call, return value is not 0 ,it is -1, and then print is “Deferring dialing...”. 
> pls tell me how to  hear second dialtone at once or at most 0.5 second ?????

--
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