Displaying 1 result from an estimated 1 matches for "ukgeograph".
Did you mean:
geograph
2009 Feb 21
2
DIAL() application 'g' option
Hi All,
Asterisk 1.4.12 on CentOS 5
I'm trying to increment an AstDB key with the length of the last
outgoing call. Here's what I've got for "01" UK geographical numbers:
exten => _01.,1,Dial(${UKGeographical}/${EXTEN},,g)
exten => _01.,n,Log(NOTICE,Call to ${EXTEN} lasted ${DIALEDTIME})
exten => _01.,n,Set(CALLTIME=${DIALEDTIME})
exten => _01.,n,Set(ACCUMULATED=${DB(freevoip/seconds)})
exten => _01.,n,Set(DB(freevoip/seconds)=$[${ACCUMULATED}+${CALLTIME}])
The first priority after the...