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

Chris B. Ware chrisbware at yahoo.it
Mon Jun 4 13:54:58 MSD 2012


Hi,

I'm testing example reported here:

http://wiki.freeswitch.org/wiki/Conference_Add_Call_Example



I'd like to modify extension "Add new OB call to conference" in order to play music on hold to the other conference members , while moderator digit a new member number to add. In my case we have a conference with A (moderator) and B (first member) and A try to add C. That's my conf:

 <extension name="Add new OB call to conference">
      <condition field="destination_number" expression="^ADD_THIRD$">
        <action application="set" data="res=${bgapi uuid_hold ${uuid_A} }" />

         <!-- 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_hold off ${uuid_A} }" />
        <!-- add this call to the conference -->
        <action application="execute_extension" data="ADD_CALL_TO_CONF_${target_num}"/>
      </condition>
    </extension>


Everything works except B can't hear any music. Where's the error?


Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120604/b2d8c246/attachment.html 


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