Solved: Google Voice Multiple Account Setup

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
Can anyone help me please?
I just need a quick check-list of what I need to do set up multiple Google Voice accounts. I want to use the web gui of freepbx.
I saw on a nerdvittle page the following advice:


"FreePBX Overview. Don't be intimidated by the FreePBX setup instructions which follow. All we're really doing is cloning the original pieces of information that made Google Voice work in the initial Incredible PBX setup. For most of the items, we'll just tack a 2 onto the names previously used. Nothing prevents your adding 3, 4, and 5 accounts down the road if you have additional Google Voice... accounts to support each iteration..."


***Is there anyway someone can use the beginner friendly "hand-holding" approach applied on nerdvittles.com/?p=683 but provide instructions that are current?



Thanks guys!
Ethan
 

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
Anyone? Please, I could really use some help...
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
I currently have a purple build set up with multiple GVs. I don't think anything has changed since I installed it.
Code:
|  PBX in a Flash Version   = 1.7.5.5                                 │
   │  FreePBX Version          = 2.8.1.0                                 │
   │  Running Asterisk Version = Asterisk 1.8.1.1                        │
   │  Asterisk Source Version  = 1.8.3                                   │
   │  Dahdi Source Version     = 2.4.0+2.4.0                             │
   │  Libpri Source Version    = 1.4.11.5                                │
   │  IP Address               = 192.168.4.X on eth0                     │
   │  Operating System         = CentOS release 5.5 (Final)              │
   │  Kernel Version           = 2.6.18-194.26.1.el5 - 32 Bit
Notice the 1.8.1.1 Version and 1.8.3 Source - So I'm running 1.8.4 - the latest and it is working fine. These are my configs:
Jabber.conf
Code:
[general]
debug=no                     ;turn on debug!
autoprune=no                 ;removes people from the buddy list 
autoregister=yes             ;Registers people from your buddy list

[asterisk]
type=client                          ;connection
serverhost=talk.google.com        ;route to server
[email protected]/Talk    ;change to your username
secret=Passw0rd                 ;change to your password
port=5222                               ;
usetls=yes                              ;
usesasl=yes                             ;
status=Available                        ;
statusmessage="Incredible PBX"          ;
timeout=100                             ;
keepalive=yes

[asterisk2]
type=client                          ;connection
serverhost=talk.google.com        ;route to server
[email protected]/Talk    ;change to your username
secret=Passw0rd                 ;change to your password
port=5222                               ;
usetls=yes                              ;
usesasl=yes                             ;
status=Available                        ;
statusmessage="Incredible PBX"          ;
timeout=100                             ;
keepalive=yes

[asterisk3]
type=client                          ;connection
serverhost=talk.google.com        ;route to server
[email protected]/Talk    ;change to your username
secret=Passw0rd                 ;change to your password
port=5222                               ;
usetls=yes                              ;
usesasl=yes                             ;
status=Available                        ;
statusmessage="Incredible PBX"          ;
timeout=100                             ;
keepalive=yes

[asterisk4]
type=client                          ;connection
serverhost=talk.google.com        ;route to server
[email protected]/Talk    ;change to your username
secret=Passw0rd              ;change to your password
port=5222                               ;
usetls=yes                              ;
usesasl=yes                             ;
status=Available                        ;
statusmessage="Incredible PBX"          ;
timeout=100 

[asterisk5]
type=client                          ;connection
serverhost=talk.google.com        ;route to server
[email protected]/Talk    ;change to your username
secret=Passw0rd                ;change to your password
port=5222                               ;
usetls=yes                              ;
usesasl=yes                             ;
status=Available                        ;
statusmessage="Incredible PBX"          ;
timeout=100                             ;
keepalive=yes                            ;
keepalive=yes

[asterisk6]
type=client                          ;connection
serverhost=talk.google.com        ;route to server
[email protected]/Talk    ;change to your username
secret=Passw0rd                 ;change to your password
port=5222                               ;
usetls=yes                              ;
usesasl=yes                             ;
status=Available                        ;
statusmessage="Incredible PBX"          ;
timeout=100                             ;
keepalive=yes                            ;
keepalive=yes
Of course, replace the email addresses and passwords to your situation. The rest can be left alone.

I left GTalk.conf at default.

