How to get working leg timeout
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help. Is exist other way to get this working?
Hello, Have you tried leg_progress_timeout ? https://freeswitch.org/confluence/display/FREESWITCH/Variables+Master+List#V... Regards, Alex On Fri, Jun 1, 2018 at 7:25 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help.
Is exist other way to get this working?
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Alex Sibyakin | Support Engineer FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: alex@freeswitch.com Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> Need commercial support? Contact sales@freeswitch.com for details.
leg_progress_timeout is fired when not received 180 or 183 message. In my case i receive 183 message and leg_progress_timeout not help. пт, 1 июн. 2018 г. в 22:26, Alexey Sibyakin <alex@freeswitch.com>:
Hello,
Have you tried leg_progress_timeout ?
https://freeswitch.org/confluence/display/FREESWITCH/Variables+Master+List#V...
Regards,
Alex
On Fri, Jun 1, 2018 at 7:25 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help.
Is exist other way to get this working?
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Alex Sibyakin | Support Engineer FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: alex@freeswitch.com Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> Need commercial support? Contact sales@freeswitch.com for details.
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
you can also abuse sched_hangup as well. set it to +20 when you place the call and reset it on answer. On 1 June 2018 at 01:46, Alexey Sibyakin <alex@freeswitch.com> wrote:
Hello,
Have you tried leg_progress_timeout ? https://freeswitch.org/confluence/display/FREESWITCH/ Variables+Master+List#VariablesMasterList-leg_progress_timeout
Regards,
Alex
On Fri, Jun 1, 2018 at 7:25 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help.
Is exist other way to get this working?
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Alex Sibyakin | Support Engineer FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: alex@freeswitch.com Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> Need commercial support? Contact sales@freeswitch.com for details.
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
.. unless you have analogue lines that don’t communicate the “on answer” (or that, at least is my experience)… PLEASE someone prove me wrong! From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Tihomir Culjaga Sent: lunedì 4 giugno 2018 14:16 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] How to get working leg timeout you can also abuse sched_hangup as well. set it to +20 when you place the call and reset it on answer. On 1 June 2018 at 01:46, Alexey Sibyakin <alex@freeswitch.com <mailto:alex@freeswitch.com> > wrote: Hello, Have you tried leg_progress_timeout ? https://freeswitch.org/confluence/display/FREESWITCH/Variables+Master+List#V... Regards, Alex On Fri, Jun 1, 2018 at 7:25 AM, Sergey Safarov <s.safarov@gmail.com <mailto:s.safarov@gmail.com> > wrote: Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help. Is exist other way to get this working? _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Alex Sibyakin | Support Engineer FreeSWITCH Solutions | <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> 17345 Civic Drive #2531 Brookfield, WI 53045 Email: <mailto:alex@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details. _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com <mailto:sales@freeswitch.com> https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
Hello, with : leg_progress_timeout=20 and leg_timeout=30 it will hangup after 20s if no ringing is received and after 30s if there is no response. Pascal Emond Ingénieur Expert Infrastructures +33 6 61 28 76 43 2018-06-01 0:25 GMT+02:00 Sergey Safarov <s.safarov@gmail.com>:
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help.
Is exist other way to get this working?
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
Hi, Have you tried with ignore_early_media=true ? Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sip.solutions <mailto:vma@sip.solutions> linkedin.com/in/vallimamod <http://linkedin.com/in/vallimamod> .
On 1 Jun 2018, at 00:25, Sergey Safarov <s.safarov@gmail.com <mailto:s.safarov@gmail.com>> wrote:
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help.
Is exist other way to get this working?
Yes, tried. In this case leg_timeout is fired but Caller also cannot listen announcement in session progress stare of b-leg. For me this critical. пт, 1 июн. 2018 г. в 22:23, Vallimamod Abdullah <vma@vallimamod.org>:
Hi,
Have you tried with ignore_early_media=true ?
Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sip.solutions linkedin.com/in/vallimamod .
On 1 Jun 2018, at 00:25, Sergey Safarov <s.safarov@gmail.com> wrote:
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help.
Is exist other way to get this working?
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
After looking FS source, i found that ignore_early_media may be set to value consume. Looks as this help me. Sergey. пт, 1 июн. 2018 г. в 22:23, Vallimamod Abdullah <vma@vallimamod.org>:
Hi,
Have you tried with ignore_early_media=true ?
Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sip.solutions linkedin.com/in/vallimamod .
On 1 Jun 2018, at 00:25, Sergey Safarov <s.safarov@gmail.com> wrote:
Hello i want hangup call if caller not responded for 20 sec. When bleg send RINGING message then leg_timeout works as expected. But if bleg send SESSION_PROGGRESS message then leg_timeout help.
Is exist other way to get this working?
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
participants (6)
-
Alexey Sibyakin
-
Francesco Facco de Lagarda
-
Pascal Emond
-
Sergey Safarov
-
Tihomir Culjaga
-
Vallimamod Abdullah