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

Adjusting the rerouting timer when using next_hop #166

Open
denyspozniak opened this issue Dec 24, 2020 · 4 comments
Open

Adjusting the rerouting timer when using next_hop #166

denyspozniak opened this issue Dec 24, 2020 · 4 comments

Comments

@denyspozniak
Copy link
Contributor

Hello!

We are using the next_hop parameter in the sbcprofile settings to reroute outgoing calls in case of failure on the primary destination.
Something like below:

next_hop=PEER_1/UDP,PEER_2/UDP
patch_ruri_next_hop=yes
next_hop_for_replies=yes
next_hop_1st_req=no

image

In the trace, you can see that the jump to the next peer occurs after 8 seconds.
How can we adjust this timer?

PS. Tried many variants from the sip_timers.h file, but no luck.
https://github.com/sems-server/sems/blob/master/core/sip/sip_timers.h

@juha-h
Copy link
Contributor

juha-h commented Dec 26, 2020

Best match might be STIMER_E. Are you using UDP to connect to the peers? If so, try with TCP or TLS. Then if connection setup fails there is no need wait for 1xx response.

@denyspozniak
Copy link
Contributor Author

Hello!
sip_timer_E=5000 did not help either.
Unfortunately, we cannot change the transport so easily.

@juha-h
Copy link
Contributor

juha-h commented Dec 28, 2020 via email

@rhusnain114
Copy link

this might work:

sip_timer_M=3000
sip_timer_E=3000
sip_timer_B=10000
sip_timer_C=32000
sip_timer_t2=5000

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

3 participants