[asterisk-r2] Help with Dahdi.

José A. Martínez B. baldalloj at gmail.com
Wed Sep 30 18:26:55 CDT 2009


Dear all.
I have an issue with an Asterisk installation, It is base on Elastix Distro,
so I think the issue is with the Asterisk Version and openr2 lib, I post
this information here, If somebody can help me, I appreciate any
information.

I am using Elastix 1.5.2 in Xorcom unit with digital E1 (R2, Variant ve),
All channels and E1 link were recognized, in fact I can do test with
r2test.conf  file, (I am using openr2-1.2.0). I have  made  and received
calls during  the test  well.

Ok, the issue that I have  I can't run "dahdi show channels"  command on
Asterisk CLI, so that indicate to me channels are not in use by Asterisk.

When I tried to start Asterisk , I can't run Dahdi show channels command,
and on the web interface all channels have the message "not in use".

next is some information to evaluate my case:

Best regards.
A. -Asterisk Version: asterisk-1.4.24

B.  lsdahdi output:
### Span 1: XBUS-00/XPD-00 "Xorcom XPD #00/00: E1" (MASTER) HDB3/
ClockSource
1 E1 CAS (SWEC: MG2)
.......to channel 15
16 E1 HDLCFCS
17 E1 CAS (SWEC: MG2)
.....to channel 31
31 E1 CAS (SWEC: MG2)
### Span 2: XBUS-00/XPD-01 "Xorcom XPD #00/01: E1" HDB3/
32 E1 CAS (SWEC: MG2)
......to channel 47
47 E1 HDLCFCS
48 E1 CAS (SWEC: MG2)
......to channel 62
62 E1 CAS (SWEC: MG2)

C. When I tried loading chan_dahdi module on Asterisk CLI, next is the
output:
CLI output:
module unload chan_dahdi.so
== Unregistered application 'DAHDISendKeypadFacility'
== Unregistered application 'ZapSendKeypadFacility'
module load chan_dahdi.so
== Registered application 'DAHDISendKeypadFacility'
== Registered application 'ZapSendKeypadFacility'
== Parsing '/etc/asterisk/chan_dahdi.conf': Found
== Parsing '/etc/asterisk/dahdi-channels.conf': Found
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': Found

D. Parameters in chan_dahdi.conf
group=1
context=from-internal
signalling =mfcr2
mfcr2_variant=ve
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=log
mfcr2_call_files=yes
mfcr2_logging=all
channel => 1-15
channel => 32-46

group=2
context=from-zaptel
signalling =mfcr2
mfcr2_variant=ve
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=log
mfcr2_call_files=yes
mfcr2_logging=all
channel => 17-31
channel => 48-62

-- 
             José A. Martínez B
           Analista de Sistemas
            baldalloj at gmail.com
            baldalloj at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20091001/1e0e5d7f/attachment.htm 


More information about the asterisk-r2 mailing list