i would like to use 2 of 100 extension which is 8000 and 8001 to display random CLID when do the outbound call. below is the current random dial plan with prefix 8 that currently work without permit for certain extension. anyone have any idea to make it work?
[outrt-11] ;
include => outrt-11
exten => _8.,1,Noop
exten => _8.,n,Gosub(pickCallerIDnum,cell${RAND(1,5)},1)
exten => _8.,n,Dial(SIP/trunkname/${EXTEN},30)
[pickCallerIDnum]
exten => cell1,1,Set(CALLERID(num)= 01158628410) ;Specify the numbers that the call should show
same => n,Return
exten => cell2,1,Set(CALLERID(num)= 01157510683);Specify the numbers that the call should show
same => n,Return
exten => cell3,1,Set(CALLERID(num)= 01157515768);Specify the numbers that the call should show
same => n,Return
exten => cell4,1,Set(CALLERID(num)= 01158560794);Specify the numbers that the call should show
same => n,Return
exten => cell5,1,Set(CALLERID(num)= 01158901123);Specify the numbers that the call should show
same => n,Return