[asterisk-users] Injecting a sound file into a bridged call

2007-10-08 Thread Girts Graudins
Hello everyone,

 

I'm looking for a way to play a sound file to an already established bridged
call.  It is meant for one party, but it's ok if both parties would hear it.
Ideally, I'd like to be able to trigger this from the Management Interface
with something like:

 

Action: Playback

File: tt-weasels

Channel: Zap/nn

 

However, I haven't seen anything like that being available, so I'm looking
for other suggestions.

 

The critical pieces are as follows:

1)  I need to be able to initiate this as an outside event/command; like
I said, MI would be ideal;

2)  I've seen whisper-type of functionality associated with meetme
rooms, but I'd rather not set up a dynamic meetme room for each call I'm
bridging;

3)  Obviously there's Playback() and Background() available in the
dialplan, but I need to be able to trigger the sound at will after the
call's already been established.

 

This sounds like a simple thing to wish for, yet I don't see a ready answer.
Any tips would be appreciated.

 

TIA,

 

 

Girts

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Injecting a sound file into a bridged call

2007-10-08 Thread Jaswinder Singh
See chanspy in asterisk 1.4 , it also has a whisper mode and you can talk to
one party http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy . But i
dont know  how to play  a recorded file in it .

On 08/10/2007, Girts Graudins [EMAIL PROTECTED] wrote:

  Hello everyone,



 I'm looking for a way to play a sound file to an already established
 bridged call.  It is meant for one party, but it's ok if both parties would
 hear it.  Ideally, I'd like to be able to trigger this from the Management
 Interface with something like:



 Action: Playback

 File: tt-weasels

 Channel: Zap/nn



 However, I haven't seen anything like that being available, so I'm looking
 for other suggestions.



 The critical pieces are as follows:

 1)  I need to be able to initiate this as an outside event/command;
 like I said, MI would be ideal;

 2)  I've seen whisper-type of functionality associated with meetme
 rooms, but I'd rather not set up a dynamic meetme room for each call I'm
 bridging;

 3)  Obviously there's Playback() and Background() available in the
 dialplan, but I need to be able to trigger the sound at will after the
 call's already been established.



 This sounds like a simple thing to wish for, yet I don't see a ready
 answer.  Any tips would be appreciated.



 TIA,





 Girts

 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Injecting a sound file into a bridged call

2007-10-08 Thread Atis Lezdins
On 08/10/2007, Girts Graudins [EMAIL PROTECTED] wrote:
  I'm looking for a way to play a sound file to an already established
  bridged call.  It is meant for one party, but it's ok if both parties
  would hear it.  Ideally, I'd like to be able to trigger this from the
  Management Interface with something like:

I'm also in need for such functionality, the only difference is that i need 
for both channels to hear the message. As i have read press releases, there 
will be something similar available in 1.6. If you succeed, please give us a 
note - how it can be done.

  2)  I've seen whisper-type of functionality associated with meetme
  rooms, but I'd rather not set up a dynamic meetme room for each call I'm
  bridging;

Well, you can create conference dynamically whenever you need to play the 
file. I started working on this, and have found several bugs regarding this, 
but they should be fixed in 1.4.12

Idea is to Redirect() trough AMI both channels to dynamical conference, and 
then attach call with Playback() to the same conference. For now, the 
Redirect() part is working fine, but due to lack of time, i haven't got 
further.

On Monday 08 October 2007 14:13:38 Jaswinder Singh wrote:
 See chanspy in asterisk 1.4 , it also has a whisper mode and you can talk
 to one party http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy . But
 i dont know  how to play  a recorded file in it .

My collegues tried this but unsuccessfully. The basic idea is to use local 
channels - one is bridged to Chanspy() and second to Playback(). I'm not sure 
what is the problem, but theoretically also this should work.

Regards,
Atis

-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Injecting a sound file into a bridged call

2007-10-08 Thread Dovid B
Have a look here: 
http://www.voip-info.org/wiki-Asterisk+config+features.conf .Specifically at 
applicationfaturemap.

- Original Message - 
From: Atis Lezdins [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Monday, October 08, 2007 2:10 PM
Subject: Re: [asterisk-users] Injecting a sound file into a bridged call


 On 08/10/2007, Girts Graudins [EMAIL PROTECTED] wrote:
  I'm looking for a way to play a sound file to an already established
  bridged call.  It is meant for one party, but it's ok if both parties
  would hear it.  Ideally, I'd like to be able to trigger this from the
  Management Interface with something like:

 I'm also in need for such functionality, the only difference is that i 
 need
 for both channels to hear the message. As i have read press releases, 
 there
 will be something similar available in 1.6. If you succeed, please give us 
 a
 note - how it can be done.

  2)  I've seen whisper-type of functionality associated with 
  meetme
  rooms, but I'd rather not set up a dynamic meetme room for each call 
  I'm
  bridging;

 Well, you can create conference dynamically whenever you need to play the
 file. I started working on this, and have found several bugs regarding 
 this,
 but they should be fixed in 1.4.12

 Idea is to Redirect() trough AMI both channels to dynamical conference, 
 and
 then attach call with Playback() to the same conference. For now, the
 Redirect() part is working fine, but due to lack of time, i haven't got
 further.

 On Monday 08 October 2007 14:13:38 Jaswinder Singh wrote:
 See chanspy in asterisk 1.4 , it also has a whisper mode and you can talk
 to one party http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy . 
 But
 i dont know  how to play  a recorded file in it .

 My collegues tried this but unsuccessfully. The basic idea is to use local
 channels - one is bridged to Chanspy() and second to Playback(). I'm not 
 sure
 what is the problem, but theoretically also this should work.

 Regards,
 Atis

 -- 
 Atis Lezdins
 VoIP Developer,
 IQ Labs Inc.
 [EMAIL PROTECTED]
 Skype: atis.lezdins
 Cell Phone: +371 28806004
 Work phone: +1 800 7502835

 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 



