[Freeswitch-users] FreeTDM Dialplan help w/ TDM410p

Joseph L. Casale jcasale at activenetwerx.com
Tue Jul 13 21:12:11 PDT 2010


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>



More information about the FreeSWITCH-users mailing list