Am 15.02.2011 18:19, schrieb George Niculae: > On Tue, Feb 15, 2011 at 4:10 PM, StephanDiplom > <[email protected]> wrote: >> Am 11.02.2011 00:32, schrieb George Niculae: >> Ok, I created a new ConferenceBridgeService and put the create and delete >> service in there. > Nice, the patch looks really good. >> How do I reload the FS service? I found something like >> FreeswitchApi.reloadxml() but what is my serviceUri to initialize the >> FreeswitchApi (if this is the right way)? >> > Even not so nice but at this moment the only way to do it is to call > SipxFreeswitchService.onReload > >> I would also like to display the Participant Access Code in my SOAP-response >> after creating a new conference. So i tried: >> conference.generateAccessCodes(); >> and >> conference.getParticipantAccessCode(); >> to return it. I also get a 4 digit access code but I cannot see it in the >> standard web interface. > No need to call conference.generateAccessCodes() or > conference.initialize() as are already handled in newConference call. > Try to store conference and then get the participant code to put in > your respone - switch these 2 lines: > > success += " - Participant Access Code is: " + > conference.getParticipantAccessCode(); > m_conferenceBridgeContext.store(conference); > >> I added my patch. >> >> Regards >> Stephan >> > _______________________________________________ > sipx-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev/ Greetings,
I tried to change the two lines to see the participant code in the sipxecs standard web interface but the field is still empty, although I get the participant code in my SOAP-Response. > Even not so nice but at this moment the only way to do it is to call > SipxFreeswitchService.onReload There is no onReload()-method in version 4.2.1. Do you mean SipxFreeswitchService.onRestart ? Regards Stephan _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
