As gnugk doesn't know something about priority of routes, as I need to create several dial-peers on each destination with different tech-prefixes and priorities. And in this case GWRewrite can't help. Example: ! dial-peer voice 1 voip destination pattern 49T tech-prefix 1# session target ipv4:192.168.1.2 ! dial-peer voice 2 voip preference 1 destination pattern 49T tech-prefix 2# session target ipv4:192.168.1.2 ! dial-peer voice 3 voip preference 2 destination pattern 49T tech-prefix 3# session target ipv4:192.168.1.2 ! And in gnugk.ini: RasSrv::PermanentEndpoints] # For gateway 212.122.3.1=partner1;1# 221.221.3.2=partner2;2# 80.80.120.1=partner3;3# In this scenario call will go to partner1, then to partner2 or partner3, but CDR will contain one of tech-prefixes. On Friday 09 July 2004 13:18, Rafat Subhan wrote: > I never get tech prefix in CDRs. Use GWRewrite instead of RewriteE164 > > ----- Original Message ----- > From: <kompnet@xxxxxxxxx> > To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx> > Sent: Friday, July 09, 2004 01:55 PM > Subject: Tech-prefix and accounting > > > Hi, all > > Is there a possibility to strip tech-prefix in CDR's now? > > I have some partners and all of them has his own tech-prefix, > > and I need to describe each destination N times in voiptariffdst > > table, where N - number of partners. > > I'm speaking about 2.2 branch. > > -- > > Best regards, > > Igor Prokhorov > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > > > _______________________________________________________ > > > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > > Homepage: http://www.gnugk.org/ > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________________ > > List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 > Homepage: http://www.gnugk.org/ -- Best regards, Igor Prokhorov ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/