First of all, please, do not go off te list.
On 1/4/08, Himanshu Arora <ansh.ja gmail.com> wrote:
> I have another Issue..I have developed a SipXtapi
project...now i tested it
> on a fresh XP machine..By fresh, i mean there is no
visual studio
> environment...now, as soon as i call sipxcallconnect(),
my application
> hangs...while on my development machine it is working
fine....Why is this
> happenning?
I do tno think this is because of lack of VS on the machine.
Probably there
is some kind of race condition causing deadlock somewhere.
One thing
to check - you should not block sipXtapi callback function.
From docs:
" Application developers should not block this event
callback thread -- doing
so will cause deadlocks and will slow down call processing.
You should
re-post these events to your own thread context for
handling. The
sipxDuplicateEvent and sipxFreeDuplicatedEvent methods are
available
to copy the event callback data (The data is only available
for the duration
of the callback). For example, upon receiving the callback,
copy the data
using sipxDuplicateEvent(...), post the copied data to your
event callback,
process it, and lastly free the event data using
sipxFreeDuplicatedEvent(...). "
--
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/
|