Hello, When using simple bridge application in a dialplan I am using leg_timeout which is default to 60 secs. If I set call_timeout Freeswitch sends 480 after exactly 120 secs. How can I increase this value? Is there any parameter for this? Or is this value hardcoded in the source code? If I have to change the source code to increase this value, which source code do I have to modify? I foud the following line in the sofia lib tree, NHP_SET(nhp, invite_timeout, 120); but I am not sure this is the correct parameter or not. Thanks, Huseyin
any suggestion? On Tue, Aug 16, 2016 at 6:20 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
Hello,
When using simple bridge application in a dialplan I am using leg_timeout which is default to 60 secs. If I set call_timeout Freeswitch sends 480 after exactly 120 secs. How can I increase this value? Is there any parameter for this? Or is this value hardcoded in the source code?
If I have to change the source code to increase this value, which source code do I have to modify?
I foud the following line in the sofia lib tree, NHP_SET(nhp, invite_timeout, 120); but I am not sure this is the correct parameter or not.
Thanks,
Huseyin
Timeouts are set with chan vars either on the bridge data string or via exporting them before calling bridge in the dialplan.,.. there is no code to edit for this… See leg_timeout and call_timeout and make sure you are setting them properly… See https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of huseyin kalyoncu Sent: Wednesday, August 17, 2016 10:03 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] INVITE timeout any suggestion? On Tue, Aug 16, 2016 at 6:20 PM, huseyin kalyoncu <hkalyoncu@gmail.com <mailto:hkalyoncu@gmail.com> > wrote: Hello, When using simple bridge application in a dialplan I am using leg_timeout which is default to 60 secs. If I set call_timeout Freeswitch sends 480 after exactly 120 secs. How can I increase this value? Is there any parameter for this? Or is this value hardcoded in the source code? If I have to change the source code to increase this value, which source code do I have to modify? I foud the following line in the sofia lib tree, NHP_SET(nhp, invite_timeout, 120); but I am not sure this is the correct parameter or not. Thanks, Huseyin
Hello Ken, Yes, I tried leg_timeout, call_timeout and even originate_timeout like this: <action application="bridge" data="{originate_timeout=300}sofia/..."/> But I cant set it higher than 60. Freeswitch always returns error (480) after 60 seconds? How can I set it higher than 120 seconds? Thanks Huseyin On Wed, Aug 17, 2016 at 6:16 PM, Ken Rice <krice@freeswitch.org> wrote:
Timeouts are set with chan vars either on the bridge data string or via exporting them before calling bridge in the dialplan.,.. there is no code to edit for this…
See leg_timeout and call_timeout and make sure you are setting them properly…
See https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *huseyin kalyoncu *Sent:* Wednesday, August 17, 2016 10:03 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] INVITE timeout
any suggestion?
On Tue, Aug 16, 2016 at 6:20 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
Hello,
When using simple bridge application in a dialplan
I am using leg_timeout which is default to 60 secs.
If I set call_timeout Freeswitch sends 480 after exactly 120 secs.
How can I increase this value? Is there any parameter for this?
Or is this value hardcoded in the source code?
If I have to change the source code to increase this value,
which source code do I have to modify?
I foud the following line in the sofia lib tree,
NHP_SET(nhp, invite_timeout, 120);
but I am not sure this is the correct parameter or not.
Thanks,
Huseyin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Sorry for the noise. It turned out that a misconfigured UA causing problems. On Wed, Aug 17, 2016 at 6:41 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
Hello Ken,
Yes, I tried leg_timeout, call_timeout and even originate_timeout like this: <action application="bridge" data="{originate_timeout=300}sofia/..."/> But I cant set it higher than 60. Freeswitch always returns error (480) after 60 seconds? How can I set it higher than 120 seconds?
Thanks Huseyin
On Wed, Aug 17, 2016 at 6:16 PM, Ken Rice <krice@freeswitch.org> wrote:
Timeouts are set with chan vars either on the bridge data string or via exporting them before calling bridge in the dialplan.,.. there is no code to edit for this…
See leg_timeout and call_timeout and make sure you are setting them properly…
See https://freeswitch.org/confluence/display/FREESWITCH/Channel +Variables
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *huseyin kalyoncu *Sent:* Wednesday, August 17, 2016 10:03 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] INVITE timeout
any suggestion?
On Tue, Aug 16, 2016 at 6:20 PM, huseyin kalyoncu <hkalyoncu@gmail.com> wrote:
Hello,
When using simple bridge application in a dialplan
I am using leg_timeout which is default to 60 secs.
If I set call_timeout Freeswitch sends 480 after exactly 120 secs.
How can I increase this value? Is there any parameter for this?
Or is this value hardcoded in the source code?
If I have to change the source code to increase this value,
which source code do I have to modify?
I foud the following line in the sofia lib tree,
NHP_SET(nhp, invite_timeout, 120);
but I am not sure this is the correct parameter or not.
Thanks,
Huseyin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
huseyin kalyoncu
-
Ken Rice