Respect callerid presentation in skinny.

Fix chan_skinny so that it respects callerID presentation of inbound calls to 
device and a couple of other minor fixes: 145 packet (add OCTAL_FROM amd callerid),
and dont send dialednumber message if protocol >= 17. 

(closes issue ASTERISK-21066)
Reported by: snuffy
Tested by: snuffy, myself
Patches: 
    skinny-respect-clid-restrictions-v2.diff uploaded by snuffy (license 5024)


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@381465 f38db490-d61c-443f-a65b-d21fe96a405b
End stuck DTMF if AST_SOFTHANGUP_ASYNCGOTO because it isn't a real hangup.

It doesn't hurt to check AST_SOFTHANGUP_UNBRIDGE either, but it should not
be set outside of a bridge.

(issue ASTERISK-20492)
........

Merged revisions 381466 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 381467 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@381469 f38db490-d61c-443f-a65b-d21fe96a405b
Add back sending dialnumber to skinny.

Don't know why it seemed to work during testing, but it really is needed 
for protocol v17 (and probably above).


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@381470 f38db490-d61c-443f-a65b-d21fe96a405b
Remove extraneous stuff from r381470.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@381471 f38db490-d61c-443f-a65b-d21fe96a405b