[reSIProcate] Enum crashing repro

Daniel Pocock daniel at pocock.com.au
Wed Aug 1 17:05:52 CDT 2012



I put this in my config, it is actually wrong (should be
e164-addr.sip5060.net):

  EnumSuffixes = e164.arpa, sip5060.net

and when the repro receives a request such as

  sip:+123456789 at some.other.domain.com

it appears to do two things wrong:

a) even though it is for some.other.domain.com, it still goes into the
ENUM logic

b) it crashes

DEBUG | 20120801-234840.323 | repro | RESIP:DNS | 139927527098112 |
DnsResult.cxx:203 | DnsResult::lookup sip:+41xxxxxxx at sip5060.net
repro: DnsResult.cxx:210: void resip::DnsResult::lookup(const
resip::Uri&, const std::vector<resip::Data>&): Assertion `enums.size()
<= 1' failed.



I corrected the EnumSuffixes config, now it is

  EnumSuffixes = e164.arpa, e164-addr.sip5060.net

but the same assert/crash still occurs




More information about the resiprocate-devel mailing list