Ik probeer mijn eigen Asterisk met de voip service van T-Mobile te connecten echter krijg ik een “SIP/2.0 401 Unauthorized” terug.
Iemand dit al werken?
Mijn pjsip.conf config: (Extern ip, gebruikersnaam en wachtwoord is iets aangepast)
[transport-udp-nat]
type=transport
protocol=udp
bind=192.168.1.99:5062
local_net=192.168.1.0/24
local_net=127.0.0.1/32
external_media_address=85.145.xx.xx
external_signaling_address=85.145.xx.xx
[tmobile]
type=registration
outbound_auth=tmobile
transport=transport-udp-nat
server_uri=sip:voip.t-mobilethuis.nl
client_uri=sip:voip.t-mobilethuis.nl
[tmobile]
type=auth
auth_type=userpass
password=<wachtwoord>
username=PTA12345P005
[tmobile]
type=aor
contact=sip:voip.t-mobilethuis.nl
[tmobile]
type=endpoint
transport=transport-udp-nat
context=tmobile-in
disallow=all
allow=alaw
allow=g722
allow=ulaw
outbound_auth=tmobile
aors=tmobile
from_user=PTA12345P005
from_domain=voip.t-mobilethuis.nl
direct_media=no
[tmobile]
type=identify
endpoint=tmobile
match=voip.t-mobilethuis.nl