*CLI> core show translation
*CLI> sip set debug peer 101
*CLI> sip set debug peer zadarma
[test]
exten => 500,1,Goto(s,1)
exten => 603,1,Goto(s,1)
exten => s,1,Answer()
exten => s,n,Playback(hello-world)
exten => s,n,Hangup()
но особого смысла не имеет, т.к. вместо "s" может использоваться любой экстен $ asterisk -rx "sip show settings" | egrep -i "prematur|progress"
No premature media: Yes
Progress inband: Never
same => n,Set(dannie=1,2,4,3,5)
same => n,Set(X=1)
same => n,Set(DEV=${CUT(dannie,\,,1)})
same => n,While($[${EXISTS(${DEV})}])
same => n,NoOp(DEV = ${DEV})
same => n,Set(X=$[${X} + 1])
same => n,Set(DEV=${CUT(dannie,\,,${X})})
same => n,EndWhile()