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

Topology Hiding: missing 100 Trying #791

Closed
arovetto opened this issue Feb 12, 2016 · 9 comments
Closed

Topology Hiding: missing 100 Trying #791

arovetto opened this issue Feb 12, 2016 · 9 comments
Assignees
Milestone

Comments

@arovetto
Copy link

Hi
I'm using Opensips 2.2 (updated last week) as an outbound proxy using topology-hiding module.
I see when opensips received an INVITE and topology-hiding is activated (calling topology_hiding()), Opensips doesn't send back to the caller a 100-Trying response, causing re-INVITEs retransmission until the first provisional response from the called endpoint is received.

Thanks

Alessandro

@bogdan-iancu
Copy link
Member

Hi @arovetto, do you do any t_newtran() before the t_relay() ? or any async jump ?

@bogdan-iancu bogdan-iancu self-assigned this Feb 15, 2016
@bogdan-iancu bogdan-iancu added this to the 2.2 milestone Feb 15, 2016
@arovetto
Copy link
Author

Yes, an async rest_post request, and in the resume callback I'm calling topology_hiding("UC") and then t_relay("0x08").

@bogdan-iancu
Copy link
Member

@arovetto , a similar problem was reported couple of weeks ago and it is related to performing an explicit (or hidden) t_newtran before t_relay().
Let me come back with a fix !

@bogdan-iancu bogdan-iancu modified the milestones: 2.1, 2.2 Feb 15, 2016
@arovetto
Copy link
Author

Thank you

@bogdan-iancu
Copy link
Member

Hi @arovetto , there is fix in 2.2 (devel) trunk - see 0db778 - could you please confirm the fix ?

@arovetto
Copy link
Author

Thanks, it works!
Just a last question: with the new revision I've had to change a parameter in configuration file, "debug=4" with "log_level=4", but Opensips with the new parameter does not log at all. Do I need to change some other parameter in order to log via syslog?

Thanks again

@opensips-github
Copy link
Contributor

Bogdan, is it the same issue I reported in Jan? Glad if you've fixed it.
On Feb 16, 2016 3:02 AM, "arovetto" notifications@github.com wrote:

Thank you


Reply to this email directly or view it on GitHub
#791 (comment).


Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

@arovetto
Copy link
Author

with the new revision I've had to change a parameter in configuration file, "debug=4" with "log_level=4", but Opensips with the new parameter does not log at all. Do I need to change some other parameter in order to log via syslog

Adding "log_stderror=no" in configuration file, opensips started again to log.

@bogdan-iancu
Copy link
Member

@arovetto, Thank you for confirming the fix. I just did the backport to 1.11 and 2.1.

In regards to your question on log_level - this is just a replacement (as name) for the "debug", without changing its behavior - I tested it with or without log_stderror enabled and it seems to do the trick.
If you noticed some issues or inconsistency, please report it in a different ticket.

Thanks again, Bogdan

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

No branches or pull requests

3 participants