[Freeswitch-users] B-Leg Early Media - Normal Clearing vs Originator Cancelled

Sp Pho sdpaek21 at gmail.com
Wed Jun 14 10:30:54 UTC 2017


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170614/4c800daa/attachment-0001.html>


More information about the FreeSWITCH-users mailing list