I've pulled a log of the bad case vs good one. A diff of both can be found here: https://www.diffchecker.com/zWNNGibE. This is from the same originating number - any ideas why on line 96, early media is detected for the good case and not the bad, would be greatly appreciated. thanks in advance On Tue, Jun 13, 2017 at 3:59 PM, Sp Pho <sdpaek21@gmail.com> wrote:
Hi,
I'm creating a bridge to terminate call arriving inbound from a DID.
Everything works fine, however the termination point plays a recorded message - which as rightfully so by the switch is seen as early media (with pre-answer).
However, when the originator hangs up while the early media is playing, the CDRs indicate NORMAL_CLEARING. If ignore early media is enabled, the media does not play and ORIGINATOR_CANCELis the hang-up cause.
Is there any way to receive the early media and from the CDR know whether or not the call was subsequently answered or not by the agent (i.e. if the originator canceled the call during the early media or while on hold)?
Thanks in advance, SP