[Freeswitch-users] How to handle Transfer in Bridged call

Nageshwara Rao Moova mnrao2001 at gmail.com
Tue Oct 23 16:56:06 MSD 2012


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 at 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>


-- 
regards & thanks
--
m nageshwara rao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121023/01ac0f1a/attachment.html 


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