Adam Pierce
New Member
- Joined
- Apr 20, 2016
- Messages
- 2
- Reaction score
- 0
Hi Guys
i am am having issues removing the country code from the inbound caller id, i have used the following found on the forum
[from-didlogic]
exten => _./_44XXXXXXXX,1,Set(CALLERID(number)=${CALLERID(number):2})
exten => _./_NXXXXXXX,n,Set(CALLERID(name)=${CALLERID(name):2})
exten => _./_NXXXXXXX,n,Goto(from-trunk,${EXTEN},1)
exten => _.,1,Goto(from-trunk,${EXTEN},1)
exten => s,1,Goto(from-trunk,${EXTEN},1
which does remove the 44 but then it shows as 12345678900 i need to replace the leading 0
many thanks for your help
Adam
i am am having issues removing the country code from the inbound caller id, i have used the following found on the forum
[from-didlogic]
exten => _./_44XXXXXXXX,1,Set(CALLERID(number)=${CALLERID(number):2})
exten => _./_NXXXXXXX,n,Set(CALLERID(name)=${CALLERID(name):2})
exten => _./_NXXXXXXX,n,Goto(from-trunk,${EXTEN},1)
exten => _.,1,Goto(from-trunk,${EXTEN},1)
exten => s,1,Goto(from-trunk,${EXTEN},1
which does remove the 44 but then it shows as 12345678900 i need to replace the leading 0
many thanks for your help
Adam
Last edited: