FreeTDM and Libpri with a Digium TE122 ... some calls not being answered...
Hi Guys. Current setup is a FS box with a Digium TE122 installed, with DAHDI kernel drivers and using FreeTDM with a libpri span... == autoload_configs/freetdm.conf.xml == <configuration name="freetdm.conf" description="FreeTDM Configuration"> <settings> <param name="debug" value="0"/> <param name="sip_headers" value="true"/> </settings> <libpri_spans> <span name="ISDN"> <param name="mode" value="user"/> <param name="dialect" value="q931"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> </span> </libpri_spans> </configuration> == freetdm.conf == [general] cpu_monitor => yes cpu_monitoring_interval => 1000 cpu_set_alarm_threshold => 80 cpu_reset_alarm_threshold => 70 cpu_alarm_action => warn [span zt ISDN] trunk_type => E1 b-channel => 1-15 d-channel => 16 b-channel => 17-21 == zt.conf == [defaults] codec_ms => 20 wink_ms => 150 flash_ms => 750 echo_cancel_level => 128 rxgain => 0.0 txgain => 0.0 == /etc/dahdi/system.conf == span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 echocanceller=mg2,1-15,17-31 # Global data loadzone = au defaultzone = au ========= And finally some logs from two calls, a successful one, and a failed one... http://pastebin.freeswitch.org/15533 If anyone could offer any suggestions as to what I can do to answer every incoming call into the box that would very appreciated. Of course if I need to provide more information I am willing to, and any suggestions for settings that need changing to test out will also be great. Thank you in advance Matt
Well... I examined these Q931 traces and I don't see anything different between the failed call and the successful call. I would hop into #freetdm on irc.freenode.net and see if moy is around. He might be able to shed some light on this. If it's not occurring at the libpri level then he might be able to help figure out if FreeTDM is not behaving properly. -MC On Wed, Mar 2, 2011 at 9:13 PM, Matt Paine <mattzerah+freeswitch@gmail.com>wrote:
Hi Guys.
Current setup is a FS box with a Digium TE122 installed, with DAHDI kernel drivers and using FreeTDM with a libpri span...
== autoload_configs/freetdm.conf.xml ==
<configuration name="freetdm.conf" description="FreeTDM Configuration"> <settings> <param name="debug" value="0"/> <param name="sip_headers" value="true"/> </settings> <libpri_spans> <span name="ISDN"> <param name="mode" value="user"/> <param name="dialect" value="q931"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> </span> </libpri_spans> </configuration>
== freetdm.conf ==
[general] cpu_monitor => yes cpu_monitoring_interval => 1000 cpu_set_alarm_threshold => 80 cpu_reset_alarm_threshold => 70 cpu_alarm_action => warn
[span zt ISDN] trunk_type => E1 b-channel => 1-15 d-channel => 16 b-channel => 17-21
== zt.conf == [defaults] codec_ms => 20 wink_ms => 150 flash_ms => 750 echo_cancel_level => 128 rxgain => 0.0 txgain => 0.0
== /etc/dahdi/system.conf == span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 echocanceller=mg2,1-15,17-31 # Global data loadzone = au defaultzone = au
========= And finally some logs from two calls, a successful one, and a failed one... http://pastebin.freeswitch.org/15533
If anyone could offer any suggestions as to what I can do to answer every incoming call into the box that would very appreciated. Of course if I need to provide more information I am willing to, and any suggestions for settings that need changing to test out will also be great.
Thank you in advance Matt
_______________________________________________ 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
Hi Michael, thankyou for your reply. I havn't had a chance to catch Moy on #freetdm yet, but I'll keep an eye out so I can get to the bottom of this... Further information perhaps, a snippet from a failed log is at http://pastebin.freeswitch.org/15620 which I've highlighted a few lines which may or may not be the cause. If anyone notices anything out of the ordinary that will be fantastic, otherwise I'm back to square one. I've also noticed it runs perfectly fine, up until a point (usually around 1:30 in the afternoon). I'm doing a reload mod_freetdm in a cron job each night, yet still it gets to the point where calls are not being accepted. Thank you again. Matt. On 5 March 2011 05:22, Michael Collins <msc@freeswitch.org> wrote:
Well...
I examined these Q931 traces and I don't see anything different between the failed call and the successful call. I would hop into #freetdm on irc.freenode.net and see if moy is around. He might be able to shed some light on this. If it's not occurring at the libpri level then he might be able to help figure out if FreeTDM is not behaving properly.
-MC
On Wed, Mar 2, 2011 at 9:13 PM, Matt Paine <mattzerah+freeswitch@gmail.com
wrote:
Hi Guys.
Current setup is a FS box with a Digium TE122 installed, with DAHDI kernel drivers and using FreeTDM with a libpri span...
== autoload_configs/freetdm.conf.xml ==
<configuration name="freetdm.conf" description="FreeTDM Configuration"> <settings> <param name="debug" value="0"/> <param name="sip_headers" value="true"/> </settings> <libpri_spans> <span name="ISDN"> <param name="mode" value="user"/> <param name="dialect" value="q931"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> </span> </libpri_spans> </configuration>
== freetdm.conf ==
[general] cpu_monitor => yes cpu_monitoring_interval => 1000 cpu_set_alarm_threshold => 80 cpu_reset_alarm_threshold => 70 cpu_alarm_action => warn
[span zt ISDN] trunk_type => E1 b-channel => 1-15 d-channel => 16 b-channel => 17-21
== zt.conf == [defaults] codec_ms => 20 wink_ms => 150 flash_ms => 750 echo_cancel_level => 128 rxgain => 0.0 txgain => 0.0
== /etc/dahdi/system.conf == span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 echocanceller=mg2,1-15,17-31 # Global data loadzone = au defaultzone = au
========= And finally some logs from two calls, a successful one, and a failed one... http://pastebin.freeswitch.org/15533
If anyone could offer any suggestions as to what I can do to answer every incoming call into the box that would very appreciated. Of course if I need to provide more information I am willing to, and any suggestions for settings that need changing to test out will also be great.
Thank you in advance Matt
_______________________________________________ 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
_______________________________________________ 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
participants (2)
-
Matt Paine
-
Michael Collins