Try to set the callerid when calling Originate actions using that library. I do not have experiences with Asternet so I cannot give you a specific example to try, but FOP2 shows whatever callerid Asterisk propagates via AMI, so setting the callerid in the originate action might work.
Best regards,