In extensions_custom.conf (See next post due to space limits)
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Continued....
Extensions_Custom.conf:
Code:
[googlein]
exten => [email protected],1,Wait(1)
exten => [email protected],n,Set([email protected])
exten => [email protected],n,JABBERSend(asterisk,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(name)=${CALLERID(number)})
exten => [email protected],n,GotoIf(${DB_EXISTS(gv_dialout_user1/channel)}?bridged)
exten => [email protected],n,Goto(s,regcall)
exten => [email protected],n(bridged),Bridge(${DB_DELETE(gv_dialout_user1/channel)})
exten => [email protected],1,Wait(1)
exten => [email protected],n,Set([email protected])
exten => [email protected],n,JABBERSend(asterisk2,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(name)=${CALLERID(number)})
exten => [email protected],n,GotoIf(${DB_EXISTS([email protected]/channel)}?bridged)
exten => [email protected],n,Goto(s,regcall)
exten => [email protected],n(bridged),Bridge(${DB_DELETE([email protected]/channel)})
exten => [email protected],1,Wait(1)
exten => [email protected],n,Set([email protected])
exten => [email protected],n,JABBERSend(asterisk3,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(name)=${CALLERID(number)})
exten => [email protected],n,GotoIf(${DB_EXISTS(gv_dialout_user3/channel)}?bridged)
exten => [email protected],n,Goto(s,regcall)
exten => [email protected],n(bridged),Bridge(${DB_DELETE(gv_dialout_user3/channel)})
exten => [email protected],1,Wait(1)
exten => [email protected],n,Set([email protected])
exten => [email protected],n,JABBERSend(asterisk4,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(name)=${CALLERID(number)})
exten => [email protected],n,GotoIf(${DB_EXISTS(gv_dialout_user4/channel)}?bridged)
exten => [email protected],n,Goto(s,regcall)
exten => [email protected],n(bridged),Bridge(${DB_DELETE(gv_dialout_user4/channel)})
exten => [email protected],1,Wait(1)
exten => [email protected],n,Set([email protected])
exten => [email protected],n,JABBERSend(asterisk5,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(name)=${CALLERID(number)})
exten => [email protected],n,GotoIf(${DB_EXISTS(gv_dialout_user5/channel)}?bridged)
exten => [email protected],n,Goto(s,regcall)
exten => [email protected],n(bridged),Bridge(${DB_DELETE(gv_dialout_user5/channel)})
exten => [email protected],1,Wait(1)
exten => [email protected],n,Set([email protected])
exten => [email protected],n,JABBERSend(asterisk6,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => [email protected],n,Set(CALLERID(name)=${CALLERID(number)})
exten => [email protected],n,GotoIf(${DB_EXISTS(gv_dialout_user6/channel)}?bridged)
exten => [email protected],n,Goto(s,regcall)
exten => [email protected],n(bridged),Bridge(${DB_DELETE(gv_dialout_user6/channel)})
exten => s,1,Wait(1)
exten => s,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => s,n,JABBERSend(asterisk,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => s,n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => s,n,Set(CALLERID(name)=${CALLERID(number)})
exten => s,n(regcall),Answer
exten => s,n,SendDTMF(1)
exten => s,n,Goto(from-trunk,gv-incoming-${CUT(ALERTNAME,@,1)},1)

[gvoice-ross]
exten => _X.,1,Wait(1)
exten => _X.,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => _X.,n,JABBERSend(asterisk,${ALERTNAME},Placing GVoice Call: ${EXTEN})
exten => _X.,n,GotoIf($["${LEN(${EXTEN})}"="10"]?us:other)
exten => _X.,n(us),Dial(Gtalk/asterisk/+1${EXTEN}@voice.google.com)
exten => _X.,n,Goto(done)
exten => _X.,n(other),Dial(Gtalk/asterisk/+${EXTEN}@voice.google.com)
exten => _X.,n(done),NoOp(GVoice Call to ${EXTEN} failed)

[gvoice-rosslindsayiv]
exten => _X.,1,Wait(1)
exten => _X.,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk2,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => _X.,n,JABBERSend(asterisk2,${ALERTNAME},Placing GVoice Call: ${EXTEN})
exten => _X.,n,GotoIf($["${LEN(${EXTEN})}"="10"]?us:other)
exten => _X.,n(us),Dial(Gtalk/asterisk2/+1${EXTEN}@voice.google.com)
exten => _X.,n,Goto(done)
exten => _X.,n(other),Dial(Gtalk/asterisk2/+${EXTEN}@voice.google.com)
exten => _X.,n(done),NoOp(GVoice Call to ${EXTEN} failed)

[gvoice-piafvm]
exten => _X.,1,Wait(1)
exten => _X.,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk3,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => _X.,n,JABBERSend(asterisk3,${ALERTNAME},Placing GVoice Call: ${EXTEN})
exten => _X.,n,GotoIf($["${LEN(${EXTEN})}"="10"]?us:other)
exten => _X.,n(us),Dial(Gtalk/asterisk3/+1${EXTEN}@voice.google.com)
exten => _X.,n,Goto(done)
exten => _X.,n(other),Dial(Gtalk/asterisk3/+${EXTEN}@voice.google.com)
exten => _X.,n(done),NoOp(GVoice Call to ${EXTEN} failed)

[gvoice-sonship]
exten => _X.,1,Wait(1)
exten => _X.,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk4,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => _X.,n,JABBERSend(asterisk4,${ALERTNAME},Placing GVoice Call: ${EXTEN})
exten => _X.,n,GotoIf($["${LEN(${EXTEN})}"="10"]?us:other)
exten => _X.,n(us),Dial(Gtalk/asterisk4/+1${EXTEN}@voice.google.com)
exten => _X.,n,Goto(done)
exten => _X.,n(other),Dial(Gtalk/asterisk4/+${EXTEN}@voice.google.com)
exten => _X.,n(done),NoOp(GVoice Call to ${EXTEN} failed)

[gvoice-piafh1]
exten => _X.,1,Wait(1)
exten => _X.,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk5,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => _X.,n,JABBERSend(asterisk5,${ALERTNAME},Placing GVoice Call: ${EXTEN})
exten => _X.,n,GotoIf($["${LEN(${EXTEN})}"="10"]?us:other)
exten => _X.,n(us),Dial(Gtalk/asterisk5/+1${EXTEN}@voice.google.com)
exten => _X.,n,Goto(done)
exten => _X.,n(other),Dial(Gtalk/asterisk5/+${EXTEN}@voice.google.com)
exten => _X.,n(done),NoOp(GVoice Call to ${EXTEN} failed)

[gvoice-rlindsayiv]
exten => _X.,1,Wait(1)
exten => _X.,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk6,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => _X.,n,JABBERSend(asterisk6,${ALERTNAME},Placing GVoice Call: ${EXTEN})
exten => _X.,n,GotoIf($["${LEN(${EXTEN})}"="10"]?us:other)
exten => _X.,n(us),Dial(Gtalk/asterisk6/+1${EXTEN}@voice.google.com)
exten => _X.,n,Goto(done)
exten => _X.,n(other),Dial(Gtalk/asterisk6/+${EXTEN}@voice.google.com)
exten => _X.,n(done),NoOp(GVoice Call to ${EXTEN} failed)
Again, replace what is relevant I.E. email addresses and asterisk# and the dialout_channel_NAME. Note that the Alert Name MUST be the email address for that specific account.
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
As for the FreePBX side:
This is what each GVoice trunk should look like:
piafgv-trunks2.jpg

Just replace "-piafh1" with your appropriate name so "-NAME".

For Inbound Routes,
piafgv-inboundroutes2.jpg

Set the DID to "gv-incoming-NAME" where NAME is the same name that you used in the trunk for "gvoice-NAME"

This is for dialing out one specific GV trunk:
piafgv-outboundroute.jpg

To dial out this trunk, you would dial 148NXXNXXXXX so 1488434460000 and only 8434460000 would be passed to Google Voice. The 148 can be changed to 248, 348, etc to designate between GV trunks. I tried doing 481, 482, etc but that just gave me a All Circuits Busy and this does not.

This is an outbound route that takes the first available GV Trunk, no specificity.
piafgv-outboundroute2.jpg

Just put them in the order you wish to dial out in.

I'm pretty sure that is all that you will need. If you need any more screenshots or anything else, just let me know.

OT: Another sidenote, Please do not post duplicate threads. It just further complicates solving your issues and is slightly annoying. For reference, the other thread is in Wish List here.
 
Last edited by a moderator:

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
Hi Ross,
As irony would have it, while you were posting your reply to my thread, I was finally concluding a massive 2 week effort of digging deep into the forum, the nerdvittles site, RSS feeds, twitter posts, and basically everything that I could search online and make sense of.
I was actually coming back to the forum to post that I finally had figured out how, and had successfully implemented more than one google voice account, when I saw your very detailed and easy to understand "how-to" response :)
After all the reading and studying and trying not to have tears with my PIAF, reading your instructions was like a walk in the park :)
Thank you very much for taking the time and having patience for me.
Sorry for the multiple post! Won't happen again :eek:nline2longb:
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
No problem at all. I'm here to help.
Don't fret over the multiple post thing, it is just much easier to have one thread open and work going on there than having two or three with different info in each one. Just for organization's sake.

