Answer the question
In order to leave comments, you need to log in
How to bring to one type of CallerID?
It costs FreePBX 13, asterisk 11. There are 2 trunks, incoming calls come
in
different formats:
7XXXXXXXXXX
8XXXXXXXXXX
87XXXXXXXXXX
Answer the question
In order to leave comments, you need to log in
For example
, somewhere in the beginning of incoming processing
same => n,GoSub(aon,${CALLERID(num)},1);
[aon]
exten => _XXXXXXXXXX,1,Set(CALLERID(num)=8${CALLERID(num)})
same => n,Return()
exten => _7XXXXXXXXXX,1,Set(CALLERID(num)=8$ {CALLERID(num):-10})
same => n,Return()
exten => _87XXXXXXXXXX,1,Set(CALLERID(num)=8${CALLERID(num):-10})
same => n,Return ()
exten => _XXXXXXXXX,1,Set(CALLERID(num)=7495${CALLERID(num)})
same => n,Return()
exten => _XXXXXXXXXX.,1,Goto(other_numbers,1); if needed...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question