[Freeswitch-users] removing FS from SIP path after mod_fifo out

George Niculae george.niculae79 at gmail.com
Fri Sep 12 17:34:34 MSD 2014


Hi All,

I am using mod_fifo for park/unpark like application using diaplan below,
everything works great, I am able to park/unpark calls, transfer back to
the extension that parked the call on timeout and remove FS from signaling
path after transfer using uuid_simplify.
What I wasn't able to accomplish is to remove FS from signaling path after
unparking the call, tried both uuid_simplify and setting sip_auto_simplify
variable without luck. Any idea if this is possible?

Thanks,
George

  <extension name="ParkOrbitFull">
    <condition field="destination_number" expression="^5555$">
      <action application="set" data="fifo_music=${hold_music"/>
      <action application="set"
data="fifo_orbit_exten=transferBack${sip_referred_by_user}:30"/>
      <action application="set" data="fifo_orbit_dialplan=XML"/>
      <action application="set" data="fifo_caller_exit_key=5"/>
      <action application="set" data="fifo_caller_exit_to_orbit=true"/>
      <action application="fifo" data="QPark5555 in"/>
      <action application="hangup"/>
    </condition>
  </extension>
  <extension name="UnParkFull">
    <condition field="destination_number" expression="^\*45555$">
      <action application="fifo" data="QPark5555 out nowait"/>
    </condition>
  </extension>
  <extension name="transferBack">
    <condition field="destination_number" expression="^transferBack(\d+)$">
      <action application="set" data="ringback=${us-ring}"/>
      <action application="bridge" data="{api_on_answer='uuid_simplify
${uuid}'}sofia/$${domain}/$1@$${domain}"/>
    </condition>
  </extension>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140912/9804179a/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list