[Freeswitch-users] oriiginate_timeout

Marcel Haldemann m.hald at outlook.com
Wed May 20 07:59:53 UTC 2020


Sorry, my reply was intended directly to the initial question.

I did understand that the timeout isn’t working (and thus the call is ringing too long)

I just checked our code, as I know we hat the same issue some time back, there we set (relevant part):

                    cmd += $",ignore_early_media=true";
                    cmd += $",call_timeout={call.CallTimeout}";
                    cmd += $",bridge_answer_timeout={call.CallTimeout}";
                    cmd += $",leg_timeout={call.CallTimeout}";

(it’s C# code that builds the Connection String and this is inside of the curly brackets)

So we set ignore_early_media, call_timeout, bridge_answer_timeout, leg_timeout

This way the timeout works for us with and without early-media.

I’m sorry if I understand it wrong or this does not apply for u.

Note: this was tested in FS 1.10.1

Hth,
Marcel

Von: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> Im Auftrag von David Villasmil
Gesendet: Dienstag, 19. Mai 2020 23:20
An: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Betreff: Re: [Freeswitch-users] oriiginate_timeout

Marcel, event after receiving media?

On Tue, 19 May 2020 at 21:32, Marcel Haldemann <marcel.haldemann at convercom.ch<mailto:marcel.haldemann at convercom.ch>> wrote:
Setting call_timeout and leg_timeout works for me (all inside the curly brackets)

Von: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> Im Auftrag von Faisal Hanif
Gesendet: Dienstag, 19. Mai 2020 21:41
An: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Betreff: Re: [Freeswitch-users] oriiginate_timeout

adding

execute_on_media='sched_hangup +4',execute_on_answer='sched_hangup +3600'

could be a tweak to solve your problem

On Tue, 19 May 2020 at 22:36, David Villasmil <david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>> wrote:
Anyone can help on this?
Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337


On Mon, May 18, 2020 at 11:51 PM David Villasmil <david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>> wrote:
Hello all,

I'm trying to timeout an origination, using originate_timeout works fine _if_ i don't get a 183, so i tried combining both originate_timeout and bridge_answer_timout, but this doesn't seem to be working:

bgapi expand originate {bridge_answer_timeout=5,originate_timeout=2,execute_on_answer='sched_broadcast +3 playback somefile.wav'}sofia/outbound/1112223456 at 1.2.3.4<mailto:1112223456 at 1.2.3.4>


If i don't get a 183 before 2 seconds, the call is timed out properly, but if i do, the bridge_answer_timeout is never fired..

Anyone knows what this could be?

Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538898005&sdata=o7HRO8aLHYsL8dEgFHnq5qasbIO6Bp5ccm8FNRY6UzY%3D&reserved=0>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire.community%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538898005&sdata=%2Bd0LhBNfta8ZlgrbNgxGWAuLauOA%2FkyTzL%2F4niR1Hvg%3D&reserved=0>

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538907996&sdata=NN5RHNUTRmNVhXygpSOQdDipeDfo%2Fv%2F1aX3lMR5JeM0%3D&reserved=0>

Official FreeSWITCH Sites
https://freeswitch.com/oss<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2Foss&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538907996&sdata=qd1avCSoxHIWgA7NQXRNGIZCXhuM%2FvZeJzUkZKjdnHs%3D&reserved=0>
https://freeswitch.org/confluence<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.org%2Fconfluence&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538917990&sdata=%2F6gbyC%2Fad79lfGLDFJ%2FLhweehLlIng3uEqLAR5v4Bp8%3D&reserved=0>
https://cluecon.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcluecon.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538917990&sdata=z%2Fxjap05%2BgqUx7CiuyeqttPMVw%2F%2BVpLzTki51UL7kww%3D&reserved=0>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<https://eur05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538927987&sdata=ZedbPHOYqmdmBYn%2BFVDQaJ6PptqWUKfSN5ocHAa%2FBlc%3D&reserved=0>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://eur05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538927987&sdata=q94acQtP7iJYz%2FWWJFpgzGTTXDBGm1kNfzqeI75To3c%3D&reserved=0>
https://freeswitch.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538937979&sdata=ZmSAa%2BUeElP1OLGz5u7FijbMu4ebZYzuiMEeKwtt8Vw%3D&reserved=0>


--
Regards,

Faisal Hanif
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538937979&sdata=I%2BkBm%2BeIcfraaJVbdY4C7JyRNzQZ%2BRWzYWywE%2BFscHs%3D&reserved=0>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsignalwire.community%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538937979&sdata=lzJfHHcL4xudCyN43EbGz1iZNHh14mg5INc4fYs4lIA%3D&reserved=0>

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538947973&sdata=wzNguerkv6e7zt9hyjYVJifkkU0V4BrYsU5k2%2FXU%2BFk%3D&reserved=0>

Official FreeSWITCH Sites
https://freeswitch.com/oss<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2Foss&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538947973&sdata=BexLxyGFV8v%2FxLY1emBtmsSlWf2otlcR6RSiw%2FeRxiQ%3D&reserved=0>
https://freeswitch.org/confluence<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.org%2Fconfluence&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538957970&sdata=uhj9tKCbc7qgSpRJwiz7uGLyLzjR13oPJnNwiNK2fLI%3D&reserved=0>
https://cluecon.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcluecon.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538957970&sdata=g%2BrcCJ%2F%2BWnSrv6qrkVhkhQf3PJGQzfayYu97J4wvR6o%3D&reserved=0>

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<https://eur05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538957970&sdata=RgBf1r9lwWiHMzcUrw5sjdwBWDxQIT6neb30ZYuc3fY%3D&reserved=0>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<https://eur05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538967961&sdata=QNfXhlxgFy8mGTOyQ1Fg9JOMNv5ZGpc0IalTihDLFII%3D&reserved=0>
https://freeswitch.com<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffreeswitch.com%2F&data=02%7C01%7C%7Cae962d5c9eaa4be53be508d7fc3b6573%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637255204538967961&sdata=3TJMVKUIErcVuMLo9oita4KjxizJ%2Btfg2j2U%2FsNo%2FbQ%3D&reserved=0>
--
Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200520/7a02fbc4/attachment-0001.html>


More information about the FreeSWITCH-users mailing list