>    7. RE: Stupid tricks: preventable? (Colin Anderson)

Colin Anderson <[EMAIL PROTECTED]> wrote:

> i think you need a restart, then:
>
> [your-local-extension-context]
>
> exten => _XXXX,1,Gotoif(["${CALLERIDNUM}"="${EXTEN}"]?2:4)
> exten => _XXXX,2,Playback(you-are-a-frigging-idiot-stop-that)
> exten => _XXXX,3,System(/etc/asterisk/email-administrator-moronic-behavior
> ${CALLERIDNUM})
> exten => _XXXX,4,InsertNormalDialingBehaviorHere


Heh, good solution.

> Was this guy just trying to be a smart-alek?

Something like that, I think.

> I can't think of a reason why someone would want to dial their own
> extension from their own extension, let alone transfer it, unless they
> want to leave themselves voicemail??

That's good, the first reason I've heard of to call yourself at all.
In this case, on priority 2 above, I'd probably just send them to
Voicemail.

Though the whole "agent login" issue complicates the test
somewhat as well.

Thanks,

Alan


_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to