<div dir="ltr"><div>Hi,</div><div><br></div><div>I've currently migrating from chan_sip to chan_pjsip, for now I'm able to setup and configured extensions in PJSIP and incoming trunks but unable to configure outbound trunk as getting unauth/unregistered trunk endpoint message error message when making outbound calls. However, for inbound calls I'm not facing any issues.</div><div><br></div><div>I would like to know how can I configured outbound sip trunk bypassing registration and auth?<br></div><div><br></div><div>See below current configuration;</div><div><br></div><div>[trunk_proxy]<br>type=endpoint<br>transport=transport-udp<br>context=fromsip<br>disallow=all<br>allow=ulaw<br>aors=trunk_proxy<br>force_rport=no<br>direct_media=yes<br>ice_support=no<br>trust_id_inbound=yes<br>outbound_auth=trunk_proxy<br><br>[trunk_proxy]<br>type=aor<br>contact=sip:<a href="http://10.3.120.208:5060">10.3.120.208:5060</a><br><br>[trunk_proxy]<br>type=identify<br>endpoint=trunk_proxy<br>match=10.3.120.208<br><br>[trunk_proxy]<br>type=auth<br>auth_type=userpass<br>password=<br>username=sip_proxy<br><br>[trunk_proxy]<br>type=registration<br>outbound_auth=trunk_proxy<br>server_uri=sip:<a href="http://10.3.120.208:5060">10.3.120.208:5060</a><br>client_uri=sip:<a href="http://10.3.120.208:5060">10.3.120.208:5060</a><br>auth_rejection_permanent=no<br></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Regards,<br><br>Ahmed Munir Chohan<br><br></div></div></div>