Displaying 1 result from an estimated 1 matches for "cf_active".
2009 Mar 13
1
Realtime dialplan application versus REALTIME dialplan function
...ut it up into specified variable, then cut the
resulting variable into further bits to get the usable data into another
variable so it can be used for the real work.
For example here is the 1.2 dialplan:
exten => 326,1,Realtime(cfwd|exten|${EXTEN}|cf_)
exten => 326,n,GotoIf($["${cf_active}" = "yes" ]?:326|20)
exten => 326,n,Goto(cfaccess,${cf_cfnum},1)
Here is the 1.4 dialplan to accomplish the same thing:
exten => 326,1,Set(row="${REALTIME(cfwd,exten,${EXTEN})}")
exten => 326,n,Set(column3=${CUT(row,"|",3)})
exten => 326,n,S...