[Asterisk-Users] RE: Stupid tricks: preventable?

alan alan at pair.com
Thu Sep 15 09:10:50 MST 2005


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

Colin Anderson <ColinA at landmarkmasterbuilder.com> 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





More information about the asterisk-users mailing list