Can I configure sofia to send an ESL event when REGISTER auth *fails* ?
Hi list, I have listened for "all" events, and the custom "sofia:register" events, but I do not seem to get any event when an auth REGISTER fails. I am trying to get all the info (username, ip address, user-agent etc) that is in the REGISTER event, but for the failed case as well. Thanks for any pointers, davidv -- david varnes e: david.varnes@gmail.com p: +61 404 925 633
Are you trying to do fail2ban? /b On May 6, 2010, at 9:28 AM, david varnes wrote:
I am trying to get all the info (username, ip address, user-agent etc) that is in the REGISTER event, but for the failed case as well.
Thanks for any pointers,
davidv
Brian, Thanks for your reply. No. This is a project on a closed, trusted network and I want to do some custom phone detection / provisioning for devices that may have wrong config. There is one case where the only way I know they exist is because they try to register (with incorrect credentials). The combination of ip address and user-agent would be perfect to allow the correct config to get pushed to them. regards davidv On 7 May 2010 00:34, Brian West <brian@freeswitch.org> wrote:
Are you trying to do fail2ban?
/b
On May 6, 2010, at 9:28 AM, david varnes wrote:
I am trying to get all the info (username, ip address, user-agent etc) that is in the REGISTER event, but for the failed case as well.
Thanks for any pointers,
davidv
_______________________________________________ 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
-- david varnes e: david.varnes@gmail.com p: +61 404 925 633
participants (2)
-
Brian West
-
david varnes