[Freeswitch-users] How to suspend certain users from the system using flush_inbound_reg
Bill W.
freeswitch at aastral.net
Sun Jan 3 15:27:04 PST 2010
Hello Katarina,
You could do this several ways, but it has to be more than just removing
their extension.
* You could use mod_nibblebill to enforce a zero balance so they can't
make calls.
* You could use dialplan logic and xml_curl where a variable set in the
database gets populated in the user's directory entry and enforced in
the dialplan condition.
* You could use ACL logic and xml_curl where a variable set in the
database gets populated in the user's directory entry and enforced via
ACLs. (auth-calls in sofia combined with auth-acl in the directory)
Hope this helps,
-Bill
katarina djakovic wrote:
> Hi,
>
> we are trying to figure out how to suspend certain subscribers from our
> system and we have some problems with removing thier
> registrations. The UAs are ATAs.
>
> This is what we do:
>
> 1) We remove the subscriber extension from the conf\directory .xml files
> 2) We do reloadxml
> 3) We flush user's registration with flush_inbound_reg
>
> but, the users are still able to make calls as if they were still
> registered. To make it clearer, their registrations are removed from
> the registration list (checked with sofia status), but they system still
> accepts the calls from them. From this, it seems that if ATA is never
> rebooted - we are not able to ban these users from the system.
>
> Only after the ATA is rebooted user is not able to make calls any more,
> as the ATA can not register any more - since they users are
> removed from the directory. But before we reboot ATA everything works as
> nothing had been done.
>
> Does anyone have an idea what are we doing wrong? We expect that after
> the registration is removed from the FS the UA should not be
> able to make a call but this is not what happnes.
>
> Can anybody help please?
> Thanks,
> Katarina
>
> ------------------------------------------------------------------------
> Keep your friends updated— even when you’re not signed in.
> <http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list