Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I successfully set up an asterisk server. When people call my asterisk server via PSTN, the server will place another PSTN call to my phone at 33344455555. When I receive the call, my phone shows that I'm receiving a call from 4169998888, which is the number of my DID/SIP account on the asterisk server. However, I don't want to see 4169998888 as the caller, I would like to see the phone number of the person who's trying to call me. Is there a ways to configure my asterisk server to show this?

This is what part of my extensions.conf currently looks like

exten => _NXXNXXXXXX,1,Dial(SIP/4169998888/33344455555,30,g)
exten => _NXXNXXXXXX,n,Hangup

I tried using Set(CALLERID(num)=somenumber) but it didn't take effect. I looked at this question here but I don't have any .call files. What else can I do?

share|improve this question
Your carrier doesn't allow you to set up arbitrary Caller ID, it pushes your predefined DID on your SIP account. There is a SIP code 302 - moved temporarily, which you can send, and it works on some SIP providers, but you got to check with them... – Icapan Sep 16 '13 at 15:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.