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? <div>
<br></div><div><div><extension name="analog test2" continue="true"></div><div> <condition field="source" expression="mod_freetdm"><span class="Apple-tab-span" style="white-space:pre">                                </span></div>
<div> <span class="Apple-tab-span" style="white-space:pre">        </span><action application="set" data="domain_name=$${domain}"/></div><div> <span class="Apple-tab-span" style="white-space:pre">        </span><action application="set" data="transfer_ringback=$${us-ring}"/></div>
<div> <span class="Apple-tab-span" style="white-space:pre">        </span><action application="answer"/></div><div> <span class="Apple-tab-span" style="white-space:pre">        </span><action application="transfer" data="1000 XML default"/></div>
<div> </condition></div><div> </extension></div></div><div><br></div><div>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.</div>
<div><br></div><div>Thanks,</div><div>Eric</div>