Projekat

Općenito

Profil

Akcije

Podrška #18188

Zatvoren

zaptel, isdn, freeswitch, openzap, bristuff, 100-ti put

Dodano od Ernad Husremović prije više od 15 godina. Izmjenjeno prije skoro 15 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
26.08.2009
Završetak:
% završeno:

0%

Procjena vremena:

Opis

zaptel openzap freeswitch ?!?


Fajlovi

bristuff-0.3.0-PRE-1y-y.tar.gz (295 KB) bristuff-0.3.0-PRE-1y-y.tar.gz Ernad Husremović, 26.08.2009 18:45
bristuff-0.4.0-RC3g.tar.gz (364 KB) bristuff-0.4.0-RC3g.tar.gz Ernad Husremović, 26.08.2009 18:45

Povezani tiketi 2 (0 otvoreno2 zatvorenih)

korelira sa voip - Nove funkcije #17944: nmraka-2: build freeswitchZatvorenoErnad Husremović20.07.2009

Akcije
korelira sa voip - Podrška #18204: build freeswitch on acer atom netbookZatvorenoErnad Husremović28.08.2009

Akcije
Akcije #1

Izmjenjeno od Ernad Husremović prije više od 15 godina

http://code.google.com/p/zaphfc/

Simply, it's a port to Dahdi of vzaphfc. It's working on dahdi-2.1.0.4 & 2.2.0

Akcije #2

Izmjenjeno od Ernad Husremović prije više od 15 godina

http://wiki.freeswitch.org/wiki/Zaptel_B410P

At the moment FreeSWITCH does not work with the new dahdi drivers from Digium, which provides native support for the B410P (BRI) card. In order to use that card, it's necessary to install Bristuff and apply a patch:

1. Download bristuff from: http://www.junghanns.net/downloads/bristuff-0.4.0-RC3d.tar.gz and extract the files;

2. Replace qozap/qozap.c and qozap/qozap.h with the files from: http://svn.digium.com/view/zaptel/team/mattf/bri-related/

3. If using a kernel version newer than 2.6.23, replace "SA_INTERRUPT | SA_SHIRQ" at qozap.c:1630 with "IRQF_DISABLED | IRQF_SHARED";

4. Compile and install the driver:

./compile.sh -m 'qozap zaphfc'

5. Edit /etc/default/zaptel (or /etc/sysconfig/zaptel depending on your distribution) and comment all the modules, leaving only the qozap driver:

MODULES="$MODULES qozap"

6. Load the driver:

/etc/init.d/zaptel start

7. Make sure the drivers are loaded: ztcfg -vvv

8. Compile OpenZAP for FreeSWITCH and edit the following files:

conf/zt.conf:

[defaults]
codec_ms => 20
wink_ms => 150
flash_ms => 750
echo_cancel_level => 64

conf/openzap.conf:

[span zt]
trunk_type => bri
b-channel => 1-2
d-channel=> 3

[span zt]
trunk_type => bri
b-channel => 4-5
d-channel=> 6

[span zt]
trunk_type => bri
b-channel => 7-8
d-channel=> 9

[span zt]
trunk_type => bri
b-channel => 10-11
d-channel=> 12

conf/autoload_configs/openzap.conf.xml:

<configuration name="openzap.conf" description="OpenZAP Configuration">
  <settings>
    <param name="debug" value="0"/>
  </settings>
  <pri_spans>

      <param name="mode" value="user"/>
      <param name="dialect" value="q931"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>
       <param name="digit-timeout" value="2000"/>
       <param name="max-digits" value="11"/>

      <param name="mode" value="user"/>
      <param name="dialect" value="q931"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>

      <param name="mode" value="user"/>
      <param name="dialect" value="q931"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>

      <param name="mode" value="user"/>
      <param name="dialect" value="q931"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>

  </pri_spans>
</configuration>

Akcije #3

Izmjenjeno od Ernad Husremović prije više od 15 godina

  • Naslov promijenjeno iz zaptel, isdn, 100-ti put u zaptel, isdn, freeswitch, openzap, 100-ti put
Akcije #4

Izmjenjeno od Ernad Husremović prije više od 15 godina

bringout@nmraka-2:~/devel/bristuff/bristuff-0.4.0-RC3g$ ./download.sh

bringout@nmraka-2:~/devel/bristuff/bristuff-0.4.0-RC3g$ ./compile.sh -m "zaphfc"

