New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sipcapture: table name corrupted #566
Comments
correct commit where it's added is 37afdd1 Kind regards, |
sorry, but I don't really understand why its corrupted. The timestamp as part of table name is a new design that works well, without any issues. https://github.com/sipcapture/homer-api/blob/master/examples/sipcapture/sipcapture.kamailio |
Hi, I'm testing on 4.4. The 'new design' isn't documented, so I can't figure out how the name will be generated.
sipcapture uses given table name as format string, but the final result was
The table->s not necessary ends with '\0', because it's part of Kamailio internal str structure. Parsing loop in parse_table_names function doesn't add '\0' at the end of table name.
BTW, can you explain what 'table->s' will contain (format string required by strftime) using provided example config ? Thanks, |
the docs are here: https://github.com/sipcapture/homer/wiki since H5 we generate table name depends on message type and datestamp: I have pointed you already to the new kamailio's config: https://github.com/sipcapture/homer-api/blob/master/examples/sipcapture/sipcapture.kamailio#L814 https://github.com/sipcapture/homer-api/blob/master/examples/sipcapture/sipcapture.kamailio#L849 https://github.com/sipcapture/homer-api/blob/master/examples/sipcapture/sipcapture.kamailio#L855 at the end (L855) you push the generated table name to sip_capture function modparam "table_name" is only for H3 Wbr, On 15 April 2016 at 09:52, Seudin Kasumovic notifications@github.com
|
Is the modparam table_name still needed? Like, is it making possible to run kamailio 4.4 with homer 3? Or, if it is not longer needed, then it should be removed -- it can be confusing and messing up things. |
I thought on Kamailio docs. Thanks for links. So, workaround in my setup is to always call Kind regards and thanks, On Fri, Apr 15, 2016 at 10:03 AM, Alexandr Dubovikov <
MSC Seudin Kasumovic |
this is only for back compatibility to H3. We have a lot users who still use it in production. So better keep it until Wbr, |
@seudin thank you Wbr, |
Is this sorted out? Does it need a further action (e.g., adding some notes to the docs) or can be closed? |
@miconda I will update the docs during this week. |
Hoping @adubovikov will get back to this soon to close this issue. |
sorry guys, a lot stuff... yes, I will close it on this WE... |
ok, the docs are in. I close the ticket, please re-open if anything. |
In commit c1863d7 added homer5 functionality and table name is built based on timestamp, but corrupted. The added functionality isn't documented too.
Q: why it is mandatory to build table name based on time stamp?
Kind regards,
Seudin
The text was updated successfully, but these errors were encountered: