Added Smart Hangup - sending hangup code according A2B hangup cause if Asterisk >= 1.4