[Asterisk-Users] sending a DTMF tone before hangup

Nigel Burgess nigel at nigel-burgess.com
Sun Mar 13 07:57:57 MST 2005


OK here is a possible tricky one.
 
I have a rocom door entry system which connects to an FXS port on my TDM400P
card.  When the door button is pressed it initiates an 's' extension which
dials a number of SIP extensions.  When a SIP phone is picked up the user
can speak to the person at the door and press the 7 digit which sends at
DTMF tone to the rocom unit opening the door.  All this works fine with my
Grandstream 101 phones.
 
However, to end the call the user must then press the '3' button to tell the
rocom unit to hangup the call.  If the user doesn't press the 3 button and
just hangs up the phone, the rocom unit sounds the "beep beep beep" sound
when the other party has cleared.  Of course there is no way of hanging up
the rocom unit.  There is a good chance that the 3 key will not be pressed
by some of the users.
 
So, my question to all you genius asterisk guys out there is, can anyone
think of a way of generating a '3' DTMF tone automatically when you hang up
the grandstream phone, thus telling the rocom unit to end the call ??
 
I did create a custom Playtones item to generate the 3 DTMF tone and added
lines to my extensions.conf file as follows :
 
[door]
exten => s,1,Dial (SIP31,15)
exten => s,2,Playtones(dtmf)
 
However the call hangsup before trying to play the DTMF tone.
 
Any ideas ??  I do here of people complaining that there are too many easy
questions on the list so perhaps this will tax your brains :-)
 
Thanks
Nigel
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050313/f978bd22/attachment.htm


More information about the asterisk-users mailing list