@vezonetworks wrote:
Hi all,
I have been trolling the forums for some time now trying to find an actual working solution for this.
Running FreePBX 13.0.192.8
Numbers are coming into our PBX (in the UK) with 44 before the number and stripping the 0, this is fair enough but the problem is that you cannot redial the number nor does it recognise the number against stored contacts.I need to remove the 44 and replace it with 0 on the trunk. I have tried the following in the "extensions_custom.conf" which I found in other threads.
[from-trunk-custom]
exten => _X.,1,Set(CALLERID(num)=0${CALLERID(num):3:12})
exten => _X.,n,Goto(from-trunk,${EXTEN},1)and
[from-trunk-check-caller-id]
exten => _X.,1,GotoIf($["${CALLERID(number):0:2}"!="44"]?0)
exten => _X.,n,Set(CALLERID(number)=${CALLERID(number):2})
exten => _X.,n(nochange),Goto(from-trunk,${EXTEN},1)Any help would be greatly appreciated, surely someone has done this before and can provide me with a simple copy/paste solution?
Posts: 16
Participants: 3