[Freeswitch-users] dialpaln
Gopal krishnan
saigop at gmail.com
Sat Sep 20 06:20:16 PDT 2008
Hi,
My outbound is working, but not in a regular functionality, If i call
first time the call goes thru, by second time its not getting thru, showing
that the channel is not getting released. After reloading mod_openzap the
channel becomes in DOWN state and the call is getting thru, so each and
every time I need to reload the mod_openzap, my conf files as below,
*openzap.conf
*[span wanpipe]
name => openzap
number => 1
trunk_type => E1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31*
default.xml
*[root at dialer ~]# cat /usr/local/freeswitch/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}"/>
<!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s]
<app> -->
<anti-action application="bind_meta_app" data="1 b s
execute_extension::dx XML features"/>
<anti-action application="bind_meta_app" data="2 b s
record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<anti-action application="bind_meta_app" data="3 b s
execute_extension::cf XML features"/>
<anti-action application="set" data="transfer_ringback=${us-ring}"/>
<anti-action application="set" data="call_timeout=30"/>
<!-- <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=NORMAL_TEMPORARY_FAILURE,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION"/>
-->
<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>
<extension name="Long Distance - wanpipe">
<condition field="destination_number" expression="^9(\d{5,15})$">
<action application="set" data="dialed_ext=$1"/>
<action application="bridge" data="openzap/1/A/${dialed_ext}"/>
</condition>
</extension>
</context>
</include>
*
freeswitch console - before loading mod_openzap
*http://pastebin.freeswitch.org/5619
*freeswitch console - after loading mod_openzap*
http://pastebin.freeswitch.org/5620
So the channel state is not releasing some is there anything related to
default.xml that I need to change? Any help would be appreciated....:)
--
Thank you with regards,
Gopal,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080920/00e22da6/attachment-0002.html
More information about the FreeSWITCH-users
mailing list