<HTML>
<HEAD>
<TITLE>Re: [asterisk-users] Inform callers on recorded/monitored number.</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Your dialplan won’t hit s-ANSWER — Dial doesn’t return until an answered call is completed. If you want to announce that the call is recorded to the person making the call, play it to them before the dial. If you want to announce it to the person receiving the call, try the M option.<BR>
<BR>
You might also want to look at what the legal situation is in your jurisdiction. Here one only needs the consent of one party to the call, so I don’t have to advise the callee that the call is recorded if the caller consents to the recording.<BR>
<BR>
<BR>
On 2006-12-19 04:13, "Angel Heart" <cocent@yahoo.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi Paul & Eric,<BR>
<BR>
Thank you for you information and quick response. I had enabled Monitoring in every SIP phone already. Made some Playback see below truncated config;<BR>
<BR>
exten => s,21,Dial(${pre_num:4}${the_num}${post_num},120,${TRUNK_OPTIONS})<BR>
exten => s,22,Goto(s-${DIALSTATUS},1)<BR>
exten => s,108,Noop(max channels used up)<BR>
exten => s-BUSY,1,NoOp(Trunk is reporting BUSY)<BR>
exten => s-BUSY,2,Busy()<BR>
exten => s-BUSY,3,Wait(60)<BR>
exten => s-BUSY,4,NoOp()<BR>
;Below was an added codes for the purpose of advising caller status of their call.<BR>
exten => s-NOANSWER,1,Playback(user)<BR>
exten => s-NOANSWER,n,Playback(is-curntly-unavail)<BR>
exten => s-NOANSWER,n,Hangup()<BR>
<BR>
exten => s-ANSWER,1,Background(for-quality-purposes)<BR>
exten => s-ANSWER,n,Background(this-call-may-be)<BR>
exten => s-ANSWER,n,Background(recorded)<BR>
<BR>
exten => s-CHANUNAVAIL,1,Playback(is-curntly-unavail)<BR>
exten => s-CHANUNAVAIL,n,Hangup()<BR>
<BR>
exten => s-CONGESTION,1,PlayTones(congestion)<BR>
exten => s-CONGESTION,n,Wait(5)<BR>
exten => s-CONGESTION,n,StopPlayTones()<BR>
exten => s-CONGESTION,n,Hangup()<BR>
<BR>
All the value of DIALSTATUS are working except if its ANSWER, it not working neither the caller or callee doen't hear anything. I might inserted the message at the wrong .conf file. I just thought that somebody out there had tried doing these before.<BR>
<BR>
<BR>
<BR>
<BR>
Scenerio:<BR>
<BR>
<BR>
<BR>
<I>SIP phone (101) wanted to call out-side Asterisk via ISDN/PSTN (6320011). Upon answering by user 6320011, it hears sound like "For Quality Assurance Purposes, this call might be monitored or recorded". It is more important for us that the called 6320011 should be informed about the recorded conversation and its up to him/her (called/6320011) to hangup or accept.<BR>
</I><BR>
<BR>
<BR>
<I>The same thing when some body called the SIP phone (101), from out-side Asterisk via ISDN/PSTN Trunk. The caller (from PSTN) should be informed about the recorded calls; Asterisk will send ringing tone then playback(For Quality...) continue with music(MOH) until SIP phone(101 will answer.<BR>
</I><BR>
<BR>
<BR>
Hope you could provide me a little bit specific configuration on where to insert such scripts.<BR>
<BR>
<BR>
<BR>
Thanks<BR>
<BR>
<BR>
<BR>
Angel<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
----- Original Message ----<BR>
From: Eric Jacksch <eric.jacksch@tenebris.ca><BR>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com><BR>
Sent: Tuesday, December 19, 2006 1:02:34 PM<BR>
Subject: Re: [asterisk-users] Inform callers on recorded/monitored number.<BR>
<BR>
<BR>
exten => s,1,Answer<BR>
exten => s,n,Set(REC=${URIENCODE(${STRFTIME(,America/Toronto,%Y%m%d-%H%M%S)}-${CALLERID(number)}-TESTBOARD-${UNIQUEID})})<BR>
exten => s,n,MixMonitor(${REC}.wav)<BR>
exten => s,n,Playback(this-call-may-be-monitored-or-recorded)<BR>
<BR>
Note that I intentionally start the recording <B>BEFORE</B> advising the user that the call may be monitored — that way the first thing on the recording is the user being advised of the recording.<BR>
<BR>
-------------------------------------------------------------------------------------------------------------------------<BR>
<BR>
</SPAN></FONT><FONT SIZE="4"><FONT FACE="Times New Roman"><SPAN STYLE='font-size:14.0px'>With the playback command?<BR>
<BR>
I think we are missing something here.<BR>
<BR>
PaulH<BR>
</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
__________________________________________________<BR>
Do You Yahoo!?<BR>
Tired of spam? Yahoo! Mail has the best spam protection around <BR>
<a href="http://mail.yahoo.com">http://mail.yahoo.com</a> <BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>_______________________________________________<BR>
--Bandwidth and Colocation provided by Easynews.com --<BR>
<BR>
asterisk-users mailing list<BR>
To UNSUBSCRIBE or update options visit:<BR>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>-- <BR>
Eric Jacksch<BR>
+1 613 860-0964 Ottawa<BR>
+1 647 722-3544 Toronto<BR>
+1 514 907-0031 Montreal<BR>
<BR>
"They who would give up an essential liberty for temporary security deserve neither liberty or security." -- Benjamin Franklin<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>