[asterisk-users] [asterik-users] Installing PRI card

Mike Beirne beirne at mgjbnet.com
Thu Sep 29 19:15:40 CDT 2011


Hello NaJIm,

Your zaptel.conf and zapata.conf files must match as to what channels
and signaling are in use.

See the examples at voip-info:
http://www.voip-info.org/wiki/view/Asterisk+config+zaptel.conf

On 9/29/2011 4:21 PM, NaJIm wrote:
> Hi Eric,
> 
> This is the error messages I get I try to load the module.
> 
> *CLI> module load chan_zap.so
> [Sep 30 04:45:57] WARNING[5182]: pbx.c:2979 ast_register_application:
> Already have an application 'ZapSendKeypadFacility'
>   == Parsing '/etc/asterisk/zapata.conf': Found
>     -- Registered channel 1, ISDN PRI signalling
>     -- Registered channel 2, ISDN PRI signalling
>     -- Registered channel 3, ISDN PRI signalling
>     -- Registered channel 4, ISDN PRI signalling
>     -- Registered channel 5, ISDN PRI signalling
>     -- Registered channel 6, ISDN PRI signalling
>     -- Registered channel 7, ISDN PRI signalling
>     -- Registered channel 8, ISDN PRI signalling
>     -- Registered channel 9, ISDN PRI signalling
>     -- Registered channel 10, ISDN PRI signalling
>     -- Registered channel 11, ISDN PRI signalling
>     -- Registered channel 12, ISDN PRI signalling
>     -- Registered channel 13, ISDN PRI signalling
>     -- Registered channel 14, ISDN PRI signalling
>     -- Registered channel 15, ISDN PRI signalling
>     -- Registered channel 17, ISDN PRI signalling
>     -- Registered channel 18, ISDN PRI signalling
>     -- Registered channel 19, ISDN PRI signalling
>     -- Registered channel 20, ISDN PRI signalling
>     -- Registered channel 21, ISDN PRI signalling
>     -- Registered channel 22, ISDN PRI signalling
>     -- Registered channel 23, ISDN PRI signalling
> [Sep 30 04:45:57] WARNING[5182]: chan_zap.c:905 zt_open: Unable to specify
> channel 24: Device or resource busy
> [Sep 30 04:45:57] ERROR[5182]: chan_zap.c:7219 mkintf: Unable to open
> channel 24: Device or resource busy
> here = 0, tmp->channel = 24, channel = 24
> [Sep 30 04:45:57] ERROR[5182]: chan_zap.c:10582 build_channels: Unable to
> register channel '17-31'
> 
> 
> Regards,
> Najim
> 
> 
> On Fri, Sep 30, 2011 at 4:24 AM, Eric Wieling <EWieling at nyigc.com> wrote:
> 
>> Try "module load chan_zap.so"  in the CLI. You should see whatever errors
>> are generated.
>>
>> -----Original Message-----
>> From: asterisk-users-bounces at lists.digium.com [mailto:
>> asterisk-users-bounces at lists.digium.com] On Behalf Of NaJIm
>> Sent: Thursday, September 29, 2011 5:52 PM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: [asterisk-users] [asterik-users] Installing PRI card
>>
>> Hi,
>>
>> We have got a new PRI card at one of our Office locations and now I need to
>> install the the device on a remote server.  Is there any way to know if the
>> device is loaded already.
>>
>> When I give " cat /proc/zaptel/* " it returns the following.
>>
>>
>>                        # cat /proc/zaptel/*
>>
>>                        Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER)
>> B8ZS/ESF RED
>>
>>                                IRQ misses: 2
>>
>>
>>                                   1 WCT1/0/1 Clear (In use) RED
>>
>>                                   2 WCT1/0/2 Clear (In use) RED
>>
>>                                   3 WCT1/0/3 Clear (In use) RED
>>
>>                                   4 WCT1/0/4 Clear (In use) RED
>>
>>                                   5 WCT1/0/5 Clear (In use) RED
>>
>>                                   6 WCT1/0/6 Clear (In use) RED
>>
>>                                   7 WCT1/0/7 Clear (In use) RED
>>
>>                                   8 WCT1/0/8 Clear (In use) RED
>>
>>                                   9 WCT1/0/9 Clear (In use) RED
>>
>>                                  10 WCT1/0/10 Clear (In use) RED
>>
>>                                  11 WCT1/0/11 Clear (In use) RED
>>
>>                                  12 WCT1/0/12 Clear (In use) RED
>>
>>                                  13 WCT1/0/13 Clear (In use) RED
>>
>>                                  14 WCT1/0/14 Clear (In use) RED
>>
>>                                  15 WCT1/0/15 Clear (In use) RED
>>
>>                                  16 WCT1/0/16 Clear RED
>>
>>                                  17 WCT1/0/17 Clear (In use) RED
>>
>>                                  18 WCT1/0/18 Clear (In use) RED
>>
>>                                  19 WCT1/0/19 Clear (In use) RED
>>
>>                                  20 WCT1/0/20 Clear (In use) RED
>>
>>                                  21 WCT1/0/21 Clear (In use) RED
>>
>>                                  22 WCT1/0/22 Clear (In use) RED
>>
>>                                  23 WCT1/0/23 Clear (In use) RED
>>
>>                                  24 WCT1/0/24 HDLCFCS (In use) RED
>>
>>
>> But when I connect to the console, I am unable to give any ZAP related
>> commands. Does this mean that my device is loaded and I just need to load
>> the module. Or do I need to compile asterisk again?? Any help would be
>> highly appreciated.
>>
>> My asterisk version is  Asterisk 1.4.19.2 and I am on a Fedora release 9
>> server.
>>
>> Thanks,
>> Najim
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
> 
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list