[OGo-Users] Re: click-to-dial & Asterisk
Adam Tauno Williams
users@opengroupware.org
Fri, 07 Dec 2007 06:28:23 -0500
> 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"; }
> ...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?
This works for me.
ogo@aleph:~> Defaults write NSGlobalDomain CTIRemoteHostToDevice '{
"10.0.0.9" = "SIP/100";
"10.0.0.10" = "SIP/200";
"10.0.0.11" = "SIP/300"; }'
ogo@aleph:~> Defaults read NSGlobalDomain CTIRemoteHostToDevice
{
"10.0.0.10" = "SIP/200";
"10.0.0.11" = "SIP/300";
"10.0.0.9" = "SIP/100";
}