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()))
{
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/