[Freeswitch-users] Bypass_media mode
Michael Jerris
mike at jerris.com
Tue Jan 12 21:14:55 PST 2010
I doubt that works as you will still need media after it has been bridged. I was just giving an example of something that could be used. You might be able to set that var, set tone detect, answer, play fake ringback for a short time (as long as you have you tone detect checking for tone), and then bridge.
Mike
On Jan 13, 2010, at 12:02 AM, Mark Campbell-Smith wrote:
> ahha... thanks Mike.
>
> So I could do something like this, if 1000 is the b-leg?:
>
> <condition field="destination_number"
> expression="^(10[01][0-9])$">
> <action application="set" data="dialed_extension=$1"/>
> <action application="set"
> data="bypass_media_after_bridge=true"/>
> <action application="tone_detect" data="fax
> 1100 r +5000 transfer 'receivefax XML features' 1" />
> <action application="bridge"
> data="user/${dialed_extension}@${domain}"/>
> </condition>
>
> Looks interesting - I'll have to give it a whirl later ....
More information about the FreeSWITCH-users
mailing list