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

Michael Collins msc at freeswitch.org
Mon Oct 1 19:26:24 MSD 2012


Can you re-post your question in a new thread? Also, get a console log of
what happens when you load mod_freetdm as well as what happens when you
attempt to make an outbound or inbound call over one of these ports. Use
pastebin.freeswitch.org to store all of that...

-MC

On Fri, Sep 28, 2012 at 10:12 PM, William Alianto <william at xofap.com> wrote:

> 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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>



-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121001/3fa0b9e0/attachment-0001.html 


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