Hi,<br><br>I have been looking for an example of accomplishing this, but I've been unable to locate something similar to what I'm trying to do.<br><br>Here's the scenario:<br><br>Users caller ID is set to their internal extension (200-250). This is set in
sip.conf for each user. Each user has a local DID as well (hosted through Vitelity, for example (555)111-2222). The problem is that this extension was being passed to the outside world. I currently have a SetCallerID command changing the CallerID to our main office number, but some users want their DID sent, not the general number.
<br><br>The problem is that if their caller ID is set to their DID, when users hit redial on their phones internally they dial out and back in. I corrected this by putting each DID in extensions.conf under their three digit extension, but that seems a bit like a kludge obviously.
<br><br>I'm looking for a method of sending the internal three digit extension only when a user is dialing another user internally, otherwise it will send their DID. Is their a method to do this in the dial plan? Anyone have an example of how to accomplish this?
<br><br>Thanks in advance.<br><br>-Mike<br>