Apparently I'm insane. I tried it all one more time, and now I can't get
it to not work.

On Wed, 17 Jan 2007, Simon P. Ditner wrote:

> I'm having some trouble with the PlayTones() function... I'm calling from
> box1 to box2, monitoring the call on box2, and then having box1 send some
> tones -- only box1 decides to do nothing for the PlayTones() step!
>
> box1:extensions.conf
> [go]
> exten => s,1,Answer()
> exten => s,n,Playback(start)
> exten => s,n,PlayTones(!360/500,!400/500) ; Play 360hz 1/2s, followed by 400hz
> exten => s,n,Wait(1)
> exten => s,n,Playback(finish)
> exten => s,n,Hangup()
>
> box2:extensions.conf
> [monitor]
> exten => s,1,Answer()
> exten => s,n,Monitor(wav|recording)
>
> exten => 100,1,Dial(SIP/simon-desk-phone)
>
> Then I kick it off with a callfile in the spool of box1:
> Channel: SIP/[EMAIL PROTECTED]
> Context: go
> Extension: s
> Priority: 1
>
> I examine the recording, and all I get is "Start ... Finish", however
> when I send the call to my desk phone registered on box2, it all works
> fine, and I hear "Start boo bee Finish".
>
> What gives? For now I'm just going to record the tones into an audio
> file, but that seems dumb when there's this perfectly good function there
> that should work.
>
> re,
> spd
>
> | It ain't what you don't know that gets you into trouble. It's what
> | you know for sure that just ain't so.   -- Mark Twain
>

Reply via email to