Zap channel not released when voicemail starts
Hello, I have an issue with voicemail and openzap channels. When an incoming call on an openzap channel is bridged to voicemail, if that channel is hung up before the beginning of voicemail recording, that channel is kept open open until 3 or 4 seconds after the voicemail started to record the message. What should I do to make freeswitch/voicemail release the channel immediately when the caller hang up ? Thanks in advance François
hangup detection on TDM is a bitch. On Mon, Jan 4, 2010 at 10:07 AM, François Legal <devel@thom.fr.eu.org>wrote:
Hello,
I have an issue with voicemail and openzap channels.
When an incoming call on an openzap channel is bridged to voicemail, if that channel is hung up before the beginning of voicemail recording, that channel is kept open open until 3 or 4 seconds after the voicemail started to record the message.
What should I do to make freeswitch/voicemail release the channel immediately when the caller hang up ?
Thanks in advance
François
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
I'll second that. My way of dealing with it has been to write a little script to detect hangups on the TDM end, then force release the corresponding "B-leg" that is hooked up to VM. In the process of converting this to an FS module. Not clean .. but works. Would have liked to see the same code within FS core and, if appropriate, the VM subsystem to achieve the same end. Regards, Ahmed. 2010/1/5 Anthony Minessale <anthony.minessale@gmail.com>
hangup detection on TDM is a bitch.
On Mon, Jan 4, 2010 at 10:07 AM, François Legal <devel@thom.fr.eu.org>wrote:
Hello,
I have an issue with voicemail and openzap channels.
When an incoming call on an openzap channel is bridged to voicemail, if that channel is hung up before the beginning of voicemail recording, that channel is kept open open until 3 or 4 seconds after the voicemail started to record the message.
What should I do to make freeswitch/voicemail release the channel immediately when the caller hang up ?
Thanks in advance
François
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ahmed Naji
one way is to run tone_detect on the busy signal and map it to the hangup app On Tue, Jan 5, 2010 at 3:44 AM, Ahmed Naji <a.alalousi@gmail.com> wrote:
I'll second that.
My way of dealing with it has been to write a little script to detect hangups on the TDM end, then force release the corresponding "B-leg" that is hooked up to VM. In the process of converting this to an FS module.
Not clean .. but works. Would have liked to see the same code within FS core and, if appropriate, the VM subsystem to achieve the same end.
Regards,
Ahmed.
2010/1/5 Anthony Minessale <anthony.minessale@gmail.com>
hangup detection on TDM is a bitch.
On Mon, Jan 4, 2010 at 10:07 AM, François Legal <devel@thom.fr.eu.org>wrote:
Hello,
I have an issue with voicemail and openzap channels.
When an incoming call on an openzap channel is bridged to voicemail, if that channel is hung up before the beginning of voicemail recording, that channel is kept open open until 3 or 4 seconds after the voicemail started to record the message.
What should I do to make freeswitch/voicemail release the channel immediately when the caller hang up ?
Thanks in advance
François
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ahmed Naji
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Good method, though this isn't this assuming too much, in the sense that we are assuming a hangup with cause 17 or cause 16 with a forced busy tone ? 2010/1/5 Anthony Minessale <anthony.minessale@gmail.com>
one way is to run tone_detect on the busy signal and map it to the hangup app
On Tue, Jan 5, 2010 at 3:44 AM, Ahmed Naji <a.alalousi@gmail.com> wrote:
I'll second that.
My way of dealing with it has been to write a little script to detect hangups on the TDM end, then force release the corresponding "B-leg" that is hooked up to VM. In the process of converting this to an FS module.
Not clean .. but works. Would have liked to see the same code within FS core and, if appropriate, the VM subsystem to achieve the same end.
Regards,
Ahmed.
2010/1/5 Anthony Minessale <anthony.minessale@gmail.com>
hangup detection on TDM is a bitch.
On Mon, Jan 4, 2010 at 10:07 AM, François Legal <devel@thom.fr.eu.org>wrote:
Hello,
I have an issue with voicemail and openzap channels.
When an incoming call on an openzap channel is bridged to voicemail, if that channel is hung up before the beginning of voicemail recording, that channel is kept open open until 3 or 4 seconds after the voicemail started to record the message.
What should I do to make freeswitch/voicemail release the channel immediately when the caller hang up ?
Thanks in advance
François
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ahmed Naji
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ahmed Naji
depends, some telco actually expect you to react to this tone for hangup and charge you for real hangup signaling which is probably the case here. On Tue, Jan 5, 2010 at 3:58 PM, Ahmed Naji <a.alalousi@gmail.com> wrote:
Good method, though this isn't this assuming too much, in the sense that we are assuming a hangup with cause 17 or cause 16 with a forced busy tone ?
2010/1/5 Anthony Minessale <anthony.minessale@gmail.com>
one way is to run tone_detect on the busy signal and map it to the hangup app
On Tue, Jan 5, 2010 at 3:44 AM, Ahmed Naji <a.alalousi@gmail.com> wrote:
I'll second that.
My way of dealing with it has been to write a little script to detect hangups on the TDM end, then force release the corresponding "B-leg" that is hooked up to VM. In the process of converting this to an FS module.
Not clean .. but works. Would have liked to see the same code within FS core and, if appropriate, the VM subsystem to achieve the same end.
Regards,
Ahmed.
2010/1/5 Anthony Minessale <anthony.minessale@gmail.com>
hangup detection on TDM is a bitch.
On Mon, Jan 4, 2010 at 10:07 AM, François Legal <devel@thom.fr.eu.org>wrote:
Hello,
I have an issue with voicemail and openzap channels.
When an incoming call on an openzap channel is bridged to voicemail, if that channel is hung up before the beginning of voicemail recording, that channel is kept open open until 3 or 4 seconds after the voicemail started to record the message.
What should I do to make freeswitch/voicemail release the channel immediately when the caller hang up ?
Thanks in advance
François
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ahmed Naji
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ahmed Naji
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
On Tue, Jan 5, 2010 at 2:06 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
depends, some telco actually expect you to react to this tone for hangup and charge you for real hangup signaling which is probably the case here.
Example: CenturyLink charges $5 per line per month for "disconnect after hangup." No joke. It's an actual "feature" that they "sell" to the people using their analog lines. I'm sure other scumbag telcos do the same thing. -MC
participants (4)
-
Ahmed Naji
-
Anthony Minessale
-
François Legal
-
Michael Collins