Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12605

How to assign particular dialplan specific extension (random callerid dialplan)

$
0
0

@ashokom wrote:

HI I have FreePbx 13 I created random callerid dialplan and its working for all sip extension. I have Phone extension 7211 to 7250. I want to allow (random callerid dialplan) only 7211,7212,7214,7218, and other user normal dialplan

below mention my extensions_override_freepbx.conf random callerid dialplan

[outrt-3] ; RandomOutbound

[outrt-4]
include => outrt-4
exten => _1XXXXXXXXXX,1,Noop
exten => _1XXXXXXXXXX,n,Gosub(pickCallerIDnum,cell${RAND(1,5)},1)
exten => _1XXXXXXXXXX,n,Dial(SIP/vitel-outbound/${EXTEN},30)

[pickCallerIDnum]
exten => cell1,1,Set(CALLERID(num)= 1234568895) ;Specify the numbers that the call should show
same => n,Return
exten => cell2,1,Set(CALLERID(num)= 1584216542);Specify the numbers that the call should show
same => n,Return
exten => cell3,1,Set(CALLERID(num)= 1161155151);Specify the numbers that the call should show
same => n,Return
exten => cell4,1,Set(CALLERID(num)= 1825414544);Specify the numbers that the call should show
same => n,Return
exten => cell5,1,Set(CALLERID(num)= 14812258258);Specify the numbers that the call should show
same => n,Return

Please help me
Sorry for my bad English

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12605

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>