bvm
Grünschnabel
Registration Date: 07.06.2017
Posts: 4
|
|
|
14.07.2018 17:08 |
|
ecy
Grünschnabel
Registration Date: 24.05.2017
Posts: 15
|
|
|
14.07.2018 17:26 |
|
mis
Grünschnabel
Registration Date: 04.02.2013
Posts: 12
|
|
RE: Google Voice as SIP Provider |
|
***SEEMS TO BE FIXED, READ WHOLE POST***
Hi there everyone,
After I had it pointed out to me that the GVsip options are integrated into the regular 'add sip trunk' page (sorry about that ), I was able to get everything connected to my GV account.
The only problem is that I am experiencing the same issue as others here... my GV trunk only stays registered for random but short periods of time. Sometimes I manage to get a few test calls in and other times it dies so quickly I don't get a chance.
I checked the system log and it doesn't reveal much other than that the GV account is no longer registered (which I already knew).
NOTICE[44694] chan_sip.c: -- Registration for '[email protected]' timed out, trying again (Attempt #16)
VERBOSE[44694] logger.c: -- Got SIP response 603 "Rejected"
***read my edit!
The random time interval before the trunk becomes unregistered makes me wonder if it is a bottleneck of some kind on the server side.
While experimenting with naf's (and friends) pjsip implementation, I noticed that I had to use the 'opus' codec on the extension side of the connection to prevent my test system from bogging due to transcoding load. I was using a small VM, though...
Then again, it might also just be a timeout bug somewhere...
I am going to see if I can find anything else about this on the DSL reports page or commit reports on naf's pjsip repository.
If anyone else has ideas, please chime in
EDIT:
Right after I posted this, the GV trunk magically registered again and stayed that way for about ~1min. After that, it greyed out again. But, I was able to get some relevant lines from the syslog as it stopped working:
VERBOSE[44694] logger.c: Capabilities: us - 0x61e (gsm|ulaw|alaw|g726|speex|ilbc), peer - audio=0x4 (ulaw)/video=0x0 (nothing), combined - 0x4 (ulaw)
VERBOSE[14880] logger.c: -- SIP/XXXMYACCOUNTXXX-acfe answered SIP/myaccount-X00-f084
VERBOSE[14678] logger.c: -- Called XXXMYACCOUNTXXX/18002255288
VERBOSE[44694] chan_sip.c: SIP response 100 to standard invite
VERBOSE[44694] chan_sip.c: SIP response 183 to standard invite
followed by the normal 'hang-up' blah blah blah BUT:
NOTICE[44694] chan_sip.c: -- Registration for 'gvuser@obihai.sip.google.com' timed out, trying again (Attempt #1)
Hey, wait a minute. Isn't ' gvuser ' supposed to be a UNIQUE UUID for each account !?!?! I looked inside of Legacy Google Voice's settings on my google account page and the check box for 'sip:XXXXXXXXXXXXXXXXXXXXXXXX@obihai.sip.google.com definitely is unique and not ' gvuser '. I copied the unique identifier (the XXXXX part above) into the 'username' field in my SIP trunk config and everything seems to work great now. Apparently, the 'get google voice password' button does EXACTLY what it says; it gets you the password and nothing else. You will need to visit the Legacy Google Voice page and copy your username into your SIP trunk settings and save it again... It is odd that Google's servers will let you register a trunk without a valid username, even for such short intervals. This, I am sure, is a vulnerability on Google's side. It would allow anonymous calls and 'ghost' trunks, not to mention possible account impersonations... hope it gets fixed.
I also noticed that the registration service polled the codec support list and it did not have 'opus' in the list... don't know if this is relevant, but opus definitely is lighter on the server.
This post has been edited 8 time(s), it was last edited by mis on 14.07.2018 at 23:16.
|
|
14.07.2018 20:34 |
|
mon
Premium Account
Registration Date: 17.10.2007
Posts: 106
|
|
|
15.07.2018 02:35 |
|
ecy
Grünschnabel
Registration Date: 24.05.2017
Posts: 15
|
|
|
15.07.2018 02:50 |
|
hst
Grünschnabel
Registration Date: 23.04.2013
Posts: 6
|
|
|
15.07.2018 04:04 |
|
ecy
Grünschnabel
Registration Date: 24.05.2017
Posts: 15
|
|
|
16.07.2018 20:01 |
|
hst
Grünschnabel
Registration Date: 23.04.2013
Posts: 6
|
|
|
16.07.2018 20:41 |
|
mon
Premium Account
Registration Date: 17.10.2007
Posts: 106
|
|
|
20.07.2018 15:46 |
|
lpm
Grünschnabel
Registration Date: 24.01.2013
Posts: 10
|
|
|
28.07.2018 14:25 |
|
bun
Soho Account
Registration Date: 16.04.2014
Posts: 18
|
|
|
29.07.2018 19:16 |
|
cro
Grünschnabel
Registration Date: 04.05.2010
Posts: 2
|
|
|
01.08.2018 22:28 |
|
i-p
Super Moderator
Registration Date: 14.01.2006
Posts: 4782
|
|
|
02.08.2018 08:50 |
|
i-p
Super Moderator
Registration Date: 14.01.2006
Posts: 4782
|
|
|
02.08.2018 14:13 |
|
bun
Soho Account
Registration Date: 16.04.2014
Posts: 18
|
|
|
03.08.2018 16:12 |
|
mon
Premium Account
Registration Date: 17.10.2007
Posts: 106
|
|
|
04.08.2018 18:58 |
|
i-p
Super Moderator
Registration Date: 14.01.2006
Posts: 4782
|
|
|
04.08.2018 20:23 |
|
bun
Soho Account
Registration Date: 16.04.2014
Posts: 18
|
|
|
08.08.2018 09:44 |
|
i-p
Super Moderator
Registration Date: 14.01.2006
Posts: 4782
|
|
|
13.08.2018 09:15 |
|
bun
Soho Account
Registration Date: 16.04.2014
Posts: 18
|
|
|
14.08.2018 12:49 |
|
|
|
|
|
|
|