[asterisk-r2] dahdi_cfg (Invalid argument)

Mike Tesliuk mike at braslink.com
Mon Nov 10 13:08:20 CST 2008


try remove the dchan option and execute dahd_cfg -vvvv again


span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101


----------------------------------
Mike Tesliuk
Administrador de Sistemas
Braslink Networks
Phone: +55 11 2104 0005
Fax: +55 11 3544 4401


Alfredo Andaluz Prado escreveu:
> Hi Carlos, if remove or comment taht line i have the same message also 
> try using bchan but recieve the same message
> 
> any idea ?
> 
> Carlos Chavez wrote:
>> 	I always have that problem with dchan=16 on zaptel.conf so I guess
>> DAHDI will be the same.  Comment or remove that line.
>>
>> On Mon, 2008-11-10 at 13:48 -0500, Alfredo Andaluz Prado 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
>>>     
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> --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



More information about the asterisk-r2 mailing list