Glad you got it working! :D

--Ross
 

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
Hey Ross -
While working on my 3rd Google Voice account, I encountered the exact same issue you mentioned about the 48, 482, 483 prefix dial patterns. Turns out I didn't follow the last instruction from http://nerdvittles.com/?p=710
"Step #5: Reboot your server. Enjoy!"

However, after reboot, when using 483, instead of getting the "All circuits are busy now" error message, I experience what I believe everyone was going through prior to 12/10/10 or so - I get a ringback that connects the call to my dialed outbound number.

I tried using the other dial patterns 48 and 482 and they are still working without needing a ringback.
I will adjust the dial patterns to not use 48, 482, or 483 (etc...) and post my findings.
Thanks again!
Ethan
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
For History Buffs...

This topic also was exhaustively covered in this thread.
 
Last edited by a moderator:

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
Mr. Rossiv,

maybe I'm reading too much into this but you say to replace the email addresses, asterisk Numbers, and dialout_channel_NAME to our stuff.

2 questions::

when replacing dialout_channel_NAME, should it look like:
1: gv_dialout_email_address_with_gmail.com/channel
2: gv_dialout_email_address_no_gmail.com/channel
3: email_address_w_gmail.com/channel
4: email_address_no_gmail.com/channel

and the Asterisk Numbers -- Are these the ones that correspond to the Jabber.conf file?

