Hello,
On 09/06/14 17:41, Roberto Fichera
wrote:
[...]
your patch seems a bit to complex -- I didn't figure out why you
store the message in pkg memory.
Ok! So I will need to shm_malloc() the memory in such case, right?
I don't get why you need to do that at all. If you need to access
from, to, etc..., you can get them from the SIP response. You go in
dangerous zone as you do that cloning.
Because you want to execute the event route on 200ok, the best is to
run the event route with the SIP response structure.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda