Re: 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]

 



Hi Emmanuel,

you are right, there is no reason not to apply the ENUM policy to
unregistered calls. I made the change in the CVS and also enabled it
for Facility messages.

Regards,
Jan


Emmanuel BUU wrote:
> 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/

-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
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