[Freeswitch-users] FreeSWITCH-users Digest, Vol 75, Issue 223

William Alianto william at xofap.com
Sat Sep 29 09:12:48 MSD 2012


Hi,

I just installed 2 spans of OpenVox's A800E analog card to my server.

Here is my freetdm.conf :

[general]
global_parameter => value

[span zt FXO]
fxo-channel => 1:1
fxo-channel => 1:2
fxo-channel => 1:3
fxo-channel => 1:4
fxo-channel => 1:5
fxo-channel => 1:6
fxo-channel => 1:7
fxo-channel => 1:8
fxo-channel => 2:1
fxo-channel => 2:2
fxo-channel => 2:3
fxo-channel => 2:4

[span zt FXS]
fxs-channel => 2:5
fxs-channel => 2:6
fxs-channel => 2:7
fxs-channel => 2:8

and my freetdm.conf.xml

<configuration name="freetdm.conf" description="FreeTDM Configuration">
   <settings>
     <param name="debug" value="0"/>
     <param name="hold-music" value="$${moh_uri}"/>
   </settings>
   <!-- one entry here per openzap span -->
   <analog_spans>
     <span name="FXS">
       <!-- This is where the calls coming on this span will be directed 
-->
       <param name="dialplan" value="XML"/>
       <param name="context" value="default"/>
       <param name="enable_callerid" value="true"/> <!-- This is the 
default value anyway -->
     </span>
     <span name="FXO">
       <param name="dialplan" value="XML"/>
       <param name="context" value="default"/>
       <!-- Set this to the correct value for your area, to get the
            correct tones on the phones connected to the FXS ports -->
       <param name="tonegroup" value="us"/>
       <param name="enable_callerid" value="true"/>
     </span>
   </analog_spans>
</configuration>

Also here is my dialplan configuration :


<extension name="inbound" >
    <condition field="context" expression="public" />
    <condition field="destination_number" expression="^(\d+)$" >
        <action application="transfer" data="101 XML default" />
    </condition>
</extension>

<extension name="freetdm.9d" >
    <condition field="destination_number" expression="^9(\d+)$" >
        <action application="set" 
data="sip_h_X-accountcode=${accountcode}" />
        <action application="set" data="sip_h_X-Tag=" />
        <action application="set" data="call_direction=outbound" />
        <action application="set" data="hangup_after_bridge=true" />
        <action application="set" 
data="effective_caller_id_name=${outbound_caller_id_name}" />
        <action application="set" 
data="effective_caller_id_number=${outbound_caller_id_number}" />
        <action application="set" data="inherit_codec=true" />
        <action application="bridge" data="freetdm/1/a/$1" />
    </condition>
</extension>


But i still cannot make outbound and inbound call using the card. Can 
anyone help me?

Regards



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list