AdHoc Plar - chan-sccp/chan-sccp GitHub Wiki
How to use the AdHoc Dial feature, aka (PLAR)
Adhoc Number or Private-line automatic ringdown (PLAR): Adhoc/PLAR circuits have statically configured endpoints and do not require the user dialing to connect calls.
- The adhocNumber is dialed as soon as the Phone is taken off-hook or when the new-call button is pressed
- The adhocNumber will not be dialed when choosing a line; so when you choose a line you can enter a number manually. You can also enter the number in on-hook mode and then select the line (using enbloc dialing).
For example by adding this to the line configuration: adhocNumber = 818
Will automatically dial 818 as soon as the Receiver is picked up or the new call button is pressed. The behaviour is very similar to hotline, but on a per line basis.
Example of emergency phone in an elevator:
[SEP00ABC0006901] ; emergency phone in elevator car 1
type=device
...
button=line,emergency
setvar=elevator_no=1 ; this variable will be available in the dialplan, so we know which elevator car we are dealing with.
[SEP00ABC0006902] ; emergency phone in elevator car 2
type=device
...
button=line,emergency
setvar=elevator_no=2 ; this variable will be available in the dialplan, so we know which elevator car we are dealing with.
[emergency]
type=line
cid_name=elevator
cid_number=61112
...
adhocNumber=211 ; this is the extension that will be dialed when you go offhook.
...
setvar=emergencyline=yes
setvar=priority=high