jobsonp / sipdroid

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

Callthru dtmf always begin with "7" #964

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to use the SIPdroid callthru feature with my asterisk DISA 
extension. I have found though that SIPdroid adds an extra "7" in the dtmf 
strings it dials.

Here's what I have setup as callthru string:
 - Assumption that 01234567 is the extension to dial and 1234 is the pin needed for DISA. Also I want to dial ext 987 on the asterisk.
 - "01234567,1234#" is in the call through string.

When I debug on the asterisk side I notice:

- 01234567 is called
- the phone then sends 71234# as password
- 7987# is then sent as extension.

Where does the extra "7" come from???

Original issue reported on code.google.com by maxims...@gmail.com on 12 Sep 2011 at 2:01

GoogleCodeExporter commented 8 years ago
since this is really bugging me I downloaded the source to look at where the 
extra 7 could come from. I couldn't find a 7 - HOWEVER in Caller.java I found 
this:

callthru_number = (callthru_prefix+","+callthru_number+"#").replaceAll(",", 
",p");

whilst I'm totally not a programmer I suspect that this line replaces "," with 
",p" and "p" is on the "7" key. It is therefore possible that my phone dialer 
on my Samsung Galaxy S II dials a 7.

Can it be?

Original comment by maxims...@gmail.com on 13 Sep 2011 at 11:04

GoogleCodeExporter commented 8 years ago
It dials the same on HTC Desire Z, Cyanogen Mod 7.

In asterisk you can delete the 7 trough outbound rules...

Original comment by goce...@gmail.com on 20 Jan 2012 at 10:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 4 Mar 2012 at 11:55

GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 19 Mar 2012 at 10:44