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

[sipxtapi-dev] SIPXTapi crashes


Hello ,

 
 I am getting exception in "UtlSListIterator iterator((UtlSList&)(*(sdpFields)));" it seems "sdpFields" does not have readable data....Can you suggest somthing?

void SdpBody::setRtpTcpRole(RtpTcpRoles role)

{

UtlString sRole;

if ((role & RTP_TCP_ROLE_ACTPASS) == RTP_TCP_ROLE_ACTPASS)

{

sRole = "actpass";

}

else if ((role & RTP_TCP_ROLE_ACTIVE) == RTP_TCP_ROLE_ACTIVE)

{

sRole = "active";

}

else

{

sRole = "passive";

}

UtlSListIterator iterator((UtlSList&)(*(sdpFields)));

NameValuePair* headerField;

UtlString value;

while((headerField = (NameValuePair*) iterator()))

{