[asterisk-users] make asterisk do something when an outgoing call is picked up

lee lee at yagibdah.de
Thu Oct 30 14:21:15 CDT 2014


Thorsten Göllner <tg at ovm-group.com> writes:

> Am 26.10.2014 00:43, schrieb lee:
>> Hi,
>>
>> how can I make asterisk do something when an outgoing call is picked up?
>>
>>
>> The background is that I would like to record incoming and outgoing
>> phone calls.  In order to do this, I need to play an announcement
>> telling the person calling or being called that the call will be
>> recorded.
>>
>
> Maybe this will do a good job for recording all calls:
> http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy
>
> And playing an announcement, when a call is picked, should be done
> within your dialplan with this function:
> http://www.voip-info.org/wiki/view/Asterisk+cmd+Playback

Thank you --- I'm not sure what to do with these.  I've been able to use
Playback to play an announcement, and ChanSpy just looks complicated.

What if I press a button on the phone while a call is going on?  Can I
somehow make it so that recording starts when I do that?


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.



More information about the asterisk-users mailing list