Change the CALLERID


(Pantelis Komatas) #1

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


(Pantelis Komatas) #2

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


(Sergio Lobera) #3

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


(Pantelis Komatas) #4

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

Regards
Pantos


#5

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.


(Pantelis Komatas) #6

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

Regards
Pantos


(Communication Technologies) #7

(Pantelis Komatas) #8

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


(system) closed #9

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