[sr-dev] [kamailio/kamailio] rtpengine: session refresh, do not try use other rtpengine node on rtpengine node failure (#2713)

sergey-safarov notifications at github.com
Sun Apr 18 18:13:48 CEST 2021


Also looks as to this issue relevant to another use case.
After call established on RTPengine host I execute
```
rtpengine-ctl set maxsessions 0
```
Now when Kamailio receives ReINVITE in Kamailio log I can see
```
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one10(32768) ERROR: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2658]: rtpp_function_call(): queried nodes limit reached
```
If here will be added carriage returns and line feed symbols, then we can see.
```
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) INFO: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2701]: rtpp_function_call(): proxy udp6:rtp-us-east-1a-7.nga911.com:2223 has reached its load limit (Parallel session limit reached) - trying next one
10(32768) ERROR: {1 34826098 INVITE e139ffde-a05a-11eb-8f1b-f7192ebf791d} rtpengine [rtpengine.c:2658]: rtpp_function_call(): queried nodes limit reached
```
According to logs rtpengine Kamailio module
1. do not use other available RTPengine nodes, during a test available another RTPengine node;
2. send again and again request to same failed not available RTPengine node.


-- 
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/issues/2713#issuecomment-822017040
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210418/309acd28/attachment-0001.htm>


More information about the sr-dev mailing list