ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Using a gateway to connect Google Voice to your asterisk install?

    Scheduled Pinned Locked Moved IT Discussion
    14 Posts 4 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DashrenderD
      Dashrender @JaredBusch
      last edited by

      @JaredBusch said:

      @Dashrender said:

      Anyone done this?

      I'm just messing around right now, but $5 for a lifetime of using my Google voice account with asterisk seems good.

      http://pbxinaflash.com/community/index.php?threads/gvsip-gvoice-to-sip-gateway.16898/

      My question is - How do I add this trunk through the gateway to my FreePBX install? I don't know how to add the SIP trunk.

      You can add a Google Voice trunk directly. You do not need a 3rd party device.

      Mind giving me a hand with that?

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @Dashrender
        last edited by

        @Dashrender said:

        @JaredBusch said:

        @Dashrender said:

        Anyone done this?

        I'm just messing around right now, but $5 for a lifetime of using my Google voice account with asterisk seems good.

        http://pbxinaflash.com/community/index.php?threads/gvsip-gvoice-to-sip-gateway.16898/

        My question is - How do I add this trunk through the gateway to my FreePBX install? I don't know how to add the SIP trunk.

        You can add a Google Voice trunk directly. You do not need a 3rd party device.

        Mind giving me a hand with that?

        You have to sign in to gmail the the account, then go to voice and enable the calls to go to google chat rather than hangouts. (under the settings) and make sure the box is checked.
        google voice.PNG

        Install the voice plug in and make one call with google voice in chat (if you don't do a first call sometimes it will not connect.)

        Then you have enable access from less secure apps on the google account to. (https://www.google.com/settings/security/lesssecureapps)
        lesssecure.PNG

        You add the google voice extension to freepbx and then put in your account details. and phone number. From there it's pretty much treated like a normal in the system.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          For this to work the account must have a gmail account with it. It can not be a google account with another email.

          1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender
            last edited by

            Well in working on this this morning it appears that my 5 year old barely ever used phone number was deactivated.

            Once I asked Google Voice for a new number most of the system is working. i.e. if I put the connection information for the gateway service into a phone, it makes and receives calls just fine.

            Now to figure out the configuration settings to allow FreePBX to use it correctly.

            FreePBX is listed as a registered device on the system, but when I try to make an outgoing call it says "Your call cannot be completed as dialed" and goes to a busy before hanging up.

            This message makes me think the PBX does not have a rule on routing out to the world.

            If I only have the PBX registered with the gateway service, I get a message "nobody is available to take a call at this moment and you can't reply to this message because the sender does not have a mailbox"

            This message makes me think there is no rule as to what extension to ring when a call comes in.

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Dashrender
              last edited by

              @Dashrender said:

              Well in working on this this morning it appears that my 5 year old barely ever used phone number was deactivated.

              Once I asked Google Voice for a new number most of the system is working. i.e. if I put the connection information for the gateway service into a phone, it makes and receives calls just fine.

              Now to figure out the configuration settings to allow FreePBX to use it correctly.

              FreePBX is listed as a registered device on the system, but when I try to make an outgoing call it says "Your call cannot be completed as dialed" and goes to a busy before hanging up.

              This message makes me think the PBX does not have a rule on routing out to the world.

              If I only have the PBX registered with the gateway service, I get a message "nobody is available to take a call at this moment and you can't reply to this message because the sender does not have a mailbox"

              This message makes me think there is no rule as to what extension to ring when a call comes in.

              I believe that FreePBX makes the outbound rules by default when you add google voice. Inbound you'll still have to set a destination or IVR.

              DashrenderD 1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender @A Former User
                last edited by

                @thecreativeone91 said:

                I believe that FreePBX makes the outbound rules by default when you add google voice. Inbound you'll still have to set a destination or IVR.

                I'm looking at my Outbound Route tab and there are no routes listed here - is that normal?

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Dashrender
                  last edited by

                  @Dashrender said:

                  @thecreativeone91 said:

                  I believe that FreePBX makes the outbound rules by default when you add google voice. Inbound you'll still have to set a destination or IVR.

                  I'm looking at my Outbound Route tab and there are no routes listed here - is that normal?

                  No, you need one to make a call. You could just make one with every pattern since you only have one number right now.

                  1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender
                    last edited by

                    OK I'm ripping my hair out.

                    I have a GVSip connection setup to my google voice account. If I put the SIP information directly into a phone I can make and receive calls just fine.

                    I just can't seem to get FreePBX to use it.

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender
                      last edited by

                      sigh of relief

                      I fixed my inbound calling. The the PEER settings I had disallow=all which was preventing use of all codexes. Changing it to allow=all fixed inbound.

                      Now to see what is wrong with my outbound routing rule.

                      1 Reply Last reply Reply Quote 1
                      • DashrenderD
                        Dashrender
                        last edited by

                        OK - YES - finally fixed it.

                        Using this sample list of PEER Details I added fromuser=provided username and now I can make outgoing calls as well.

                        1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender
                          last edited by

                          Now I'll tear all this down, do it again documenting even more as I go...

                          Tomorrow that is.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post