<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 11:45 AM, Kevin Harwell <span dir="ltr"><<a href="mailto:kharwell@digium.com" target="_blank">kharwell@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, 2013-11-12 at 11:38 -0600, Kevin Harwell wrote:<br><br></div></div></blockquote>
<div><br></div><div style><snip></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> 1) Use a specially-named endpoint (maybe called "default_outbound").<br>
> This endpoint can be automatically created when res_pjsip is loaded and<br>
> contain nothing but the default values for the endpoint. If people want<br>
> to tweak default behavior, then they can create an endpoint called<br>
> "default_outbound" in their pjsip.conf file and set appropriate values<br>
> on it. This approach has the advantage of "just working" out of the box<br>
> and allowing for overriding of the default behavior if desired.<br>
> 2) Create a new option for PJSIP global configuration (maybe called<br>
> "default_outbound_endpoint") that indicates an endpoint to be used when<br>
> sending an outbound request to a URI. This approach has the advantage of<br>
> not creating any "secret" endpoints that the user did not explicitly<br>
> place in the configuration file.<br>
><br>
> I kind of like #2 as there is nothing hidden and it allows the end user<br>
> to name the default outbound endpoint.  Thoughts? Other ideas?<br>
><br>
> Thanks,<br>
><br>
<br>
</div></div>I am planning on moving forward with #2 soonish unless I hear of some<br>
major reason why not to.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div style>I'd say my vote is for #2. That way it is still up to the user to define the endpoint characteristics they want when sending to an arbitrary SIP URI, and they simply say in the global system config which characteristics should apply to that scenario.</div>
<div style><br></div><div style>That also alleviates users from having to specify said 'endpoint' when dialing an arbitrary SIP URI, which is very nice. </div></div><div><br></div>-- <br><div dir="ltr"><div>Matthew Jordan<br>
</div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div>
</div>
</div></div>