if (result) {
sip_alreadygone(p);
/* Unlock locks so ast_hangup can do its magic */
ast_channel_unlock(c);
*nounlock = 1;