[Asterisk-Users] Re: Sangoma A101 configuration
yusuf
yusuf at ecntelecoms.com
Sun Jun 4 05:00:02 MST 2006
Hi Kamran,
your configs look fine, but your problem seems to be that Asterisk cant 'see' the card. What is the
output of cat /proc/interrupts.
I think you have not configured wanpipe correctly, thats why ztcfg wont work, which is why Asterisk
wont see the card. Here is my /etc/wanpipe/wanpipe1.conf for A101
[devices]
wanpipe1 = WAN_AFT, Comment
[interfaces]
w1g1 = wanpipe1, , TDM_VOICE, Comment
[wanpipe1]
CARD_TYPE = AFT
S514CPU = A
CommPort = PRI
AUTO_PCISLOT = NO
PCISLOT = 10
PCIBUS = 0
FE_MEDIA = E1
FE_LCODE = HDB3
FE_FRAME = CRC4
FE_LINE = 1
TE_CLOCK = NORMAL
ACTIVE_CH = ALL
TE_HIGHIMPEDANCE = NO
INTERFACE = V35
CLOCKING = EXTERNAL
BaudRate = 0
MTU = 1500
UDPPORT = 9000
TTL = 255
IGNORE_FRONT_END = NO
[w1g1]
PROTOCOL = HDLC
HDLC_STREAMING = NO
ACTIVE_CH = ALL
IDLE_FLAG = 0x7E
MTU = 1500
MRU = 1500
TDMV_SPAN = 1
TDMV_ECHO_OFF = NO
MULTICAST = NO
TRUE_ENCODING_TYPE = NO
then wanrouter hwprobe
wanrouter start wanpipe1.
This is assuming you compiled the wanpipe drivers correcly when running ./Setup install
yusuf
Kamran Ahmad wrote:
>
> I have followed these two for configuration of sangoma
> A101
> http://www.ss7box.com/s01_setup.html
> http://www.ss7box.com/support_wancfg_1.html
>
> on my side "wanrouter star/restart" is working fine
> when i am tring to "ztcfg -vvv" i am getting
> and when i am tring to load asterisk getting error "No
> such device or address" since two days i am tring to
> search on google but found nothin
>
> ------------------/etc/asterisk/zapata.conf
> [channels]
> context = default
> switchtype = Euroisdn
> usecallerid = yes
> echocancel = yes
> echocancelwhenbridged = yes
> rxgain = 0.0
> txgain = 0.0
>
> signalling = pri_cpe
> group =1
> channel = 1-15,17-31
>
> ------------------/etc/zaptel.conf
> loadzone = uk
> defaultzone = uk
> #span definitions
> span = 1,1,0,ccs,hdb3,crc4,yellow
> #channel definitions
> bchan = 1-15,17-31
> dchan = 16
>
> ------------------------------
> # ls /proc/zaptel/
> nothing
> -------------------------------
> # ls /dev/zap/
> channel ctl pseudo timer
> -------------------------------------
> ----------------asterisk orror on
> Load------------------------
> Jun 4 13:53:02 WARNING[12317]: chan_zap.c:923
> zt_open: Unable to specify channel 1: No such device
> or address
> Jun 4 13:53:02 ERROR[12317]: chan_zap.c:6883 mkintf:
> Unable to open channel 1: No such device or address
> here = 0, tmp->channel = 1, channel = 1
> Jun 4 13:53:02 ERROR[12317]: chan_zap.c:10319
> setup_zap: Unable to register channel '1-15'
> Jun 4 13:53:02 WARNING[12317]: loader.c:414
> __load_resource: chan_zap.so: load_module failed,
> returning -1
> Jun 4 13:53:02 WARNING[12317]: loader.c:554
> load_modules: Loading module chan_zap.so failed!
> -----------------------------------------------
> -----------------"ztcfg
> -vvv"------------------------------
> Zaptel 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 configured.
>
> ZT_SPANCONFIG failed on span 1: No such device or
> address (6)
> ------------wanrouter status--------------------------
> # wanrouter status
>
> Devices currently active:
> wanpipe1
>
>
> Wanpipe Config:
>
> Device name | Protocol Map | Adapter | IRQ | Slot/IO
> | If's | CLK | Baud rate |
> wanpipe1 | N/A | A101/2 | 11 | 1
> | 1 | EXT | 0 |
>
> Wanrouter Status:
>
> Device name | Protocol | Station | Status |
> wanpipe1 | AFT HDLC | N/A | Disconnected |
>
>
>
>
>>Im trying to install and configure sangoma ...
>>every thing is OK but when type the command
>>"wanrouter
>>start" the following error apears:
>>wan Driver not found.
>>
>>Thanks for any help
>>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
thanks,
yusuf
More information about the asterisk-users
mailing list