[Freeswitch-users] default timeout

Stephen Thwaites stephen.thwaites at callstera.com
Fri Mar 22 18:32:06 MSK 2013


Hi All,
Apologies for the simple question but I can't find the answer anywhere
in the books, wiki, or our friend google.

If somebody calls us, FS does an ORIGINATE_CANCEL after 60s but the
follow-me scheme we have configured is100s. How can I increase the
default call_timeout of 60s to 100s? Or maybe I am just doing
something wrong!

I have tried leg_timeouts, originate_timeouts both on the transfer and
the bridge as well to no avail?

Would be very grateful for any help or advise.

Regards,
Steve

Some Details:
- External call comes in on external profile from our voip provider.
- Dialplan in the public context does a transfer to a follow-me
extension 7777 in context creche-babys <action application="transfer"
data="7777 XML creche-babys "/>
- The 7777 extension is as follows and the call hangs up part way
through the third step if nobody picks up (after 60s total).

  <extension name="creche-fm">
    <condition field="destination_number" expression="^7777$">
      <action application="set" data="hangup_after_bridge=true"/>
      <action application="set" data="continue_on_fail=true"/>
      <action application="set" data="ringback=${nl-ring}"/>

      <action application="set" data="call_timeout=25"/>
      <action application="bridge"
data="{ignore_early_media=true}user/21@${domain_name},user/20@${domain_name}"/>

      <action application="set" data="call_timeout=25"/>
      <action application="bridge"
data="{ignore_early_media=true}user/22@${domain_name}"/>

      <action application="set" data="call_timeout=25"/>
      <action application="bridge"
data={ignore_early_media=true}user/23@${domain_name},user/24@${domain_name},user/26@${domain_name},user/27@${domain_name},user/28@${domain_name}"/>

      <action application="set" data="ringback=${nl-ring}"/>
      <action application="set" data="call_timeout=25"/>
      <action application="bridge"
data="{ignore_early_media=true}sofia/gateway/3120
...voipprovidergateway/06 ...mobile number"/>

    </condition>
  </extension>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list