Presence across several networked FSs
I'm working on a setup with several networked FreeSWITCHes based on a central FS and one or more satellite FSs. The boxes are connected to each other with IAX, SIP over VPN or another protocol. In the choice of the protocol the presence issue mentioned below should be considered, and the real life practicalities such as routers, NAT and connections with packet loss. I find the directory facility as a good tool for expressing the topology on each server, where the dial-string in the directory can be used to beak out of the box into some of the other boxes via the central unit. When I dial out from a phone, the presence information is updated OK on same phone and other phones on the same box. I would like to keep track of the presence of the users on the other boxes as well. Any suggestion on to how the presence information scan be propagated to all boxes in the network. Jon Brüel Consiglia Telecommunications DK-2960 Rungsted Kyst Tel: +45 45 16 1000 Mob: +45 26 15 30 60 CVR: 27047882
I have found some ways to get presence, or rather BLF functions to work on Snom telephones in a distributed network with several FSs. I'll post a solution on the wiki when I have tested it further. Anyhow, I'm using the mod_event_multicast module with the following configuration: <configuration name="event_multicast.conf" description="Multicast Event"> <settings> <param name="address" value="225.1.1.1"/> <param name="port" value="4242"/> <param name="bindings" value="PRESENCE_IN CUSTOM sofia::register CUSTOM multicast::event"/> </settings> </configuration> With this setting on all FSs, the registration table is also automatically updated thus listing all sets registered across all FSs. In the table sip_registrations (under the database for the profile used), the field status has the value: "Registered" if the UA is registered on another FS and the value "Registered(UDP)" if the UA is registered on the same FS. The field server_host, however, is the ip-address of "local" FS. Now comes the question: is there any way to let the field server_host show the server address of the server actually registered to? Or any other way using the existing modules to get the information about which FS the UAs are registered to? The information is going to be used for the routing decisions between networked FSs. /Jon
I have added an example on the wiki illustrating how to propagate presence and registrations over a set of networked FSs. Interested? Find it on: http://wiki.freeswitch.org/wiki/Mod_event_multicast. /Jon
Very nice- thanks Jon! On Dec 25, 2009, at 11:25 AM, Jon Bruel wrote:
I have added an example on the wiki illustrating how to propagate presence and registrations over a set of networked FSs. Interested? Find it on:http://wiki.freeswitch.org/wiki/Mod_event_multicast. /Jon
_______________________________________________ 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
participants (3)
-
Jon Bruel
-
Rob Forman
-
Vladimir Elizarov