Merged revisions 162997 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r162997 | file | 2008-12-11 11:05:49 -0400 (Thu, 11 Dec 2008) | 4 lines
  
  When a device registers to use it is entirely possible that they may be in use, so tell the core that we don't know the devstate and have it ask us for it.
  (closes issue #13525)
  Reported by: pj
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@163006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Joshua Colp 17 years ago
parent 704f4a7d5c
commit 6bb78bff53

@ -11124,7 +11124,7 @@ static enum check_auth_result register_verify(struct sip_pvt *p, struct sockaddr
} }
} }
if (!res) { if (!res) {
ast_devstate_changed(AST_DEVICE_NOT_INUSE, "SIP/%s", peer->name); ast_devstate_changed(AST_DEVICE_UNKNOWN, "SIP/%s", peer->name);
} }
if (res < 0) { if (res < 0) {
switch (res) { switch (res) {

Loading…
Cancel
Save