Using ENUM routing policy for Setup messages in gnugk 2.3.1 and gnugk 2.3.2

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

 



It seem that ENUM routing policy is not working properly in gnugk 2.3.1. 
Looking at the code in Routing.cxx we have:


// a policy to look up the destination from ENUM Name Server
class ENUMPolicy : public AliasesPolicy {
public:
        ENUMPolicy() { m_name = "ENUM"; }
protected:
    virtual bool OnRequest(SetupRequest &) { return false; }
    virtual bool OnRequest(FacilityRequest &) { return false; }

        virtual bool FindByAliases(RoutingRequest &, 
H225_ArrayOf_AliasAddress &);
        virtual bool FindByAliases(LocationRequest &, 
H225_ArrayOf_AliasAddress &);
};


In order to make it work, we had to modify it as follow:


class ENUMPolicy : public AliasesPolicy {
public:
        ENUMPolicy() { m_name = "ENUM"; }
protected:
    // virtual bool OnRequest(SetupRequest &) { return false; }
    virtual bool OnRequest(FacilityRequest &) { return false; }

        virtual bool FindByAliases(RoutingRequest &, 
H225_ArrayOf_AliasAddress &);
        virtual bool FindByAliases(LocationRequest &, 
H225_ArrayOf_AliasAddress &);
};

Emmanuel BUU
http://www.ives.fr/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________________

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