search for: dial_time

Displaying 7 results from an estimated 7 matches for "dial_time".

2006 Dec 15
2
Trying to forward calls by using the Callee's context as the forward dial context
..."${Protocol}" = "SIP"]?SIPDev) exten => s,n,GotoIf($["${Protocol}" = "IAX2"]?IAXDev) exten => s,n,Goto(ZapDev) ;ok, they are an IAX device so use IAXPEER exten => s,n(IAXDev),Set(CalledUsersContext=${IAXPEER(${Phone}:context)}) exten => s,n,Goto(dial_time) ;ok, they are an SIP device so use SIPPEER exten => s,n(SIPDev),Set(CalledUsersContext=${SIPPEER(${Phone}:context)}) exten => s,n,Goto(dial_time) ;ok, they are an Zap device so use... Uhhhhh. exten => s,n(ZapDev),NoOp( I have no clue how to get the zap channel's context...) exten...
2017 Dec 26
4
Answered time on channel
...m when a call was answered and when the call hung up. In both requests the start time needs to be the same. My Dialplan looks something like this: [outbound] Exten => _X.,1,Dial(SIP/${EXTEN}@1.1.1.1,,U(call-answer-from-carrier)) Exten => h,1,NoOp(ANSWERED_TIME: ${ANSWEREDTIME} >>> DIAL_TIME: ${DIALEDTIME} >>> HANGUP_TIME: ${EPOCH} >>> ANSWERED TIME ${MATH(${EPOCH}-${ANSWEREDTIME},int)}) [call-answer-from-carrier] Exten => s,1,Noop(CALL WAS ANSWERED AT ${EPOCH} Exten => s,n,Agi(some_script.py) Now in theory the hangup time of the call (${EPOCH} in the h extens...
2017 Dec 27
3
Answered time on channel
...use it to try dialing another > destination, play intercept to caller, etc. *** > > > [pre_dial_handler] ; this is called on the outgoing (callee) channel > exten => s,1,Noop > same => n,Set(MASTER_CHANNEL(callid_egress)=${SIPCALLID}) > same => n,Set(MASTER_CHANNEL(dial_timestamp)=${STRFTIME(,,%s.%3q)}) > same => n,Return > > > [answer_handler] ; run on outgoing (callee) channel, but sets > answer_timestamp in the caller channel > exten => s,1,Noop > same => n,Set(MASTER_CHANNEL(answer_timestamp)=${STRFTIME(,,%s.%3q)}) > same => n...
2010 Jul 30
0
Aastra ignore call button hangs up call instead of going to voicemail
...extensions.conf file has this macro-dial in it: ; Rings one or more extensions. Handles things like call forwarding and DND ; We don't call dial directly for anything internal anymore. ; ARGS: $TIMER, $OPTIONS, $EXT1, $EXT2, $EXT3, ... ; Use a Macro call such as the following: ; Macro(dial,$DIAL_TIMER,$DIAL_OPTIONS,$EXT1,$EXT2,$EXT3,...) [macro-dial] exten => s,1,GotoIf($["${MOHCLASS}" = ""]?dial) exten => s,n,SetMusicOnHold(${MOHCLASS}) exten => s,n(dial),AGI(dialparties.agi) exten => s,n,NoOp(Returned from dialparties with no extensions to call and DIALSTATUS:...
2005 Jan 26
1
Inbound analog Telco line not answered
...more extensions. Handles things like call forwarding and DND ; We don't call dial directly for anything internal anymore. ; ARGS: $TIMER, $OPTIONS, $EXT1, $EXT2, $EXT3, ... ; Assumes that 2xxx is SIP and 3xxN is ZAP, where N is channel. ; Use a Macro call such as the following: ; Macro(dial,$DIAL_TIMER,$DIAL_OPTIONS,$EXT1,$EXT2,$EXT3,...) [macro-dial] exten => s,1,AGI,dialparties.agi exten => s,22,Macro(hangupcall) ; The call was answered and then hungup exten => s,23,Wait(1) exten => s,24,Voicemail(b${ARG3}) ; The call was internal to extension, and was busy ex...
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
...################################################## ; Rings one or more extensions. Handles things like call forwarding and DND ; We don't call dial directly for anything internal anymore. ; ARGS: $TIMER, $OPTIONS, $EXT1, $EXT2, $EXT3, ... ; Use a Macro call such as the following: ; Macro(dial,$DIAL_TIMER,$DIAL_OPTIONS,$EXT1,$EXT2,$EXT3,...) [macro-dial] exten => s,1,GotoIf($[ "${MACRO_CONTEXT}" = "macro-rg-group" ]?4:2) ; if this is from rg-group, don't strip prefix exten => s,2,GotoIf($[${CALLERIDNAME:0:${LEN(${RGPREFIX})}} != ${RGPREFIX}]?4:3) ; check for ring-group...
2005 Aug 02
12
WHat does it take
How many times do you ask for help here before getting a respone? Every single thing I do No matter what I get busy extensions. I am willing to pay someone to help here. Anybody got a clue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050802/d0d1326c/attachment.htm