Open yboujraf opened 3 years ago
Hello, both public and private. Otherwise RTPPROXY won't be able to bind the the local address.
Dear @davidcsi
Thanks for the reply.
In my setup I have only one NIC then I need to add both ip (pub and private).
In other setup I have 2x NIC, one for the internal access of sip codec and the second is for the external access then ?
In RTPPROXY do I need 3x IP? One for internal, one for external who will be NATTed and third for public IP ?
Best regards
Dear,
I still have some issues.
FLOW
Two sipphone on same network (private) everything are ok
One sipphone on private and One sipphone external IP (4G Mobile), after 30s the connection close.
I captured the transaction and I can see that.
rtpproxy.txt stop_after_30_s.zip
Let me know if you need more logs.
Best Regards
Entity on the public IPs is not ACKing the 200 Ok so the call ends after 30 seconds.
Get a trace from the public side and look at why the public io is not confirming the 200.
Please post a trace (text based).
On Wed, 29 Sep 2021 at 11:25, yboujraf @.***> wrote:
Dear,
I still have some issues.
- kamailio & rtpproxy on private network.
FLOW
-
Two sipphone on same network (private) everything are ok
One sipphone on private and One sipphone external IP (4G Mobile), after 30s the connection close.
I captured the transaction and I can see that.
- The sipphone on the private network continue to send INVITE even the RTP is enabled
- after 30S, the sipphone on private network send a BYE and close the communication
[image: 01-iphone - desktop1 - call stop after 30 s] https://user-images.githubusercontent.com/6151258/135251117-55e6a9e9-16ff-45b1-932a-43160e723733.png
rtpproxy.txt https://github.com/davidcsi/kamailio-private-public/files/7251046/rtpproxy.txt stop_after_30_s.zip https://github.com/davidcsi/kamailio-private-public/files/7251014/stop_after_30_s.zip
Let me know if you need more logs.
Best Regards
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davidcsi/kamailio-private-public/issues/10#issuecomment-930048727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG4L4AKNNDJPHHNY7FL72DUELSR3ANCNFSM5E5CS66A .
-- Regards,
David Villasmil email: @.*** phone: +34669448337
Dear @davidcsi
I am still using RTPPROXY.
I have only one NIC interface on my server with an private ip address and using nat 1:1
I am confused about :
What that means the public & private ip address in the setup for RTPPROXY and Kamailio ?
Kamailio
!define PUBLIC_IP "xxx.xxx.xxx.xxx"
!define PRIVATE_IP "192.168.1.19"
!define PRIVATE_NET "192.168.1.0/24"
RTPPROXY
Defaults for rtpproxy
The control socket.
CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"
To listen on an UDP socket, uncomment this line:
CONTROL_SOCK=udp:127.0.0.1:7722
Additional options that are passed to the daemon.
EXTRA_OPTS="-l $ipv4private/$ipv4public -m $rtpport_min -M $rtpport_max -d $syslog"`
About RTPPROXY, do I need to assign ONLY the public ip address and/or private ip address ?
Best Regards