What you can do is create outbound rules for the specific locations, configure them so that only extensions from that specific location can use them, and set the outbound caller ID for each outbound rule. Please find the guide to outbound rules below. https://www.3cx.com/docs/manual/outbound-call-routing/