If so then I don't think I need to change them as I left the numbering alone from the C/P from your post.

If not do they correspond to the [gvoice-ross] type that is just below the GoogleIn in the second code block you posted?

I have been waiting for a cleaned up version before attempting this again and wish to get it right this time.

Thanks for the cleaned up and updated How-to
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
Mr. Rossiv, one more question:

at the end of all the user1, - user6 stuff in the extensions_custom.conf there is this:
Code:
exten => s,1,Wait(1)
exten => s,n,Set([email protected])
;exten => _X.,n,Set(STATUS=${JABBER_STATUS(asterisk,${ALERTNAME})});
;exten => _X.,n,NoOp(Gvoice/Jabber Status: ${STATUS})
exten => s,n,JABBERSend(asterisk,${ALERTNAME},Incoming Google Voice Call: ${CALLERID(name):2:10})
exten => s,n,Set(CALLERID(number)=${CALLERID(name):2:10})
exten => s,n,Set(CALLERID(name)=${CALLERID(number)})
exten => s,n(regcall),Answer
exten => s,n,SendDTMF(1)
exten => s,n,Goto(from-trunk,gv-incoming-${CUT(ALERTNAME,@,1)},1)

This throws me a bit because it looks like it forces the ALERTNAME= to the first user always. With multi accounts this seems odd to me and that all calls out any user would show up as the first user. Am I wrong? If so please explain it to me.

(May be a Senior member but still learning. And yes I have some programming background. I may just be analyzing it a bit too much.)

Thanks again
 

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
Hey Ross:
Regarding your jabber.conf example:
Question/Clarification:
I have seen some code examples that have several spaces between a line's last character and a ";" mark - just as in your example and what appears to come with a default PIAF.
However, some examples that I have seen have zero spaces before the ; mark.
Is this a big deal?

Additionally, and more important:
you entered "keepalive=yes" at the bottom of most of your [asterisk] codes, but you never placed a ";" mark at the end of the "keepalive=yes" line??? Does this matter?

