December 13, 2017, 07:09:15 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: Possible ? Auto-respond to specific incoming call with touch tone key  (Read 3034 times)
a2zee
Newbie
*
Posts: 4


« on: February 27, 2017, 06:45:01 pm »

I have an OBi200 device with VoIP service and a DID number from CallWithUs.com.

The number is in my apartment complex's Linear Access electronic entry system. When a visitor chooses me on the system, the DID number gets called by the entry system (has a specific fixed landline phone number). I manually pick up the call on analog phone that is connected to the OBi200, and can choose to press the '9' phone key to unlock a door so that the visitor can enter the apartment complex.

Is it possible to automate this?

That is, can the OBi device be configured such that a call coming in from the Linear Access system is automatically accepted and responded to with a '9' phone key?

Thank you.
Logged
restamp
Full Member
***
Posts: 193


« Reply #1 on: February 28, 2017, 08:08:30 am »

I don't know if this can be made to do what you want on the OBis, but take a look at Voice Services -> SPx -> X_SkipCallScreening.  I believe this injects an out-of-band '1' when picking up the phone to tell Google Voice you'll accept the incoming call.  I'm not sure, though, whether it is possible to change the digit that is sent.
Logged
drgeoff
Hero Member & Beta Tester
*****
Posts: 2713


« Reply #2 on: February 28, 2017, 12:24:18 pm »

Posts at http://www.obitalk.com/forum/index.php?topic=12411.0 may be of interest.
Logged
a2zee
Newbie
*
Posts: 4


« Reply #3 on: February 28, 2017, 08:23:45 pm »

Thank you for the suggestions... I am looking into them. Also found another post of interest: https://www.obitalk.com/forum/index.php?topic=2081.0
Logged
a2zee
Newbie
*
Posts: 4


« Reply #4 on: March 01, 2017, 08:50:50 pm »

I have now got this working using the following method, which uses a Tropo application to respond with a DTMF tone if the inbound call is from the entry system.

I put this value in Voice services > SP1 service > X_InboundCallRoute:

Code:
{(716xxxxxxx):sp1(yyyyyyyyyy@sip.tropo.com),ph}, {ph}

The SIP service provider I am using is at SP1. 716xxxxxxxx is the number of the apartment entry system buzzer and yyyyyyyyyy@sip.tropo.com is the VoIP address of the Javascript script/application hosted on Tropo.com under a free, dev account. The InboundCallRoute value is to send the buzzer call to the Tropo application over SIP. The call will be sent to the analog phone attached to the OBi200 if Tropo is unreachable. All other calls go to the analoh phone.

The Tropo application/script code is shown below; zzz refers to the account ID; the mp3 audio file is for the DTMF tone. The tone is sent twice, just in case the buzzer system does not get it the first time  (unnecessary?). I tried 3-4 different audio files for the DTMF tone before finding one that worked. The audio files had the tone sound at different play duration, amplitude, etc.

Code:
answer();
say("Welcome. Pull door to enter now. http://hosting.tropo.com/xxxxxxx/www/audio/Dtmf-1.mp3");
wait(2500);
say("http://hosting.tropo.com/zzz/www/audio/Dtmf-1.mp3");
wait(500);
hangup();

It is possible to have the Tropo application generate the DTMF tone only conditionally; e.g., only if the visitor enters a PIN.
« Last Edit: March 01, 2017, 11:29:22 pm by a2zee » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC