[OGo-Users] Re: click-to-dial & Asterisk
Sebastian Reitenbach
users@opengroupware.org
Fri, 07 Dec 2007 09:46:03 +0100
users@opengroupware.org wrote:
> I've also noticed that this command :
>
> Defaults write NSGlobalDomain CTIRemoteHostToDevice |{ \
> "10.0.0.9" = "SIP/100"; \
> "10.0.0.10" = "SIP/200"; \
> "10.0.0.11" = "SIP/300"; }
As written in the other mail, please use sth. like this:
Defaults write NSGlobalDomain CTIRemoteHostToDevice '{ \
"10.0.0.9" = "SIP/100"; \
"10.0.0.10" = "SIP/200"; \
"10.0.0.11" = "SIP/300"; }'
You have to escape the string, thats all of the magic.
I have no note about that on the webpage, as I hope to figure out, how to
get these ' right sooner that later ;)
At least I added a note, that the Defaults command have to be run as the ogo
user.
>
> ...does not seem to work. In the NSGlobalDomain.plist file elements
> in lists seem to be separated by commas, so to be consistent :
>
> |Defaults write NSGlobalDomain CTIRemoteHostToDevice |{ \
> "10.0.0.9" = "SIP/100", \
> "10.0.0.10" = "SIP/200", \
> "10.0.0.11" = "SIP/300" }
>
> Unfortunately this command doesn't work either. Perhaps I just have
> to make the changes manually?
no, please do not do that, run as use ogo, or however he is named in Debian,
and everything should be fine.
Well, I'd only edit the file manually for the last Default, with the Login,
Originate, Ping (that you can leave out).
Defaults write NSGlobalDomain '{ Login = {Action = login; ExpectedResult =
Success; ...}; }'
You would have to do enter the whole dictionary on one commandline.
Sebastian