Displaying 3 results from an estimated 3 matches for "playme".
Did you mean:
playce
2014 Jul 08
1
Database and variables
Hi list,
question regarding the result of a DB query. I have
database put Agora modele/IVR/AstreinteNagios/1 ${ASTR_State}
i=1 and I read the DB with
exten => IVR,n,Set(__PlayMe=${DB(${ASTRSVC}/IVR/${IVR}/${i})})
exten => IVR,n,NoOp(We read ${PlayMe})
Result:
-- Executing [IVR at Automates:8] Set("SIP/laotseu-00000001",
"__PlayMe=${ASTR_State}") in new stack
-- Executing [IVR at Automates:9] NoOp("SIP/laotseu-00000001", "V...
2016 Aug 23
2
Dial and start music on hold after timeout
...r is available, I only get
> the ring tone, and never hear the announcement. Here is the dialplan (I had
> to add an Answer() before the Dial, otherwise the announcement is never
> played, even in the first case) :
>
> exten = 007,1,Answer()
> same = n,Dial(SIP/foo&Local/s at playme,40)
>
> [playme]
> exten = s,1,Ringing()
> same = n,Wait(10)
> same = n,Playback(/var/lib/asterisk/sounddir/announce,noanswer)
> When it is working, I can see the following output in the CLI, which is
> not there otherwise :
> -- SIP/xxxxxxxxx requested media update contro...
2016 Aug 23
2
Dial and start music on hold after timeout
How about:
exten => s,1,Dial(SIP/alice&LOCAL/555 at delayed-announce,40)
[delayed-announce]
exten => 555,1,Wait(20)
same => n,Playback(myannouncement,noanswer)
same => n,NoOP(Whatever else you want to do goes here)
The 'noanswer' option on the Playback means that SIP/alice should continue
to ring for the remaining 20 of the 40 seconds, as the Playback will not
answer