RohitJPatil / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 1 forks source link

Auto-answer calls from specific number(s) [enhancement] #189

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE: This form is only for reporting bugs. For problems, questions, or
comments, please visit:  http://groups.google.com/group/sipdroid-users

*************************************************
* Read the FAQ                                  *
*    Check if the bug has already been reported *
*        No doubles please                      *
*************************************************

Did you carefully read above and decide this means of communication is the
right for your notice? Don't just list an incompatible SIP server or
device, please. Try to look behind the scenes if you like to
contribute here. Thanks!

--
What steps will reproduce the problem?
1. Place a call via Google Voice, which calls back to Sipdroid
2. Sipdroid forces me to manually answer
3.

What is the expected output? What do you see instead?

Please make it so calls from a specified number (i.e., my Google Voice 
number) are automatically answered. 

The current auto-answer options will auto-answer calls from OTHER people 
that I may not want to speak to.

What version of the product are you using? On what operating system?

1.1.7, Android 2.0/Droid

Which SIP server are you using? What happens with PBXes?

PBXes w/Gizmo5 Trunk

Please provide any additional information below.

This is an enhancement request, not a defect.. I don't see any options that 
allow me to choose.

Original issue reported on code.google.com by benf...@gmail.com on 11 Nov 2009 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 11 Nov 2009 at 8:43

GoogleCodeExporter commented 9 years ago
as far as additions go this one should be pretty quick; just a change to the ui 
and a if statement in the auto-
answer code, I'll download the source and hardcode for now but I would really 
like to see this included

Original comment by brilt...@gmail.com on 15 Dec 2009 at 4:48

GoogleCodeExporter commented 9 years ago
This is INCREDIBLY hackish and a terrible way to do it, but if you don't want 
to wait as I didn't you can include 
this line as part of the if statement at the beggining of "public void 
onResume()" in 
org.sipdroid.sipua.ui.inCallScreen.java 

else if (Receiver.ccConn.getAddress().equals("<10digitGVnum>") && 
!mKeyguardManager.inKeyguardRestrictedInputMode()) 
mHandler.sendEmptyMessageDelayed(MSG_ANSWER, 
1000); 

I repeat; this is a terrible way to do it but it works

ps. if you want to disable the ringer on the gv calls too you can do a similar 
edit in 
Receiver.java  inside the  "onState" section

Original comment by brilt...@gmail.com on 16 Dec 2009 at 6:49

GoogleCodeExporter commented 9 years ago
Csipsimple supports multiple filters for each sip account, which include 
autoanswer (direct) of numbers or regular expressions.  Sipdroid, step up!

Original comment by kro...@gmail.com on 29 Sep 2010 at 8:48