<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,</div><div dir="ltr"><br><div>I have FS configured to only send calls to authenticated endpoints. It works very well in general but there is a case in which it sends the call to unregistered endpoints:<br></div><div><ol><li>Auth the endpoint and "registration" (ok)<br></li><li>Call to endpoint and call arrives (ok)</li><li>Change the endpoint password in FS DB and endpoint "fail registration"</li><li>Call to endpoint and call arrives (ERROR, call must be ignored)</li></ol></div><div>The ERROR is because the REGISTER event know that endpoint "fail registration" and yet send the call anyway ignoring the "auth_calls=true" configuration.<br></div><div><br></div><div>If I execute these fs_cli commands between step 3 and 4, the call is not sent (OK for me, expected and desired case):</div><div><br></div><div>> sofia profile external flush_inbound_reg all<br></div><div>> sofia profile external flush_inbound_reg reboot<br></div><div>> sofia profile external check_sync<br></div><div><br></div><div>I have not tested if all the commands are necessary or not.</div><div><br></div><div>Does anyone know how it can be done to make it work as desired using configuration without having to execute the commands after every password change in an endpoint?<br></div><div><br></div><div>Relevant configuration is:</div><div><br></div><div>vars.xml:</div><div><br></div><div><div>  <!-- Internal SIP Profile --></div><div>  <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/></div><div>  <X-PRE-PROCESS cmd="set" data="internal_sip_port=5060"/></div><div>  <X-PRE-PROCESS cmd="set" data="internal_tls_port=5061"/></div><div>  <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/></div><div><br></div><div>  <!-- External SIP Profile --></div><div>  <X-PRE-PROCESS cmd="set" data="external_auth_calls=true"/></div><div>  <X-PRE-PROCESS cmd="set" data="external_sip_port=5080"/></div><div>  <X-PRE-PROCESS cmd="set" data="external_tls_port=5081"/></div><div>  <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/></div></div><div><br></div><div>sip_profile "external.xml" (i use it):</div><div><br></div><div>    <param name="manage-presence" value="false"/></div><div><div>    <param name="auth-calls" value="true"/></div></div><div>    <param name="multiple-registrations" value="true"/></div><div><br></div><div><br></div><div>I use a dynamic directory getting SIP accounts from DB and generate the XML (mod_curl) setting "cacheable=0".</div><div><br></div><div>Thanks!<br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p style="font-size:12.8px"><span style="font-size:12.8px">José David Jurado Alonso.</span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>