[Freeswitch-users] openzap reliability question

Chad Leigh - Pengar Enterprises Inc chad at pengar.com
Sun Nov 23 00:58:56 PST 2008


Hi

I am new to FS.  I have limited Asterisk experience from a few years  
ago when I had a rudimentary setup working but I dropped that project  
and the computer system sat off and unused.

I fired it up a week ago, installed FreeBSD 7.0-RELEASE and started  
looking for a VoIP setup that supports SIP and my analog cards through  
my Digium TD400 cards (one is 4 fxs and one is 1 fxs and 4 fxo though  
I currently have no PSTN hookup to use with the FXO).

So I got the latest zaptel driver code from the FreeBSD ports (1.4. )  
and installed it and then compiled FS with OpenZAP.  (Much easier and  
more friendly than trying to compile CallWeaver).

After struggling for several hours with the configuration and terms I  
have a simple dial plan that lets me dial out (through gafachi) as  
well as receive calls.  I have a Panasonic 5.8ghz wireless system  
plugged into the first port on my digium cards.


However, in the 4 or 5 tests of incoming I have done, about half of  
them start to ring and then get a

[ERR] zap_analog.c:526 zap_analog_channel_run() READ ERROR []

error

--

full call log here:

2008-11-23 01:40:21 [INFO] mod_dialplan_xml.c:222 dialplan_hunt()  
Processing unknown->18663710235 at public
2008-11-23 01:40:21 [NOTICE] mod_sofia.c:1058 sofia_receive_message()  
Ring-Ready sofia/external/8016354650 at sip.gafachi.com!
2008-11-23 01:40:21 [NOTICE] mod_dptools.c:373 ring_ready_function()  
Ring Ready sofia/external/8016354650 at sip.gafachi.com!
2008-11-23 01:40:21 [NOTICE] switch_channel.c:534  
switch_channel_set_name() New Channel OpenZAP/1:1/1/1 [97881b5d-3ab9- 
dd11-a567-00e08161e9af]
2008-11-23 01:40:23 [ERR] zap_analog.c:526 zap_analog_channel_run()  
READ ERROR []
2008-11-23 01:40:37 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state()  
Hangup sofia/external/8016354650 at sip.gafachi.com [CS_EXECUTE]  
[ORIGINATOR_CANCEL]
2008-11-23 01:40:37 [NOTICE] switch_ivr_originate.c:1277  
switch_ivr_originate() Hangup OpenZAP/1:1/1/1 [CS_CONSUME_MEDIA]  
[ORIGINATOR_CANCEL]

-----

The Panasonic stops ringing and I cannot answer it but FS does not  
hang up until the caller hangs up.

Half the time this does not happen.  I was wondering what the  
reliability of openZAP is and where the problem might lie with these  
read errors.

(I plan on setting up some SIP phones for main use but would like to  
use the analog phones for the incoming home number versus the office  
SIP phones for business use).

Thanks
Chad





More information about the FreeSWITCH-users mailing list