Have you checked whether line number 2 on each ATA has registered with the CCM ? Do you have partitions and calling search spaces ? If yes check to see if the Calling Search space of the gateway have the ATA line 2's partition listed and vice versa.
Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus