VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
brian at freeswitch.org Guest
|
Posted: Tue May 26, 2009 11:54 am Post subject: [Freeswitch-users] Help understanding call_timeout in two di |
|
|
last one set will win!
/b
On May 26, 2009, at 11:49 AM, Larry Marshall wrote:
Quote: | On inbound calls made to 5551212, which call_timeout will be active, 15 or 20? Is it the last hit?
Is there a URL which describes all the applications, for example, export in the default.xml?
Thanks for this amazing software, Lars
In conf/dialplan/public/00_inbound.xml:
<include>
<extension name="Inbound-5551212">
<condition field="destination_number" expression="^1323(5551212)$">
<action application="ring_ready" />
<action application="set" data="call_timeout=15"/>
<action application="set" data="domain_name=$${domain}"/>
<action application="transfer" data="1000 XML default"/>
</condition>
</extension>
</include>
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
lcm at marshap.com Guest
|
Posted: Tue May 26, 2009 12:06 pm Post subject: [Freeswitch-users] Help understanding call_timeout in two di |
|
|
On inbound calls made to 5551212, which call_timeout will be active, 15 or 20? Is it the last hit?
Is there a URL which describes all the applications, for example, export in the default.xml?
Thanks for this amazing software, Lars
In conf/dialplan/public/00_inbound.xml:
<include>
<extension name="Inbound-5551212">
<condition field="destination_number" expression="^1323(5551212)$">
<action application="ring_ready" />
<action application="set" data="call_timeout=15"/>
<action application="set" data="domain_name=$${domain}"/>
<action application="transfer" data="1000 XML default"/>
</condition>
</extension>
</include>
In conf/dialplan/default.xml:
<?xml version="1.0" encoding="utf-8"?>
<!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
<include>
<context name="default">
<extension name="Local_Extension">
<condition field="destination_number" expression="^(10[01][0-9])$">
<action application="set" data="dialed_ext=$1"/>
<action application="export" data="dialed_ext=$1"/>
</condition>
<condition field="destination_number" expression="^${caller_id_number}$">
<action application="set" data="voicemail_authorized=${sip_authorized}"/>
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="voicemail" data="check default $${domain} ${dialed_ext}"/>
<anti-action application="bind_meta_app" data="1 a a execute_extension::dx XML features"/>
<anti-action application="bind_meta_app" data="2 a a record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<anti-action application="bind_meta_app" data="3 a a execute_extension::cf XML features"/>
<anti-action application="set" data="transfer_ringback=${us-ring}"/>
<anti-action application="set" data="call_timeout=20"/>
<anti-action application="set" data="sip_exclude_contact=${network_addr}"/>
<anti-action application="set" data="hangup_after_bridge=true"/>
<anti-action application="set" data="continue_on_fail=true"/>
<anti-action application="db" data="insert/call_return/${dialed_ext}/${caller_id_number}"/>
<anti-action application="db" data="insert/last_dial_ext/${dialed_ext}/${uuid}"/>
<anti-action application="bridge" data="user/${dialed_ext}@$${domain}"/>
<anti-action application="answer"/>
<!--<anti-action application="send_display" data="Voicemail for ${dialed_ext}"/>-->
<anti-action application="sleep" data="1000"/>
<anti-action application="voicemail" data="default $${domain} ${dialed_ext}"/>
</condition>
</extension>
</context>
</include> |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|