Here are the contents of the pjsip custom files. Obviously it’s been sanitized for securities sake, but I have checked and re-checked the removed values to make sure they match what I setup on Google’s end.
/etc/asterisk/pjsip_custom.conf:
; pjsip_custom, Copyright (c) 2018, Ward Mundy & Associates, LLC.
; Licensed for use with NAF’s Asterisk 13 PJSIP patches pursuant to GPL2.
[incoming-registrations-unused-but-required]
type=transport
protocol=udp
bind=0.0.0.0:5065
[global]
type=global
debug=true
keep_alive_interval=90
[transport_tls]
type=transport
protocol=tls
bind=0.0.0.0:5061
/etc/asterisk/pjsip_custom_post.conf:
debug=true
keep_alive_interval=90
[gvsip1]
type=registration
contact_user=GVNumber
outbound_auth=gvsip1
server_uri=sip:obihai.sip.google.com
outbound_proxy=sip:obihai.telephony.goog:5061;transport=tls;lr;hide
client_uri=sip:[email protected]
retry_interval=60
support_path=yes
support_outbound=yes
line=yes
endpoint=gvsip1
contact_additional_params=obn=gvsip1
transport=0.0.0.0-tls
transport_reuse=no
[gvsip1]
type=auth
auth_type=oauth
refresh_token=GoogleToken
oauth_clientid=GoogleOAuthID
oauth_secret=GoogleOAuthSecret
username=gvGVNumber
realm=obihai.sip.google.com
[gvsip1]
type=aor
contact=sip:obihai.sip.google.com
[gvsip1]
type=endpoint
context=from-pstn-e164-us
disallow=all
allow=ulaw
allow=opus
outbound_auth=gvsip1
outbound_proxy=sip:obihai.telephony.goog:5061;transport=tls;lr;hide
aors=gvsip1
direct_media=no
ice_support=yes
rtcp_mux=yes
media_use_received_transport=yes
outbound_registration=gvsip1
Via the terminal, with nano.
Completely understandable. However, I am talking about defining a pjsip end point in a conf file. Something I would hope the more experiences users would be familiar with. The fact that it happens to tie in with the new GV stuff does not appear to relevant to my issue just yet. But then again, maybe it is. I don’t know, hence the ask for help.
I completely understand this, and it does make sense. But to extend you euphemism here, this is more like I chose the road less travelled and when I asked where said road begins people started yelling at me about how I should be taking the other road and not that one without even bothering to to point in the general direction.
But anyways. I get it. GV is the devil and what not. So perhaps people can look on this as me having issues getting a defined PJSIP end point to show up and be useable in Asterisk. Because as near as I can tell this is precisely the issue I am having…