[OGo-Users] Re: click-to-dial & Asterisk

Mark Pavlichuk users@opengroupware.org
Mon, 10 Dec 2007 17:20:05 +1000


> Just to make sure please show us the output of of the following commands:
> Defaults read NSGlobalDomain CTIDialer
> Defaults read NSGlobalDomain CTIRemoteHostToDevice
> Defaults read NSGlobalDomain OGoAsteriskConnectionDictionary
> Defaults read NSGlobalDomain AsteriskInternalExtensionLength
> Defaults read NSGlobalDomain AsteriskDialOutPrefix
> Defaults read NSGlobalDomain AsteriskInternalContext
> Defaults read NSGlobalDomain AsteriskOutgoingContext
> Defaults read NSGlobalDomain AsteriskCommands
> Defaults read NSGlobalDomain CTIPersonTelephoneField
> Defaults read NSGlobalDomain LSTeleType



 Defaults read NSGlobalDomain CTIDialer
AsteriskDialer
ogo@gateway:/root$ Defaults read NSGlobalDomain CTIRemoteHostToDevice
{
    "192.168.1.25" = "SIP/6001";
    "192.168.1.25" = "SIP/6000";
}
ogo@gateway:/root$ Defaults read NSGlobalDomain 
OGoAsteriskConnectionDictionary
{
    hostName = "192.168.1.20";
    port = 5038;
}
ogo@gateway:/root$ Defaults read NSGlobalDomain 
AsteriskInternalExtensionLength
4
ogo@gateway:/root$ Defaults read NSGlobalDomain AsteriskDialOutPrefix
0
ogo@gateway:/root$ Defaults read NSGlobalDomain AsteriskInternalContext
internal
ogo@gateway:/root$ Defaults read NSGlobalDomain AsteriskOutgoingContext
outgoing
ogo@gateway:/root$ Defaults read NSGlobalDomain AsteriskCommands
{
    Login = {
        Action = login;
        ExpectedResult = Success;
        Parameters = {
            Events = off;
            Secret = <password>;
            Username = <user>;
        };
    };
    Originate = {
        Action = originate;
        ExpectedResult = Success;
        Parameters = {
            Channel = "";
            Context = default;
            Exten = "";
            Priority = 1;
            Timeout = 30000;
        };
    };
    Ping = {
        Action = ping;
        ExpectedResult = Pong;
    };
}
ogo@gateway:/root$ Defaults read NSGlobalDomain CTIPersonTelephoneField
Dec 10 15:20:43 Defaults [2991]: There is no key 
'CTIPersonTelephoneField' under the 'NSGlobalDomain' domain!
ogo@gateway:/root$ Defaults read NSGlobalDomain LSTeleType
Dec 10 15:22:04 Defaults [3001]: There is no key 'LSTeleType' under the 
'NSGlobalDomain' domain!

  Anything obviously wrong?  Are there any config options I could check 
manually by eg. logging into asterisk via telnet hostname 5038?

-Mark