When using hep(0x003) and hep(0x004) the extracted ip address
would be written to the local ipstr buffer but when returning
to the script the buffer would already be partially overwritten.
Keep the data around long enough by storing the result in a
static buffer.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/896
-- Commit Summary --
* hep: Store ipstr in a static buffer for exporting to cfg
-- File Changes --
M src/modules/sipcapture/hep.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/896.patch
https://github.com/kamailio/kamailio/pull/896.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/896