Add chan spy via OSS
This commit is contained in:
@@ -755,6 +755,8 @@ same => n,Set(FILE(/tmp/money.txt,,,al,u)=${money} ${CALLERID(num)})
|
||||
same => n,Playback(queue-thankyou)
|
||||
same => n,Set(QUEUE_PRIO=${money})
|
||||
same => n,Set(__AUCTION_BID=${money})
|
||||
same => n,Originate(Console/dsp,exten,auction-spy,s,1,,a)
|
||||
same => n,Set(SPYGROUP=10022)
|
||||
same => n,Queue(auction,tc)
|
||||
same => n,Dial(SIP/21,60,U(bidding-announce))
|
||||
same => n,Hangup()
|
||||
@@ -766,6 +768,10 @@ same => n,Goto(1)
|
||||
exten => bid-invalid,1,Playback(invalid)
|
||||
same => n,Goto(1,1)
|
||||
|
||||
[auction-spy]
|
||||
exten => s,1,Noop()
|
||||
same => n,ChanSpy(SIP/22,bq)
|
||||
|
||||
[bidding-announce]
|
||||
exten => s,1,Wait(1)
|
||||
same => n,Playback(is)
|
||||
|
||||
Reference in New Issue
Block a user