[asterisk-users] Only call me once
Paul Hales
pdhales at optusnet.com.au
Mon Dec 3 17:26:27 CST 2007
On Sat, 2007-12-01 at 10:22 -0700, Anthony Francis wrote:
> joakimsen at gmail.com wrote:
> > Anyone have an idea how to implement a phone number that can only be
> > called once? The first time it will process normally and any
> > subsequent calls will be rejected.
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> Yup store the number in DB if its new, if it's already in db reject.
> This is an incredibly simple thing to do, you can even just use the
> Asterisk internal DB for simplicity.
>
This is definitely something the Asterisk internetal DB would be great
for - something like set(DB(call/${EXTEN}=1)
PaulH
More information about the asterisk-users
mailing list