Fix several problems caused by multiple line usage with i2004 phones.
Reported by: Daniel Bohling, MihaiMircea

(closes issue ASTERISK-21061)
(closes issue ASTERISK-21120)



git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/11@389661 f38db490-d61c-443f-a65b-d21fe96a405b