Select Page

This short & simple dial-plan removes the 3 digit country code from incoming calls and then pushes it to our FPBX IVR.
nano /etc/asterisk/extensions_custom.conf
After opening the above ^, modify and paste the below into the bottom of the file.
Modify your SIP trunk context to reflect the name below.

exten=>_X.,1,Verbose(Incoming call via SIP Trunk)
same=>n,GotoIf(["${CALLERID(num):0:3}" != "263"]?:noCCatstart)
same=>n,Verbose(a CallerID is ${CALLERID(num)})
same=>n(noCCatstart),Verbose(b CallerID is ${CALLERID(num)})
; This is the freepbx IVR we used to handle incoming calls. Change to whatever is in use on your environment. (extension/queue/etc)