[Freeswitch-users] Originate_timeout not working with latest SVN trunk

Chris Chen chris.chen2004 at gmail.com
Sat Jan 16 17:37:46 PST 2010


Hi there, if anybody has the similar issue like me regarding the
originate_timeout variable.

I have the following dialplan:

<extension name="Support_Extension">
      <condition field="destination_number" expression="^(support)$">
        <action application="set" data="dialed_extension=$1"/>
        <action application="export" data="dialed_extension=$1"/>
        <action application="bind_meta_app" data="1 b s
execute_extension::dx XML features_nln"/>
        <action application="bind_meta_app" data="2 b s
record_session::$${base_dir}/recordings/${caller_id_number}.${strftim$
        <action application="bind_meta_app" data="3 b s
execute_extension::cf XML features_nln"/>
        <action application="set" data="ringback=${us-ring}"/>
        <action application="set" data="call_timeout=10"/>
        <action application="set" data="hangup_after_bridge=true"/>
        <action application="set" data="continue_on_fail=true"/>
        <action application="db"
data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/>
        <action application="db"
data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/>
        <action application="set"
data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
var callgroup)}$
        <action application="db"
data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/>
        <action application="bridge" data="user/1000 at My_FS_Public_IP
,user/1001 at My_FS_Public_IP"/>
        <action application="set" data="originate_timeout=15"/>
        <action application="bridge"
data="sofia/gateway/unlimitel/6475552222"/>
        <action application="bridge"
data="sofia/gateway/unlimitel/4165552222"/>
         <action application="answer"/>
        <action application="sleep" data="1000"/>
        <action application="voicemail" data="default_nln ${domain_name}
1001"/>
      </condition>
    </extension>


in the past the call_timeout and originate_timeout all working as expected,
but with latest SVN trunk since 16318, the originate_timeout not working,
once the call forwarded to the cell phone by
  <action application="bridge" data="sofia/gateway/unlimitel/6475552222"/>
        <action application="bridge"
data="sofia/gateway/unlimitel/4165552222"/>
it never timed out
so the voicemail never got executed.
 Any helps are greatly appreciated
Thanks,

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100116/8a134c5b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list