___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Injecting a sound file into a bridged call

2007-10-08 Thread Nitesh Divecha
Hello All,

Same here need for such functionality but for my application instead of 
playing sound file, I need ivr menu selection... So for example, if 
manager and employee are in call there should be ivr menu selection 
playing (Press 1 if you are coming late, Press 2 if you are sick...) and 
manager can select any of these options while employee is listening to 
it...

Cheers,
Nitesh



Atis Lezdins wrote:
 On 08/10/2007, Girts Graudins [EMAIL PROTECTED] wrote:
   
 I'm looking for a way to play a sound file to an already established
 bridged call.  It is meant for one party, but it's ok if both parties
 would hear it.  Ideally, I'd like to be able to trigger this from the
 Management Interface with something like:
   

 I'm also in need for such functionality, the only difference is that i need 
 for both channels to hear the message. As i have read press releases, there 
 will be something similar available in 1.6. If you succeed, please give us a 
 note - how it can be done.

   
 2)  I've seen whisper-type of functionality associated with meetme
 rooms, but I'd rather not set up a dynamic meetme room for each call I'm
 bridging;
   

 Well, you can create conference dynamically whenever you need to play the 
 file. I started working on this, and have found several bugs regarding this, 
 but they should be fixed in 1.4.12

 Idea is to Redirect() trough AMI both channels to dynamical conference, and 
 then attach call with Playback() to the same conference. For now, the 
 Redirect() part is working fine, but due to lack of time, i haven't got 
 further.

 On Monday 08 October 2007 14:13:38 Jaswinder Singh wrote:
   
 See chanspy in asterisk 1.4 , it also has a whisper mode and you can talk
 to one party http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy . But
 i dont know  how to play  a recorded file in it .
 

 My collegues tried this but unsuccessfully. The basic idea is to use local 
 channels - one is bridged to Chanspy() and second to Playback(). I'm not sure 
 what is the problem, but theoretically also this should work.

 Regards,
 Atis

   


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Injecting a sound file into a bridged call

2007-10-08 Thread Atis Lezdins
On Monday 08 October 2007 17:42:00 Dovid B wrote:
 Have a look here:
 http://www.voip-info.org/wiki-Asterisk+config+features.conf .Specifically
 at applicationfaturemap.

You're right, that should work. I was just too much concentrated on my 
problem - playing sound for both channels without interrupting 
communications. 

However this will stop bridge of channels - so only one party will hear 
prompt, but second - silence. 

Regards,
Atis

 - Original Message -
 From: Atis Lezdins [EMAIL PROTECTED]
 To: asterisk-users@lists.digium.com
 Sent: Monday, October 08, 2007 2:10 PM
 Subject: Re: [asterisk-users] Injecting a sound file into a bridged call

  On 08/10/2007, Girts Graudins [EMAIL PROTECTED] wrote:
   I'm looking for a way to play a sound file to an already established
   bridged call.  It is meant for one party, but it's ok if both parties
   would hear it.  Ideally, I'd like to be able to trigger this from the
   Management Interface with something like:
 
  I'm also in need for such functionality, the only difference is that i
  need
  for both channels to hear the message. As i have read press releases,
  there
  will be something similar available in 1.6. If you succeed, please give
  us a
  note - how it can be done.
 
   2)  I've seen whisper-type of functionality associated with
   meetme
   rooms, but I'd rather not set up a dynamic meetme room for each call
   I'm
   bridging;
 
  Well, you can create conference dynamically whenever you need to play the
  file. I started working on this, and have found several bugs regarding
  this,
  but they should be fixed in 1.4.12
 
  Idea is to Redirect() trough AMI both channels to dynamical conference,
  and
  then attach call with Playback() to the same conference. For now, the
  Redirect() part is working fine, but due to lack of time, i haven't got
  further.
 
  On Monday 08 October 2007 14:13:38 Jaswinder Singh wrote:
  See chanspy in asterisk 1.4 , it also has a whisper mode and you can
  talk to one party
  http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy . But
  i dont know  how to play  a recorded file in it .
 
  My collegues tried this but unsuccessfully. The basic idea is to use
  local channels - one is bridged to Chanspy() and second to Playback().
  I'm not sure
  what is the problem, but theoretically also this should work.
 
  Regards,
  Atis

-- 
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users