Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
2  
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

 
discard

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

Browse other questions tagged or ask your own question.