[Freeswitch-users] Openzap
Michael Collins
mcollins at fcnetwork.com
Wed Nov 7 18:58:34 PST 2007
John,
I don't have a Sangoma card, but if I understand the openzap stuff
correctly it will replace wanpipe. I do have a tor2 clone. Here's my
openzap.conf with comments below:
[span zt]
name => OpenZAP
number => 1
trunk_type => t1
b-channel => 1-24
[span zt]
name => OpenZAP
number => 2
trunk_type => t1
b-channel => 25-48
[span zt]
name => OpenZAP
number => 3
trunk_type => t1
b-channel => 49-71
d-channel => 72
[span zt]
name => OpenZAP
number => 4
trunk_type => t1
b-channel => 73-95
d-channel => 96
Note in particular spans 3 and 4. Span 3 is a working PRI where I'm
connected to an Asterisk server that is pretending to be the telco.
Here's the corresponding openzap.conf.xml:
<configuration name="openzap.conf" description="OpenZAP Configuration">
<settings>
<param name="debug" value="1"/>
</settings>
<analog_spans>
<span id="1">
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
<span id="2">
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</analog_spans>
<pri_spans>
<span id="3">
<param name="mode" value="user"/>
<param name="dialect" value="DMS"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
<span id="4">
<param name="mode" value="user"/>
<param name="dialect" value="DMS"/>
<param name="dialplan" value="XML"/>
<param name="context" value="default"/>
</span>
</pri_spans>
</configuration>
Again note span 3, which is a working PRI.
The trouble is, I don't believe that Mike has gotten to NI-2 just yet.
I know DMS100 works if that is an option. I haven't tested 4ess/5ess
yet either. Sorry!
At the very least you could use a setup like mine and get connected.
Your D-channel will probably complain, but if they complain then at
least you know your cards are installed and working.
Again, let us know how it goes...
-MC
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-
> users-bounces at lists.freeswitch.org] On Behalf Of John Bittner
> Sent: Wednesday, November 07, 2007 6:51 PM
> To: Michael Collins
> Subject: Re: [Freeswitch-users] Openzap
>
>
> Thanks Michael,
> That worked but now I have errors trying to get openzap to see the
> card. Do know were to get a openzap.conf sample config for a A104D
> card with 1 T1 Pri running NI2. I cant find any samples for wanpipe...
> only zap.
>
> John B
>
> -----Original Message-----
> John,
>
> Do you have /etc/openzap/zt.conf?
>
> I think you need all these in /etc/openzap:
> zt.conf
> openzap.conf
> wanpipe.conf
>
>
> Check that and let us now...
> -MC
>
> > -----Original Message-----
> > From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-
> > users-bounces at lists.freeswitch.org] On Behalf Of John Bittner
> > Sent: Wednesday, November 07, 2007 5:30 PM
> > To: freeswitch-users at lists.freeswitch.org
> > Subject: [Freeswitch-users] Openzap
> >
> > Hey Guys,
> > Am I missing something ?
> > I got openzap to compile. I have a sangoma T1 card installed with
> > wanpipe. I have the card configured, and I have wanpipe.conf file in
> > the /usr/local/freeswitch/conf directory. Still I am getting this
> > error when I try to load the module.
> >
> > 2007-11-07 15:25:21 [ERR] zap_io.c:1868 process_module_config()
Cannot
> > open wanpipe.conf
> > 2007-11-07 15:25:21 [ERR] zap_io.c:1868 process_module_config()
Cannot
> > open zt.conf
> > 2007-11-07 15:25:21 [ERR] zap_io.c:1926 zap_global_init() No modules
> > configured!
> > 2007-11-07 15:25:21 [ERR] mod_openzap.c:1201 mod_openzap_load()
Error
> > loading OpenZAP
> >
> > If there a special place I need to put the wanpipe.conf file?
> >
> > Any help is appreciated.
> >
> > Thanks
> >
> > John Bittner
> > Simlab.net
> >
> >
> >
> > _______________________________________________
> > Freeswitch-users mailing list
> > Freeswitch-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >
>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> --
> BEGIN-ANTISPAM-VOTING-LINKS
> ------------------------------------------------------
>
> Teach CanIt if this mail (ID 10783905) is spam:
> Spam:
https://mx1.simlab.net/b.php?i=10783905&m=6f0e7c95284b&c=s
> Not spam:
https://mx1.simlab.net/b.php?i=10783905&m=6f0e7c95284b&c=n
> Forget vote:
https://mx1.simlab.net/b.php?i=10783905&m=6f0e7c95284b&c=f
> ------------------------------------------------------
> END-ANTISPAM-VOTING-LINKS
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list