What constitutes a failure? What I mean by that is, are *all* calls that have early media a "failed" call? Or just certain calls? What about ringing in early media?

You could use monitor_early_media_fail and attempt to analyze the progress tones, i.e. if you hear ringing then it's a good call but otherwise it's a "failure." However, I'm not aware of any way to have the early media flow to the calling party with having the bridge/originate be "successful." The only way to know for sure is to check for a hangup cause.

Could you explain more about what you are trying to accomplish? Perhaps there is another way of dealing with the early media conundrum.

-MC

On Thu, Jan 10, 2013 at 3:24 AM, Tamas.Cseke <cstomi.levlist@gmail.com> wrote:
Hello,

We would like to hear early media without CHANNEL_BRIDGE event
These are failed calls and callers would like to hear the message that
the provider plays
Because the caller thinks the call is answered if originate returns.

as far as I understand:
  -early media makes the originate return
  -if we ignore early media the bridge  won't return, but we don't hear it

we would like both of them, is it possible somehow?

I 'm not sure I fully understand all of the ignore_early_media options
but I haven't find solution for this,
Could you please advise me one, if there is any?

I'm thinking about we maybe need a new ignore_early_media option
like "consume" but sending the media to the caller instead of dropping it
If there isn't already a solution I also would appreciate if you let me
know your opinion about this idea

Thanks advance,
Tamas

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org