<div dir="ltr">Yes, I meant it acts as a media server as in a big picture description, and that all SIP signaling between FreeSWITCH and the UE and remote networks is proxied through Kamailio, which is the only entity able to reach FreeSWITCH's SIP ports.<div><br></div><div>Thanks for clarifying that the challenge can't be repeated from one leg to the other. Is there any way I could obtain the credentials at runtime, on a per-call basis, or is that something I can only do in FreeSWITCH's configuration?</div><div><br></div><div>Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Mar 28, 2016 at 9:17 AM Alex Balashov <<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The problem with your description of your scenario is that it is not technically accurate. Conceptually, you may think that Freeswitch merely "acts as a media server" and "all SIP signalling is proxied through Kamailio", but in reality, all SIP signalling passes through FS, too, which generates a new call leg in the process, as it's a B2BUA.<br>
<br>
Viewed in that light, the question isn't so much whether you can "relay" a 407 challenge (you cannot) as whether you can obtain valid credentials from the caller and feed them as a response on your outgoing leg.<br>
<br>
--<br>
Alex Balashov | Principal | Evariste Systems LLC<br>
1447 Peachtree Street NE, Suite 700<br>
Atlanta, GA 30309<br>
United States<br>
<br>
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)<br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
Sent from my BlackBerry.<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>