[Freeswitch-users] Openzap

Brian West brian.west at mac.com
Wed Nov 7 23:12:27 PST 2007


OpenZap doesn't do NI2 just yet.  Its on the to do list for the PRI  
stack.

/b

On Nov 8, 2007, at 3:39 AM, John Bittner wrote:

> Thanks Michael but I had already tried this config. It does even like
> the formats. I tried testing a few configs and the only one I get a
> response with is
>
> [span wanpipe]
> b-channel => 1:1-23
> d-channel => 1:24
>
> This gives me this error. The device listed in wanpipe is w1g1 and
> does not match s1c1... so I am missing something.
> I tried to even to go into the code to find the options but I cant
> find anything. I suck at programming. Anyone have any idea of the
> options for this or a sample config for a sangoma card.
>
> Any help is appreciated.
>
> Thanks
>
> John Bittner
> Simlab.net
>
>
> 2007-11-07 17:28:10 [ERR] zap_io.c:1868 process_module_config()  
> Cannot open zt.conf
> 2007-11-07 17:28:10 [DEBUG] zap_io.c:1744 load_config() found config  
> for span
> 2007-11-07 17:28:10 [DEBUG] zap_io.c:1764 load_config() created span  
> 9 of type wanpipe
> 2007-11-07 17:28:10 [DEBUG] zap_io.c:1777 load_config() span 9  
> [spanno]=[2]
> 2007-11-07 17:28:10 [DEBUG] zap_io.c:1777 load_config() span 9 [b- 
> channel]=[1:1-23]
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c1
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c2
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c3
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c4
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c5
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c6
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c7
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c8
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c9
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c10
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c11
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c12
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c13
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c14
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c15
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c16
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c17
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c18
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c19
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c20
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c21
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c22
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c23
> 2007-11-07 17:28:10 [DEBUG] zap_io.c:1777 load_config() span 9 [d- 
> channel]=[1:24]
> 2007-11-07 17:28:10 [ERR] zap_wanpipe.c:404 wp_open_range() failure  
> configuring device s1c24
> 2007-11-07 17:28:10 [INFO] zap_io.c:1848 load_config() Configured 0  
> channel(s)
> 2007-11-07 17:28:10 [ERR] zap_io.c:1926 zap_global_init() No modules  
> configured!
> 2007-11-07 17:28:10 [ERR] mod_openzap.c:1201 mod_openzap_load()  
> Error loading OpenZAP
>
> -----Original Message-----
> 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
>>
>>
>> --
>>
>>
>>
>> _______________________________________________
>> 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 10784830) is spam:
> Spam:        https://mx1.simlab.net/b.php? 
> i=10784830&m=5dca80e29baf&c=s
> Not spam:    https://mx1.simlab.net/b.php? 
> i=10784830&m=5dca80e29baf&c=n
> Forget vote: https://mx1.simlab.net/b.php? 
> i=10784830&m=5dca80e29baf&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