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.

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to