[Freeswitch-users] FreeTDM Dialplan help w/ TDM410p

François Legal devel at thom.fr.eu.org
Thu Jul 15 04:20:59 PDT 2010


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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



More information about the FreeSWITCH-users mailing list