It’s 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