Re: [asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-19 Thread ISABEL ORDAS ARNAL
Hi all, I made it easier, AMI was not required, it can be solved directly in the dialplan: same = n,Dial(SIP/${TRUNK}/${ARG2}${NUM},60,M(inject^${CALLERNUMBER})) [macro-inject] same = s,1,Originate(Local/trunk@injectWarning,app,Playback,Message-Callee) same =

[asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-15 Thread ISABEL ORDAS ARNAL
Dear all, Anyone of you knows how to play an audio file at the beginning of a call for both Caller and Callee? A(x) of Dial application only plays audio for callee. I don't want to use MeetMe because I want to use Monitor and MixMonitor. Thank you! Este mensaje

Re: [asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-15 Thread Danny Nicholas
Playback? What flavor of Asterisk are you using? From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of ISABEL ORDAS ARNAL Sent: Thursday, December 15, 2011 10:29 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Play audio

Re: [asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-15 Thread c.savinovich
Dear Danny: How can you use Playback in the middle of 2 channels engaged in a conversation?ThanksC. Savinovich Original Message Subject: Re: [asterisk-users] Play audio file for both Caller and Callee in a call From: "Danny Nicholas" da...@debsinc.com Date: Thu, December 15,

Re: [asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-15 Thread Danny Nicholas
You can’t per se, but you can call an AGI using stream? From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of c.savinov...@itntelecom.com Sent: Thursday, December 15, 2011 11:22 AM To: Asterisk Users Mailing List - Non-Commercial

Re: [asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-15 Thread Jim Dickenson
You also use AMI to inject audio into the conversation using the ChanSpy application. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ On Dec 15, 2011, at 9:23 AM, Danny Nicholas wrote: You can’t per se, but you can call an AGI using stream? From:

Re: [asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-15 Thread virendra bhati
Hi, Plese give a little example of script so that it will be clear. On Thu, Dec 15, 2011 at 11:09 PM, Jim Dickenson dicken...@cfmc.com wrote: You also use AMI to inject audio into the conversation using the ChanSpy application. -- Jim Dickenson mailto:dicken...@cfmc.com dicken...@cfmc.com

Re: [asterisk-users] Play audio file for both Caller and Callee in a call

2011-12-15 Thread Jim Dickenson
Use an AMI packet like this: Action: Originate Channel: Local/do_playback@cfmc_cdi_private Exten: do_chanspy Context: cfmc_cdi_private Priority: 1 Variable: CfMC_ActionID=PlayBack Variable: CfMC_WhatToPlay=lyrics-louie-louie Variable: CfMC_WhoHear=SIP/GXP280 ActionID: PlayBack Async: true With