[asterisk-r2] dahdi_cfg (Invalid argument)
Moises Silva
moises.silva at gmail.com
Mon Nov 10 14:12:16 CST 2008
you have the board in T1 mode, not in E1 mode. Search in google to see
how to change this settings, I think itś a jumper in the board or
something like that.
On Mon, Nov 10, 2008 at 2:03 PM, Alfredo Andaluz Prado
<devilsoulblack at gmail.com> wrote:
> i have TE220 pci express
>
> cnt-e1r2-gye:/etc/dahdi# dahdi_hardware
> pci:0000:18:08.0 wct4xxp+ d161:0220 Wildcard TE220 (4th Gen)
> cnt-e1r2-gye:/etc/dahdi#
>
>
> cnt-e1r2-gye:/etc/dahdi# cat /proc/dahdi/1
> Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
>
> 1 TE2/0/1/1
> 2 TE2/0/1/2
> 3 TE2/0/1/3
> 4 TE2/0/1/4
> 5 TE2/0/1/5
> 6 TE2/0/1/6
> 7 TE2/0/1/7
> 8 TE2/0/1/8
> 9 TE2/0/1/9
> 10 TE2/0/1/10
> 11 TE2/0/1/11
> 12 TE2/0/1/12
> 13 TE2/0/1/13
> 14 TE2/0/1/14
> 15 TE2/0/1/15
> 16 TE2/0/1/16
> 17 TE2/0/1/17
> 18 TE2/0/1/18
> 19 TE2/0/1/19
> 20 TE2/0/1/20
> 21 TE2/0/1/21
> 22 TE2/0/1/22
> 23 TE2/0/1/23
> 24 TE2/0/1/24
> cnt-e1r2-gye:/etc/dahdi# cat /proc/dahdi/2
> Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
>
> 25 TE2/0/2/1
> 26 TE2/0/2/2
> 27 TE2/0/2/3
> 28 TE2/0/2/4
> 29 TE2/0/2/5
> 30 TE2/0/2/6
> 31 TE2/0/2/7
> 32 TE2/0/2/8
> 33 TE2/0/2/9
> 34 TE2/0/2/10
> 35 TE2/0/2/11
> 36 TE2/0/2/12
> 37 TE2/0/2/13
> 38 TE2/0/2/14
> 39 TE2/0/2/15
> 40 TE2/0/2/16
> 41 TE2/0/2/17
> 42 TE2/0/2/18
> 43 TE2/0/2/19
> 44 TE2/0/2/20
> 45 TE2/0/2/21
> 46 TE2/0/2/22
> 47 TE2/0/2/23
> 48 TE2/0/2/24
> cnt-e1r2-gye:/etc/dahdi#
>
>
> Alexandre Cavalcante Alencar wrote:
>
> Hi Alfredo,
>
> did you have a analog board in this server?
>
> cat /proc/dahdi/1
> cat /proc/dahdi/2
>
> Span numbering should be guided by the device loading order.
>
> Regards
>
> On Mon, Nov 10, 2008 at 3:48 PM, Alfredo Andaluz Prado
> <devilsoulblack at gmail.com> wrote:
>>
>> Hi
>>
>> Any one have this issues with system.conf
>>
>> system.conf
>>
>> span=1,1,0,cas,hdb3
>> cas=1-15:1101
>> cas=17-31:1101
>> dchan=16
>>
>> loadzone = us
>> defaultzone = us
>>
>> Verbose
>>
>> cnt-e1r2-gye:/etc/dahdi# dahdi_cfg -vvvvvvv
>> DAHDI Tools Version - 2.0.0
>>
>> DAHDI Version: 2.0.0
>> Echo Canceller(s):
>> Configuration
>> ======================
>>
>> SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
>>
>> Channel map:
>>
>> Channel 01: CAS / User (Default) (Slaves: 01)
>> Channel 02: CAS / User (Default) (Slaves: 02)
>> Channel 03: CAS / User (Default) (Slaves: 03)
>> Channel 04: CAS / User (Default) (Slaves: 04)
>> Channel 05: CAS / User (Default) (Slaves: 05)
>> Channel 06: CAS / User (Default) (Slaves: 06)
>> Channel 07: CAS / User (Default) (Slaves: 07)
>> Channel 08: CAS / User (Default) (Slaves: 08)
>> Channel 09: CAS / User (Default) (Slaves: 09)
>> Channel 10: CAS / User (Default) (Slaves: 10)
>> Channel 11: CAS / User (Default) (Slaves: 11)
>> Channel 12: CAS / User (Default) (Slaves: 12)
>> Channel 13: CAS / User (Default) (Slaves: 13)
>> Channel 14: CAS / User (Default) (Slaves: 14)
>> Channel 15: CAS / User (Default) (Slaves: 15)
>> Channel 16: D-channel (Default) (Slaves: 16)
>> Channel 17: CAS / User (Default) (Slaves: 17)
>> Channel 18: CAS / User (Default) (Slaves: 18)
>> Channel 19: CAS / User (Default) (Slaves: 19)
>> Channel 20: CAS / User (Default) (Slaves: 20)
>> Channel 21: CAS / User (Default) (Slaves: 21)
>> Channel 22: CAS / User (Default) (Slaves: 22)
>> Channel 23: CAS / User (Default) (Slaves: 23)
>> Channel 24: CAS / User (Default) (Slaves: 24)
>> Channel 25: CAS / User (Default) (Slaves: 25)
>> Channel 26: CAS / User (Default) (Slaves: 26)
>> Channel 27: CAS / User (Default) (Slaves: 27)
>> Channel 28: CAS / User (Default) (Slaves: 28)
>> Channel 29: CAS / User (Default) (Slaves: 29)
>> Channel 30: CAS / User (Default) (Slaves: 30)
>> Channel 31: CAS / User (Default) (Slaves: 31)
>>
>> 31 channels to configure.
>>
>> DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)
>> cnt-e1r2-gye:/etc/dahdi#
>>
>> any idea what ist the problem ?
>>
>>
>> chan_dahdi.conf
>>
>> [channels]
>> usecallerid=yes
>> callwaiting=yes
>> usecallingpres=yes
>> callwaitingcallerid=yes
>> threewaycalling=yes
>> transfer=yes
>> canpark=yes
>> cancallforward=yes
>> callreturn=yes
>> echocancel=yes
>> echocancelwhenbridged=yes
>> signalling=mfcr2
>> mfcr2_variant=itu
>> mfcr2_get_ani_first=no
>> mfcr2_max_ani=8
>> mfcr2_max_dnis=7
>> mfcr2_category=national_subscriber
>> mfcr2_logdir=span1
>> mfcr2_logging=all
>> context=embratel
>> group=2
>> channel => 63-77
>> channel => 79-93
>> callgroup=2
>> pickupgroup=2
>>
>>
>> this E1 R2 ist from Ecuador using Pacifictel telco provider
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-r2 mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-r2
>
>
>
> --
> Alexandre C Alencar (Skarmeth)
> http://blog.alexandrealencar.net/
> http://www.alexandrealencar.net/
> http://people.debian-ce.org/skarmeth/
>
> ________________________________
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-r2
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-r2
>
--
"I do not agree with what you have to say, but I'll defend to the
death your right to say it." Voltaire
More information about the asterisk-r2
mailing list