Re: InternalNetworks parameter in Proxy section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Denis 

You are correct. The behaviour was changed to automatically detect however
the documentation was not updated.

[Proxy]
ProxyAlways=1

Will force all calls to be proxied.

see
http://www.gnugk.org/gnugk-manual-5.html#ss5.2 

Simon

-----Original Message-----
From: Denis Kochmashev "Enforta" [mailto:d.kochmashev@xxxxxxxxxxx] 
Sent: Thursday, 28 January 2010 5:27 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject:  InternalNetworks parameter in Proxy section

Hello, Jan!

Would you kindly explain me one thing which I can't understand?

Documentation says the following:

InternalNetwork=10.0.1.0/24
Default: N/A
.
If you don't specify it, all calls will be proxied.
.

But I can see in Toolkit.cxx that this is not true. If I don't specify
InternalNetworks detected values will be used:

void Toolkit::ProxyCriterion::LoadConfig(PConfig *config) { .
        PStringArray networks(config->GetString(ProxySection,
"InternalNetwork", "").Tokenise(" ,;\t", FALSE));

        // if no networks specified then use the detected values
        NetworkModes internal_netmode;
        internal_netmode.fromExternal = m_enable ? CallRec::Proxied :
CallRec::SignalRouted;;
        internal_netmode.insideNetwork = CallRec::SignalRouted;;
        if (networks.GetSize() == 0) {
                m_internalnetworks =
Toolkit::Instance()->GetInternalNetworks();
.

So I suppose that doc doesn't correspond to real gnugk behavior and there is
no way to make gnugk proxy all calls just using this parameter
(InternalNetworks). Is that true or did I miss something?

Thanks.



----------------------------------------------------------------------------
--
The Planet: dedicated and managed hosting, cloud storage, colocation Stay
online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux