TRUNK=DAHDI/r0
exten => _9XXXXXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9XXXXXXXXXXX.,2,Dial(${TRUNK}/${EXTEN:1},,To)
exten => _9XXXXXXXXXXX.,3,Hangup
we are using 4 port digium card&4 Pri line connected.i have done pri grouping.
In carrier status Congestion(--21-----CONGESTION--) is more.is that problem with dial plan or provider end.
Here is my log
[Feb 13 08:40:40] -- Executing [9098XXXXXXXX@default:1] AGI("Local/9098XXXXXXXX@default-2104,2", "agi://127.0.0.1:4577/call_log") in new stack
[Feb 13 08:40:40] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=TEST))
[Feb 13 08:40:40] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb 13 08:40:40] -- Executing [9098XXXXXXXX@default:2] Dial("Local/9098XXXXXXXX@default-2104,2", "dahdi/r0/9098XXXXXXXX||To") in new stack
[Feb 13 08:40:40] -- Requested transfer capability: 0x00 - SPEECH
[Feb 13 08:40:40] -- Called r0/9098XXXXXXXX
[Feb 13 08:40:40] -- DAHDI/37-1 is proceeding passing it to Local/9098XXXXXXXX@default-2104,2
[Feb 13 08:40:40] -- DAHDI/37-1 is making progress passing it to Local/9098XXXXXXXX@default-2104,2
[Feb 13 08:40:41] -- Span 2: Channel 0/6 got hangup request, cause 21
[Feb 13 08:40:41] -- DAHDI/37-1 is circuit-busy
[Feb 13 08:40:41] -- Hungup 'DAHDI/37-1'
[Feb 13 08:40:41] == Everyone is busy/congested at this time (1:0/1/0)
[Feb 13 08:40:41] -- Executing [9098XXXXXXXX@default:3] Hangup("Local/9098XXXXXXXX@default-2104,2", "") in new stack
[Feb 13 08:40:41] == Spawn extension (default, 9098XXXXXXXX, 3) exited non-zero on 'Local/9098XXXXXXXX@default-2104,2'
[Feb 13 08:40:41] -- Executing [h@default:1] DeadAGI("Local/9098XXXXXXXX@default-2104,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----21-----CONGESTION----------") in new stack
[Feb 13 08:40:42] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
Total 50 agents logged in
Dial Ratio : 3
Congestion : 40%
VERSION: 2.8-410a
BUILD: 130824-2319
Asterisk 1.4.44-vici
Max Calls per Second = 20
Max Trunks=120
Rev: 1983