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

Sebastian Reitenbach users@opengroupware.org
Mon, 10 Dec 2007 11:01:33 +0100


users@opengroupware.org wrote: 
> > 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
looks good
> ogo@gateway:/root$ Defaults read NSGlobalDomain CTIRemoteHostToDevice
> {
>     "192.168.1.25" = "SIP/6001";
>     "192.168.1.25" = "SIP/6000";
> }
that too.
> ogo@gateway:/root$ Defaults read NSGlobalDomain 
> OGoAsteriskConnectionDictionary
> {
>     hostName = "192.168.1.20";
>     port = 5038;
> }
that too, do you can telnet to the box to that port and login via telnet to 
the Asterisk Management Interface? Just to make sure the Asterisk Management 
Interface is configured correctly.
> ogo@gateway:/root$ Defaults read NSGlobalDomain 
> AsteriskInternalExtensionLength
> 4
looks good
> ogo@gateway:/root$ Defaults read NSGlobalDomain AsteriskDialOutPrefix
> 0
The Prefix is only necessary, when you have to add a prefix to dial external 
numbers, is that the case in your dial plan?

> ogo@gateway:/root$ Defaults read NSGlobalDomain AsteriskInternalContext
> internal
> ogo@gateway:/root$ Defaults read NSGlobalDomain AsteriskOutgoingContext
> outgoing
looks good, well, only when your contexts are named in Asterisk 
internal/outgoing. I think I should add a short section on how to check the 
Asterisk configuration.


> 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;
>     };
> }
Looks good.
> 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?
yes, please try that, the management interface is explained on 
www.voip-info.org.

Sebastian