<div dir="ltr">You can try patch mod_fifo source code and comment "<span style="white-space:pre-wrap">switch_channel_answer(channel);" strings.</span><br><div><span style="white-space:pre-wrap">Then you can manage signal is passed to a-leg from dialplan.</span></div></div><br><div class="gmail_quote"><div dir="ltr">вт, 22 нояб. 2016 г. в 13:24, Dominique Jeannerod <<a href="mailto:dominique.jeannerod@interact-iv.com">dominique.jeannerod@interact-iv.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hello,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">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.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The general call flow is :</div><div class="gmail_msg">1- incoming call to a service number</div><div class="gmail_msg">2- early media answer (pre-answer) to manage voice messages</div><div class="gmail_msg">3- the call is put in a waiting queue, and the caller ears a message (MOH), still in early media</div><div class="gmail_msg">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.</div><div class="gmail_msg">5- When the call is established (200 OK), the incoming call is also answered (200 OK), which starts the billing.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">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</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Is it possible to manage early media with mod_fifo ?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Does someone have a best practice, experience, or advice to share on this matter ?</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks with anticipation</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">D. Jeannerod</div></div>
_________________________________________________________________________<br class="gmail_msg">
Professional FreeSWITCH Consulting Services:<br class="gmail_msg">
<a href="mailto:consulting@freeswitch.org" class="gmail_msg" target="_blank">consulting@freeswitch.org</a><br class="gmail_msg">
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitchsolutions.com</a><br class="gmail_msg">
<br class="gmail_msg">
Official FreeSWITCH Sites<br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a><br class="gmail_msg">
<a href="http://confluence.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://confluence.freeswitch.org</a><br class="gmail_msg">
<a href="http://www.cluecon.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.cluecon.com</a><br class="gmail_msg">
<br class="gmail_msg">
FreeSWITCH-users mailing list<br class="gmail_msg">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="gmail_msg" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br class="gmail_msg">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="gmail_msg">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="gmail_msg">
<a href="http://www.freeswitch.org" rel="noreferrer" class="gmail_msg" target="_blank">http://www.freeswitch.org</a></blockquote></div>