[Freeswitch-users] mod_fifo and early media

Dominique Jeannerod dominique.jeannerod at interact-iv.com
Tue Nov 22 13:23:13 MSK 2016


Hello,

i'm working on a project where I need to manage a call waiting queue, in
early media mode, to have a free waiting time, and start billing only after
the call is really answered.

The general call flow is :
1- incoming call to a service number
2- early media answer (pre-answer) to manage voice messages
3- the call is put in a waiting queue, and the caller ears a message (MOH),
still in early media
4- the queue is associated to a unique destination number, and then one an
only call at a time is picked-up from the queue and bridged to the
destination.
5- When the call is established (200 OK), the incoming call is also
answered (200 OK), which starts the billing.


Question : this looks like a basic call queue handling, and mod_fifo could
be a perfect fit for that ... except that mod_fifo answers the call with a
200 OK

Is it possible to manage early media with mod_fifo ?

Does someone have a best practice, experience, or advice to share on this
matter ?


Thanks with anticipation

D. Jeannerod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161122/ed2f026b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list