[Freeswitch-users] Route incoming analog calls

Eric Michel eric at bmcrministries.org
Wed Feb 2 20:18:36 MSK 2011


Steve thank you for the pointers, you got me going in the right direction.

Here is what I came up with (so far it seems to work).

     <extension name="Line 2(6820)" continue="true">
<condition field="source" expression="mod_freetdm"/>
<condition field="${channel_name}" expression="^(FreeTDM/2:2/)$">
<action application="info"/>
     <action application="set" data="domain_name=$${domain}"/>
       <action application="set" data="transfer_ringback=$${us-ring}"/>
       <action application="answer"/>
       <action application="transfer" data="2000"/>
     </condition>
    </extension>

All I have to do is modify the second number in the expression. 2:3 line
three, 2:4 line four etc.

-Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110202/176f619b/attachment.html 


More information about the FreeSWITCH-users mailing list