Notification of off hook / not connected status
n4mwd:
Its more like "<911S0:911> |" so that once it gets a certain sequence of digits, it connects without waiting. In my case, if a standard North American local or long distance number is dialed, it connects without waiting or the "#" key. That shouldn't cause a problem because it wont hit the S0 until after the preceding digits are dialed first.
That said, I think I found a flaw in the process. If any invalid key sequence is pressed and THEN the phone is set off the hook, it connects to a busy signal followed by a fast busy signal and then nothing. It does not give another dial tone. Do the "S9" commands care if keys have already been pressed that don't match anything else? Or do they override other key sequences such that if you had <S9:5> and did not complete your dialing sequence within 9 seconds, it calls speed dial 5?
drgeoff:
Quote from: n4mwd on August 22, 2019, 05:44:38 am
Its more like "<911S0:911> |" so that once it gets a certain sequence of digits, it connects without waiting. In my case, if a standard North American local or long distance number is dialed, it connects without waiting or the "#" key. That shouldn't cause a problem because it wont hit the S0 until after the preceding digits are dialed first.
That said, I think I found a flaw in the process. If any invalid key sequence is pressed and THEN the phone is set off the hook, it connects to a busy signal followed by a fast busy signal and then nothing. It does not give another dial tone. Do the "S9" commands care if keys have already been pressed that don't match anything else? Or do they override other key sequences such that if you had <S9:5> and did not complete your dialing sequence within 9 seconds, it calls speed dial 5?
That use of Sn at the end is completely different from the use of <Sn:something> and there is no conflict between them.
Within the Sn timeout period, the very first digit (or # or *) of dialling anything "kills" the <Sn:something> substitution. Valid or not is irrelevant.
azrobert:
Quote from: n4mwd on August 22, 2019, 05:44:38 am
That said, I think I found a flaw in the process.
Add "@@.S4" to the Phone DigitMap.
Now you will get "No Service Error" 3 times and then Dial Tone.
This "<911S0:911>|" works for 911 zero delay, but you can just do this "911S0".
n4mwd:
Thanks, I think that will work. Now the hard part. I need to write a fake SIP server to accept the call and initiate the alarm. The ESP boards already support web servers, which is not that far from SIP, but it will still require a good bit of programming to do what I want.
I'm using the Arduino IDE suite and its very painful to use considering it takes about 20 minutes for a compile.
Navigation
[0] Message Index
[*] Previous page