<div dir="ltr"><div><div><div>Hello All,<br><br></div>I seem to have an issue being able to 
make outbound calls via a Digium TDM2400P configured with Dahdi and 
FreeTDM. I searched and followed the instructions on the Freeswitch site
 as well as Sangoma&#39;s site but can&#39;t seem to get any further so I am hoping that someone could double check my config and provide some feedback.<br>
<br></div><div>The test calls are being sent from a registered Jitsi 
softphone.  I am not getting any progress tones when I send the call 
from FS and the call appears to hang for about 30 secs or so.  When I 
test with Asterisk I get the progress tones so perhaps there is some issue with my config.<br>
<br></div><div>The full log is available here: <a href="http://pastebin.freeswitch.org/21901" target="_blank">http://pastebin.freeswitch.org/21901</a><br></div><div><br>freeswitch@internal&gt; ftdm dump 1 1<br><br>span_id: 1<br>
chan_id: 1<br>
physical_span_id: 1<br>physical_chan_id: 1<br>physical_status: ok<br>physical_status_red: 0<br>physical_status_yellow: 0<br>physical_status_rai: 0<br>physical_status_blue: 0<br>physical_status_ais: 0<br>physical_status_general: 0<br>

signaling_status: UP<br>type: FXO<br>state: DOWN<br>last_state: DOWN<br>txgain: 2.00<br>rxgain: 3.00<br>cid_date: <br>cid_name: <br>cid_num: <br>ani: <br>aniII: <br>dnis: <br>rdnis: <br>cause: NONE<br>session: (none)<br>
<br>
</div><div><br>**** My configuration is as follows: ****<br><br>


        
        
        
        ## /etc/dahdi/system.conf<br><br># Span 1: WCTDM/0 &quot;Wildcard TDM2400P&quot; (MASTER) <br>fxsks=1<br>echocanceller=mg2,1<br>fxsks=2<br>echocanceller=mg2,2<br>
.<br>.<br></div><div>&lt;snipped&gt;<br></div><div>.<br>.<br>fxsks=23<br>echocanceller=mg2,23<br>fxsks=24<br>echocanceller=mg2,24<br><br># Global data<br><br>loadzone    = us<br>defaultzone = us<br><br>## /usr/local/freeswitch/conf/freetdm.conf<br>

<br>[general]<br>cpu_monitor =&gt; no<br>cpu_monitoring_interval =&gt; 1000<br>cpu_set_alarm_threshold =&gt; 80<br>cpu_clear_alarm_threshold =&gt; 70<br>cpu_alarm_action =&gt; warn<br><br>debugdtmf_directory=/var/log/freetdm.log<br>

iostats =&gt; yes<br><br>[span zt myDahdiFXO]<br>name =&gt; myDahdiFXO<br>trunk_type =&gt; fxo<br>analog-start-type =&gt; kewl<br>group =&gt; grp1<br>txgain=2.0<br>rxgain=3.0<br>fxo-channel =&gt; 1-24<br><br>## /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml<br>

<br>&lt;configuration name=&quot;freetdm.conf&quot; description=&quot;FreeTDM Configuration&quot;&gt;<br>    <br>    &lt;settings&gt;<br>        &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>        &lt;!--&lt;param name=&quot;fail-on-error&quot; value=&quot;no&quot;/&gt;--&gt;<br>

    &lt;/settings&gt;<br>    &lt;analog_spans&gt;<br>                &lt;!-- The span name must match the name in your freetdm.conf --&gt;<br>                &lt;span name=&quot;myDahdiFXO&quot;&gt;<br>                &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>

                &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>                &lt;param name=&quot;answer-polarity-reverse&quot; value=&quot;true&quot;/&gt;<br>                &lt;param name=&quot;tonegroup&quot; value=&quot;us&quot;/&gt;<br>

                &lt;param name=&quot;enable_callerid&quot; value=&quot;true&quot;/&gt;<br>                &lt;param name=&quot;enable-analog-option&quot; value=&quot;call-swap&quot;/&gt;<br>                &lt;/span&gt;<br>

        &lt;/analog_spans&gt;<br>&lt;/configuration&gt;<br><br></div>## Dialplan<br><div>## /usr/local/freeswitch/conf/dialplan/default/10_Outbound_FXO.xml<br><br>&lt;include&gt;<br>&lt;extension name=&quot;Outbound_via_FreeTDM&quot;&gt;<br>

  &lt;condition field=&quot;${toll_allow}&quot; expression=&quot;domestic&quot;/&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^9(\d{8})$&quot;&gt;<br>    &lt;action application=&quot;set&quot; data=&quot;call_direction=outbound&quot; /&gt;<br>

     &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot; /&gt;<br>    &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=${outbound_caller_id_number}&quot;/&gt;<br>    &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=${outbound_caller_id_name}&quot;/&gt;<br>

    &lt;action application=&quot;bridge&quot; data=&quot;freetdm/myDahdiFXO/a/${destination_number}&quot;/&gt;<br>  &lt;/condition&gt;<br>&lt;/extension&gt;<br>&lt;/include&gt;<br><br></div><div>Hope I have given enough info.<br>
</div><div><br></div>Thanks in advance<br><br></div>Errol<br></div>