osip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [osip-dev] How to handle retransmitted INVITE


From: Aymeric Moizard
Subject: Re: [osip-dev] How to handle retransmitted INVITE
Date: Tue, 25 Aug 2015 17:18:43 +0200

Hi,

Please, try to be more precise!

There are some place where allocation may be released automatically, but after some period.

May be some code to show?
Aymeric

Le 25 août 2015 05:48, "Austin Einter" <address@hidden> a écrit :
Hi
I have observed below behaviours while handling retransmitted INVITES.

When a retransmitted INVITE is received, it is parsed using osip_parse api.
That gives me an event of type osip_event_t*.

Then a callback set for OSIP_IST_INVITE_RECEIVED_AGAIN is invoked.

Since it is coming after call is started, my state machine, does not process it.

However the event that was created (as we called osip_parse initially), turns out to be memory leak, it never gets freed.

Now if I free it in my state machine code, somewhere it crashes down the line.



Can you please guide whats the proper way to handle incoming retransmitted INVITEs.

Thanks
Austin



_______________________________________________
osip-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/osip-dev


reply via email to

[Prev in Thread] Current Thread [Next in Thread]