One other question: on [asterisk4] you DID NOT enter a "keepalive=yes" line, but on [asterisk5] and [asterisk6] you entered two "keepalive=yes" lines at the end of each....

So ok, give it to me straight, guys... Am I just making all of this harder than it needs to be? Do spaces between characters matter? What about the ";" mark? And the "keepalive=yes"?

I'm still trying to figure out why two Google Accounts work flawlessly, but my third google account keeps using a ringback or a dialback procedure to place outbound calls...

I know I am missing something here...

Thanks
~
Ethan
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
My apologies for any confusion. I will go post by post to keep it simple.
Mr. Rossiv,

maybe I'm reading too much into this but you say to replace the email addresses, asterisk Numbers, and dialout_channel_NAME to our stuff.

2 questions::

when replacing dialout_channel_NAME, should it look like:
1: gv_dialout_email_address_with_gmail.com/channel
2: gv_dialout_email_address_no_gmail.com/channel
3: email_address_w_gmail.com/channel
4: email_address_no_gmail.com/channel

and the Asterisk Numbers -- Are these the ones that correspond to the Jabber.conf file?

If so then I don't think I need to change them as I left the numbering alone from the C/P from your post.

If not do they correspond to the [gvoice-ross] type that is just below the GoogleIn in the second code block you posted?

I have been waiting for a cleaned up version before attempting this again and wish to get it right this time.

Thanks for the cleaned up and updated How-to
Say for example my email address is [email protected]. My gv_dialout would be gv_dialout_ross/channel.

The Asterisk numbers must correspond to the Jabber.conf file, yes.
-------------------
Mr. Rossiv, one more question:

at the end of all the user1, - user6 stuff in the extensions_custom.conf there is this:


Code:
...snip...

This throws me a bit because it looks like it forces the ALERTNAME= to the first user always. With multi accounts this seems odd to me and that all calls out any user would show up as the first user. Am I wrong? If so please explain it to me.

(May be a Senior member but still learning. And yes I have some programming background. I may just be analyzing it a bit too much.)

Thanks again
That is stock from Mr. Ward's script that created my first GV account. I did not touch that - doesn't appear to hurt anything on my box.

----

Hey Ross:
Regarding your jabber.conf example:
Question/Clarification:
I have seen some code examples that have several spaces between a line's last character and a ";" mark - just as in your example and what appears to come with a default PIAF.
However, some examples that I have seen have zero spaces before the ; mark.
Is this a big deal?

Additionally, and more important:
you entered "keepalive=yes" at the bottom of most of your [asterisk] codes, but you never placed a ";" mark at the end of the "keepalive=yes" line??? Does this matter?

One other question: on [asterisk4] you DID NOT enter a "keepalive=yes" line, but on [asterisk5] and [asterisk6] you entered two "keepalive=yes" lines at the end of each....

So ok, give it to me straight, guys... Am I just making all of this harder than it needs to be? Do spaces between characters matter? What about the ";" mark? And the "keepalive=yes"?

I'm still trying to figure out why two Google Accounts work flawlessly, but my third google account keeps using a ringback or a dialback procedure to place outbound calls...

I know I am missing something here...

Thanks
~
Ethan
The ";" mark is just a comment mark so you can put plain text messages after a line. It makes no difference in spacing, location, or its presence. Otherwise, like in "keepalive = yes" that would matter spacing wise. But not for a comment mark.

Hmm...I didn't notice that. All my accounts seem to be working just fine. That may have been a typo when I was copy-pasting during my initial setup. I have changed it now to where I have one "keepalive=yes" for each [asteriskX] section. Apologies.
------

Hope this answers all of your questions!
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
ecase;

Whitespace (as its called) is meaningless, and if you were to look I think that they were attempting to line up the ';' characters.

the ';' character is a "disregard all after this point"/ aka a comment

the keepalive=yes without a ";" at the end is fine as it needs no comment

Hope this helps
 

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
ecase;
Whitespace (as its called) is meaningless, and if you were to look I think that they were attempting to line up the ';' characters.
the ';' character is a "disregard all after this point"/ aka a comment
the keepalive=yes without a ";" at the end is fine as it needs no comment
Hope this helps

Hi Mr. Carman:

That was one of the clearest, most concise, and easiest instructions I've read this year! :yesnod:
I really appreciate your feedback.
If you have a chance, could you just confirm (or anyone else that comes on) the following example I've made below -- just so I make sure I truly understood :)

