<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=utf-8"><meta name=Generator content="Microsoft Word 15 (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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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:"Preformattato HTML Carattere";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PreformattatoHTMLCarattere
{mso-style-name:"Preformattato HTML Carattere";
mso-style-priority:99;
mso-style-link:"Preformattato HTML";
font-family:Consolas;
mso-fareast-language:IT;}
span.StileMessaggioDiPostaElettronica19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></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=IT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>I had already done this, but nothing is changed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Da:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>Per conto di </b>Ishfaq Malik<br><b>Inviato:</b> martedì 10 giugno 2014 10:05<br><b>A:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Oggetto:</b> Re: [asterisk-users] Asterisk realtime peer registration<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>On 10 June 2014 05:27, <<a href="mailto:orteipam@tiscali.it" target="_blank">orteipam@tiscali.it</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Hello there<br><br>I'd like to use sip users and peers realtime.<br>I think I done all I need to get asterisk works fine in realtime:<br><br><br>res_odbc.conf configuration.<br><br>extconfig.conf<br>sippeers => odbc,asterisk,sipclient<br>sipusers => odbc,asterisk,sipclient<br><br>sip.conf<br>[general]<br>rtcachefriends=yes<br><br>The sipclient table as suggest in this article: SIP Realtime, MySQL table structure (</span><a href="https://wiki.asterisk.org/wiki/display/AST/SIP+Realtime%2C+MySQL+table+structure" target="_blank"><span lang=EN-US>https://wiki.asterisk.org/wiki/display/ ... +structure</span></a><span lang=EN-US>)<br><br>The user registered on asterisk works fine, but not the peer.<br>I'd like to use my voipdiscount account as a peer to do external call.<br><br>Name/username Host Dyn Forcerport ACL Port Status Realtime<br>2000/2000 xxx.xxx.xxx.xxx D N 65476 OK (117 ms) Cached RT<br><br><br><br>Mysql entry on sipclient table is below:<br><br>"3" "XXXXXXXX "<a href="http://sip.voipdiscount.com" target="_blank">sip.voipdiscount.com</a>" "5060" \N "XXXXXXXXXX" \N \N \N \N "<a href="http://sip.voipdiscount.com" target="_blank">sip.voipdiscount.com</a>" "peer" "default" \N \N "XXXXXXXXXXX" \N "" \N "rfc2833" "yes" "no" \N \N \N \N \N "port,invite" \N \N \N \N \N \N "01234556678" \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N "<a href="http://sip.voipdiscount.com" target="_blank">sip.voipdiscount.com</a>" "XXXXXXXXX" "yes" \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N "XXXXXXXXXX" \N "voipdiscount_out" \N \N \N \N \N \N \N \N \N \N \N \N \N \N \N<br><br>I enabled also sip debug, but I don't see any attempt towards <a href="http://sip.voipaccount.com" target="_blank">sip.voipaccount.com</a><br>What am I doing wrong?<br>Someone can help me?<br><br>Thanks in advance<br>Pietro</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> </span><o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></blockquote><div><p class=MsoNormal>Try changing the type from peer to friend.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Ish <o:p></o:p></p></div></div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><pre>Ishfaq Malik <o:p></o:p></pre><pre>Department: VOIP Support<o:p></o:p></pre><pre>Company: Packnet Limited<o:p></o:p></pre><pre>t: +44 (0)845 004 4994<o:p></o:p></pre><pre>f: +44 (0)161 660 9825<o:p></o:p></pre><pre>e: <a href="mailto:ish@pack-net.co.uk" target="_blank">ish@pack-net.co.uk</a><o:p></o:p></pre><pre>w: <a href="http://www.pack-net.co.uk" target="_blank">http://www.pack-net.co.uk</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Registered Address: PACKNET LIMITED, Duplex 2, Ducie House<o:p></o:p></pre><pre>37 Ducie Street <o:p></o:p></pre><pre>Manchester, M1 2JW<o:p></o:p></pre><pre>COMPANY REG NO. 04920552<o:p></o:p></pre></div></div></div></div></body></html>