You can try patch mod_fifo source code and comment "switch_channel_answer(channel);" strings.
Then you can manage signal is passed to a-leg from dialplan.

вт, 22 нояб. 2016 г. в 13:24, Dominique Jeannerod <dominique.jeannerod@interact-iv.com>:
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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