Asterisk 1.8 with GUI and B410p

Hi
I have just installed
OS Version:
Linux 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686 i686 i386 GNU/Linux

Asterisk Build:
Asterisk/1.8.2.4
Asterisk GUI-version : SVN-branch-2.0-r5131

Digium B410p

After a long search I found and resolve GUI problem in index.js
/var/lib/asterisk/static-http/config/… java

file “index.js”:

if ( resp_lower.contains(“branches/1.6”) || resp_lower.contains(“asterisk/1.6”) || resp_lower.contains(“svn-branch-1.6”) || resp_lower.contains(“svn-trunk-”) )

replace:
if ( resp_lower.contains(“branches/1.6”) || resp_lower.contains(“asterisk/1.6”) || resp_lower.contains(“svn-branch-1.6”) || resp_lower.contains(“svn-trunk-”) || resp_lower.contains(“asterisk/1.8”) )

So, I have change it and I started GUI
I have only One (1) ISDN line, connected to B410P over cable into second slot.

Problems that I have are

  1. asterisk log fill with
    chan_dahdi.c: PRI got event: HDLC Abort (6) on D-channel of span 2
    My dahdi/system.conf is
    span = 1,1,0,ccs,ami
    span = 2,2,0,ccs,ami
    span = 3,3,0,ccs,ami
    span = 4,4,0,ccs,ami
    bchan = 1-2,4-5,7-8,10-11
    hardhdlc = 3,6,9,12
    loadzone = fr
    defaultzone = fr

asterisk/dahdi-channels.conf
group=0,11
context=default
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 1-2
context = default
group = 63

group=0,12
context=default
switchtype = euroisdn
signalling = bri_cpe_ptmp
channel => 4-5
context = default
group = 63

I configure hardware, using GUI

SPAN ALARMS Framing/Coding channels Used/Total Signalling
PCI Bus 02 Slot 03 --> Wildcard B410P
Wildcard B410P, Card 1 - Port 1 (span_1) RED CCS/AMI 2/3 BRI PtP - Net
Wildcard B410P, Card 1 - Port 2 (span_2) OK CCS/AMI 2/3 BRI PtP - CPE
Wildcard B410P, Card 1 - Port 3 (span_3) RED CCS/AMI 2/3 BRI PtP - Net
Wildcard B410P, Card 1 - Port 4 (span_4) RED CCS/AMI 2/3 BRI PtP - Net

Trunk
Trunk Signalling Channels
Span 1 bri_net 1-2
Span 2 bri_cpe_ptmp 4-5
Span 3 bri_net 7-8
Span 4 bri_net 10-11
I have created outgoing default call rules, two sip/iax account
in CLI I have
dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 DID_span_1 default In Service
2 DID_span_1 default In Service
4 DID_span_2 default In Service
5 DID_span_2 default In Service
7 DID_span_3 default In Service
8 DID_span_3 default In Service
10 DID_span_4 default In Service
11 DID_span_4 default In Service

pri show spans
PRI span 1/0: In Alarm, Down, Active
PRI span 2/0: Up, Active
PRI span 3/0: In Alarm, Down, Active
PRI span 4/0: In Alarm, Down, Active

SIP call work between two users 6000 and 6001

Can you help me to configure outgoing and incoming call over ISDN