Hi all,
My box; Debian 8.10, Asterisk 13.6-cert, PJSIP stack.
I’m trying to configure a trunk to do outbound calls only, with INVITE authentification, but without registration.
My config (Realtime tables):
ps_auths
id, auth_type, password, realm, username
trunkXXXXXX, userpass, XXXXXXXXX, sip.XXXXXXXXX.com, XXXXXXXXX
ps_aors
id, contact, authenticate_qualify
trunkXXXXXX, sip:XXXXXXXXX@sip.XXXXXXXXX.com:5060, no
ps_endpoints
id, transport, aors, context, disallow, allow, direct_media, outbound_auth, from_domain, accountcode
trunkXXXXXX, transport-udp, trunkXXXXXX, trunkXXXXXX, all, alaw, no, trunkXXXXXX, sip.XXXXXXXXX.com, XXXXXX
No ps_registrations and no ps_contacts.
Asterisk log:
[Jun 19 18:49:02] ERROR[46233] res_pjsip.c: Endpoint 'trunkXXXXXX': Could not create dialog to invalid URI '349XXXXXXXX'. Is endpoint registered and reachable?
[Jun 19 18:49:02] ERROR[46233] chan_pjsip.c: Failed to create outgoing session to endpoint 'trunkXXXXXX'