<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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.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><pre>Hello Alex.<br>
<br>
Thank you Alexe and Ali and Samy for your feedback.<br>
<br>
><span style='color:black'> - if you register your phones on OpenSIPS there is no need to register <o:p></o:p></span></pre>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:black'>>them also on the PBX<o:p></o:p></span></p>
<p class=MsoNormal>Ok, I forget about the PBX for my registration. but trying
to registrate on openSIPS doesn't work.<br>
It would be really if this problem could be solved!!!<br>
<br>
So, I don't manage to register my sipphone.<br>
Here's what I do.<br>
<br>
Domain used on opensips-server (ip=10.0.4.34) is added in the mysql table<br>
mysql> select * from domain;<o:p></o:p></p>
<p class=MsoNormal>+----+-----------+---------------------+<o:p></o:p></p>
<p class=MsoNormal>| id | domain |
last_modified |<o:p></o:p></p>
<p class=MsoNormal>+----+-----------+---------------------+<o:p></o:p></p>
<p class=MsoNormal>| 1 | 10.0.4.34 | 2012-11-13 15:24:23 |<o:p></o:p></p>
<p class=MsoNormal>+----+-----------+---------------------+<br>
<br>
I have 1 user registered in OpenSIPS (in the subscribe-table, is this the correct
table to add users?)<br>
mysql> select * from subscriber;<o:p></o:p></p>
<p class=MsoNormal>+----+----------+-----------+----------+---------------+----------------------------------+----------------------------------+------+<o:p></o:p></p>
<p class=MsoNormal>| id | username | domain | password |
email_address | ha1 |
ha1b
| rpid |<o:p></o:p></p>
<p class=MsoNormal>+----+----------+-----------+----------+---------------+----------------------------------+----------------------------------+------+<o:p></o:p></p>
<p class=MsoNormal>| 1 | 5006 | 10.0.4.34
|
|
| 9d576f5a62c6bc6e46b20d1b6d9e2ad7 | c33ca435f9c3c8b87a11b013c32df2c8 | NULL |<o:p></o:p></p>
<p class=MsoNormal>+----+----------+-----------+----------+---------------+----------------------------------+----------------------------------+------+<br>
<br>
<br>
Here's what I send from UAC<br>
username/extension:
5006<br>
no
password<br>
registrar:
10.0.4.34<br>
<br>
<span style='font-size:13.5pt;font-family:"Courier New";color:black;background:
white'>REGISTER sip:10.0.4.34:5060 SIP/2.0<span class=apple-converted-space> </span></span><span
style='font-size:13.5pt;font-family:"Courier New";color:black'><br>
<span style='background:white'>Via: SIP/2.0/TCP
10.0.46.1:50666;rport;branch=z9hG4bKPj5be69cb0d02144bdb9d2777431d88264<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Route:
<sip:10.0.4.34:5060;transport=TCP;lr><span class=apple-converted-space> </span></span><br>
<span style='background:white'>Max-Forwards: 70<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>From: "cid5006"
<sip:5006@10.0.4.34>;tag=2992022966fa4dca862118d12678d4a1<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>To: "cid5006" <sip:5006@10.0.4.34><span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Call-ID: 56966ef0ba474bca919ef8a67db0659b<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>CSeq: 27976 REGISTER<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>User-Agent: VoxtronSipPhone_01.00.009.002<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Supported: outbound, path<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Contact: "cid5006"
<sip:5006@10.0.46.1:5081;transport=TCP;ob>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-000064bc79c6>"<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Expires: 300<span class=apple-converted-space> </span></span><br>
<span style='background:white'>Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE,
SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS<span class=apple-converted-space> </span></span><br>
<span style='background:white'>Content-Length: 0<span
class=apple-converted-space> <br>
<br>
here's the response<br>
</span></span><br>
<span style='background:white'>SIP/2.0 403 Preload Route denied </span><br>
<span style='background:white'>Via: SIP/2.0/TCP
10.0.46.1:50666;received=10.0.46.1;rport=50666;branch=z9hG4bKPj5be69cb0d02144bdb9d2777431d88264<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>From: "cid5006"
<sip:5006@10.0.4.34>;tag=2992022966fa4dca862118d12678d4a1<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>To: "cid5006"
<sip:5006@10.0.4.34>;tag=cb89901742d7fa34dfcce4fffa472cde.5c91<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Call-ID: 56966ef0ba474bca919ef8a67db0659b<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>CSeq: 27976 REGISTER<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Server: OpenSIPS (1.8.0-notls (x86_64/linux))<span
class=apple-converted-space> </span></span><br>
<span style='background:white'>Content-Length: 0<span
class=apple-converted-space> <br>
<br>
<br>
</span></span></span>The response comes from following code that is executred in
my config file <br>
<br>
# preloaded route checking<o:p></o:p></p>
<p class=MsoNormal> if (loose_route())
{<o:p></o:p></p>
<p class=MsoNormal>
xlog("L_ERR",<o:p></o:p></p>
<p class=MsoNormal>
"Attempt to route with preloaded Route's [$fu/$tu/$ru/$ci] );<o:p></o:p></p>
<p class=MsoNormal>
if (!is_method("ACK"))<o:p></o:p></p>
<p class=MsoNormal>
sl_send_reply("403","Preload Route denied");<o:p></o:p></p>
<p class=MsoNormal> exit;<o:p></o:p></p>
<p class=MsoNormal> }<o:p></o:p></p>
<p class=MsoNormal><br>
How to solve this?<br>
<br>
regards<br>
CHris<o:p></o:p></p>
</div>
</body>
</html>