>1- Call comes in without callerid >2- AGI script answers line >3- AGI script asks to record name >4- Park the call and get the parked extension number >5- Ring all the phones in the house (exec Dial) >6- If phone is picked up, play recorded name >7- Wait for DTMF to accept or decline call >8- If accepted, bridge parked call and current call.Mike, I am wanting this same application. Have you found a soulution? --john
Why wait? And why use agi? and why in the hell use parking? Call comes in without callerid: ; call gets answered exten => s/,1,Answer exten => s/,2,Set(SCREENFILE=/tmp/screen-${CALLERIDNUM}) ; ask the callers name and records it exten => s/,3,Playback(screen-record) exten => s/,4,Record(${SCREENFILE}.gsm|60|20) ; dials you playing music to the caller (no need to park it) exten => s/,5,Dial(SIP/me|120|mM(screen^${SCREENFILE})) exten => s/,6,Voicemail(u200) ; You answer and this macro exec's caller still hears music [macro-screen] exten => s,1,Playback(silence/1) exten => s,2,Playback(screen-from) ; plays recorded file exten => s,3,Playback(${ARG1}) ;asks you to accept it by pressing 1 anything else rejects the call exten => s,4,Read(ACCEPT|screen-accept|1||3) exten => s,5,GotoIf($[${ACCEPT} = 1 ] ?7:6) ; if you pressed 1 this will make it bridge the call else it sends it to voicemail exten => s,6,SetVar(MACRO_RESULT=CONTINUE) exten => s,7,System(/bin/rm -f ${ARG1}*) Don't forget to visit http://www.pbxfreeware.org and http:// www.cluecon.com /b --- Anakin: ?You?re either with me, or you?re my enemy.? Obi-Wan: ?Only a Sith could be an absolutist.? On Jun 23, 2005, at 10:11 AM, John Hill wrote:> > > >> 1- Call comes in without callerid >> 2- AGI script answers line >> 3- AGI script asks to record name >> 4- Park the call and get the parked extension number >> 5- Ring all the phones in the house (exec Dial) >> 6- If phone is picked up, play recorded name >> 7- Wait for DTMF to accept or decline call >> 8- If accepted, bridge parked call and current call. >> > > > > Mike, > I am wanting this same application. Have you found a soulution? > > --john > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
I haven't found a version of this yet. Mike ----- Original Message ----- From: "John Hill" <jhill@noach.com> To: <asterisk@marko.net> Sent: Thursday, June 23, 2005 4:11 PM Subject: [Asterisk-Users] privacy manager> > >>1- Call comes in without callerid >>2- AGI script answers line >>3- AGI script asks to record name >>4- Park the call and get the parked extension number >>5- Ring all the phones in the house (exec Dial) >>6- If phone is picked up, play recorded name >>7- Wait for DTMF to accept or decline call >>8- If accepted, bridge parked call and current call. > > > > Mike, > I am wanting this same application. Have you found a soulution? > > --john > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
I'm trying to get privacy manager to kick in if an anonymous call is received on a Sip channel. Unfortunately it seems to think a caller id is present even when it isn't. I've searched the Wiki, but the documentation is fairly limited. Has anybody any experience with getting this working? Here is the output of the CLI -- Executing NoOp("SIP/6950069-1f8a", ""anonymous" <213.166.5.134>") in new stack -- Executing PrivacyManager("SIP/6950069-1f8a", "") in new stack -- CallerID Present: Skipping Any suggestions would be appreciated. Andi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050811/b5a17bad/attachment.htm