Change the CALLERID

Dear All,

I have the following infrastructure. All my users are on microsoft skype for business and we use a sip trunk to connect to freepbx(asterisk version 1.8.22) for gateway and from asterisk again with sip trunk to our voip provider.I need when a call comes from spesific number of skype from bussiness server to change the CID to another number and then send it to voip provider.I found the following page
https://wiki.freepbx.org/display/FPG/Customize+outgoing+caller+name+and+caller+ID
but it didnot work as my /etc/asterisk/extensions_custom.conf is empty and i added what suggest but is not working.
Any help is apriciated

Regards
Pantos

Ok finaly i figured out what was wrong. Instead of /etc/asterisk/extensions_custom.conf i had to configure /etc/asterisk/extensions.conf

Regards
pantos

Hi, all those changes will be overwritten when you hit “Apply” in the GUI .

Hi, thanks for response. ok so i need to create something else to keep the changes?

Regards
Pantos

Put your macro back in /etc/asterisk/extensions_custom.conf and test whether it gets executed properly. If you have trouble interpreting it, paste the log for a failed call at https://pastebin.freepbx.org and post the link here.

Hi, there is no [macro-dialout-trunk-predial-hook] in /etc/asterisk/extensions_custom.conf. should i create it?

Regards
Pantos

Ok so i was probably doing somthing wrong at first and it didnot work. So you are all correct guys i put it back at /etc/asterisk/extensions_custom.conf and works. I am very sorry for the confusion and i dont know why it didnot work first time.

Regards
pantos

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.