<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 June 2014 05:27,  <span dir="ltr"><<a href="mailto:orteipam@tiscali.it" target="_blank">orteipam@tiscali.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="IT" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal"><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<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div><br><br></blockquote><div>Try changing the type from peer to friend.</div><div><br></div><div>Regards</div><div>
<br></div><div>Ish </div></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><pre>Ishfaq Malik 
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: <a href="mailto:ish@pack-net.co.uk" target="_blank">ish@pack-net.co.uk</a>
w: <a href="http://www.pack-net.co.uk" target="_blank">http://www.pack-net.co.uk</a>

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street 
Manchester, M1 2JW
COMPANY REG NO. 04920552
</pre></div>
</div></div>