Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 36146) +++ channels/chan_sip.c (working copy) @@ -14551,14 +14551,10 @@ res = AST_DEVICE_BUSY; else if (p->call_limit && p->inUse) res = AST_DEVICE_INUSE; - else + else if (p->call_limit) res = AST_DEVICE_NOT_INUSE; - if (p->inRinging) { - if (p->inRinging == p->inUse) - res = AST_DEVICE_RINGING; - else - res = AST_DEVICE_RINGINUSE; - } + else + res = AST_DEVICE_UNKNOWN; } } else { /* there is no address, it's unavailable */