Ticket #2580: extensions.conf.diff

File extensions.conf.diff, 2.1 kB (added by pnlarsson, 4 years ago)
  • etc/extensions.conf

    old new  
    6969exten => s,n,SetMusicOnHold(${MOHCLASS}) 
    7070exten => s,n(dial),AGI(dialparties.agi) 
    7171exten => s,n,NoOp(Returned from dialparties with no extensions to call and DIALSTATUS: ${DIALSTATUS}) 
     72exten => s,n,MacroExit() 
    7273 
    73 exten => s,n+2(normdial),Dial(${ds})                               ; dialparties will set the priority to 10 if $ds is not null 
     74exten => s,n(normdial),Dial(${ds})                               ; dialparties will set the priority to 10 if $ds is not null 
    7475exten => s,n,Set(DIALSTATUS=${IF($["${DIALSTATUS_CW}"!="" ]?${DIALSTATUS_CW}:${DIALSTATUS})}) 
     76exten => s,n,MacroExit() 
    7577 
    76 exten => s,20(huntdial),NoOp(Returned from dialparties with hunt groups to dial ) 
     78exten => s,n(huntdial),NoOp(Returned from dialparties with hunt groups to dial ) 
    7779exten => s,n,Set(HuntLoop=0) 
    7880exten => s,n(a22),GotoIf($[${HuntMembers} >= 1]?a30)  ; if this is from rg-group, don't strip prefix 
    7981exten => s,n,NoOp(Returning there are no members left in the hunt group to ring) 
     82exten => s,n,MacroExit() 
    8083 
    8184; dialparties.agi has setup the dialstring for each hunt member in a variable labeled HuntMember0, HuntMember1 etc for each iteration 
    8285; and The total number in HuntMembers. So for each iteration, we will update the CALLTRACE Data. 
    8386; 
    84 exten => s,n+2(a30),Set(HuntMember=HuntMember${HuntLoop}) 
     87exten => s,n(a30),Set(HuntMember=HuntMember${HuntLoop}) 
    8588exten => s,n,GotoIf($[$["${CALLTRACE_HUNT}" != "" ] & $["${RingGroupMethod}" = "hunt" ]]?a32:a35) 
    8689exten => s,n(a32),Set(CT_EXTEN=${CUT(FILTERED_DIAL,,$[${HuntLoop} + 1])}) 
    8790exten => s,n,Set(DB(CALLTRACE/${CT_EXTEN})=${CALLTRACE_HUNT}) 
     
    104107exten => s,n(a46),Set(HuntMembers=$[${HuntMembers} - 1]) 
    105108exten => s,n,Goto(s,a22) 
    106109 
    107 exten => s,30(a50),DBdel(CALLTRACE/${CT_EXTEN}) 
     110exten => s,n(a50),DBdel(CALLTRACE/${CT_EXTEN}) 
    108111exten => s,n,Goto(s,a42) 
    109112 
    110113; make sure hungup calls go here so that proper cleanup occurs from call confirmed calls and the like