[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Allan Sandfeld Jensen <linux@c...>
 Subject :  Re: [yate] fork for earlymedia
 Date :  Wed, 23 Jun 2010 17:14:12 +0200
On Wednesday 23 June 2010, aucyxob wrote:
> Sorry
> 
> Task is bit changed
> If target is not answer or fails due to any reason I should play a message
> via earlymedia without answer. Does it possible to change erarly media
> source with targets in callfork?
> 
> P.S.
> the example of callfork from Yates site does not work:
> ^1$=fork sip/sip:1@host1;fork.fake=tone/ring
> 
> Help me please find the solution.
>
You can also use the queue module. Create a queue with one member, set maximum 
number of calls to 1, 'source' to 'tone/ring' and 'single' to 'true'. 
Experiment with 'answermode' 'late' or 'early'. Late means the ringing sound 
is send as early media, early means the queue answers the phone then plays the 
ringing sound.

`Allan