FW: Routing Issue

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

 



Hi, All

 

I'm having many concerns respected the GWRewriteE164 and RewriteE164 rules. I use the first to transform the numbers in a way that there can be handled in a homogeneous way in my routing decisions. In fact the routing decisions are based, for now, on MySQL table.

 

Bellow You'll find all configurations that I suppose necessary to better understand my two questions:

 

    1- The manual on the site is not as clear as I expected on the routing path description, so is this understanding correct? Do the routing algorithm walks all table contend before returning the final route?

 

       GK:      02125151515

                   |

       GD - in:   0=>1800##

                   |

                   \--> 1800##2125151515

                           |

       GD - route:  ....## -> 180000

                           |

                           \--> 1800002125151515

                                   |

       GD - route:    ....00212515 -> 180001212515

                                   |

                                   \--> 1800012125151515

                                           |

       GD - out:                  18000121 => 0

                                           |

       GW                                  \--> 025151515

 

    2- Why is the "out" rule defined in [RasSrv::GWRewriteE164] for GW not being used? And why is the "in" rule being used?

 

I appreciate any help and, if possible, links to further explanations on this issue.

 

Edson.

 

*************************************************************

 

The LAB:

        XXX.YYY.WWW.ZZZ : MySQL Server

        DDD.EEE.FFF.3   : GD : Central Gatekeeper

        AAA.BBB.CCC.23  : GK : Call Origin Gatekeeper

        DDD.EEE.FFF.12  : GW : Call Destination Gateway

 

*************************************************************

 

Initialization Information on <DDD.EEE.FFF.3>:

 

OpenH323 Gatekeeper - The GNU Gatekeeper with ID 'GD' started

Gatekeeper(GNU) Version(2.2.4) Ext(pthreads=1,radius=1,mysql=1,pgsql=0,large_fdset=0) Build(Jul 14 2006, 13:04:06) Sys(Linux i686 2.6.8-24.23-default)

 

Listen on DDD.EEE.FFF.3,127.0.0.1

 

This program is free software; you can redistribute it and/or

modify it under the terms of the GNU General Public License

as published by the Free Software Foundation; either version 2

of the License, or (at your option) any later version.

 

 

Disable Bandwidth Management

 

*************************************************************

 

Configuration of <DDD.EEE.FFF.3>/GD:

 

[RasSrv::GWRewriteE164]

GW=in=0=180053;out=180000=0;out=18000121=0

GK=in=00..........=0110..........;in=00...........=0111...........;in=00............=0112............;in=0=1801##;in=91....=1801##21....;out=180155=

 

[SQLConfig]

Driver=MySQL

MinPoolSize=5

Host=XXX.YYY.WWW.ZZZ:3306

Database=gnugk

Username=****

Password=*********

RewriteE164Query=select rkey, rvalue from rewriterule where gk = '%1' order by length(rkey), rkey desc

 

*************************************************************

 

Information in <DDD.EEE.FFF.3>/GD:

 

??

RCF|DDD.EEE.FFF.12:1720|GW:h323_ID|gateway|7149_endp

Fri, 14 Jul 2006 13:49:14 -0300 C(3/3/4)  <7>

Prefixes: 180001,180000,3612,3611,3610

RCF|AAA.BBB.CCC.23:1721|GK:h323_ID=180155000000:dialedDigits|gateway,gatekeeper|7155_endp

Fri, 14 Jul 2006 13:49:08 -0300 C(0/0/0)  <1>

Prefixes: 180155

Number of EndPoints: 2

;

ACF|AAA.BBB.CCC.23:1721|7155_endp|4096|1800002125045496:dialedDigits|Edson:h323_ID=47601:dialedDigits|false;

ACF|DDD.EEE.FFF.12:1720|7149_endp|36864|1800532125045496:dialedDigits|47601:dialedDigits|true;

 

*************************************************************

 

Call LOG in <DDD.EEE.FFF.12>/GW:

 

(3)     1800 14-JUL-2006 15:16  VOICE CALL-191 S/T  13/1 CALLING 47601                CALLED 02125045496                    CLR 13 TIME 3      SEC

 

*************************************************************

 

The MySQL table can be found on http://www.filewire.com/download.php?id=339bca481c6a7bd004df140

 

*************************************************************

 

 

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
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