Hello FS users,

 

I have Freeswitch (1.3.13) using a Sangoma A200 card with 2 FXO. I am using FreeTDM and inbound/outbound calls are going through. One of the POTS line has call forwarding feature so my customer wants to have the ability to dial *72 / *73 and get proper dialtone back from the phone company so he can activate or deactivate CFW.

 

While the call is marked as answer in the log, I don’t hear the dialtone back so unsure if it works or not. This is the dialplan I used:

 

    <extension name="CFW Handler">

      <condition field="destination_number" expression="^(\*72|\*73)$">

        <action application="set" data="default_language=${default_language}"/>

        <action application="bridge" data="freetdm/FXO/1/$1"/>

        <action application="hangup"/>

      </condition>

    </extension>

 

Is there a better way or a good way of doing this?

 

Thanks,

 

Benoit Raymond

AMI Concept Inc.

Solutions VoIP Affaire / Création Web

Tel: (450) 553-1231

http://www.amiconcept.com