[Freeswitch-users] Hangup no answered calls after 60 seconds

Florent Krieg flokrrr at gmail.com
Fri Jul 22 12:31:00 MSD 2016


Hi Agusti,

Try this:

*    <action application="bridge"
data="{absolute_codec_string='$${absolute_codec}',originate_timeout=120}user/${destination_number}@${domain_name}"/>*

Or this should work too:

*    <action application="bridge"
data="{absolute_codec_string='$${absolute_codec}'}[leg_timeout=120]user/${destination_number}@${domain_name}"/>*



2016-07-22 9:59 GMT+02:00 Agustí Ubalde <aubalde at presenceco.com>:

> Hi Italo,
>
> Using leg_timeout not works.
>
> This is the log message:
>
> *Cannot create outgoing channel of type [user] cause: [NO_ANSWER]*
>
> This is the dialplan:
>
> *<extension name="To_Internal_Extension">*
> *  <condition regex="any">*
> *    <regex field="destination_number" expression="^([0-9]+)$"/>*
> *    <action application="log" data="Calling from Asterisk - WebRTC
> call"/>*
> *    <!-- Only 1 call per user -->*
> *    <action application="limit" data="hash ${destination_number}
> calls_max_intl 1 !USER_BUSY"/>*
> *    <action application="set" data="ringback=${us-ring}"/>*
> *    <action application="set" data="leg_timeout=120"/>*
>
> *    <action application="bridge"
> data="{absolute_codec_string='$${absolute_codec}'}user/${destination_number}@${domain_name}"/>*
> *  </condition>*
> *</extension>*
>
>
> Thanks,
>
> *PRESENCE TECHNOLOGY*
> *Agustí Ubalde Bellot*
> Chief Developer
> C/ Comte Urgell 240 3A
> Barcelona 08036
> aubalde at presenceco.com
>
> Ph: +34 93 10 10 300
> Fx: +34 93 10 10 333
>
> *www.presenceco.com* <http://www.presenceco.com/>
>
> *Follow us on:*
>
> *[image: tw]* <http://twitter.com/presencetech>*[image: yt]*
> <http://www.youtube.com/PresenceTechnology>*[image: in]*
> <http://www.linkedin.com/groups?mostPopular=&gid=2898558>*[image: ss]*
> <http://www.slideshare.net/PresenceTech>*[image: fb]*
> <http://www.facebook.com/presencetech>
>
> For additional information, please visit our website *www.presenceco.com*
> <http://www.presenceco.com/>
>
> 2016-07-21 23:35 GMT+02:00 Ítalo Rossi <italo at freeswitch.org>:
>
>> call_timeout is deprecated, use leg_timeout instead.
>>
>> On Wed, Jul 20, 2016 at 12:44 PM, Agustí Ubalde <aubalde at presenceco.com>
>> wrote:
>>
>>> Hi Florent,
>>>
>>> This solution not works. In my scenario, I've been receiving inbound
>>> calls from Asterisk PBX and the call_timeout before the bridge action not
>>> works.
>>>
>>>
>>> Thanks,
>>>
>>> *PRESENCE TECHNOLOGY*
>>> *Agustí Ubalde Bellot*
>>> Chief Developer
>>> C/ Comte Urgell 240 3A
>>> Barcelona 08036
>>> aubalde at presenceco.com
>>>
>>> Ph: +34 93 10 10 300
>>> Fx: +34 93 10 10 333
>>>
>>> *www.presenceco.com* <http://www.presenceco.com/>
>>>
>>> *Follow us on:*
>>>
>>> *[image: tw]* <http://twitter.com/presencetech>*[image: yt]*
>>> <http://www.youtube.com/PresenceTechnology>*[image: in]*
>>> <http://www.linkedin.com/groups?mostPopular=&gid=2898558>*[image: ss]*
>>> <http://www.slideshare.net/PresenceTech>*[image: fb]*
>>> <http://www.facebook.com/presencetech>
>>>
>>> For additional information, please visit our website
>>> *www.presenceco.com* <http://www.presenceco.com/>
>>>
>>> 2016-07-20 16:26 GMT+02:00 Florent Krieg <flokrrr at gmail.com>:
>>>
>>>> Sure, if you are bridging two legs, just do before the bridge action:
>>>> <action application="set" data="call_timeout=120"/>
>>>>
>>>> 2016-07-20 13:58 GMT+02:00 Agustí Ubalde <aubalde at presenceco.com>:
>>>>
>>>>> Hi Florent,
>>>>>
>>>>> Is possible to increase 60 seconds?
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> *PRESENCE TECHNOLOGY*
>>>>> *Agustí Ubalde Bellot*
>>>>> Chief Developer
>>>>> C/ Comte Urgell 240 3A
>>>>> Barcelona 08036
>>>>> aubalde at presenceco.com
>>>>>
>>>>> Ph: +34 93 10 10 300
>>>>> Fx: +34 93 10 10 333
>>>>>
>>>>> *www.presenceco.com* <http://www.presenceco.com/>
>>>>>
>>>>> *Follow us on:*
>>>>>
>>>>> *[image: tw]* <http://twitter.com/presencetech>*[image: yt]*
>>>>> <http://www.youtube.com/PresenceTechnology>*[image: in]*
>>>>> <http://www.linkedin.com/groups?mostPopular=&gid=2898558>*[image: ss]*
>>>>> <http://www.slideshare.net/PresenceTech>*[image: fb]*
>>>>> <http://www.facebook.com/presencetech>
>>>>>
>>>>> For additional information, please visit our website
>>>>> *www.presenceco.com* <http://www.presenceco.com/>
>>>>>
>>>>> 2016-07-20 12:46 GMT+02:00 Florent Krieg <flokrrr at gmail.com>:
>>>>>
>>>>>> Hello Agusti,
>>>>>>
>>>>>> This is the default call timeout (60s).
>>>>>> You will need to either set call_timeout or set originate_timeout,
>>>>>> depending on the use case.
>>>>>> See: https://freeswitch.org/confluence/display/FREESWITCH/Variables
>>>>>>
>>>>>> Florent
>>>>>>
>>>>>> 2016-07-20 12:26 GMT+02:00 Agustí Ubalde <aubalde at presenceco.com>:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've an environment where the unanswered calls hang automatically
>>>>>>> after 60 seconds.
>>>>>>> Anyone know where is the problem?
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> *PRESENCE TECHNOLOGY*
>>>>>>> *Agustí Ubalde Bellot*
>>>>>>> Chief Developer
>>>>>>> C/ Comte Urgell 240 3A
>>>>>>> Barcelona 08036
>>>>>>> aubalde at presenceco.com
>>>>>>>
>>>>>>> Ph: +34 93 10 10 300
>>>>>>> Fx: +34 93 10 10 333
>>>>>>>
>>>>>>> *www.presenceco.com* <http://www.presenceco.com/>
>>>>>>>
>>>>>>> *Follow us on:*
>>>>>>>
>>>>>>> *[image: tw]* <http://twitter.com/presencetech>*[image: yt]*
>>>>>>> <http://www.youtube.com/PresenceTechnology>*[image: in]*
>>>>>>> <http://www.linkedin.com/groups?mostPopular=&gid=2898558>*[image:
>>>>>>> ss]* <http://www.slideshare.net/PresenceTech>*[image: fb]*
>>>>>>> <http://www.facebook.com/presencetech>
>>>>>>>
>>>>>>> For additional information, please visit our website
>>>>>>> *www.presenceco.com* <http://www.presenceco.com/>
>>>>>>>
>>>>>>>
>>>>>>> *Presence Technology - DisclaimerThis message, its content and any
>>>>>>> file attached thereto is for the intended recipient only and is
>>>>>>> confidential and /or privileged. If you have received this e-mail in error
>>>>>>> or had access to it, you should note that the information in it is private
>>>>>>> and any use thereof is unauthorized. In such an event please notify us by
>>>>>>> e-mail or by telephone (+ 34 93 10 10 300). Any reproduction of this e-mail
>>>>>>> by whatsoever means and any transmission or dissemination thereof to other
>>>>>>> persons is prohibited. It should be deleted immediately from your system.
>>>>>>> Presence Technology reserves the right to take legal action against any
>>>>>>> persons unlawfully gaining access to the content of any external message it
>>>>>>> has emitted.*
>>>>>>>
>>>>>>> *For additional information, please visit our website **www.presenceco.com
>>>>>>> <http://www.presenceco.com/>*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> consulting at freeswitch.org
>>>>>>> http://www.freeswitchsolutions.com
>>>>>>>
>>>>>>> Official FreeSWITCH Sites
>>>>>>> http://www.freeswitch.org
>>>>>>> http://confluence.freeswitch.org
>>>>>>> http://www.cluecon.com
>>>>>>>
>>>>>>> FreeSWITCH-users mailing list
>>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>>> UNSUBSCRIBE:
>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>>> http://www.freeswitch.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>> consulting at freeswitch.org
>>>>>> http://www.freeswitchsolutions.com
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org
>>>>>> http://confluence.freeswitch.org
>>>>>> http://www.cluecon.com
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:
>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Presence Technology - DisclaimerThis message, its content and any
>>>>> file attached thereto is for the intended recipient only and is
>>>>> confidential and /or privileged. If you have received this e-mail in error
>>>>> or had access to it, you should note that the information in it is private
>>>>> and any use thereof is unauthorized. In such an event please notify us by
>>>>> e-mail or by telephone (+ 34 93 10 10 300). Any reproduction of this e-mail
>>>>> by whatsoever means and any transmission or dissemination thereof to other
>>>>> persons is prohibited. It should be deleted immediately from your system.
>>>>> Presence Technology reserves the right to take legal action against any
>>>>> persons unlawfully gaining access to the content of any external message it
>>>>> has emitted.*
>>>>>
>>>>> *For additional information, please visit our website **www.presenceco.com
>>>>> <http://www.presenceco.com/>*
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://confluence.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:
>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>>
>>> *Presence Technology - DisclaimerThis message, its content and any file
>>> attached thereto is for the intended recipient only and is confidential and
>>> /or privileged. If you have received this e-mail in error or had access to
>>> it, you should note that the information in it is private and any use
>>> thereof is unauthorized. In such an event please notify us by e-mail or by
>>> telephone (+ 34 93 10 10 300). Any reproduction of this e-mail by
>>> whatsoever means and any transmission or dissemination thereof to other
>>> persons is prohibited. It should be deleted immediately from your system.
>>> Presence Technology reserves the right to take legal action against any
>>> persons unlawfully gaining access to the content of any external message it
>>> has emitted.*
>>>
>>> *For additional information, please visit our website **www.presenceco.com
>>> <http://www.presenceco.com/>*
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Ítalo Rossi
>> italo at freeswitch.org
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> *Presence Technology - DisclaimerThis message, its content and any file
> attached thereto is for the intended recipient only and is confidential and
> /or privileged. If you have received this e-mail in error or had access to
> it, you should note that the information in it is private and any use
> thereof is unauthorized. In such an event please notify us by e-mail or by
> telephone (+ 34 93 10 10 300). Any reproduction of this e-mail by
> whatsoever means and any transmission or dissemination thereof to other
> persons is prohibited. It should be deleted immediately from your system.
> Presence Technology reserves the right to take legal action against any
> persons unlawfully gaining access to the content of any external message it
> has emitted.*
>
> *For additional information, please visit our website **www.presenceco.com
> <http://www.presenceco.com/>*
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160722/67eea52e/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list