<div dir="ltr"><div dir="ltr">On Mon, Oct 14, 2019 at 11:56 AM Ahmed Chohan <<a href="mailto:ahmedmunir007@gmail.com">ahmedmunir007@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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></blockquote><div><br></div><div>Where are the messages coming from? Is Asterisk sending an outbound registration, but getting rejected? If so make sure your username/password credentials are correct.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></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" target="_blank">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" target="_blank">10.3.120.208:5060</a><br>client_uri=sip:<a href="http://10.3.120.208:5060" target="_blank">10.3.120.208:5060</a><br>auth_rejection_permanent=no<br></div><div><br>-- <br><div dir="ltr">Regards,<br><br>Ahmed Munir Chohan<br><br></div></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Kevin Harwell<div>Digium - A Sangoma Company | Senior Software Developer<div>445 Jan Davis Drive NW - Huntsville, AL 35806 - US</div><div>Check us out at: <a href="https://digium.com" target="_blank">https://digium.com</a> & <a href="https://asterisk.org" target="_blank">https://asterisk.org</a></div></div></div></div></div>