Displaying 2 results from an estimated 2 matches for "rgmain".
Did you mean:
remain
2009 Feb 18
1
Accumulated call time
...od.
I understand that the Dial() application sets two variables -
DIALEDTIME and ANSWEREDTIME - to the total time the Dial() application
ran and the time since the call was answered respectively. However, I
can't find a way to access these. I've tried the following:
exten => s,1,Dial(${rgMain}/${EXTEN},${RINGTIME},t)
exten => s,n,Log(NOTICE, Call to ${EXTEN} lasted ${DIALEDTIME})
However the expected notice does not appear in
/var/log/asterisk/messages, which is where other notices generated
with the Log() application do.
Can someone point the way?
TIA,
--
Geoff
2009 Feb 05
6
Newbie query: how to write priority n+101
Hi All,
Asterisk 1.4.12 on CentOS 5
Sorry for a question that I'm guessing is obvious to most of you.
I'm trying to revamp my dialplan. When I first created it, I had
something like:
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,2,Dial(${rgMain},${RINGTIME},t)
exten => s,3,VoiceMail(main at default)
exten => s,103,VoiceMail(main at default)
Now I want to play around to add things like the privacy manager and
blacklist handling, which all goes before priority 2 in the above. The
Dial() application jumps to the priority 101 more than...