[OpenSIPS-Users] Failed to engage rtpproxy for trunk

Saint Michael venefax at gmail.com
Tue Jul 5 13:34:06 UTC 2022


The public IP is the only public IP of the box.
I have 10 processes, does this configuration look normal?
grep udp /etc/systemd/system/rtpproxy*.service
rtpproxy1.service:   -s udp:127.0.0.1:7890 -F -L 10240 -m 10000 -M
15000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy2.service:   -s udp:127.0.0.1:7891 -F -L 10240 -m 15000 -M
20000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy3.service:   -s udp:127.0.0.1:7892 -F -L 10240 -m 20000 -M
25000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy4.service:   -s udp:127.0.0.1:7893 -F -L 10240 -m 25000 -M
30000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy5.service:   -s udp:127.0.0.1:7894 -F -L 10240 -m 30000 -M
35000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy6.service:   -s udp:127.0.0.1:7895 -F -L 10240 -m 35000 -M
40000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy7.service:   -s udp:127.0.0.1:7896 -F -L 10240 -m 40000 -M
45000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy8.service:   -s udp:127.0.0.1:7897 -F -L 10240 -m 45000 -M
50000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy9.service:   -s udp:127.0.0.1:7898 -F -L 10240 -m 50000 -M
55000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
rtpproxy10.service:   -s udp:127.0.0.1:7899 -F -L 10240 -m 55000 -M
60000 -T 20 -d WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889


On Tue, Jul 5, 2022 at 3:20 AM Răzvan Crainea <razvan at opensips.org> wrote:
>
> Hi, Michael!
>
> "port 0" is returned by RTPProxy when an error is detected by RTPProxy,
> and usually the error is that it cannot bind the IP you asked to bind on
> (pub.lic.i.p). You should check the rtpproxy logs for more information.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 7/4/22 15:57, Saint Michael wrote:
> > I keep getting this error:
> > SCRIPT: Failed to engage rtpproxy for trunk XX.XXX.XX.135 -
> > 104678ZWJjOWU2ZDlkZWQ3MmE0MThjZWEzNTNlMzVhOTVhYTg
> >   ERROR:rtpproxy:force_rtp_proxy_body: incorrect port 0 in reply from rtp proxy
> >
> > The call comes from another opensips box with rtpproxy enabled.
> > On connect, I get this SDP from the carrier
> >
> > Content-Length: 209
> >
> >          v=0
> >          o=- 655206240 655206240 IN IP4 XXX.XX.XX.XX
> >          s=ENSResip
> >          c=IN IP4 XX.XX.XX.XX
> >          t=0 0
> >          m=audio 18634 RTP/AVP 0 101
> >          a=rtpmap:0 PCMU/8000
> >          a=rtpmap:101 telephone-event/8000
> >          a=fmtp:101 0-15
> >          a=ptime:20
> >
> > My proxy's configuration is
> >
> >   cat rtpproxy1.service
> > [Unit]
> > Description=RTPProxy1
> > After=network.target
> > Requires=network.target
> >
> > [Service]
> > Type=forking
> > PIDFile=/var/run/rtpproxy1.pid
> > #Environment='OPTIONS= -F -L 10240 -m 20000 -M 30000 -T 20 -d INFO:LOG_LOCAL5'
> >
> > Restart=on-failure
> > RestartSec=5
> >
> >
> > ExecStart=/usr/local/bin/rtpproxy -p /var/run/rtpproxy1.pid -l pub.lic.i.p \
> >     -s udp:127.0.0.1:7890 -F -L 10240 -m 10000 -M 15000 -T 20 -d
> > WARN:LOG_LOCAL5 -n tcp:127.0.0.1:7889
> > ExecStop=/usr/bin/pkill -F /var/run/rtpproxy1.pid
> >
> >
> > StandardOutput=syslog
> > StandardError=syslog
> > SyslogIdentifier=rtpproxy1
> > SyslogFacility=local5
> >
> > TimeoutStartSec=10
> > TimeoutStopSec=10
> >
> > [Install]
> > WantedBy=multi-user.target
> > ----------------------
> > version:
> > version: opensips 3.1.10 (x86_64/linux)
> > flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> > Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> > ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> > MAX_URI_SIZE 1024, BUF_SIZE 65535
> > poll method support: poll, epoll, sigio_rt, select.
> > git revision: 45c8875d5
> > main.c compiled on 12:08:55 Jul  4 2022 with gcc 9
> > --------------------------------
> > there is a single call open, no traffic, for this is a development box
> >
> >
> > Any idea?
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list