> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Beeton, Carolyn (CAR:9D60) > Sent: Friday, January 23, 2009 9:40 AM > To: Worley, Dale (BL60:9D30) > Cc: [email protected] > Subject: Re: [sipX-dev] emergencyrules.xml > > > -----Original Message----- > > From: Worley, Dale (BL60:9D30) > > Sent: Wednesday, January 21, 2009 4:24 PM > > To: Beeton, Carolyn (CAR:9D60) > > Subject: RE: emergencyrules.xml > > > > I'm adverse to creating a new file to communicate information from > > sipXconfig to the proxy, with its own schema, etc., and yet > containing > > information that is mostly duplicated from another such file. All > > that has to be maintained. It seems that it would be much > simpler to > > add an element or attribute to the authrules schema. > > > > Dale > >
On second thought, I'm not so sure. Putting the emergency numbers in a file all their own makes it much easier to match them. I could put a tag into the authrules files to identify emergency rules, but they are not guaranteed to be matched, if another rule (e.g. local dialling) is "above" them and also matches. I could duplicate the code in getUserMatchContainerMatchingRequestURI to only match emergency rules, but it seems to me that this would be harder to maintain than the emergencyrules.xml file, which is automatically generated (and would share the authrules.xsd schema). Carolyn _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
