On Wed, Jan 13, 2010 at 10:25 AM, François Legal <devel@thom.fr.eu.org> wrote:

Hello,

 

How shall I do to get a hangup tone on an FXS port after the channel is closed ?

Is there something specific to configure in openzap ?

 

For instance, if I call the following extension from an FXS port :

    <!-- Send a 180 and let the far end generate ringback. -->
    <extension name="ringback_180">
      <condition field="destination_number" expression="^9980$">
    <action application="ring_ready"/>
    <action application="sleep" data="20000"/>
    <action application="answer"/>
    <action application="sleep" data="1000"/>
    <action application="playback" data="voicemail/vm-goodbye.wav"/>
    <action application="hangup"/>
      </condition>
    </extension>

I get no tone after the hangup application is called.

 

I also wonder if there is some documentation on the tones.conf file format, and about the variables uk-ring, us-ring, bong-ring, sit in vars.xml (when are they used, what is the syntax). I could not find any info on wiki.

 

http://wiki.freeswitch.org/wiki/TGML
-MC