<div dir="ltr">I have set up a couple of PBXs using FreeSWITCH over the last few years. I have learned quite a bit, but am certainly no expert.<div><br></div><div>Recently, I installed Bria on my Android cell phone and was using it to make calls over FreeSWITCH throughout our building on our local network wifi. I wanted to be able to make calls from offsite as well, sometimes on wifi and sometimes over cellular data. I setup an external5090 profile as I read on the wiki (didn&#39;t see anything in confluence yet). I was able to register through this profile, but outgoing calls from my softphone hit the public context and didn&#39;t go any further.</div><div><br></div><div>The user_context variable is set to default in my directory entry for this user, but that didn&#39;t seem to make a difference. I tried two things that worked, but am not sure if they open up any holes that would cause security problems:</div><div><br></div><div>1.) If I set the context to default rather than public in the external5090 profile, it works, but I am unsure if this is at all secure.</div><div><br></div><div>2.) If I leave the context as public in the external5090 profile and uncomment this section in the public.xml dialplan,</div><div><br></div><div><div>    &lt;!--</div><div><span class="" style="white-space:pre">        </span>If you have made it this far lets challenge the caller and if they authenticate</div><div><span class="" style="white-space:pre">        </span>lets try what they dialed in the default context. (commented out by default)</div><div>    --&gt;</div><div><br></div><div>    &lt;extension name=&quot;check_auth&quot; continue=&quot;true&quot;&gt;</div><div>      &lt;condition field=&quot;${sip_authorized}&quot; expression=&quot;^true$&quot; break=&quot;never&quot;&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;anti-action application=&quot;respond&quot; data=&quot;407&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div>    </div><div>    &lt;extension name=&quot;transfer_to_default&quot;&gt;</div><div>      &lt;condition&gt;</div><div><span class="" style="white-space:pre">        </span>&lt;action application=&quot;transfer&quot; data=&quot;${destination_number} XML default&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div></div><div><br></div><div>it also works. This one seems the better option, but again, I&#39;m not sure so I am asking the opinion of the experts on the list.</div><div><br></div><div>I spent several hours searching and reading everything I could find through Google and the mailing list archives, but came up a bit short.</div><div><br></div><div>Thanks in advance for your help.</div><div><br></div><div>Jason</div><div><a href="mailto:jkomar@jbox.ca">jkomar@jbox.ca</a></div><div><br></div></div>