<p>version: opensips 2.2-dev (x86_64/linux)<br>
git revision: <a href="https://github.com/OpenSIPS/opensips/commit/d29cd9d0f45744b70a33e75d2a22bd34ba32ff57" class="commit-link"><tt>d29cd9d</tt></a></p>

<p>Unable to get force_send_socket to work without a proto. While it should be optional according to docs.<br>
Working syntax in 1.10/1.11: (yes with quotes)<br>
 force_send_socket("12.12.21.12");</p>

<p>Output in devel:<br>
Apr  1 14:12:32 SRV-DEV-HPROXY-1 opensips: CRITICAL:core:yyerror: parse error in config file //etc/opensips/opensips.cfg, line 445, column 32-33: syntax error<br>
Apr  1 14:12:32 SRV-DEV-HPROXY-1 opensips: CRITICAL:core:yyerror: parse error in config file //etc/opensips/opensips.cfg, line 445, column 33-34: bad argument, [proto:]host[:port] expected</p>

<p>The following syntaxes do not work (also tried with quotes). While they should in my opinion:<br>
 force_send_socket(12.12.21.12);<br>
 force_send_socket(12.12.21.12:5060);</p>

<p>Working:<br>
force_send_socket(udp:12.12.21.12);<br>
force_send_socket(udp:12.12.21.12:5060);</p>

<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/447">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcicTHBdRA-t0q_mht3QLlzgUwrcfnks5n69tvgaJpZM4D4cAb.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/447"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>