I've been experimenting this
When phone callers  first  join to the conference "max-members" is not enforced (more members can join than max-members value)
below is my piece of code.
(it works when web audio callers first  join to conference)
analysed freeswitch logs but couldn't get much clue.
any idea what might be causes for this behavior?
 
 
 
  $session->execute("conference","${PIN}@test_profile");
 
conference.conf.xml
 
 <profile name="test_profile">
 <param name="max-members" value="2"/>
      <param name="max-members-sound" value="conference/conf-is-locked.wav"/>
........
........
 
thx