Freeswitch & FreeTDM question...
Hi, and thanks in advance for your help. I run freeswitch with a SangomA A102 (FXO/FXS) card. The freeswitch code base that it is running on is about 3 months old. It is a production server, and taking it down other than in the middle of the night is problemsome... It is running on Debian Lenny. In the next couple of days I am going to be spending the night, doing a fresh install of the latest debian (squeeze) at which time I will do a fresh GIT, fresh sangoma wanpipe and be totally current on FreeSwitch. My Question: I am having intermittent problems with my FXO/FXS ports. Basically I have fax machines attached. Every so often (sometimes 5-10 days in between), the fax machine says that it has no dial tone. I am able to resolve the problem by going to the CLI and unloading mod_freetdm and then reloading mod_freetdm. When the "no dialtone problem" is happening, unloading mod_freetdm takes 10 seconds or so...I have even had it crash freeswitch during the unload... I haven't attempted to narrow down the issue yet, and thought I might ask for some guidance before heading down that path. One of my thoughts is that perhaps the Hardware is bad, but the fact that unloading/loading mod_freetdm fixes it makes me think it is something in mod_freetdm... Your thoughts? -Frank
Hi, Frank, I just still novice with FS. I don't think could be a problem in mod_freetdm. As far I see, when you do a unload/reload of freetdm, freetdm reincialize the hardware. Your hardware could getting stuck in a condition where the sangoma driver (wanpipe or dahdi) could not recover. I suggest you try to narrow what is going on with your faxes. If you have a buttset (http://www.phonegeeks.com/buttsets1.html) , you could verify if the line is giving dial tone or not. Could be a voltage problem. Hardware incompatibility, kernel issue, etc, etc, etc. The second thing is update your hardware software to latest releases. On 5/31/2012 6:05 PM, Frank Busalacchi Jr wrote:
Hi, and thanks in advance for your help.
I run freeswitch with a SangomA A102 (FXO/FXS) card. The freeswitch code base that it is running on is about 3 months old. It is a production server, and taking it down other than in the middle of the night is problemsome... It is running on Debian Lenny.
In the next couple of days I am going to be spending the night, doing a fresh install of the latest debian (squeeze) at which time I will do a fresh GIT, fresh sangoma wanpipe and be totally current on FreeSwitch.
My Question:
I am having intermittent problems with my FXO/FXS ports. Basically I have fax machines attached. Every so often (sometimes 5-10 days in between), the fax machine says that it has no dial tone. I am able to resolve the problem by going to the CLI and unloading mod_freetdm and then reloading mod_freetdm. When the "no dialtone problem" is happening, unloading mod_freetdm takes 10 seconds or so...I have even had it crash freeswitch during the unload...
I haven't attempted to narrow down the issue yet, and thought I might ask for some guidance before heading down that path.
One of my thoughts is that perhaps the Hardware is bad, but the fact that unloading/loading mod_freetdm fixes it makes me think it is something in mod_freetdm...
Your thoughts?
-Frank
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2178 / Virus Database: 2425/5038 - Release Date: 06/01/12
-- Atentamente, *Dario García* Consultor. CCCT, Nivel C2, Sector Yarey, Mz, Ofc. MZ03a. Caracas-Venezuela. Teléfono: +58 212 9081842 Cel: +58 412 2221515 dgarcia@anew.com.ve http://www.anew.com.ve
Hello Frank, On Thu, May 31, 2012 at 6:35 PM, Frank Busalacchi Jr < frankjr@mcpeekdodge.com> wrote:
I am having intermittent problems with my FXO/FXS ports. Basically I have fax machines attached. Every so often (sometimes 5-10 days in between), the fax machine says that it has no dial tone. I am able to resolve the problem by going to the CLI and unloading mod_freetdm and then reloading mod_freetdm. When the “no dialtone problem” is happening, unloading mod_freetdm takes 10 seconds or so…I have even had it crash freeswitch during the unload…
**
Whenever this problem happens, you need to enable debug logging in FreeSWITCH. Dialtone is provided by freetdm not the card, but if the card does not detect the fax going offhook, then no dialtone will be provided. First thing is to determine whether FreeTDM receives the offhook event from the card/drivers, that can be seen if debug logging is enabled (some message saying something like "wanpipe event x received"). *Moises Silva **Manager, Software Engineering*** msilva@sangoma.com Sangoma Technologies 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada t. +1 800 388 2475 (N. America) t. +1 905 474 1990 x128 f. +1 905 474 9223 **<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures> Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
participants (3)
-
Frank Busalacchi Jr
-
Moises Silva
-
Saugort Dario Garcia Tovar