While creating sip account in sip.conf add following attributes.
[211]
.
.
.
qualify=yes
qualifyfreq=3 (time in seconds in which sip status will be updated)
Question
Can any body please tell me that when i unregistered my soft phone (xlite) client, i execute "sip show peers" command on asterisk server then why it shows its status (OK) . When i execute same command after a minute then it shows (UNKNOWN) status. It actually updates the status after a minute ? why
Solution 2
While creating sip account in sip.conf add following attributes.
[211]
.
.
.
qualify=yes
qualifyfreq=3 (time in seconds in which sip status will be updated)
OTHER TIPS
You xlite work not correctly,and not do any unregister action. Status become unknown when xlite not do re-registration in next re-register interval.
You can decrease time by moving out from xlite(very buggy software) to other softphone or by decreasing registration time to 20-30 sec.