<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Thanks for the reply, but I don&#39;t wanna a module.<br><br>I just make a example. I want to receive a event and make some log, or check a table to do something else, or make a alarm, etc.<br><br>I already see this module, i tried to find the source to see how to do it, but the git is off.<br><br>Thanks for the links, i will check this. The<span style="font-family:arial,sans-serif;font-size:12.8px"> </span><a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/771/overview" target="_blank" style="font-family:arial,sans-serif;font-size:12.8px">PR771</a> is in master.<br><br>If i want to clone again FreeSwitch, which one do you recommend?<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-28 7:47 GMT-04:00 Sergey Safarov <span dir="ltr">&lt;<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><a href="https://freeswitch.org/jira/browse/FS-7394" target="_blank">mod_fail2ban</a> module is that you want<div>Also look at <a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/771/overview" target="_blank">PR771</a><br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">чт, 28 апр. 2016 г. в 14:40, Luiz Fernando Softov &lt;<a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_default"><font face="monospace, monospace">Hi, sometimes i receive these users trying to make a call (injection) in my FreeSwitch<br><br>I already use events to know what&#39;s happen in the FS.</font></div><div class="gmail_default"><font face="monospace, monospace"><br>sofia::register_failure - to figure a invalid register<br>sofia::gateway_state - when a gateway comes down</font></div><div class="gmail_default"><font face="monospace, monospace">sofia::gateway_add - when someone add a gateway (daemon)</font></div><div class="gmail_default"><font face="monospace, monospace">sofia::gateway_delete - when someone delete a gateway (daemon)<br><br></font><div class="gmail_default"><div class="gmail_default"><font face="monospace, monospace">[NOTICE] switch_channel.c:1075 New Channel sofia/profile_1/&#39;o[97bf779b-2e0d-e611-be46-00145ec01e69]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_session.c:1061 Send signal sofia/profile_1/&#39;o[BREAK]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_session.c:1061 Send signal sofia/profile_1/&#39;o[BREAK]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:472 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) Running State Change CS_NEW</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] sofia.c:8848 sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere receiving invite from <a href="http://62.4.6.227:5076" target="_blank">62.4.6.227:5076</a> version: 1.5.final git 6a2fc5e 2015-05-28 17:35:17Z 64bit</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] sofia.c:9015 IP 62.4.6.227 Rejected by acl &quot;domains&quot;. Falling back to Digest auth.</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:491 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State NEW</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_session.c:1061 Send signal sofia/profile_1/&#39;o[BREAK]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] sofia.c:2065 detaching session 97bf779b-2e0d-e611-be46-00145ec01e69</font></div><div class="gmail_default"><font face="monospace, monospace">[WARNING] switch_core_state_machine.c:572 97bf779b-2e0d-e611-be46-00145ec01e69 sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere Abandoned</font></div><div class="gmail_default"><font face="monospace, monospace">[NOTICE] switch_core_state_machine.c:575 Hangup sofia/profile_1/&#39;o[CS_NEW] [WRONG_CALL_STATE]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_channel.c:3242 Send signal sofia/profile_1/&#39;o[KILL]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_session.c:1396 Send signal sofia/profile_1/&#39;o[BREAK]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:472 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) Running State Change CS_HANGUP</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:735 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) Callstate Change DOWN -&gt; HANGUP</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:737 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State HANGUP</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] mod_sofia.c:413 Channel sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere hanging up, cause: WRONG_CALL_STATE</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:60 sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere Standard HANGUP, cause: WRONG_CALL_STATE</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:737 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State HANGUP going to sleep</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:504 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State Change CS_HANGUP -&gt; CS_REPORTING</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_session.c:1396 Send signal sofia/profile_1/&#39;o[BREAK]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:472 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) Running State Change CS_REPORTING</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:823 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State REPORTING</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:104 sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere Standard REPORTING, cause: WRONG_CALL_STATE</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:823 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State REPORTING going to sleep</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:498 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State Change CS_REPORTING -&gt; CS_DESTROY</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_session.c:1396 Send signal sofia/profile_1/&#39;o[BREAK]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_session.c:1623 Session 139 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) Locked, Waiting on external entities</font></div><div class="gmail_default"><font face="monospace, monospace">[NOTICE] switch_core_session.c:1641 Session 139 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) Ended</font></div><div class="gmail_default"><font face="monospace, monospace">[NOTICE] switch_core_session.c:1645 Close Channel sofia/profile_1/&#39;o[CS_DESTROY]</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:626 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) Running State Change CS_DESTROY</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:636 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State DESTROY</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] mod_sofia.c:323 sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere SOFIA DESTROY</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:111 sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere Standard DESTROY</font></div><div class="gmail_default"><font face="monospace, monospace">[DEBUG] switch_core_state_machine.c:636 (sofia/profile_1/&#39;or&#39;&#39;=&#39;@<a href="http://1.2.3.4" target="_blank">1.2.3.4</a>&gt;@nowhere) State DESTROY going to sleep</font></div><div><font face="monospace, monospace"><br></font></div></div><div style="font-family:monospace,monospace"><br>Is there a Event (or another way), to know when someone is trying to make a call without register, so i can count how many times some IP try to do this and add it in a firewall.<br><br><br><br><br></div></div></div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>