Content
Probably your PBX is sending the P-Asserted-Identity SIP header. By default this header takes the priority over all the contact sources.
If you want to ignore such header you have to disable the setting prioritise_asserted.
Further Information
Related articles