Yup - here is another one interrested - me! /Stig
At 11:22 2002-02-06 -0500, you wrote: >Thomas Jalsovsky <[EMAIL PROTECTED]> wrote: >> my nas sends: >> ... >> h323-ivr-out=transactionID:13880 >> h323-ivr-out=type:test.tcl >> ... >> I want to check by the h323-ivr-out line, so I would like to make >> decision (about accept/reject) by the attribute h323-ivr-out which has >> value 'type:<something>'. >> When I test the attribute, the first line is tested and I don't >> know how should I write a rule for this. > > Yes. The current code checks for the FIRST appearance of an >attribute, and stops if it doesn't match. > > It *could* be changed to look for any other copy of an attribute, if >the first one didn't match. That may be preferable, in fact. > > The code in src/main/valuepair.c, function paircmp() should be >changed so that IF there isn't a match, it loops back to check for >another copy of the same attribute. This will slow the server down a >little, but not significantly. > > The patch would be fairly small, too. If people think it's terribly >useful, I'll take a look at doing it in the next few days. > > Alan DeKok. > >- >List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > ------------------------------------------------------------------------------------- N Y H E T E R! - Internetaccess (Modem/ISDN64+128 via Ymex - utan abonnemangskostnad!!! ONLINE-registrering på www.ymex.se - Uppringd SMTP, slut på Telias monopol, nu kan även Ymex erbjuda! - Surf24 - en billig bredbandstjänst från Ymex för kunder i Härnösand/Älandsbro. ------------------------------------------------------------------------------------- Get your emailed Web-forms into a database of your choice!!! Checkout DBFORM V1.0, see details at http://www.ymex.se UucpGate V1.3a - The No:1 UUCP gateway for allmost any Email server! New release! Mailcoach V2.27 - The business E-mail solution. http://www.mailcoach.com/ ------------------------------------------------------------------------------------- Ymex AB| Alvägen 7 | 871 52 Härnösand | Sweden | http://www.ymex.se/ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html