List Info

Thread: freebsd, wanpipe, zaptel-bsd and Asterisk, does it work?




freebsd, wanpipe, zaptel-bsd and Asterisk, does it work?
user name
2006-04-21 22:30:50
Hello list, new around here.

After some digging with it, i cannot say if it works or not.
Everything is
installed, configured and should work (works with a
linux-asterisk setup). I'm
not sure if i'm doing something wrong or it just isn't
posible.

when i do ztcfg it outputs:
[rootasterisk-v2
/usr/ports/misc/zaptel/work/zaptel-freebsd-0.11]# ztcfg
Keyword: [loadzone], Value: [es]
Keyword: [defaultzone], Value: [es]
Keyword: [span], Value: [1,1,0,ccs,hdb3,crc4]
Keyword: [bchan], Value: [1-15]
Keyword: [dchan], Value: [16]
Keyword: [span], Value: [2,2,0,esf,b8zs]
Keyword: [fxols], Value: [32-51]
Keyword: [fxsks], Value: [52-55]
ZT_SPANCONFIG failed on span 2: Device not configured (6)

The zaptel.conf is the same i have on the linux box, and
works. And i found that
i dont have the /dev/zap/# devices that correspond to
channels (that i have on
my linux ast), only the timer ctl channel and pseudo devs.
And when i try to
load Asterisk it fails trying to load one of those channels
devs that dont
exist.
# asterisk -cvvvvvvv output

[chan_zap.so] => (Zapata Telephony w/PRI)
  == Parsing '/usr/local/etc/asterisk/zapata.conf': Found
Apr 22 06:33:48 WARNING[4313]: chan_zap.c:1078 zt_open:
Unable to specify
channel 32: Device not configured
Apr 22 06:33:48 ERROR[4313]: chan_zap.c:7148 mkintf: Unable
to open channel 32:
Device not configured
here = 0, tmp->channel = 32, channel = 32
Apr 22 06:33:48 ERROR[4313]: chan_zap.c:11444 setup_zap:
Unable to register
channel '32-51'
Apr 22 06:33:48 WARNING[4313]: loader.c:414 __load_resource:
chan_zap.so:
load_module failed, returning -1
Apr 22 06:33:48 WARNING[4313]: loader.c:554 load_modules:
Loading module
chan_zap.so failed! 
---- After this it goes back to the shell.

I tried to not avail to see why those devs dont get created.
My question is: Is it really posible to have this setup
working?
Im not asking what is better. If you know what could be
wrong i'd really
apreciate it.

Thanks,
Alejandro.




------------------------------------------------------------
----
This message was sent using IMP, the Internet Messaging
Program.

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
freebsd, wanpipe, zaptel-bsd and Asterisk, does it work?
user name
2006-04-26 13:27:49

On 04/22/06 06:30 b4kab4ka.com.ar said the following:
> After some digging with it, i cannot say if it works or
not. Everything is

i can safely say that it works on freebsd 6.0.

> I tried to not avail to see why those devs dont get
created.
> My question is: Is it really posible to have this setup
working?
> Im not asking what is better. If you know what could be
wrong i'd really
> apreciate it.

you should be doing something like the following:

wancfg (only once, to configure the sangoma cards)
wanrouter start (to initialize the cards/kernel modules)
ztcfg -v
asterisk -vvvvvvc

-- 
Regards,                           /\_/\   "All dogs
go to heaven."
dineshalphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----============
==============+
| for a in past present future; do                          
             |
|   for b in clients employers associates relatives
neighbours pets; do   |
|   echo "The opinions here in no way reflect the
opinions of my $a $b."  |
| done; done                                                
             |
+===========================================================
==============+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )