[asterisk-users] Trouble with unicall

Moises Silva moises.silva at gmail.com
Sun Jun 1 22:29:35 CDT 2008


You are definitely missing something, as Alvaro stated, the correct
configuration for both span and channels is CAS, except for channel 16
which you must set to dchan. Remember you must execute "ztcfg" after
doing changes to zaptel.conf

On Sun, Jun 1, 2008 at 7:55 PM, Alejandro Fernandez
<allcontrol at gmail.com> wrote:
> Dear Alvaro
>
> In my zaptel.conf file I configured as:
> span=1,1,0,ccs,hdb3
> bchan=1-15,17-31
> dchan=16
>
> I changed with the value you told me, but still the same message error.
>
> Alejandro
>
>
> 2008/6/1 Alvaro Parres <aparres at gmail.com>:
>>
>> Alejandro:
>>
>>    I think that you problem is at /etc/zaptel.conf file... becouse you
>> config you card as CCS/HDB3, that configuration normaly is for data or isdn
>> connections.
>>
>>   Try setting as CAS,HDB3.... an example of the file can be:
>>
>>
>> span=1,1,0,cas,hdb3
>> cas=1-15:1101
>> dchan=16
>> cas=17-31:1101
>>
>>
>>
>> On Sun, Jun 1, 2008 at 5:37 PM, Alejandro Fernandez <allcontrol at gmail.com>
>> wrote:
>>>
>>> Dear List Pal
>>>
>>> I have downloaded your astunicall-1.4.18-0.2.tar.gz file and I followed
>>>
>>>
>>> carefully your step.
>>> Every step went with out any problem.
>>> Beside this I have a Digium TE122P card as a E1 digital trame.
>>>
>>> I live in Argentina.
>>> When I issue ztcfg -vv it show me:
>>>
>>> Zaptel Version: 1.4.9.2
>>> Echo Canceller: MG2
>>> Configuration
>>> ======================
>>>
>>> SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
>>>
>>>
>>>
>>>
>>> Channel map:
>>>
>>> Channel 01: Clear channel (Default) (Slaves: 01)
>>> Channel 02: Clear channel (Default) (Slaves: 02)
>>> Channel 03: Clear channel (Default) (Slaves: 03)
>>> Channel 04: Clear channel (Default) (Slaves: 04)
>>>
>>>
>>>
>>> Channel 05: Clear channel (Default) (Slaves: 05)
>>> Channel 06: Clear channel (Default) (Slaves: 06)
>>> Channel 07: Clear channel (Default) (Slaves: 07)
>>> Channel 08: Clear channel (Default) (Slaves: 08)
>>> Channel 09: Clear channel (Default) (Slaves: 09)
>>>
>>>
>>>
>>> Channel 10: Clear channel (Default) (Slaves: 10)
>>> Channel 11: Clear channel (Default) (Slaves: 11)
>>> Channel 12: Clear channel (Default) (Slaves: 12)
>>> Channel 13: Clear channel (Default) (Slaves: 13)
>>> Channel 14: Clear channel (Default) (Slaves: 14)
>>>
>>>
>>>
>>> Channel 15: Clear channel (Default) (Slaves: 15)
>>> Channel 16: D-channel (Default) (Slaves: 16)
>>> Channel 17: Clear channel (Default) (Slaves: 17)
>>> Channel 18: Clear channel (Default) (Slaves: 18)
>>> Channel 19: Clear channel (Default) (Slaves: 19)
>>>
>>>
>>>
>>> Channel 20: Clear channel (Default) (Slaves: 20)
>>> Channel 21: Clear channel (Default) (Slaves: 21)
>>> Channel 22: Clear channel (Default) (Slaves: 22)
>>> Channel 23: Clear channel (Default) (Slaves: 23)
>>> Channel 24: Clear channel (Default) (Slaves: 24)
>>>
>>>
>>>
>>> Channel 25: Clear channel (Default) (Slaves: 25)
>>> Channel 26: Clear channel (Default) (Slaves: 26)
>>> Channel 27: Clear channel (Default) (Slaves: 27)
>>> Channel 28: Clear channel (Default) (Slaves: 28)
>>> Channel 29: Clear channel (Default) (Slaves: 29)
>>>
>>>
>>>
>>> Channel 30: Clear channel (Default) (Slaves: 30)
>>> Channel 31: Clear channel (Default) (Slaves: 31)
>>>
>>> 31 channels to configure.
>>>
>>> cat /proc/zaptel/1:
>>>
>>> Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) HDB3/CCS RED
>>>
>>>
>>>
>>>         IRQ misses: 29
>>>
>>>            1 WCT1/0/1 Clear
>>>            2 WCT1/0/2 Clear
>>>            3 WCT1/0/3 Clear
>>>            4 WCT1/0/4 Clear
>>>            5 WCT1/0/5 Clear
>>>            6 WCT1/0/6 Clear
>>>            7 WCT1/0/7 Clear
>>>
>>>
>>>
>>>            8 WCT1/0/8 Clear
>>>            9 WCT1/0/9 Clear
>>>           10 WCT1/0/10 Clear
>>>           11 WCT1/0/11 Clear
>>>           12 WCT1/0/12 Clear
>>>           13 WCT1/0/13 Clear
>>>           14 WCT1/0/14 Clear
>>>
>>>
>>>
>>>           15 WCT1/0/15 Clear
>>>           16 WCT1/0/16 HDLCFCS
>>>           17 WCT1/0/17 Clear
>>>           18 WCT1/0/18 Clear
>>>           19 WCT1/0/19 Clear
>>>           20 WCT1/0/20 Clear
>>>           21 WCT1/0/21 Clear
>>>
>>>
>>>
>>>           22 WCT1/0/22 Clear
>>>           23 WCT1/0/23 Clear
>>>           24 WCT1/0/24 Clear
>>>           25 WCT1/0/25 Clear
>>>           26 WCT1/0/26 Clear
>>>           27 WCT1/0/27 Clear
>>>           28 WCT1/0/28 Clear
>>>
>>>
>>>
>>>           29 WCT1/0/29 Clear
>>>           30 WCT1/0/30 Clear
>>>           31 WCT1/0/31 Clear
>>>
>>> The card is blinking the red LED.
>>> Apparently all have gone well. But /var/log/asterisk/messages says:
>>>
>>> [May 29 18:34:40] ERROR[2780] chan_unicall.c: Unable to open channel 1:
>>>
>>>
>>>
>>> Invalid argument
>>> here = 0, tmp->channel = 0, channel = 1
>>> [May 29 18:34:40] ERROR[2780] chan_unicall.c: Unable to register channel
>>> '1-15'
>>>
>>> Any suggestion are wellcome.
>>>
>>> TIA
>>>
>>> Alejandro
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>>
>> --
>> Alvaro I. Parres Peredo
>> Director de IT
>> Grupo Xmarts SA de CV
>> Tel: +52 (33) 35 63 6261 Ext. 112
>> 01 800 087 2260
>> Cel: +52 (33) 33 68 1087
>> alvaro.parres at xmarts.com.mx
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> --
> Lic. Alejandro Fernández Herrero
> Product Manager
> www.all-control.com.ar
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
"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-users mailing list