а я прям жду)))
мда... непонятно...
[user]
exten => _7777,1,Answer()
exten => _7777,n,Background(day,skip)
exten => _XXXX,1,Dial(SIP/${EXTEN},60,Tt)
exten => _+7XXXXXXXXXX,1,Macro(out,${EXTEN},${OutTrunk})
exten => _8XXXXXXXXXX,1,Macro(out,${EXTEN},${OutTrunk})
exten => _7XXXXXXXXXX,1,Macro(out,${EXTEN},${OutTrunk})
[macro-out] ;ARG1 - EXTEN , ARG2 - имя транка
exten => s,1,NoOp(OutTrunk - ${ARG2}) ; OutTrunk
exten => s,2,NoOp(OutTrunk - ${ARG1}) ; OutTrunk
exten => s,3,Goto(${ARG2},${ARG1},1) ; OutTrunk