Re: [Freeswitch-users] Put a call in music on hold

2009-09-30 Thread Brian West
This API is not for that.  It actually sends the hold notification to  
the endpoint.  It's not for starting or stopping HOLD music.   You  
could use it as such if you had TWO freeswitch boxes...


CALL - FS - FS (uuid_hold would send a hold indication to the first  
FS box causing it to play music on hold)

/b


On Sep 30, 2009, at 12:27 AM, Thangappan.M wrote:

 Dear all,

I am in the process of implementing IVR server in Perl  
 using event outbound socket. I want to put a call in music on hold  
 when the perl is doing something.

I have tried the following steps.

 * First using Set application set the hold_music  
 variable with our music file
 * Call the uuid_hold application with current  
 call unique id.
 * Wait 10 seconds
 * Call the uuid_hold application with off  and  
 current call unique id

   I executed the server and called up  the configured extension. It  
 didn't work.
   I also tried with nc command. And send the events thorough the  
 terminal. At that time also it didn't work.

   Did I make any mistake?
   Is it possible to put a call on hold and play the voice while  
 holding time?

 Please help me?


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Put a call in music on hold

2009-09-30 Thread Thangappan.M
Then what is the right way to put a call on hold and play the music. Can you
please explain?



On Wed, Sep 30, 2009 at 10:57 AM, Thangappan.M thangappan...@gmail.comwrote:

 Dear all,

I am in the process of implementing IVR server in Perl using
 event outbound socket. I want to put a call in music on hold when the perl
 is doing something.

I have tried the following steps.

 * First using Set application set the hold_music variable
 with our music file
 * Call the uuid_hold application with current call
 unique id.
 * Wait 10 seconds
 * Call the uuid_hold application with off  and current
 call unique id

   I executed the server and called up  the configured extension. It didn't
 work.
   I also tried with nc command. And send the events thorough the terminal.
 At that time also it didn't work.

   Did I make any mistake?
   Is it possible to put a call on hold and play the voice while holding
 time?

 Please help me?

 --
 Regards,
 Thangappan.M




-- 
Regards,
Thangappan.M
___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Put a call in music on hold

2009-09-30 Thread Brian West
Park it.. then send it a command to play music.

/b

On Sep 30, 2009, at 7:47 AM, Thangappan.M wrote:


 Then what is the right way to put a call on hold and play the music.  
 Can you please explain?


___
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org