Ticket #2580: extensions.conf.diff
| File extensions.conf.diff, 2.1 kB (added by pnlarsson, 4 years ago) |
|---|
-
etc/extensions.conf
old new 69 69 exten => s,n,SetMusicOnHold(${MOHCLASS}) 70 70 exten => s,n(dial),AGI(dialparties.agi) 71 71 exten => s,n,NoOp(Returned from dialparties with no extensions to call and DIALSTATUS: ${DIALSTATUS}) 72 exten => s,n,MacroExit() 72 73 73 exten => s,n +2(normdial),Dial(${ds}) ; dialparties will set the priority to 10 if $ds is not null74 exten => s,n(normdial),Dial(${ds}) ; dialparties will set the priority to 10 if $ds is not null 74 75 exten => s,n,Set(DIALSTATUS=${IF($["${DIALSTATUS_CW}"!="" ]?${DIALSTATUS_CW}:${DIALSTATUS})}) 76 exten => s,n,MacroExit() 75 77 76 exten => s, 20(huntdial),NoOp(Returned from dialparties with hunt groups to dial )78 exten => s,n(huntdial),NoOp(Returned from dialparties with hunt groups to dial ) 77 79 exten => s,n,Set(HuntLoop=0) 78 80 exten => s,n(a22),GotoIf($[${HuntMembers} >= 1]?a30) ; if this is from rg-group, don't strip prefix 79 81 exten => s,n,NoOp(Returning there are no members left in the hunt group to ring) 82 exten => s,n,MacroExit() 80 83 81 84 ; dialparties.agi has setup the dialstring for each hunt member in a variable labeled HuntMember0, HuntMember1 etc for each iteration 82 85 ; and The total number in HuntMembers. So for each iteration, we will update the CALLTRACE Data. 83 86 ; 84 exten => s,n +2(a30),Set(HuntMember=HuntMember${HuntLoop})87 exten => s,n(a30),Set(HuntMember=HuntMember${HuntLoop}) 85 88 exten => s,n,GotoIf($[$["${CALLTRACE_HUNT}" != "" ] & $["${RingGroupMethod}" = "hunt" ]]?a32:a35) 86 89 exten => s,n(a32),Set(CT_EXTEN=${CUT(FILTERED_DIAL,,$[${HuntLoop} + 1])}) 87 90 exten => s,n,Set(DB(CALLTRACE/${CT_EXTEN})=${CALLTRACE_HUNT}) … … 104 107 exten => s,n(a46),Set(HuntMembers=$[${HuntMembers} - 1]) 105 108 exten => s,n,Goto(s,a22) 106 109 107 exten => s, 30(a50),DBdel(CALLTRACE/${CT_EXTEN})110 exten => s,n(a50),DBdel(CALLTRACE/${CT_EXTEN}) 108 111 exten => s,n,Goto(s,a42) 109 112 110 113 ; make sure hungup calls go here so that proper cleanup occurs from call confirmed calls and the like
