<div dir="ltr">David,<div><br></div><div><br></div><div>Can you please share your opensips.cfg file? Check if opensips is removing the credentials via consume_credentials. I presume this trace is taken from the sip phone itself? I don't see the hop towards asterisk here. you should just have opensips forward if you wan't to avoid double registration. From the look of the auth challenge it looks like opensips is generating a challenge with its own ip derived realm. I'd use the load balance module or simply forward the requests back and forth.</div><div><br></div><div><a href="https://www.opensips.org/Documentation/Tutorials-LoadBalancing">https://www.opensips.org/Documentation/Tutorials-LoadBalancing</a><br></div><div><br></div><div>Here you can replace yate for asterisk.</div><div><br></div><div>or you can follow </div><div><a href="https://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8">https://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8</a><br></div><div><br></div><div>which requires a bit more of database work to allow the auth to be taken place at opensips.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 30, 2017 at 8:43 AM, David Peláez <span dir="ltr"><<a href="mailto:dvlux4@gmail.com" target="_blank">dvlux4@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="auto"><div dir="ltr">Hello everyone.<div><br></div><div>My name is David, I am new on openisips and I am having some troubles to place calls from a Sip Phone in Opensips to an Asterisk Server.</div><div><br></div><div>The opsnsips server and the asterisk are connected throughout a SIP Trunk. When I make a call from phone A in Opensips to Phone B in Asterisk authorization digest is required from Asterisk Server, I can responce with the credentials but a new 401 Unauthorized message is send back to Opensips, and then the message is forwarded to phone A. </div><div><br></div><div>Please find attached the pcap file from wireshark and the opensips.cfg file.</div><div dir="auto"><br></div><div>Any advice about this?</div><div><br></div><div>Best regards </div><span class="HOEnZb"><font color="#888888"><div>David</div></font></span></div></div>
</div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>