No hangup tone after zap channel closed, tones in general
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 : 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. Thank you for helping François
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.
Thank you for the link. I googled through but could not find anything relevant. So then with my FXS port, do I have to, when a call is over, bridge the channel (which is either A or B leg depending on the cases) to an extension with for instance <action application="playback" data="tone_stream://%(500,500,440)"/> Thanks François De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Michael Collins Envoyé : vendredi 15 janvier 2010 02:24 À : freeswitch-users@lists.freeswitch.org Objet : Re: [Freeswitch-users] No hangup tone after zap channel closed, tones in general 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
On Fri, Jan 15, 2010 at 2:53 AM, <devel@thom.fr.eu.org> wrote:
Thank you for the link. I googled through but could not find anything relevant.
So then with my FXS port, do I have to, when a call is over, bridge the channel (which is either A or B leg depending on the cases) to an extension with for instance
<action application="playback" data="tone_stream://%(500,500,440)"/>
if you're just trying to manually send out that tone then yes, you can just add the line in your dialplan. You can then hangup after playing the tone. The other end will have to decide what to do on its own. -MC
Its not exactly that. I expected an FXS port would by itself generate a busy tone after a call (initiated or not by this port) is terminated by the other end. Doing this permit the phone connected to this port to detect the end of communication and hang up automatically. That said, I guess the dialplan example would work when the FXS port is the A leg, but what should I do when the FXS port is the B leg ? Thanks François De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Michael Collins Envoyé : vendredi 15 janvier 2010 20:24 À : freeswitch-users@lists.freeswitch.org Objet : Re: [Freeswitch-users] No hangup tone after zap channel closed, tones in general On Fri, Jan 15, 2010 at 2:53 AM, <devel@thom.fr.eu.org> wrote: Thank you for the link. I googled through but could not find anything relevant. So then with my FXS port, do I have to, when a call is over, bridge the channel (which is either A or B leg depending on the cases) to an extension with for instance <action application="playback" data="tone_stream://%(500,500,440)"/> if you're just trying to manually send out that tone then yes, you can just add the line in your dialplan. You can then hangup after playing the tone. The other end will have to decide what to do on its own. -MC
participants (3)
-
devel@thom.fr.eu.org
-
François Legal
-
Michael Collins