<p>opensips 1.11.6</p>

<p>I'm using simple b2b topology hiding scenario and trying to call sip:host (without username part), e.g. to sip:192.168.20.1.<br>
In the log file there is an error while processing local_route</p>

<blockquote>
<p>ERROR:core:parse_uri: bad char '@' in state 0 parsed:  (4) / sip:@192.168.20.1 (17)<br>
ERROR:core:parse_to_uri: failed to parse To uri<br>
ERROR:core:pv_get_xto_attr: cannot parse To URI</p>
</blockquote>

<p>In the outgoing INVITE there is incorrect To header</p>

<blockquote>
<p>To: sip:@192.168.20.1</p>
</blockquote>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/818">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcidEOEgrqbUvRVilxhyt_dk8-0jt0ks5ppue9gaJpZM4HocRh.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/818"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>