There are many posts about the SPA3102 in this forum. Perhaps this thread will be useful:
In post 13, the OP made a summary of working settings. It’s for UK; change the Outbound Route Dial Patterns for something appropriate for your country (and what gets routed to your SIP trunk).