No but thanks for the help :) Luckily we found what we needed :) -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of George Niculae Sent: vrijdag 27 mei 2011 18:00 To: sipXecs developer discussions Subject: Re: [sipx-dev] send profiles from command line
On Friday, May 27, 2011, Henry Dogger <[email protected]> wrote: > We found out that a soap call (managePhones) already contains a restart > and send profiles function.. > > generateProfiles>true</generateProfiles> > <!--Optional:--> > <restart>true</restart> > > Exactly what we want :) > Right I thought you are looking for server send profiles :) George > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Henry Dogger > Sent: vrijdag 27 mei 2011 12:31 > To: sipXecs developer discussions > Subject: Re: [sipx-dev] send profiles from command line > > Ok thanks, > > I will pass it on to our programmer, perhaps he will contact you if he > has more questions :) > > Henry > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of George > Niculae > Sent: vrijdag 27 mei 2011 12:14 > To: sipXecs developer discussions > Subject: Re: [sipx-dev] send profiles from command line > > On Fri, May 27, 2011 at 12:59 PM, Henry Dogger <[email protected]> > wrote: >> Web service call is fine too... >> How can I trigger a send profiles by a web service call then? >> > > You have to add a new operation in sipxconfig.wsdl and pass fqdn of > the location, then > > - obtain the Location object based on fqdn passed by calling > LocationManager.getLocationByFqdn(String fqdn) > - then with the Location object call: > ServiceConfigurator.initLocation(Location); > ServiceConfigurator.replicateLocation(Location); > ServiceConfigurator.enforceRole(Location); > > - then regenerate DNS stuff if send profiles on primary > > if (Location.isPrimary()) { > Â getDnsGenerator().generate(); > } > > For adding the new operation in SOAP based web service check wiki and > http://thread.gmane.org/gmane.comp.voip.sipx.devel/23334/focus=23421 > > George > > >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of George >> Niculae >> Sent: vrijdag 27 mei 2011 11:52 >> To: sipXecs developer discussions >> Subject: Re: [sipx-dev] send profiles from command line >> >> On Fri, May 27, 2011 at 12:47 PM, Henry Dogger <[email protected]> >> wrote: >>> Hm, too bad michal said it correct, I want to be able to do the same >> as >>> clicking on send profiles, but not actually clicking on send profiles >> ;) >>> But this is not possible it seems... >>> Is this something which can be build in, or also not possible? >>> >> >> Have you considered a web service call for triggering exactly the same >> UI send profile operation? Of course web service is the one exposed by >> config .. >> >> George >> >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of George >>> Niculae >>> Sent: vrijdag 27 mei 2011 11:37 >>> To: sipXecs developer discussions >>> Subject: Re: [sipx-dev] send profiles from command line >>> >>> On Fri, May 27, 2011 at 12:32 PM, Michal Bielicki >>> <[email protected]> wrote: >>>> That was my question, just trigger the same thing as done via >> clicking >>> "send profiles" via a xml-rpc call. >>>> Not possible ? >>> >>> Oh, ok. No, is not possible, send profiles aggregates multiple > XML-RPC >>> calls (config has the knowledge what calls to perform), not just a >>> single XML-RPC call. >>> >>> George >>> >>>> Am 27.05.2011 um 11:28 schrieb George Niculae: >>>> >>>>> On Fri, May 27, 2011 at 12:26 PM, Henry Dogger >> <[email protected]> >>> wrote: >>>>>> A call via xml-rpc would work too... >>>>>> Or is it not possible yet to 'force' a send profiles via xml-rpc? >>>>>> >>>>> >>>>> There are multiple actions perf _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/ _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
