AFAIK (remember) Call of Duty was built on a modified Quake 3 engine long before it went open source
IW Engine is based on the RtCW version of the id Tech 3 (Quake 3) engine they licensed.