Dear Community ,
I am beginner in asterisk ; We are trying to get calls from 16201488 , 16201574 PSTN lines to PRI Line , we are getting following error " Everyone is busy/congested at this time" while I try to call specific landline , Log file and extensions.conf is attached for your kind reference . Please let me know how to troubleshoot this issue .
Regards ,
Rohan
#selected extensions dialplan to show logic :
default]
[GLOBALS]
PRI_STATUS=0
[from-pstn]
include => internal
;pbx number 16201604, 16201606
exten => _160 [4,6],1,Noop()
;pbx number 16201488 , 16201574
exten => 1488,1,Noop()
exten => 1574,1,Noop()
same => n,Set(CDR(call_date)={STRFTIME({EPOCH},%C%y-%m-%d)})
same => n,Set(CDR(outgoing)=4)
same => n,Background(welcome)
same => n,Background(exten)
same => n,WaitExten(5)
same => n,Dial(SIP/9,30,t)
same => n,Hangup()
#output of tail -f /var/log/asterisk/messages
[Sep 19 07:46:06] VERBOSE[22729][C-00001443] sig_pri.c: Accepting call from ‘8453083091’ to ‘1604’ on channel 0/6, span 1
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [1604@from-pstn:1] NoOp(“DAHDI/i1/8453083091-610”, “”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [1604@from-pstn:2] Set(“DAHDI/i1/8453083091-610”, “CDR(call_date)=2019-09-19”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [1604@from-pstn:3] Dial(“DAHDI/i1/8453083091-610”, “DAHDI/g0/1604,50”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] sig_pri.c: Requested transfer capability: 0x00 - SPEECH
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] app_dial.c: Called DAHDI/g0/1604
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] app_dial.c: DAHDI/i1/1604-611 is proceeding passing it to DAHDI/i1/8453083091-610
[Sep 19 07:46:06] VERBOSE[22729][C-00001443] sig_pri.c: Span 1: Channel 0/1 got hangup request, cause 28
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] chan_dahdi.c: Hungup ‘DAHDI/i1/1604-611’
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [1604@from-pstn:4] Verbose(“DAHDI/i1/8453083091-610”, “Dial status is CHANUNAVAIL”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] app_verbose.c: Dial status is CHANUNAVAIL
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [1604@from-pstn:5] Goto(“DAHDI/i1/8453083091-610”, “phone-status,phone-CHANUNAVAIL,1”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx_builtins.c: Goto (phone-status,phone-CHANUNAVAIL,1)
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [phone-CHANUNAVAIL@phone-status:1] Set(“DAHDI/i1/8453083091-610”, “CDR(outgoing)=3”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [phone-CHANUNAVAIL@phone-status:2] Set(“DAHDI/i1/8453083091-610”, “CDR(call_date)=2019-09-19”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] pbx.c: Executing [phone-CHANUNAVAIL@phone-status:3] Playback(“DAHDI/i1/8453083091-610”, “cdac_no_exten”) in new stack
[Sep 19 07:46:06] VERBOSE[14807][C-00001443] file.c: <DAHDI/i1/8453083091-610> Playing ‘cdac_no_exten.slin’ (language ‘en’)
[Sep 19 07:46:09] VERBOSE[22729][C-00001443] sig_pri.c: Span 1: Channel 0/6 got hangup request, cause 16
[Sep 19 07:46:09] VERBOSE[14807][C-00001443] chan_dahdi.c: Hungup ‘DAHDI/i1/8453083091-610’