What's the point of the if -- shouldn't call_hangup always be set, since you're setting it in the invocation below?