Hello guys!

Is there the standart method to limit count of simultaneous registrations for some user?

I wiki I have found only one similar ability http://wiki.freeswitch.org/wiki/API_sofia_count_reg

But... It is for dialplan. 
I use curl module with php scripts for dynamic directory.
So I can use this API from php script before sending the xml to FS. But is there more simple ways ?

Btw, API 'sofia_count_reg' doesn't work with 'new' git
'FreeSWITCH Version 1.0.head (git-e6bfa11 2012-02-09 16-47-32 -0600)'

But! API 'sofia_count_reg' works with 'old' git
FreeSWITCH Version 1.0.head (git-54b4b08 2011-11-04 16-58-35 -0500)

Please advise
Thanks.