[Freeswitch-users] mod_fifo and early media
Dominique Jeannerod
dominique.jeannerod at interact-iv.com
Fri Nov 25 19:52:31 MSK 2016
Hi,
thanks for your answer.
I'm not a developper, but will look at that with someone in my team.
What I'm currently planning to do (if possible), and submit as a patch
for mod_fifo :
Add a parameter to make mod_fifo manage two modes :
1. Normal mode, where the A-Leg gets answered (200 OK).
2. "Early media" mode, where the A-Leg is pre-answered, and kept in
early media mode, until the B-Leg answers. The A-leg is then
(automatically) answered when the B-Leg answers.
Does it make sense ?
Dominique Jeannerod
Interact-iv.com
Infrastructure Manager
2016-11-22 18:52 GMT+01:00 Sergey Safarov <s.safarov at gmail.com>:
> 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 at 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 at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list