How can I setup CalledID for a specific extension, but still allow it to preserve the internal extension when making SIP calls? I need different DID CallerID for extensions for outbound calls, but when calling an internal extension it comes up with the DID caller ID (not an internal extension). Any ideas?
for arriving calls in the device entry for the source;
as a default, for outgoing call, in the general section of the technology configuration file;
if not using Remote Party ID, etc., using fromuser in sip.conf, for outgoing calls.
Using the function is the most flexible, but it depends on the dialplan. As Asterisk doesn’t come with a production dialplan, you will need to provide the relevant part of your dialplan.