< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] Encountered the exception when using the IPv6.


Hi all, I have tried using the IPv6 with my Application which built base on resip 1.7.

I running the repro on a PC, the repro IPv6 address is: V6:fe80::250:56FF:fec0:1
This is my code:

Data userUri = "sip:101@V6:fe80::250:56FF:fec0:1";
NameAddr from(userUri);

The resip throw exception in below function:

void
ParseBuffer::fail(const char* file, unsigned int line, const Data& detail) const
{
    Data errmsg;
    DataStream ds(errmsg);
    ds << file << ":" << line
       << ", Parse failed ";

    if (detail != Data::Empty) ds << detail << ' ' ;

    ds << "in context: " << mErrorContext
       << std::endl
       << escapeAndAnnotate(mBuff, mEnd - mBuff, mPosition);
    ds.flush();

   throw ParseException(errmsg, mErrorContext, file, line);
}

--
havesoftware, Inc.
http://www.havesoftware.com


Jakson Kalsson
Senior Programmer
jakkalsoon@xxxxxxxxxxxxxxxx