{With respect to the context of what Mr. Carman said immediately prior to this post}

(1) SAMPLE CONFIG copied IMMEDIATELY after running The Incredible Pbx Installer script (./incrediblepbx18-vm.x):

"[asterisk]
type=client ;connection
serverhost=talk.google.com ;route to server
[email protected]/Talk ;change to your username
secret=example ;change to your password
port=5222 ;
usetls=yes ;
usesasl=yes ;
status=Available ;
statusmessage="Incredible PBX" ;
timeout=100 ;
keepalive=yes


"
(2) EXAMPLE CONFIG I just created using the concept of Mr. Carman's input:

"[asterisk]
type=client
serverhost=talk.google.com
[email protected]/Talk
secret=example
port=5222
usetls=yes
usesasl=yes
status=Available
statusmessage="Incredible PBX"
timeout=100
keepalive=yes
"

STATEMENT: THE ABOVE TWO CONFIGS, 1 & 2, ARE EXACTLY IDENTICAL. True or False? :eek:nline2longb:

I think this one issue has been holding me back for weeks - I've been busy counting spaces of Whitespace between config lines and ";" :sweatdropb:
Thanks guys
~Ethan~
 

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
My apologies for any confusion.
Please, Mr. Rossiv, no apology needed! Not in the least bit - I'm honored with your responses.

Hmm...I didn't notice that. All my accounts seem to be working just fine. That may have been a typo when I was copy-pasting during my initial setup. I have changed it now to where I have one "keepalive=yes" for each [asteriskX]

FYI, I was amazed that I even noticed the minor differences. :eekb:
You guys are doing things that are light-years ahead of where I'm at :conehead:

Ethan
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
Yes, ecase both 1 & 2 are identical -- the difference is you removed the comments. This is fine if you are the ONLY one to ever see the code again. Comments are helpful when looking at the code down rhe road or if someone else is trying to use it or follow it. Comments are good things.
 

eCase

New Member
Joined
Jan 26, 2011
Messages
161
Reaction score
0
Hi Ross,

I'm still plugging away at this. I just noticed something in your example - on the freepbx gui info, you never specified a CID. Not in trunks, Outbound Routes, or Inbound Routes.
I am having a hard time on this issue...
Should I not enter any CID anywhere?
http://nerdvittles.com/?p=710 states differently, but it may not be the most current - and I of course may be misreading ;)
Can anyone post an answer to this (basic) question?
Thanks!!
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
Since I only displayed Google Voice trunks, inbound/outbound routes, that is why. GV does not let you specify outbound CID, thus I did not fill any in.
I specify CID for Extensions and other trunks, everything BUT GV. It won't hurt to have it there, I just didn't put it there.
 

michaelcrossland

New Member
Joined
May 24, 2011
Messages
15
Reaction score
0
I am new to this whole thing thanks in part to a online how To at this URL.
How to Build Your Own Home Phone Server at Maximum PC
Now I am not new to the world of *inx boxes as I have used both Debian and RedHat based distros and have run OS X from 10.2 foreword.
So with that said I can hold my own for the most part in the world of *nix box most of the time.

Now what gets me is after I run the base installer for PBX in a Flash.
I run this.

Code:
cd /root

wget http://incrediblepbx.com/incrediblepbx18.x

chmod +x incrediblepbx18.x

./incrediblepbx18.x

Once it is done my one Google voice line is up and running 100% both in and out.
But when I add what you put in the .conf files. My system well call out just fine but not even the first Google Voice line will pickup it just rings and GV Voice mail picks up.
When I have done testing I watch the FreePBX read out it shows that it sees the call come in but it never picks the line up.
I could really use some really noob friendly how-to to get 3 google voice lines setup so that they well not only place calls but the PBX well also pick them up and send them to the right places. Like a IVR or one line I want it to go to the Music on Hold.
I hope that this is not to much to ask as I have read / tried 3 other post here and get the same thing.
As far as I can tell your post is the fastest and the one closes to working for my setup.
And please fell free to point me to some other place as I want to learn not just have something handed to me and not understand how or what it's doing.
You friend in PBX hell.
Michael
 

Members online

Forum statistics

Threads
25,811
Messages
167,758
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top