<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Nice - This is what I was looking for.&nbsp; So, Freeswitch sends an options Ping to the endpoints, using the nat-options-ping option and then will unregister if an endpoint doesn't respond.&nbsp; Then I can alert on an unregistered device.&nbsp; Sounds perfect.&nbsp; Thanks.&nbsp; Will experiment with that.<br><br>Dave<br><br>----- Original Message -----<br>From: "Gabriel Kuri" &lt;gkuri@ieee.org&gt;<br>To: freeswitch-users@lists.freeswitch.org<br>Sent: Monday, March 22, 2010 6:16:12 PM GMT -06:00 US/Canada Central<br>Subject: Re: [Freeswitch-users] Monitoring Registrations/Users<br><br>Try and use "unregister-on-options-fail" and "nat-options-ping" ?<br>Write a little app that connects to the Event Socket and wait for a<br>device to be unregistered as a trigger for doing whatever you want (ie<br>send an email, snmp trap, etc.).<br><br>&nbsp;&nbsp; &nbsp;http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#unregister-on-options-fail<br><br>Cheers,<br>Gabe<br><br>On Mon, Mar 22, 2010 at 4:01 PM, Dave &nbsp;Redmore<br>&lt;dave.redmore@spigotsystems.com&gt; wrote:<br>&gt; Thanks for the reply.&nbsp; I think that for me, the reason that the<br>&gt; registrations are getting dropped or calls are getting dropped is because we<br>&gt; are running across "best effort:" Internet connections - DSL and Cable - and<br>&gt; we are using off-the-shelf ATAs from Grandstream and Linksys.&nbsp; So, stuff<br>&gt; happens and we lose calls - but if I could Poll those far ends, I can be<br>&gt; more proactive when that happens.&nbsp; If I could send a SIP packet of some sort<br>&gt; every minute and make sure I get a response, then I know those devices are<br>&gt; ready to receive a call and if they aren't I can proactively find out why.<br>&gt;<br>&gt; Dave<br>&gt;<br>&gt; ----- Original Message -----<br>&gt; From: "Michael Collins" &lt;msc@freeswitch.org&gt;<br>&gt; To: freeswitch-users@lists.freeswitch.org<br>&gt; Sent: Monday, March 22, 2010 5:03:04 PM GMT -06:00 US/Canada Central<br>&gt; Subject: Re: [Freeswitch-users] Monitoring Registrations/Users<br>&gt;<br>&gt; You can monitor in various ways, but a simple way to start out is by using<br>&gt; either a script with ESL or just doing: fs_cli -x "sofia status profile<br>&gt; internal" and parsing the results to look for whichever SIP registrations<br>&gt; are of interest.<br>&gt;<br>&gt; As far as finding this useful, I'm sure there are some who would find it<br>&gt; useful in at least a few cases. However, my guess is that they would be more<br>&gt; interested in know why the registrations are getting dropped in the first<br>&gt; place...<br>&gt;<br>&gt; -MC<br>&gt;<br>&gt; On Sun, Mar 21, 2010 at 6:45 PM, Dave Redmore<br>&gt; &lt;dave.redmore@spigotsystems.com&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Been working with Freeswitch to implement a simple T38 proxy to provide<br>&gt;&gt; outbound faxing to some customers.&nbsp; Works very well, on initial testing,<br>&gt;&gt; using the proxy-media option.&nbsp; Nice NAT detection/SBC functionality "out of<br>&gt;&gt; the box".&nbsp; Generally very easy to get my head around and get it to do what I<br>&gt;&gt; wanted,<br>&gt;&gt;<br>&gt;&gt; One bit of functionality I've been looking for in a softswitch for a<br>&gt;&gt; while, and have never seen, is to somehow monitor the status of<br>&gt;&gt; users/registrations and alert somehow if there is a problem.&nbsp; In my<br>&gt;&gt; situation, we have connected some customers with VoIP phone service for<br>&gt;&gt; their small offices.&nbsp; Typically, just a simple ATA that gives them 1-4<br>&gt;&gt; trunks and a couple of DIDs.&nbsp; The problem has always been that if their ATA<br>&gt;&gt; drops it's registration or is not available, no one knows it until a<br>&gt;&gt; customer tells them through some other means that their phones aren't<br>&gt;&gt; working.&nbsp; This is a huge problem, obviously, and happens more than I would<br>&gt;&gt; like.&nbsp; It seems like it wouldn't be too difficult to create some sort of<br>&gt;&gt; monitoring function which can send an Invite packet every little while and<br>&gt;&gt; make sure the UA responds with a 100/Trying and then disconnect.&nbsp; Basically<br>&gt;&gt; polling any devices that I deem as needing to always be available and<br>&gt;&gt; sending an email or something if one isn't.&nbsp; Does this seem useful to anyone<br>&gt;&gt; else?&nbsp; Has anyone seen anything like this out there?<br>&gt;&gt;<br>&gt;&gt; Thanks,<br>&gt;&gt;<br>&gt;&gt; Dave Redmore<br>&gt;&gt; Spigot Networks, Inc.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt; FreeSWITCH-users@lists.freeswitch.org<br>&gt;&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt;&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt;&gt; http://www.freeswitch.org<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________ FreeSWITCH-users mailing<br>&gt; list FreeSWITCH-users@lists.freeswitch.org<br>&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; http://www.freeswitch.org<br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; FreeSWITCH-users@lists.freeswitch.org<br>&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; http://www.freeswitch.org<br>&gt;<br>&gt;<br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></body></html>