[Freeswitch-users] Difficult extension case

Dmitry Mordovin dm at dwide.com
Sun May 24 18:33:31 MSD 2015


Hello

Problem with "play on answer" solved

<action application="bridge" data="{api_on_answer_1=''sleep 
1000'',api_on_answer_2=''uuid_broadcast ${uuid} ivr/ivr-call_from.wav 
aleg''}sofia/gateway/sipnet/1009 at sipnet"/>

Thanks all!


On 05/24/2015 03:31 AM, Stanislav Sinyagin wrote:
> it's easy if you use an external program talking to FreeSWITCH via its API.
>
> I actually implemented two prototypes which do approximately the same
> as you described:
>
> https://github.com/xlab1/freeswitch_secretary_bug
> this one uses mod_perl and is executed within FreeSWITCH process, so
> you need to watch out about CPU and memory usage and overall
> stability. See the Jira ticket for details.
>
>
> https://github.com/xlab1/go-fs-secretary-prototype
> This is a prototype which implements exactly the same scenario, but is
> controlled by an external process, so it's more stable and scalable.
> It talks to FreeSWITCH via the Event Socket interface.
>
>
>
>
>
>
>
>
> On Sat, May 23, 2015 at 10:22 PM, Dmitry Mordovin <dm at dwide.com> wrote:
>> Hello All!
>>
>> I wish to implement one extension scenario, could help me?
>>
>>
>> - Play prompt (its easy)
>> - Play ringback music
>> - Bridge to one or multiple numbers
>> - On answer:
>>           - Play BEEP to incoming leg (stop music, play BEEP means call
>> success, starting talks)
>>           - Play "IMPORTANT CALL!!!" to new outgoing leg
>>           - Connect incoming and outgoing legs together
>> - On fail (timeout):
>>           - Play "Please recall later"
>>
>>
>>
>> I don't understand how can play on answer separately each leg
>>
>> Thank you
>>
>> _________________________________________________________________________
>> 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