I have CALLERID problem with outgoing calls through my SIP provider. When I try to make the call from my Asterisk connected SIP phone, through my SIP provider, to my (mobile) phone, it’s visible/received as “private number” - the number doesn’t get displayed. How can I fix that? The setting for caller ID on the SIP provider website is set as “38618882222”.
I also tried replacing it with:
exten => _0.,1,Set(CALLERID(num)=38618882222)
or
exten => _0.,1,Set(CALLERID(num)=0038618882222)
or
exten => _0.,1,Set(CALLERID(num)=+38618882222)
chan_sip is no longer fully supported and the option names you are using include deprecated ones.
The most likely reason is that you haven’t proved to your SIP provider that you control the number that you are trying to present, or they simply do not provide a service to provide custom numbers.
I bought/rented the DID custom number (+38618882222) at the SIP provider and it is allocated to my SIP account, which is linked to my Asterisk. They list several Caller ID outgoing options for numbers:
38618882222
12345678 (SIP account number)
My registered mobile phone number
I assume that I could choose from any of those 3 numbers and it was supposed to display such number in the outgoing call? I haven’t contacted their support yet, because I assumed that maybe my Asterisk setup is done wrong?
If you carrier set the caller id based on the Remote-Party-ID header , your settings are correct, now you need to contact them to make sure they will honour the caller id you re sending on the call