[Asterisk-Users] Limit DTMF tones

Henry Devito hdevito at qwest.net
Thu Nov 4 10:30:55 MST 2004


The issue is the inmates have figured out a way to dial long distance
numbers by calling different private phone numbers and using that companies
DISA to complete calls. So in order to stop that I have to suppress dtmf
after so many digits are dialed.  Any idea's?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andrew
Kohlsmith
Sent: Thursday, November 04, 2004 10:13 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Limit DTMF tones

On November 4, 2004 10:56 am, Henry Devito wrote:
> I have a question and I can't seem to find the answer anywhere.  Is there
a
> way to limit the amount of digits dialed?  For example I have a * box set
> up for the department of corrections for prisoners to call home.  It has
> the Digium 2 FXO/ 2 FXS card in it.  I have two Lines brought in to the
fxo
> ports and 2 standard 2500 analog sets for the prisoners to use to dial
out.
> Everything seems to work great.  We use * to record all the calls.  After
> the prisoner dials the original number and their PIN,  I do not want them
> to be able to send anymore DTMF tones.  The PIN number is not processed by
> *. It is processed by the LEC's switch.  Thanks in advance

I just did something similar:

[recordcall]
exten => s,1,SetVar(CALLFILENAME=/tmp/calls/${CALLERIDNUM}-${TIMESTAMP})
exten => s,2,Monitor(wav,${CALLFILENAME},m)
exten => s,3,Playback(agent-pass)
exten => s,4,DISA(/path/to/asterisk/passwd/file)

and then just make sure that the extension you dump them in to does not
allow 
them to dial anything ohter than what you want (i.e. 7-digit #s or whatnot)

I don't know of any way to suppress DTMF if that's what you're talking
about.

-A.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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




More information about the asterisk-users mailing list