[Freeswitch-users] Music on hold while I add someone to the conference

Chris B. Ware chrisbware at yahoo.it
Tue Jun 5 14:42:55 MSD 2012


Thank you Michael, I'll test it.

In the meanwhile I've found this workaround:

<extension name="Add new OB call to conference">
      <condition field="destination_number" expression="^ADD_THIRD$">
        <action application="set" data="res=${bgapi uuid_broadcast ${uuid_B} local_stream://moh}" />
        <!-- ask caller for a number + #, collect into ${target_num} variable --> 
        <action application="play_and_get_digits" data="4 11 1 5000 # ivr/ivr-enter_destination_telephone_number.wav ivr/ivr-that_was_an_invalid_entry.wav target_num \d+"/>

        <action application="set" data="res=${bgapi uuid_break ${uuid_B} }" />
        <!-- add this call to the conference -->
        <action application="execute_extension" data="ADD_CALL_TO_CONF_${target_num}"/>
      </condition>
    </extension>


uuid_broadcast and uuid_break do the trick!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120605/e51187b4/attachment.html 


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