Connecting to Twilio’s voice application with asterisk 22.1.0 pjsip sending them calls work just fine, no registration just peer/ip acl.
If i enable authentication on the twilio side, i get the challenge back on the invite, but asterisk fails it and says
ERROR[92162]: res_pjsip_outbound_authenticator_digest.c:450 digest_create_request_with_auth: Endpoint: ‘trunk_twilio’: There were no auth ids available
here is a (mangled) config:
[auth_twilio]
type=auth
auth_type=userpass
password=mypass
username=whatever
realm=sip.twilio.com
[trunk_twilio]
type=endpoint
transport=transport-tcp
context=from-tw
send_rpid=yes
send_pai=yes
trust_id_inbound=no
trust_id_outbound=yes
direct_media=no
disallow=all
allow=ulaw
force_rport=yes
rewrite_contact=yes
aors=trunk_twilio
auth_outbound=auth_twilio
[trunk_twilio]
type=aor
qualify_frequency=0
contact=sip:myspecialnamehere.sip.twilio.com:5060
[trunk_twilio]
type=identify
match=twilio-ip-here
endpoint=trunk_twilio
i wonder if there is some misbehavior that it expects a registration for all outbound auths? or did i misplace something?