OBiTALK Community

General Support => Day-to-Day Use => Topic started by: a2zee on February 27, 2017, 06:45:01 PM

Title: Possible ? Auto-respond to specific incoming call with touch tone key
Post by: a2zee 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.
Title: Re: Possible ? Auto-respond to specific incoming call with touch tone key
Post by: restamp 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.
Title: Re: Possible ? Auto-respond to specific incoming call with touch tone key
Post by: drgeoff on February 28, 2017, 12:24:18 PM
Posts at http://www.obitalk.com/forum/index.php?topic=12411.0 may be of interest.
Title: Re: Possible ? Auto-respond to specific incoming call with touch tone key
Post by: a2zee 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
Title: Re: Possible ? Auto-respond to specific incoming call with touch tone key
Post by: a2zee 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:

{(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.

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 (https://www.tropo.com/docs/scripting/ask) to have the Tropo application generate the DTMF tone only conditionally; e.g., only if the visitor enters a PIN.