<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Nick,<br>
<br>
Your problem is that your From and To header fields do not contain
valid SIP uris, in the sense that the "sip:" part from the beginning is
missing ( <a class="moz-txt-link-abbreviated" href="mailto:useras@example.com">useras@example.com</a> should be <a class="moz-txt-link-freetext" href="sip:useras@example.com">sip:useras@example.com</a>, like in
the R-URI ) , which makes OpenSIPS throw all those errors. <br>
<br>
Check which is the source of this. Maybe you are not properly altering
the messages, or you are dealing with broken UAs.<br>
<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">-- 
Vlad Paiu
OpenSIPS Developer</pre>
<br>
<br>
<br>
On 06/02/2011 09:57 AM, <a class="moz-txt-link-abbreviated" href="mailto:nick@uni-petrol.com">nick@uni-petrol.com</a> wrote:
<blockquote cite="mid:d46034b5f9cd42b15d5923170f19ee49@uni-petrol.com"
 type="cite">
  <p>Dear All!</p>
  <p>opensips: opensips_trunk rev 7915</p>
  <p>I have errors:</p>
  <pre>Jun  2 10:47:27 /usr/sbin/opensips[30111]: ERROR:core:parse_uri: bad uri,  state 0 parsed: &lt;user&gt; (4) / <a class="moz-txt-link-rfc2396E" href="mailto:useras@example.com">&lt;useras@example.com&gt;</a> (28)
Jun  2 10:47:27 /usr/sbin/opensips[30111]: ERROR:core:pv_get_acc_username: bad From URI
Jun  2 10:47:27 /usr/sbin/opensips[30111]: ERROR:core:do_assign: no value in right expression
Jun  2 10:47:27 /usr/sbin/opensips[30111]: ERROR:core:do_assign: error at line: 551</pre>
  <pre> </pre>
  <pre>SUBSCRIBE <a class="moz-txt-link-freetext" href="sip:useras@example.com">sip:useras@example.com</a> SIP/2.0
Via: SIP/2.0/UDP 10.211.55.2:5070;rport;branch=z9hG4bK4288
To: <a class="moz-txt-link-abbreviated" href="mailto:useras@example.com">useras@example.com</a>
From: <a class="moz-txt-link-abbreviated" href="mailto:useras@example.com;tag=8932">useras@example.com;tag=8932</a>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:1306927858-288-MacBook-Pro.@10.211.55.2">1306927858-288-MacBook-Pro.@10.211.55.2</a>
CSeq: 116 SUBSCRIBE
Max-Forwards: 20
User-Agent: NCH Software Express Talk 4.04
Contact: <a class="moz-txt-link-rfc2396E" href="sip:useras@10.211.55.2:5070">&lt;sip:useras@10.211.55.2:5070&gt;</a>
Expires: 86400
Event: message-summary
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, INFO, REFER, NOTIFY
Supported: replaces
Content-Length: 0


SIP/2.0 501 Method Not Supported Here
Via: SIP/2.0/UDP 10.211.55.2:5070;rport=5070;branch=z9hG4bK4288;received=85.235.185.170
To: <a class="moz-txt-link-abbreviated" href="mailto:useras@example.com;tag=f2775ec65578db2ba978e4353ce87342.dbdb">useras@example.com;tag=f2775ec65578db2ba978e4353ce87342.dbdb</a>
From: <a class="moz-txt-link-abbreviated" href="mailto:useras@example.com;tag=8932">useras@example.com;tag=8932</a>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:1306927858-288-MacBook-Pro.@10.211.55.2">1306927858-288-MacBook-Pro.@10.211.55.2</a>
CSeq: 116 SUBSCRIBE
Server: SIP Gateway
Content-Length: 0

  </pre>
  <div> </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>
<br>
</body>
</html>