Ohh - I missed that - thank you for the hint.
I looked at the freshports page a couple of days before the
update to 1.2.7.1.
So thats explains a lot.
So I'm gonna stick with linux when using asterisk.
Thank you again.
Georg
Jörg Diederich wrote:
> hello,
> according to
>
> http://www.fr
eshports.org/net/asterisk/
>
> hfc-support was removed in asterisk 1.2.7.1 .
> in previous versions it was sometimes (?) included,
however it worked quite poor because of the zaphfc-driver,
at least i would guess so.
> maybe you can run asterisk in linux emulation, in
former 4.x -times it worked quite well.
> bye joerg
>
>
>
>>----- Original Message -----
>>From: Georg <gs grin.com>
>>To: asterisk-bsd lists.digium.com
>>Subject: [Asterisk-bsd] bristuffed asterisk for
hfc-s chips
>>Date: Tue, 06 Jun 2006 10:32:58 +0200
>>
>>
>>Hi everyone,
>>
>>I'm trying to set up a system (with FreeBSD 6.0 and
6.1) with
>>asterisk (bristuffed) and a HFC based ISDN card.
>>The same hardware works under Linux - but I wanted
to do it with FreeBSD.
>>
>>So I installed the port
/usr/ports/net/asterisk-bristuff.
>>The installation went without any problems.
>>
>>Just one basic question: Is this port designed to
work with HFC
>>based cards/chips??
>>
>>My /usr/local/etc/zaptel.conf looks like this:
>>------------
>>loadzone=nl
>>defaultzone=nl
>>span=1,1,3,ccs,ami
>>bchan=1-2
>>dchan=3
>>------------
>>
>>In my zapata.conf in
/usr/local/etc/asterisk/zapata.conf I use the
>>following settings (which work fine under Linux):
>>------------------
>>switchtype=euroisdn
>>signalling=bri_net_ptmp
>>------------------
>>
>>
>>When I startup asterisk I always get the following
error:
>>----
>> == Parsing
'/usr/local/etc/asterisk/zapata.conf': Found
>>Jun 6 07:56:46 ERROR[26954]: chan_zap.c:10648
setup_zap: Unknown
>>signalling method 'bri_net_ptmp'
>>Jun 6 07:56:46 ERROR[26954]: chan_zap.c:10273
setup_zap:
>>Signalling must be specified before any channels
are.
>>Jun 6 07:56:46 WARNING[26954]: loader.c:414
__load_resource:
>>chan_zap.so: load_module failed, returning -1
>>Jun 6 07:56:46 WARNING[26954]: loader.c:554
load_modules: Loading
>>module chan_zap.so failed!
>>
>>----
>>
>>So I startet looking in the source and at the
libraries. The first
>>thing is: Why are there different sized chan_zap.so
and why is the
>>smaller one (which differs from bristuff-port) from
the
>>non-bristuff installed?:
>>----------------
>>[server] /usr/ports/net/asterisk-bristuff# ls -la
>>/usr/ports/net/asterisk-bristuff/work/asterisk-1.2.7
.1/channels/chan_zap.so
>>-rwxr-xr-x 1 root wheel 265654 Jun 6 07:30
>>/usr/ports/net/asterisk-bristuff/work/asterisk-1.2.7
.1/channels/chan_zap.so
>>
>>[server] /usr/ports/net/asterisk-bristuff# ls -la
>>/usr/local/lib/asterisk/modules/chan_zap.so*
>>-r-xr-xr-x 1 root wheel 257680 Jun 6 07:32
>>/usr/local/lib/asterisk/modules/chan_zap.so
>>----------------
>>
>>
>>Lokking at chan_zap.c I could not find any line
saying something
>>about "bri_*"-signalling like in the
patched sources on my
>>linux-box:
>>Here is the code on my 6.0 FreeBSD box:
>>------------
>>#ifdef ZAPATA_PRI
>> } else if
(!strcasecmp(v->value, "pri_net")) {
>> cur_radio =
0;
>>
cur_signalling = SIG_PRI;
>> pritype =
PRI_NETWORK;
>> } else if
(!strcasecmp(v->value, "pri_cpe")) {
>>
cur_signalling = SIG_PRI;
>> cur_radio =
0;
>> pritype =
PRI_CPE;
>> } else if
(!strcasecmp(v->value,
>>"gr303fxoks_net")) {
>>
cur_signalling = SIG_GR303FXOKS;
>> cur_radio =
0;
>> pritype =
PRI_NETWORK;
>> } else if
(!strcasecmp(v->value,
>>"gr303fxsks_cpe")) {
>>
cur_signalling = SIG_GR303FXSKS;
>> cur_radio =
0;
>> pritype =
PRI_CPE;
>>#endif
>>#ifdef ZAPATA_R2
>>------------
>>
>>...and here on my Linux-Box:
>>----------------
>>#ifdef ZAPATA_PRI
>> } else if
(!strcasecmp(v->value, "pri_net")) {
>> cur_radio =
0;
>>
cur_signalling = SIG_PRI;
>> pritype =
PRI_NETWORK;
>> } else if
(!strcasecmp(v->value, "pri_cpe")) {
>>
cur_signalling = SIG_PRI;
>> cur_radio =
0;
>> pritype =
PRI_CPE;
>> } else if
(!strcasecmp(v->value,
>>"gr303fxoks_net")) {
>>
cur_signalling = SIG_GR303FXOKS;
>> cur_radio =
0;
>> pritype =
PRI_NETWORK;
>> } else if
(!strcasecmp(v->value,
>>"gr303fxsks_cpe")) {
>>
cur_signalling = SIG_GR303FXSKS;
>> cur_radio =
0;
>> pritype =
PRI_CPE;
>> } else if
(!strcasecmp(v->value, "bri_net_ptmp")) {
>> cur_radio = 0;
>> cur_signalling =
SIG_PRI;
>> pritype =
BRI_NETWORK_PTMP;
>> } else if
(!strcasecmp(v->value, "bri_cpe_ptmp")) {
>> cur_signalling =
SIG_PRI;
>> cur_radio = 0;
>> pritype =
BRI_CPE_PTMP;
>> } else if
(!strcasecmp(v->value, "bri_net")) {
>> cur_radio = 0;
>> cur_signalling =
SIG_PRI;
>> pritype =
BRI_NETWORK;
>> } else if
(!strcasecmp(v->value, "bri_cpe")) {
>> cur_signalling =
SIG_PRI;
>> cur_radio = 0;
>> pritype = BRI_CPE;
>>#endif
>>#ifdef ZAPATA_R2
>>----------------
>>
>>It seems that all the code for the signalling with
HFC-based cards
>>is missing or am I doing something comletely wrong?
What do I have
>>to do to enable all the "bri_*"-type
signalling?
>>
>>
>>Thanks for any reply!
>>
>>Regards,
>>
>>Georg
>>_______________________________________________
>>Asterisk-BSD mailing list
>>Asterisk-BSD lists.digium.com
>>http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
>
>
>
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
|