Hi,
I have configure asterisk 1.8, libpri version: 1.4.15 with DAHDI Version: 2.6 and we installed Allo 1st Generation PRI card all goes will but when I tried to make outbound call I received following errors however inbound calls are working fine.
[Apr 19 14:08:13] VERBOSE[40162] res_agi.c: [Apr 19 14:08:13] – <SIP/6361-00000031>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Apr 19 14:08:13] VERBOSE[40162] pbx.c: [Apr 19 14:08:13] – Executing [508038133711@default:2] Dial(“SIP/6361-00000031”, “dahdi/g1/08038133711”) in new stack
[Apr 19 14:08:13] WARNING[40162] app_dial.c: Unable to create channel of type ‘dahdi’ (cause 0 - Unknown)
[Apr 19 14:08:13] VERBOSE[40162] app_dial.c: [Apr 19 14:08:13] == Everyone is busy/congested at this time (1:0/0/1)
[Apr 19 14:08:13] VERBOSE[40162] pbx.c: [Apr 19 14:08:13] – Executing [508038133711@default:3] Hangup(“SIP/6361-00000031”, “”) in new stack
Dial Plan Settings.
/etc/asterisk/extensions.conf
[globals]
TRUNK=DAHDI/r1
[default]
exten => _5X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _5X.,n,Dial(${TRUNK}/${EXTEN:1},40,tToR)
exten => _5X.,n,Hangup()
DAHDI configs and settings.
/etc/asterisk/dahdi-channels.conf
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 6
[root@localhost asterisk]# dahdi_hardware
pci:0000:09:00.0 tor3e+ 10b5:d44d ALLO Dual E1
[root@localhost asterisk]# asterisk -rx "dahdi show status"
Description Alarms IRQ bpviol CRC Fra Codi Options LBO
ALLO (PCI) Dual E1 Card 0 Span 1 OK 0 0 0 CCS HDB3 0 db (CSU)/0-133 feet (DSX-1)
ALLO (PCI) Dual E1 Card 0 Span 2 BLU/RED 0 0 0 CCS HDB3 0 db (CSU)/0-133 feet (DSX-1)
You don’t have a group 1, you only have groups 0 and 11. You may have a group 6, but there doesn’t seem to be anything in it.
Here is my complete dahdi-channels.conf
; Span 1: Tor3/0/1 “ALLO (PCI) Dual E1 Card 0 Span 1” (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
; Span 2: Tor3/0/2 "ALLO (PCI) Dual E1 Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63
So should i make it as following please advise.
group=1
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
I’ve no idea why you specified g1, so I don’t know whether or not that change will break something else.
I have change the dial plan and now error has been changes, please advise.
[globals]
TRUNK=DAHDI/r11
[default]
exten => _5X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _5X.,n,Dial(${TRUNK}/${EXTEN:1},40,tToR)
exten => _5X.,n,Hangup()
CLI Logs…
[Apr 20 15:49:48] – Executing [508038133711@default:1] AGI(“SIP/8711-00000056”, “agi://127.0.0.1:4577/call_log”) in new stack
[Apr 20 15:49:48] – <SIP/8711-00000056>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Apr 20 15:49:48] – Executing [508038133711@default:2] Dial(“SIP/8711-00000056”, “DAHDI/r11/08038133711,40,tToR”) in new stack
[Apr 20 15:49:48] – Requested transfer capability: 0x00 - SPEECH
[Apr 20 15:49:48] – Called DAHDI/r11/08038133711
[Apr 20 15:49:48] – DAHDI/i1/08038133711-677 is proceeding passing it to SIP/8711-00000056
[Apr 20 15:49:48] – Span 1: Channel 0/4 got hangup request, cause 31
[Apr 20 15:49:48] – Hungup ‘DAHDI/i1/08038133711-677’
[Apr 20 15:49:48] == Everyone is busy/congested at this time (1:0/0/1)
[Apr 20 15:49:48] – Executing [508038133711@default:3] Hangup(“SIP/8711-00000056”, “”) in new stack
Cause 31 is normal clearing.
But i am still not able to dial any number, i am getting this messages on all numbers
You will have to ask the person who manages the other end of the trunk, as the diagnostic does not indicate any error.