Re: [sr-dev] [kamailio/kamailio] hep: Store ipstr in a static buffer for exporting to cfg (#896)

2016-12-21 Thread Holger Freyther
Merged #896. -- 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#event-901766931___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] hep: Store ipstr in a static buffer for exporting to cfg (#896)

2016-12-21 Thread Holger Freyther
Thank you! -- 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#issuecomment-268554748___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] hep: Store ipstr in a static buffer for exporting to cfg (#896)

2016-12-21 Thread Alexandr Dubovikov
ok. lets do it this way! Please merge! -- 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#issuecomment-268488297___ sr-dev mailing list

Re: [sr-dev] [kamailio/kamailio] hep: Store ipstr in a static buffer for exporting to cfg (#896)

2016-12-21 Thread Alexandr Dubovikov
for me it looks ok. But make it more sense copy all data to local pseudo variables in the kamailio.cfg and proceed it ? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] hep: Store ipstr in a static buffer for exporting to cfg (#896)

2016-12-21 Thread Holger Freyther
Dear @adubovikov, please have a look if that is the right way to fix it and if not tell what a proper fix would look lile. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] hep: Store ipstr in a static buffer for exporting to cfg (#896)

2016-12-21 Thread Holger Freyther
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