<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi.<br>
<br>
I have following architecture:<br>
UAC (SipPhone) with extension: 5006<br>
PBX: 10.0.2.16<br>
<br>
Registration without a proxy works fine<br>
<br>
Now, I configure the OpenSIPS proxy, start the service and confirm that the
service is listening to the specified ports in the config file<br>
As well IP-address of proxy: 10.0.4.34 <br>
I add the domain and user in mysql<br>
Results:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mysql&gt;
select * from domain;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +----+-----------+---------------------+<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
id | domain&nbsp;&nbsp;&nbsp; |
last_modified&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +----+-----------+---------------------+<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;
1 | 10.0.4.34 | 2012-11-13 15:24:23 |<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +----+-----------+---------------------+<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1
row in set (0.00 sec)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mysql&gt;
select * from subscriber;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +----+----------+-----------+----------+---------------+----------------------------------+----------------------------------+------+<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
id | username | domain&nbsp;&nbsp;&nbsp; | password | email_address |
ha1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| ha1b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| rpid |<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +----+----------+-----------+----------+---------------+----------------------------------+----------------------------------+------+<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;
1 | 5006&nbsp;&nbsp;&nbsp;&nbsp; | 10.0.4.34 | 5006&nbsp;&nbsp;&nbsp;&nbsp;
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| 9d576f5a62c6bc6e46b20d1b6d9e2ad7 | c33ca435f9c3c8b87a11b013c32df2c8 | NULL |<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +----+----------+-----------+----------+---------------+----------------------------------+----------------------------------+------+<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1
row in set (0.00 sec)<br>
<br>
<o:p></o:p></p>

<p class=MsoNormal>then I specifiy the proxy in the REGISTER message of the UAC<br>
<br>
<span style='font-family:"Courier New";color:black;background:white'>REGISTER
sip:10.0.2.16:5060 SIP/2.0<span class=apple-converted-space>&nbsp;</span></span><span
style='font-family:"Courier New";color:black'><br>
<span style='background:white'>Via: SIP/2.0/TCP
10.0.4.6:58852;rport;branch=z9hG4bKPjdcef2304105a48a79193e5ff0a105f4c<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Route:
&lt;sip:10.0.4.34:5060;transport=TCP;lr&gt;<span class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Max-Forwards: 70<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>From: &quot;cid5006&quot;
&lt;sip:5006@10.0.2.16&gt;;tag=cefdc25fa17b49a9aa0acc1cc238db6f<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>To: &quot;cid5006&quot;
&lt;sip:5006@10.0.2.16&gt;<span class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Call-ID: a55aa4c7f9a44021a8da359d333b1f89<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>CSeq: 11777 REGISTER<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>User-Agent: VoxtronSipPhone_01.00.009.001<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Supported: outbound, path<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Contact: &quot;cid5006&quot;
&lt;sip:5006@10.0.4.6:5081;transport=TCP;ob&gt;;reg-id=1;+sip.instance=&quot;&lt;urn:uuid:00000000-0000-0000-0000-000064bc79c6&gt;&quot;<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Expires: 300<span class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE,
SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS<span class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Content-Length: 0<span
class=apple-converted-space>&nbsp;<br>
<br>
but get a response<br>
<br>
</span>SIP/2.0 403 Preload Route denied<span class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Via: SIP/2.0/TCP
10.0.4.6:58852;received=10.0.4.6;rport=58852;branch=z9hG4bKPjdcef2304105a48a79193e5ff0a105f4c<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>From: &quot;cid5006&quot;
&lt;sip:5006@10.0.2.16&gt;;tag=cefdc25fa17b49a9aa0acc1cc238db6f<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>To: &quot;cid5006&quot;
&lt;sip:5006@10.0.2.16&gt;;tag=cb89901742d7fa34dfcce4fffa472cde.a917<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Call-ID: a55aa4c7f9a44021a8da359d333b1f89<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>CSeq: 11777 REGISTER<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Server: OpenSIPS (1.8.0-notls (x86_64/linux))<span
class=apple-converted-space>&nbsp;</span></span><br>
<span style='background:white'>Content-Length: 0<span
class=apple-converted-space>&nbsp;<br>
<br>
Logfile /var/log/opensips.log displays the following<br>
</span></span></span>&nbsp;&nbsp; &quot;Attempt to route with preloaded Route's
<a
href="mailto:[sip:5006@10.0.2.16/sip:5006@10.0.2.16/sip:10.0.2.16:5060/10f06ccee2134c57868ed1ed25008784%5d">[sip:5006@10.0.2.16/sip:5006@10.0.2.16/sip:10.0.2.16:5060/10f06ccee2134c57868ed1ed25008784]</a>&quot;<br>
<br>
That line comes from the config file:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #
preloaded route checking<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if
(loose_route()) {<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xlog(&quot;L_ERR&quot;,<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Attempt
to route with preloaded Route's [$fu/$tu/$ru/$ci] (modified by cca)&quot;);<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if
(!is_method(&quot;ACK&quot;))<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply(&quot;403&quot;,&quot;Preload
Route denied&quot;);<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Apparently I have a 'loose_route'&#8230; what does it mean?<br>
How do I solve this?<br>
<br>
Thx<br>
<br>
Chris<o:p></o:p></p>

</div>

</body>

</html>