Y a un truc qui existe aussi dans Asterisk.
Genre :
Code PHP:
exten = 667,1,Answer()
exten = 667/8001,2,Set(CALLERID(num)=0000)
exten = 667/8000,2,Set(CALLERID(num)=9999)
exten = 667,2,NoOP(OK)
exten = 667,n,NoOP(${CALLERID(num)})
exten = 667,n,Hangup()