root/trunk/extensions.conf.sample

Revision 5, 0.7 kB (checked in by root, 2 years ago)

Update documentation. Make settext to be persistent overriding callerid values sent by regular states. Do not default to state up for events without state

Line 
1 #
2 # Example entry for setting a callerid text comming
3 # from the flash operator panel
4 # You have to modify line 1 and 3 to match the channel
5 # name for that extension: temp=clid should remain untouched.
6 #
7 # If the variable does not exist in the database
8 # (if was not set by the operator panel) the line
9 # 1 jumps to priority n+101, to perform a normal
10 # dial without setting the CallerIDName
11
12 exten => 11,1,DBget(temp=clid/SIP/11)
13 exten => 11,2,SetCIDName(${temp})
14 exten => 11,3,DBdel(clid/SIP/11)   
15 exten => 11,4,Dial(SIP/11,30,TrH)
16 exten => 11,5,Hangup
17
18 ; gets here if there was not 'info' provided
19 exten => 11,102,Dial(SIP/11,30,TrH)
20
21 ; busy from the dial
22 exten => 11,105,Busy
23 exten => 11,203,Busy
24
25
Note: See TracBrowser for help on using the browser.