[Asterisk-Users] Monitor Command

Nick Cobley nick.cobley at gmail.com
Sat Nov 20 00:46:44 MST 2004


Hi,

I have asked this question before, but only just got round to testing
the solution, and it does not work as expected.

What I need to do is record all calls from the time the call is
answered not from the moment the call starts to ring.

The solution suggested previously was to answer the call in my
dialplan first then dial the phone. I just tried this but it still
records the ringing (while previously I would just get silence rather
than ringing).

Is there any way to do this? 

Currenlty all I have in my dialplan for this is 

exten => 21060,1,Monitor(wav49,${UNIQUEID},m)
exten => 21060,2,Dial(${Nick},20,t)

Also, what would be even better, though not essential, is if I could
put the caller on hold then when the call is answered the legal
announcement will be played played before the call commences. I looked
at using the A variable within the dial command to do this, but if I
understand it correctly this will play a message to destination rather
than the caller.

Hope all this makes sense, and TIA for any advice.

Regards
Nick



More information about the asterisk-users mailing list