I believe that the opensips should act as your ingress interface . So it should be single ton or service . i.e. one container per node installation .and it takes the host network
And you can manage load distribution for other sip proxies using docker events to right down the dispatcher list Br, Shabana -----Original Message----- From: Users <[email protected]> On Behalf Of [email protected] Sent: Friday, July 29, 2022 2:00 PM To: [email protected] Subject: Users Digest, Vol 168, Issue 17 Send Users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7Ca.shabana%40cequens.com%7C60cc179bd458464cdefe08da7159f512%7Cf9a01c91467346cf9e27d48185bb3644%7C0%7C0%7C637946928422026547%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KaHDVCvtwY7mBpWiDJ2tUOp3TQL69paXrNH3rwq3S8g%3D&reserved=0 or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. Opensips/Rtpengine Docker to Docker Swarm ([email protected]) ---------------------------------------------------------------------- Message: 1 Date: Fri, 29 Jul 2022 10:17:45 +0000 From: <[email protected]> To: "[email protected]" <[email protected]> Subject: [OpenSIPS-Users] Opensips/Rtpengine Docker to Docker Swarm Message-ID: <1974_1659089865_62e3b3c9_1974_117_1_83dd471ccd0c42f2aa09d7f57f882...@orange.com> Content-Type: text/plain; charset="utf-8" Hi there, I successfully use a containerized SBC with Opensips/Rtpengine on a single virtual machine with a docker engine. I need to do it on a Docker Swarm context. I can't manage to set up this Opensips/RTP SBC in this SWARM context. On a single VM with docker, the container has only one network interface. Network is easy to configure for container and server. Docker SWARM brings an overlay network, instead of the host network, and each container has several networks interfaces. It gets complicated, Opensips container is not reachable from a Sip Phone, like microsip. Do you have a solution or a feedback to give me ? Thanking you. -- The Opensips and Rtpengine configurations are as follows: opensips.cfg (version 3.2) * alias=udp:CONTAINER_IP:5060 * alias=udp:VIRTUAL_MACHINE_IP:5060 * advertised_address=VIRTUAL_MACHINE_IP * advertised_port=5060 * socket=udp:0.0.0.0:5060 rtpengine * OPTIONS="$OPTIONS -i internal/${CONTAINER _IP} -i external/${CONTAINER _IP}" * [ -z "$VIRTUAL_MACHINE _IP " ] || OPTIONS="$OPTIONS!$VIRTUAL_MACHINE _IP" Julien Orange Restricted _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fpipermail%2Fusers%2Fattachments%2F20220729%2F380fe818%2Fattachment-0001.html&data=05%7C01%7Ca.shabana%40cequens.com%7C60cc179bd458464cdefe08da7159f512%7Cf9a01c91467346cf9e27d48185bb3644%7C0%7C0%7C637946928422026547%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oH5Q0RfuJYeKenHQ11KBd%2FGsxzy%2FUgLR3O1pMw0sNd8%3D&reserved=0> ------------------------------ Subject: Digest Footer _______________________________________________ Users mailing list [email protected] https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=05%7C01%7Ca.shabana%40cequens.com%7C60cc179bd458464cdefe08da7159f512%7Cf9a01c91467346cf9e27d48185bb3644%7C0%7C0%7C637946928422026547%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KaHDVCvtwY7mBpWiDJ2tUOp3TQL69paXrNH3rwq3S8g%3D&reserved=0 ------------------------------ End of Users Digest, Vol 168, Issue 17 ************************************** _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
