> here is a decent start 
>http://github.com/dhubler/sipxecs/raw/master-
> 4.2/sipXconfig/web/meta/sample_soap.pl

Thanks, I'll take a look at that. 

> it hard codes all the users and groups, because it's a sample, but you
> can either add those values as script input args, or what i've seen
> done, is read values from CSV.

I recall trying to do what I wanted through CSV as well but didn't succeed. 
 
> Only problem with this is installing the dependencies on centos is
> PITA because you have to use CPAN and that seems to always fail for

I have a couple of email/spam servers which are very dependant on perl modules 
so have to go through that when there are major updates/upgrades. Looking at 
the code, doesn't look like a large number of modules at least. Of course, my 
concern would be to make sure adding those things don't break sipx.

> Recent versions of fedora have perl soap lite in
> yum packages and much easier, what was your planned OS

Everything is Centos these days. I migrated from RHEL so was happy to see sipx 
was done on Centos.

>to run the script, because it does not have to be on the sipXecs system.

I need to read up, ask questions, get a better understanding of this. I believe 
sipx is SOAP aware out of the box no? In other words, if I geneated SOAP 
commands from the command line, sipx would respond?

Since I don't program, I have to do this in some creative way :).

I'm thinking about generating an updated list of users on the joomla system, 
say once per hour. 
I would feed the list to my script which in turn would add/delete users or 
change their permissions based on their joomla settings.
How I would send those commands to sipx is what I'll learn as I go I guess. 
Maybe it'll be through a scripted sh script command, that connects remotely, 
sends the updated info? Maybe I'll scp the update file to sipx, then use a sh 
script to fire the command to read the file?
Or just have a cron task that checks the file every so often. 

What ever amounts to making the least changes on sipx is what I'd like to 
accomplish. Like I say, I don't need fancy features, just need to maintain a 
list of users and permissions.

>Also, there was a post about 1-2 months about on dev or users list
>about connecting to soap interface via php, that might get you more
>elegant integration w/joomla, but CLI to perl will skin the cat too.
>let me know if you cannot find it.

I recall seeing a thread along those lines in the list but was on another 
project at the time. I'll dig it up.

Thanks for the input, it's appreciated.

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to