Hello.<br><br>I'm using Asterisk 1.4.22 with Postgres 8.3 in a Ubuntu 8.04 Server.<br><br>I configured Asterisk to get sip from Postgres, and set qualify for all sips as yes, but the sip show peers command show the status of the peers as UNKNOWN<br>
<br>
srvcentral*CLI> sip show peers<br>Name/username Host Dyn Nat ACL Port Status Realtime<br>4900/4900 (Unspecified) D N 0 UNKNOWN Cached RT<br>4188/4188 <a href="http://10.63.255.150" target="_blank">10.63.255.150</a> D N 65444 UNKNOWN Cached RT<br>
4181/4181 <a href="http://10.63.255.159" target="_blank">10.63.255.159</a> D N 5060 OK (14 ms) Cached RT<br>4176/4176 <a href="http://10.63.255.171" target="_blank">10.63.255.171</a> D N 5061 UNKNOWN Cached RT<br>
4111/4111 <a href="http://10.63.255.171" target="_blank">10.63.255.171</a> D N 5060 UNKNOWN Cached RT<br>4184/4184 <a href="http://10.63.255.195" target="_blank">10.63.255.195</a> D N 5061 UNKNOWN Cached RT<br>
4185/4185 <a href="http://10.63.255.195" target="_blank">10.63.255.195</a> D N 5060 UNKNOWN Cached RT<br>4156/4156 <a href="http://10.63.255.173" target="_blank">10.63.255.173</a> D N 5060 UNKNOWN Cached RT<br>
<br>Now only the 4181 is working fine (but sometimes just the 4156 is working, sometimes just the 4188, etc...). If I put the sip config in the sip.conf file, everything works great.<br><br>My extconfig.conf:<br><br>sipusers => pgsql,asterisk,sip<br>
sippeers => pgsql,asterisk,sip<br>voicemail => pgsql,asterisk,voicemail<br><br>My configuration from 4111 stored in the Postgres:<br><br>callgroup = 2<br>
callerid = Ramal 4111 <4111><br>
canreinvite = yes<br>
context = ramais<br>
host = dynamic<br>
nat = yes<br>
pickupgroup = 2<br>
qualify = yes<br>
secret = 123456<br>
type = friend<br>
username = 4111<br>
disallow = all<br>
allow = alaw<br>
cancallforward = yes<br>
call-limit = 6<br><br>My general section of sip.conf :<br><br>[general]<br>qualify=yes<br>context=default<br>allowoverlap=no<br>bindport=5060<br>bindaddr=<a href="http://0.0.0.0">0.0.0.0</a><br>srvlookup=yes<br>domain=<a href="http://srvcentral.meudominio.com.br">srvcentral.meudominio.com.br</a><br>
tos_sip=cs3<br>tos_audio=ef<br>tos_video=af41<br>language=pt_BR<br>rtptimeout=60<br>rtpholdtimeout=300<br>notifyringing = no<br>notifyhold = no<br>limitonpeers = yes<br>nat=yes<br>rtcachefriends=yes<br>rtsavesysname=yes<br>
rtupdate=yes<br><br>Registration is working fine, the only problem I can see is qualify.<br><br>Anybody can help me ?<br><br><br clear="all">Marcelo H. Terres<br><a href="mailto:mhterres@gmail.com" target="_blank">mhterres@gmail.com</a><br>
****************************************<br>ICQ: 6649932<br>MSN: <a href="mailto:mhterres@hotmail.com" target="_blank">mhterres@hotmail.com</a><br>Jabber: <a href="mailto:mhterres@jabber.org" target="_blank">mhterres@jabber.org</a><br>
<a href="http://twitter.com/mhterres" target="_blank">http://twitter.com/mhterres</a><br>
<a href="http://mhterres.jaiku.com/" target="_blank">http://mhterres.jaiku.com/</a><br>****************************************<br><a href="http://mundoopensource.blogspot.com/" target="_blank">http://mundoopensource.blogspot.com/</a><br>
<a href="http://offtopicsandfun.blogspot.com/" target="_blank">http://offtopicsandfun.blogspot.com/</a><br>
<a href="http://www.propus.com.br" target="_blank">http://www.propus.com.br</a><br>