[SR-Users] MSILO add on deliver event route still no joy
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jun 9 17:49:29 CEST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140609/7f97fdad/attachment.html>
More information about the sr-users
mailing list