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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to