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

Sp Pho sdpaek21 at gmail.com
Tue Jun 13 12:59:31 UTC 2017


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/20170613/0370a581/attachment.html>


More information about the FreeSWITCH-users mailing list