Add chan spy via OSS

This commit is contained in:
Your Name
2020-12-22 21:15:49 +00:00
parent 2f836a336c
commit ef87e4c499
5 changed files with 562 additions and 18 deletions

View File

@@ -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)