That should be easy, on SPA3102 configuration under 3CX Web admin, go to "Other Options" , select "Use ip in contacts" and below that put the SPA3102 Internal IP. On the SPA3102 configuration, under PSTN Line make sure you have enabled the option "PSTN CID for Voip CID" and that should do it...
Cheers