Re: [reSIProcate] Why limit only one ENUM DNS Server????
Hi Frank,
I won't have time to help you out in that kind of detail in the short
term. Most of the changes should be local to DnsResult.cxx. It has
been many months since I added the initial enum support in. Does
anybody else with understanding of the dns code have some time to help
Frank out?
Thanks
Jason
On 3/22/06, FrankYuan <frankyuan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Could you explain what should be added and files involved?
> Thanks
>
> F Yuan
>
>
>
>
> Jason Fischl wrote:
> The interface is set up to handle it but there is some medium amount
> of effort to actually make this work. Do you have time to add it in?
>
> Jason
>
>
> On 3/22/06, FrankYuan <frankyuan@xxxxxxxxxxxxxxxxxxxxxxxxx>
> wrote:
>
>
> Hi,
> SipStack::setEnumSuffixes(const std::vector<Data>& suffixes) means that
> DNS Stub can handle more than one ENUM DNS servers since it is a vector
> data type.
>
> When I put two ENUM DNS servers, it always core dump because there is an
> assert to force the size to be one or less. What's the reason? Can we
> support more than one ENUM DNS?
>
> Currently there are two popular ENUM DNS servers: e164.org and e164.arpa.
>
> Here is the code to set the limit:
> void
> DnsResult::lookup(const Uri& uri, const std::vector<Data> &enumSuffixes)
> {
> DebugLog (<< "DnsResult::lookup " << uri);
> //int type = this->mType;
> if (!enumSuffixes.empty() && uri.isEnumSearchable())
> {
> mInputUri = uri;
> mDoingEnum = true;
> std::vector<Data> enums = uri.getEnumLookups(enumSuffixes);
> assert(enums.size() <= 1);
>
> ..........................................................................................................
>
> --
> Thanks
>
> F Yuan
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
>
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
>