FreeTDM Dialplan help w/ TDM410p
I was using <condition field="source" expression="mod_openzap"> to catch my incoming zap fxo line, but now w/ FreeTDM changing mod_openzap to mod_freetdm as I expected no longer causes a match. Outgoing calls work, but looking at the log while an incoming call is made, it appears fs isn't even seeing it, nothing appears in the log. Any idea how to troubleshoot this? Thanks, jlc freetdm.conf [span zt FreeTDM] number => 1 fxo-channel => 1:1 freetdm.conf.xml <configuration name="freetdm.conf" description="FreeTDM Configuration"> <settings> <param name="debug" value="1"/> </settings> <analog_spans> <span id="1"> <param name="tonegroup" value="us"/> <param name="digit-timeout" value="2000"/> <param name="max-digits" value="11"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="enable-callerid" value="true"/> </span> </analog_spans> </configuration> conf/dialplan/public/01_freetdm_in.xml <include> <extension name="freetdm_in"> <condition field="source" expression="mod_freetdm"> <action application="set" data="domain_name=$${domain}"/> <action application="set" data="transfer_ringback=$${us-ring}"/> <action application="answer"/> <action application="transfer" data="2000 XML default"/> </condition> </extension> </include>
I use chan_name instead of source to do this. It works. François On Wed, 14 Jul 2010 04:12:11 +0000, "Joseph L. Casale" <jcasale@activenetwerx.com> wrote:
I was using <condition field="source" expression="mod_openzap"> to catch my incoming zap fxo line, but now w/ FreeTDM changing mod_openzap to mod_freetdm as I expected no longer causes a match.
Outgoing calls work, but looking at the log while an incoming call is made, it appears fs isn't even seeing it, nothing appears in the log.
Any idea how to troubleshoot this? Thanks, jlc
freetdm.conf [span zt FreeTDM] number => 1 fxo-channel => 1:1
freetdm.conf.xml <configuration name="freetdm.conf" description="FreeTDM Configuration"> <settings> <param name="debug" value="1"/> </settings> <analog_spans> <span id="1"> <param name="tonegroup" value="us"/> <param name="digit-timeout" value="2000"/> <param name="max-digits" value="11"/> <param name="dialplan" value="XML"/> <param name="context" value="public"/> <param name="enable-callerid" value="true"/> </span> </analog_spans> </configuration>
conf/dialplan/public/01_freetdm_in.xml <include> <extension name="freetdm_in"> <condition field="source" expression="mod_freetdm"> <action application="set" data="domain_name=$${domain}"/> <action application="set" data="transfer_ringback=$${us-ring}"/> <action application="answer"/> <action application="transfer" data="2000 XML default"/> </condition> </extension> </include>
_______________________________________________ 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
I use chan_name instead of source to do this. It works.
François, Thanks for that pointer. Actually it's looking more like there is an issue with DAHDI where the line is being help open, or off-hook according to the telco... I did check the wiki out but that condition is awaiting examples. What is the syntax you use to match, I'll update the wiki. Thanks! jlc
participants (2)
-
François Legal
-
Joseph L. Casale