[asterisk-users] PJSIP Setup Outbound SIP Trunk
Ahmed Chohan
ahmedmunir007 at gmail.com
Mon Oct 14 11:55:56 CDT 2019
Hi,
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.
I would like to know how can I configured outbound sip trunk bypassing
registration and auth?
See below current configuration;
[trunk_proxy]
type=endpoint
transport=transport-udp
context=fromsip
disallow=all
allow=ulaw
aors=trunk_proxy
force_rport=no
direct_media=yes
ice_support=no
trust_id_inbound=yes
outbound_auth=trunk_proxy
[trunk_proxy]
type=aor
contact=sip:10.3.120.208:5060
[trunk_proxy]
type=identify
endpoint=trunk_proxy
match=10.3.120.208
[trunk_proxy]
type=auth
auth_type=userpass
password=
username=sip_proxy
[trunk_proxy]
type=registration
outbound_auth=trunk_proxy
server_uri=sip:10.3.120.208:5060
client_uri=sip:10.3.120.208:5060
auth_rejection_permanent=no
--
Regards,
Ahmed Munir Chohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191014/84d86cb3/attachment.html>
More information about the asterisk-users
mailing list