Skip to content
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

Problem with topos together with track_cseq_updates #1038

Closed
lamSteven opened this issue Mar 18, 2017 · 14 comments
Closed

Problem with topos together with track_cseq_updates #1038

lamSteven opened this issue Mar 18, 2017 · 14 comments

Comments

@lamSteven
Copy link

Description

When using the dialog track_cseq_updates feature (to increase the cseq for calls that are authenticated using the uac uac_auth) together with topos, it seems like a reply is not handled by topos.

Log Messages

I have a 2219 line debug log demonstrating this, i can supply this on request.

@miconda
Copy link
Member

miconda commented Mar 19, 2017

Attach the logs file here or make it available on some web site/pastebin -- they are useful to investigate.

Also, can you grab ngrep output for such situation (all sip messages passing through the server: ngrep -d any -qt -W byline port 5060).

@lamSteven
Copy link
Author

Thank you for your reply, i have attached somewhat anonymised logs.
If you need anything else, let me know!

topos-track_cseq_updates.txt
topos-track_cseq_updates-outgoing-sip.txt

@miconda
Copy link
Member

miconda commented Mar 22, 2017

What version of kamailio are you using (get the output of kamailio -v)?

@lamSteven
Copy link
Author

version: kamailio 4.4.5 (x86_64/linux)
From the "http://deb.kamailio.org/kamailio44 jessie main" repository.

@miconda
Copy link
Member

miconda commented Mar 28, 2017

I think I found a lead to the issue, need a bit of time to push the fix. Would you be able to test with master branch or version 5.0? There were more changes to topos and backporting them to 4.4 might not be straightforward.

@lamSteven
Copy link
Author

Sure, no problem!
I have a installation to test this on. Here i tested kamailio 5.0.0 with the same result.
If you want i can also give you ssh access so you can see what happens for yourself...

@miconda
Copy link
Member

miconda commented Mar 30, 2017

Can you try changing the order you load dialog and topos modules and test again? It may be a quick fix after looking a bit at the code -- even if working, I am planning a more consistent fix.

@lamSteven
Copy link
Author

I already gave this a try ;-)
It doesn't make any difference if i load topos.so before or after the dialog.so and uac.so modules

@miconda
Copy link
Member

miconda commented Mar 31, 2017

Hmm, can you provide log messages with debug=3 when topos is loaded before dialog module?

@miconda
Copy link
Member

miconda commented Apr 5, 2017

Just re-pinging in case you missed my previous comment. It will help troubleshooting as the issue seems the missing Via headers which should be added by topos callbacks when receiving the sip response.

@lamSteven
Copy link
Author

I'm sorry for the delay!

Attached you'll find two full debug logs: one with topos loaded before dialog, one with topos loaded after dialog.

topos_before_dialog.txt
topos_after_dialog.txt

@miconda
Copy link
Member

miconda commented Jan 24, 2018

Closing - topos got a lot of fixes and new code, if there is still an issue, open a new one and attach the logs using current master branch.

@miconda miconda closed this as completed Jan 24, 2018
@skrusty
Copy link

skrusty commented Mar 1, 2018

Is this fixed in 4 branch? (4.7 for example) or just 5.

@henningw
Copy link
Contributor

henningw commented Mar 1, 2018

I was not able to identify a dedicated fix with this issue. The best would be if you try to reproduce it with the newest release in the 5.1 branch or (even better) with current master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants