Hi James,<div>after applying the patch, I got the 400 bad request message as well...</div><div>This seems to be related to the sipml5 client (same issue with sip-js) generating a wrong request. Take a look at the contact header in the REGISTER message.</div>
<div><br></div><div>I was not able to fix the js code to generate the correct request... In fact it should look like this (sip:user@local-ip:local-port)</div><div><br></div><div>regards,</div><div>Sven<br><br><div class="gmail_quote">
2012/8/14 James Mortensen <span dir="ltr"><<a href="mailto:james.mortensen@a-cti.com" target="_blank">james.mortensen@a-cti.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Andrew Latham <lathama <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
<br>
><br>
</div><div class="im">> On Tue, Aug 14, 2012 at 1:20 PM, James Mortensen<br>
</div><div class="im">> <james.mortensen <at> <a href="http://a-cti.com" target="_blank">a-cti.com</a>> wrote:<br>
> > mailsvb <mailsvb <at> <a href="http://gmail.com" target="_blank">gmail.com</a>> writes:<br>
> ><br>
> >><br>
> >><br>
> >> Hi,<br>
> >><br>
> >> I was facing the very same issue and created a ticket...<br>
> >><br>
> >><br>
> >> <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20221" target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-20221</a><br>
> >><br>
> >> best regards,<br>
> >> Sven2012/8/13 James Mortensen <james.mortensen <at> <a href="http://a-cti.com" target="_blank">a-cti.com</a>><br>
><br>
</div><div class="im">> Michael writes:<br>
><br>
> James, can you add this to the issue at<br>
> <a href="https://issues.asterisk.org/jira/browse/ASTERISK-20221" target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-20221</a><br>
><br>
<br>
<br>
</div>Hi Michael,<br>
<br>
I apologize. It looks like the patch did fix the crash. I had two instances of<br>
Asterisk running, discovered after running "ps -C asterisk u". One must have<br>
been the previous instance, before applying the patch and recompiling.<br>
<br>
While the server isn't crashing anymore, I'm still getting the 400 Bad Request<br>
and the 401 Unauthorized when trying to login. From what I hear, this could be<br>
something that needs to be modified in the sipML5 library itself. Thus, I'll see<br>
what I can find. If anyone knows why I'm getting the unauthorized and bad<br>
requests, please let me know. I'll update the mailing list as well.<br>
<br>
Thanks again!<br>
<span class="HOEnZb"><font color="#888888">James<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>