Help getting SipDroid working.. can't make outgoing calls

Discussion in 'Android Applications' started by VirtualGeek, Jun 9, 2010.

  1. VirtualGeek
    Offline

    VirtualGeek New Member

    Joined:
    Dec 19, 2009
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    0
    Has anybody successfully got this working on their droid?

    Unlimited Free Calling with Google Voice - Google Docs

    I read the instructions, followed them to a T, double checked, triple checked. Can't figure out what I'm doing wrong. I can receive incoming calls, but can't make outgoing calls - it hangs up immediately.

    Here's a summary of what I did.

    1) Signed up at sipgate for phone number, and took note of sipgate credentials

    2) added phone number to google voice

    3) Signed up at sipsorcery.com. Create new provide called sipgate, used sipgate credentials.

    4) Installed sipdroid, configured to logon to sipsorcery account. Confirmed phone rings when calling sipgate number from landline.

    5) Copied and pasted the dial plan, configured for my personal GV account username, password, and sipgate phone number.

    Confirmed I can receive calls.
    Confirmed that sipdroid registers correctly.

    Cannot make outgoing calls, like i said, sipdroid immediately hangs up.

    Any suggestions?
  2. VirtualGeek
    Offline

    VirtualGeek New Member

    Joined:
    Dec 19, 2009
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    0
    Anybody?

    Or does anybody know anybody who got it working?
  3. xCaldazar
    Offline

    xCaldazar New Member

    Joined:
    May 24, 2010
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Mission Viejo
    I'm having a similar problem. I was testing it with xlite before installing to my phone. I can receive calls, but can't send any. It never makes the ringing noise.
    I been following this guide from google
    Unlimited Free Calling with Google Voice - Google Docs

    Heres the dial plan I'm trying to use, the personal info is removed. There was a 2nd one in the guide I was following it had more options. I just wanted to get up and running first though.
    Code:
    # Copyright(c) 2010 Mike Telis
    
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    # http://www.apache.org/licenses/LICENSE-2.0
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    # License for the specific language governing permissions and limitations under
    # the License.
    
    # Click "View raw file" in the lower right for the best copy/paste view
    
    AREA_CODE = ''                  # my area code
    GV_USER   = '@gmail.com'   # my GV e-mail address (user@gmail.com)
    GV_PASS   = ''          # my GV password
    CB_NUMBER = ''          # my 11-digit SIP number (only one)
    
    SPEED_DIAL = {                     # my speed dial numbers
     '1'   => '19879879876',          # Mom
     '123' => '12345678901',          # Work
     '45'  => '17479876543',          # Gizmo BFF
     '411' => '8004664411',           # Google 411
     '266' => '4153767253@podlinez.net',     # CNN Headlines
    }
    
    begin
       sys.Log "** Call from #{req.Header.From} to #{req.URI.User} **"
    
     if sys.Out    # if outbound call
       num = req.URI.User.to_s        # Get a string copy of the number to dial
    
       num = SPEED_DIAL[num] || num   # Substitute with speed dial entry, if any
    
       case num
         when /@/ then sys.Dial num   # URI dialing
         when /^[2-9]\d{6}$/          # Local call, 7-digit number
           num = '1'+ AREA_CODE + num # prefix it with country and area code
         when /^[01]?([2-9]\d{9})/    # US number with or without country code
           num = '1' + $1             # add country code and truncate number to 10-digit
         when /^(011|00|\+)(\d{10,})/ # international number
           num = '+' + $2             # GoogleVoiceCall works with '+' prefix only
    
    
         else sys.Respond 603, 'Wrong number, check & dial again'
       end
    
       sys.Log "Calling #{num} via Google Voice"
       sys.GoogleVoiceCall GV_USER, GV_PASS, CB_NUMBER, num, '.*', CB_NUMBER =~ /^1747/ ? 7 : 1, 30
    
     else          # sys.Out
       sys.Dial "#{sys.Username}@local"
     end
    
    rescue
     sys.Log("** Error: " + $!) unless $!.to_s =~ /Thread was being aborted./
    end
    This is my call log, but the outgoing never actually go out. Maybe there is an error code that makes sense to someone else?
    *REMOVED* Wasn't any help, showed phone number

    Not meaning to thread hijack, but it sounds like we have the same/similar problem. So hopefully my info can help you too.
    Last edited: Jun 14, 2010
  4. xCaldazar
    Offline

    xCaldazar New Member

    Joined:
    May 24, 2010
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Mission Viejo
    I got it working, although on not totally sure how. I kept going through steps 17-22 from the google guide. Shoot I retested it and for some reason it stopped functioning again. WTF its driving me crazy.

    It looks like if I'm still logged into SIP Sorcery I can't make calls out. I need to close the page or logout beforehand. That would have been a handy tip to know. >=(
    Last edited: Jun 14, 2010
Search tags for this page
how to make call from sipdroid
,
how to recieve calls sipdroid
,
how to use sipdroid to make a call
,
make a call with sipdroid
,
pbxes can't make outgoing call
,

sipdroid call ends immediately

,
sipdroid can't call out
,
sipdroid hangs up immediately
,
sipdroid not making calls
,

sipdroid not working

,
sipdroid outgoing calls not working
,
why sipdroid dial out not working