Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12593

Delayed DTMF code for Door Relay

$
0
0

@clwinters wrote:

Hello,

Summary:
I would like to create an extension that when dialed will close a relay (open a door).

Current working setup:
I have a SIP endpoint (Snom PA1) that is registered as "800". Currently when the endpoint is dialed, it automatically answers. When pressing "1#, 2#, 3# or 4#" the device closes relay 1 through 4 respectively. IE: Opens a door. All that is working fine.

What I would like to create:
Dialing extension 801 makes a call to extension 800, waits 1 second, dials DTFM code 1#, waits 1 second, hangs up call.
Then dialing 802 makes a call to extension 800, waits 1 second, dials DTFM code 2#, waits 1 second, hangs up call.
and so on.

I assume this can be done by editing the extensions_custom.conf file. But I'm stuck on what text string is needed. I assume it would be something like, but with a code that actually works.

exten => 801,1,Dial(SIP/800,,D(ww1#))

Thanks in advance for your input.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12593

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>