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