I need to change the caller ID for some of my clients that are using my trunks (SIP provider) to show their own numbers. I found this command on internet:
exten => s,1,Set(CALLERID(name)=Asterisk PBX)
but I don’t where to put it. I tried in the context of lines but it doesn’t work. In the 3CX sotfware it’s possible to change it at the “From” field resulting that I can show the number I need.
But note that many networks do not pass the name field, and even for the number field, if you are not yourself a recognized network operator the network will either ignore the caller-ID or limit it to a number which they know belongs to you.
If the number is of ANY of the number provided of my provider (from my account or not my numbers) I can call, if not, I can not.
Nothing nof I wrote as name is showed on the screen of my mobile when I call me.
I’m thinking to connect the 3CX PBX with my Asterisk to test what happens and where to change it. The provider has Asterisk and I can show all I want with that software.
If I change the CID for one of the numbers that I know from my provider (and are not on my account) I can call with that numbers but if I put an satardard public tellephone number the call is rejected.
I think they changed their security configuration after I tested sussecfully this with 3CX. I believe they saw a call from their trunks with an ID that were not from they.