On Mon, Feb 23, 2009 at 9:39 AM, Alexander Chemeris <alexander.cheme...@sipez.com> wrote: > On Sun, Feb 22, 2009 at 10:44 PM, Paulo Vicentini > <vicentini.pa...@gmail.com> wrote: >> if (mpDecode != NULL) works ok >> but >> if (mAddress == 0 && mpDecode != NULL) does not work because mAddress >> prevents to enter in reset code > > Hum, then we need a isInitialized flag or smth like that, I'll look into > a bit later.
I did stupid mistake, if's condition should be read as (mAddress != 0 && mpDecode != NULL). This fIxed version is now checked in to main branch as rev.11286. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 _______________________________________________ sipxtapi-dev mailing list sipxtapi-dev@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/