git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@41423
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
switch(cause) {
case 603: /* Declined */
case 403: /* Not found */
+ case 487: /* Call cancelled */
return AST_CAUSE_CALL_REJECTED;
case 404: /* Not found */
return AST_CAUSE_UNALLOCATED;
break;
case 487:
/* channel now destroyed - dec the inUse counter */
+ if (owner)
+ ast_queue_hangup(p->owner);
update_call_counter(p, DEC_CALL_LIMIT);
break;
case 482: /* SIP is incapable of performing a hairpin call, which