[Freeswitch-users] Route incoming analog calls.

curriegrad2004 curriegrad2004 at gmail.com
Tue Feb 1 20:50:16 MSK 2011


You'll have to read the documentation on the Sangoma card itself. I'm
pretty sure there is a variable where the card's driver sets and
passes it on to Freeswitch's switching component.

On Tue, Feb 1, 2011 at 8:17 AM, Eric Michel <eric at bmcrministries.org> wrote:
> I've got a Sangoma A200 with six FXO ports and two FXS.  I can call out just
> fine, but I'm having trouble figuring out how to route incoming calls.
>  We've got five POTS lines and all I've been able to do is route all
> incoming calls to a specific extension.  How do I go about routing
> individual POTS lines to different groups/extensions?
> <extension name="analog test2" continue="true">
>     <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="1000 XML default"/>
>     </condition>
>  </extension>
> That is my current conf/public/inbound dial plan.  Shouldn't I be able to
> add a second condition that tests what FXO port is receiving the call and
> allow me to route it accordingly?  If yes, could I get an example?  The
> answer may be really simple, I've just been unable to find it.
> Thanks,
> Eric
> _______________________________________________
> 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