[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  aucyxob <aucyxob@y...>
 Subject :  fork for earlymedia
 Date :  Wed, 23 Jun 2010 00:40:31 +0400
need help!

Please, explain to me how to make follow things:

On incoming call i want add own early media (tone/ring)
if desired target should not answer or failed I need to play a message.


here is peice of my regexroute.conf:
${module}^h323$=fork earlymedia sip/sip:${called}@1... | wave/play//usr/local/share/yate/sounds/unavail.alaw;stoperror=busy;maxcall=20000
[call.execute]
${callto}^earlymedia$=return;callto=tone/ring;fork.calltype=persistent;fork.autoring=true;fork.automessage=call.progress

When I call in it, I hear earlymedia (tone/ring) and if it is fail I see that target is changed to wave/play but I hear tone/ring yet.
----------
Anthony