@arnoutvdk wrote:
Hi all.
I am trying to figure this out. What I want to do is to have a mode to open the door automatically if the button is pressed.Step 1: Create a call flow mode: Green = door automatically open, Red = Door opened manually.
Steop 2 open door automatically: (Note: DTMF to open door is "55")
When the button is pressed it should be forwarded to a custom destination (I think)This custom destination would be:
dooropen,s,1
in custom_conf would be a script (but this is the first time I try this, so please bear with me as I am propably using the wrong code or something)
[dooropen]
exten => s,1,Answer
exten => s,n,Wait(3)
exten => s,1,Dial(D(55))Is this the correct way to do it?
I'm sorry if this is a stupid question, or if the code is completely wrong. I tried to figure this out by usng dr. Google...
Posts: 3
Participants: 2