[Freeswitch-users] FreeSwitch AMQP Question
William King
william.king at quentustech.com
Thu Mar 10 00:12:56 MSK 2016
Sammy,
Great question. mod_amqp has several different profile types: producer,
commands, logging, and consumer(not yet implemented). The producer
profile type only sends FS events to an amqp exchange(though you can
configure multiple profiles with different event bindings and
destination exchanges).
To achieve what you're talking about would require mod_amqp profiles to
subscribe and consume events from an amqp exchange, and then
process/fire those events locally.
Now the second way to handle what you're describing would be to have the
different FS servers configured so that the modules use the same DB
info, so that they're all looking at the same DB state. This would not
require amqp to consume and process the events.
William King
Senior Engineer
Quentus Technologies, INC
1037 NE 65th St Suite 273
Seattle, WA 98115
Main: (877) 211-9337
Office: (206) 388-4772
Cell: (253) 686-5518
william.king at quentustech.com
On 3/3/16 10:52 AM, SamyGo wrote:
> Hi All,
>
> I am experimenting with mod_amqp , I've a RabbitMQ server deployed. What
> I'm trying to find out is if N number of FreeSwitch Servers are
> connected to the same virtualhost to send and receive events and all
> FreeSwitch servers are connected to same backend Database. In that
> particular situation if one server sends an Update status of a SIP
> endpoint to the MessageBus and rest of the FS receives them, will they
> also consider that SIP endpoint as Busy/On-Call ?
>
> Another example could be change in call_centre agent state change. If
> one FS sends an event stating the agent is busy, will rest of the FS
> servers honour this and not assign calls to the agent until a free event
> is received !!
>
> Thanks,
> Sammy
>
>
>
> _________________________________________________________________________
> 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