Need help!
I'm
following the below link
http://wiki.freeswitch.org/wiki/Force_transfer_context_example
Requirement is to design a XML dialplan which can bridge calls and also handle/receive
a transfer/REFER on the bridged calls. Once we have this working we will be
also testing *T (*8 PSTN)
transfer.
Status: Using, Internal Context (for bridge) and Transfer Handler Context (for
REFER), both context get loaded as single dialplan but when my IVR application
initiates REFER it is stuck at processing REFER.
FreeSWITCH Accepted REFER but fails to send NOTIFY to the IVR machine.
Issue:
2012-10-23 02:27:49.516554 [DEBUG] sofia.c:7311 Process REFER to [(null)@10.130.XXX.XXX]
Dialplan:
<section name="dialplan" description="Dial Plan For FreeSwitch">
<context name="INTERNAL">
<extension name="bridgeit" continue="true">
- <condition field="destination_number"
expression="2001">
<action application="set" data="transfer_after_bridge=ReleaseResource"
/>
<action application="set" data="call_timeout=30"
/>
<action application="set" data="exec_after_bridge_app=transfer"
/>
<action application="set" data="exec_after_bridge_arg=ReleaseResource"
/>
<action application="set" data="hangup_after_bridge=false"
/>
<action application="set"
data="continue_on_fail=true" />
<action application="set" data="force_transfer_context=transfer_handler"
/>
<action application="bridge"
data="sofia/VOIPBRD1/2001@10.21.XXX.XXX" />
<action application="unset"
data="force_transfer_context" />
<action application="transfer"
data="ReleaseResource" />
</condition>
</extension>
</context>
- <context name="transfer_handler">
- <extension name="siprefer" continue="true">
- <condition field="destination_number" expression="^(.*)$">
<action application="bridge"
data="sofia/VOIPBRD1/$1" />
</condition>
</extension>
</context>
</section>