/home/bringout/devel/bristuff/bristuff-0.4.0-RC3g/zaptel-1.4.12.1/kernel/ztdummy.c: In function ‘ztdummy_hr_int’:
/home/bringout/devel/bristuff/bristuff-0.4.0-RC3g/zaptel-1.4.12.1/kernel/ztdummy.c:202: error: ‘struct hrtimer’ has no member named ‘expires’
make[3]: *** [/home/bringout/devel/bristuff/bristuff-0.4.0-RC3g/zaptel-1.4.12.1/kernel/ztdummy.o] Error 1
make[2]: *** [_module_/home/bringout/devel/bristuff/bristuff-0.4.0-RC3g/zaptel-1.4.12.1/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-7-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/bringout/devel/bristuff/bristuff-0.4.0-RC3g/zaptel-1.4.12.1'
make: *** [all] Error 2

Akcije #6

Izmjenjeno od Ernad Husremović prije više od 15 godina

http://zaphfc.florz.dyndns.org/

bringout@nmraka-2:~/devel/bristuff/bristuff-0.4.0-RC3g$ zcat ../zaphfc_0.4.0-test1_florz-13.diff.gz | patch -p1

patching file zaphfc/Makefile
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 106 (offset 1 line).
1 out of 2 hunks FAILED -- saving rejects to file zaphfc/Makefile.rej
patching file zaphfc/zaphfc.c
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] y
Hunk #1 FAILED at 7.
Hunk #2 succeeded at 37 with fuzz 2 (offset 4 lines).
Hunk #3 FAILED at 81.
Hunk #4 FAILED at 118.
Hunk #5 FAILED at 129.
Hunk #6 FAILED at 190.
Hunk #7 FAILED at 209.
Hunk #8 FAILED at 222.
Hunk #9 FAILED at 240.
Hunk #10 FAILED at 462.
Hunk #11 FAILED at 480.
Hunk #12 FAILED at 497.
Hunk #13 FAILED at 510.
Hunk #14 FAILED at 531.
Hunk #15 FAILED at 542.
Hunk #16 FAILED at 590.
Hunk #17 FAILED at 658.
Hunk #18 FAILED at 702.
Hunk #19 FAILED at 741.
Hunk #20 FAILED at 756.
Hunk #21 FAILED at 766.
Hunk #22 FAILED at 780.
Hunk #23 FAILED at 829.
Hunk #24 FAILED at 869.
Hunk #25 FAILED at 876.
Hunk #26 FAILED at 922.
Hunk #27 FAILED at 940.
26 out of 27 hunks FAILED -- saving rejects to file zaphfc/zaphfc.c.rej
patching file zaphfc/zaphfc.h
Reversed (or previously applied) patch detected!  Assume -R? [n] y

Akcije #7

Izmjenjeno od Ernad Husremović prije više od 15 godina

bringout@nmraka-2:~/devel/bristuff/bristuff-0.3.0-PRE-1y-y$ zcat ../zaphfc_0.3.0-PRE-1y-l_florz-12.1.diff.gz | patch -p1

patching file zaphfc/zaphfc.c
Hunk #2 succeeded at 35 with fuzz 2 (offset 2 lines).
Hunk #3 succeeded at 79 (offset 2 lines).
Hunk #4 FAILED at 116.
Hunk #5 succeeded at 202 (offset 15 lines).
Hunk #6 succeeded at 221 (offset 15 lines).
Hunk #7 succeeded at 234 (offset 15 lines).
Hunk #8 succeeded at 252 (offset 15 lines).
Hunk #9 succeeded at 474 (offset 15 lines).
Hunk #10 succeeded at 492 (offset 15 lines).
Hunk #11 succeeded at 509 (offset 15 lines).
Hunk #12 succeeded at 522 (offset 15 lines).
Hunk #13 succeeded at 543 (offset 15 lines).
Hunk #14 succeeded at 554 (offset 15 lines).
Hunk #15 succeeded at 602 (offset 15 lines).
Hunk #16 succeeded at 670 (offset 15 lines).
Hunk #17 succeeded at 714 (offset 15 lines).
Hunk #18 succeeded at 753 (offset 15 lines).
Hunk #19 FAILED at 763.
Hunk #20 succeeded at 795 (offset 16 lines).
Hunk #21 succeeded at 847 (offset 16 lines).
Hunk #22 FAILED at 887.
Hunk #23 succeeded at 924 (offset -1 lines).
Hunk #24 succeeded at 942 (offset -1 lines).
3 out of 24 hunks FAILED -- saving rejects to file zaphfc/zaphfc.c.rej
patching file zaphfc/zaphfc.h

Akcije #8

Izmjenjeno od Ernad Husremović prije više od 15 godina

  • Naslov promijenjeno iz zaptel, isdn, freeswitch, openzap, 100-ti put u zaptel, isdn, freeswitch, openzap, bristuff, 100-ti put
Akcije #9

Izmjenjeno od Ernad Husremović prije skoro 15 godina

  • Status promijenjeno iz Dodijeljeno u Zatvoreno
Akcije

Također dostupno kao Atom PDF