replace Goto with GoSub
This commit is contained in:
parent
17905cc485
commit
7f331ce840
1 changed files with 11 additions and 13 deletions
|
@ -34,40 +34,38 @@ exten => i,1,Playback(silence/1&goodbye)
|
||||||
exten => t,1,Goto(s,loop)
|
exten => t,1,Goto(s,loop)
|
||||||
|
|
||||||
exten => _X,1,NoOp()
|
exten => _X,1,NoOp()
|
||||||
;same => n,Playback(silence/1&you-entered)
|
|
||||||
;same => n,SayNumber(${EXTEN})
|
|
||||||
same => n,Wait(1)
|
same => n,Wait(1)
|
||||||
same => n,Goto(${EXTEN},100)
|
same => n,GoSub(${EXTEN},100)
|
||||||
|
same => n,Wait(1)
|
||||||
|
same => n,Goto(s,loop)
|
||||||
|
|
||||||
exten => 1,100,NoOp()
|
exten => 1,100,NoOp()
|
||||||
same => n,Goto(extdn42whois,${CALLNUM},5)
|
same => n,Goto(extdn42whois,${CALLNUM},5)
|
||||||
same => n,Goto(menuend,1)
|
same => n,Return()
|
||||||
|
|
||||||
exten => 2,100,NoOp()
|
exten => 2,100,NoOp()
|
||||||
same => n,ConfBridge(1,bridge1,user1,sample_user_menu)
|
same => n,ConfBridge(1,bridge1,user1,sample_user_menu)
|
||||||
same => n,Goto(menuend,1)
|
same => n,Return()
|
||||||
|
|
||||||
exten => 3,100,NoOp()
|
exten => 3,100,NoOp()
|
||||||
same => n,Playback(your&number&is)
|
same => n,Playback(your&number&is)
|
||||||
same => n,SayAlpha(${CALLERID(num)})
|
same => n,SayAlpha(${CALLERID(num)})
|
||||||
same => n,Playback(silence/1&calling)
|
same => n,Playback(silence/1&calling)
|
||||||
same => n,SayAlpha(${CALLNUM})
|
same => n,SayAlpha(${CALLNUM})
|
||||||
same => n,Goto(menuend,1)
|
same => n,Return()
|
||||||
|
|
||||||
exten => 4,100,NoOp()
|
exten => 4,100,NoOp()
|
||||||
same => n,Read(TMPNOM,z-external,1,,1,0.1)
|
same => n,Read(TMPNOM,z-external,1,,1,0.1)
|
||||||
same => n,Goto(menuend,1)
|
same => n,Return()
|
||||||
|
|
||||||
exten => 5,100,NoOp()
|
exten => 5,100,NoOp()
|
||||||
same => n,Read(TMPNOM,z-macroform-cold_day,1,,1,0.1)
|
same => n,Read(TMPNOM,z-macroform-cold_day,1,,1,0.1)
|
||||||
same => n,Goto(menuend,1)
|
same => n,Return()
|
||||||
|
|
||||||
exten => _X,100,NoOp()
|
exten => _X,100,NoOp()
|
||||||
same => n,Goto(menuend,1)
|
same => n,Playback(silence/1&you-entered)
|
||||||
|
same => n,SayNumber(${EXTEN})
|
||||||
exten => menuend,1,NoOp()
|
same => n,Return()
|
||||||
same => n,Wait(1)
|
|
||||||
same => n,Goto(s,loop)
|
|
||||||
|
|
||||||
[extmyself]
|
[extmyself]
|
||||||
exten => i,1,NoOp()
|
exten => i,1,NoOp()
|
||||||
|
|
Loading…
Reference in a new issue