<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's site but can'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> 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 "Wildcard TDM2400P" (MASTER) <br>fxsks=1<br>echocanceller=mg2,1<br>fxsks=2<br>echocanceller=mg2,2<br>
.<br>.<br></div><div><snipped><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 => no<br>cpu_monitoring_interval => 1000<br>cpu_set_alarm_threshold => 80<br>cpu_clear_alarm_threshold => 70<br>cpu_alarm_action => warn<br><br>debugdtmf_directory=/var/log/freetdm.log<br>
iostats => yes<br><br>[span zt myDahdiFXO]<br>name => myDahdiFXO<br>trunk_type => fxo<br>analog-start-type => kewl<br>group => grp1<br>txgain=2.0<br>rxgain=3.0<br>fxo-channel => 1-24<br><br>## /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml<br>
<br><configuration name="freetdm.conf" description="FreeTDM Configuration"><br> <br> <settings><br> <param name="debug" value="0"/><br> <!--<param name="fail-on-error" value="no"/>--><br>
</settings><br> <analog_spans><br> <!-- The span name must match the name in your freetdm.conf --><br> <span name="myDahdiFXO"><br> <param name="dialplan" value="XML"/><br>
<param name="context" value="default"/><br> <param name="answer-polarity-reverse" value="true"/><br> <param name="tonegroup" value="us"/><br>
<param name="enable_callerid" value="true"/><br> <param name="enable-analog-option" value="call-swap"/><br> </span><br>
</analog_spans><br></configuration><br><br></div>## Dialplan<br><div>## /usr/local/freeswitch/conf/dialplan/default/10_Outbound_FXO.xml<br><br><include><br><extension name="Outbound_via_FreeTDM"><br>
<condition field="${toll_allow}" expression="domestic"/><br> <condition field="destination_number" expression="^9(\d{8})$"><br> <action application="set" data="call_direction=outbound" /><br>
<action application="set" data="hangup_after_bridge=true" /><br> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/><br> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/><br>
<action application="bridge" data="freetdm/myDahdiFXO/a/${destination_number}"/><br> </condition><br></extension><br></include><br><br></div><div>Hope I have given enough info.<br>
</div><div><br></div>Thanks in advance<br><br></div>Errol<br></div>