View previous topic :: View next topic |
Author |
Message |
thangappan143 at gmail... Guest
|
Posted: Wed Sep 30, 2009 12:36 am Post subject: [Freeswitch-users] Put a call in music on hold |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Sep 30, 2009 4:28 am Post subject: [Freeswitch-users] Put a call in music on hold |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
thangappan143 at gmail... Guest
|
Posted: Wed Sep 30, 2009 7:56 am Post subject: [Freeswitch-users] Put a call in music on hold |
|
|
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 <thangappan143@gmail.com (thangappan143@gmail.com)> wrote:
Quote: | 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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
|