<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I find no documentation on OpenSIPS to Media-Dispatcher
    communication protocol.<br>
    <br>
    All i just see is from logical point of view is that:<br>
    - OpenSIPS talk to MediaDispatcher trough a UnixSocket<br>
    - then Media-Dispatcher send a request to Media-Relay via TLS<br>
    - Media-Relay answer to Media Dispatcher the allocated IP/UDP ports
    for RTP relay<br>
    - Media Dispatcher provide the IP/UDP port allocated to OpenSIPS<br>
    - OpenSIPS mangle SDP attribute to tell the SIP clients where to
    send RTP<br>
    <br>
    Now, i am not finding details on OpenSIPS&lt;-&gt;MediaDispatcher
    protocol, but maybe it's something incredibly easy so that few lines
    of python could make it working.<br>
    <br>
    Any idea?<br>
    <br>
    Fabio<br>
    <br>
    On 03/01/11 12.12, David Ponzone wrote:
    <blockquote cite="mid:2B001098-F7F6-4A15-AF1E-D7075D0ECBBB@ipeva.fr"
      type="cite">You would need to implement the Mediaproxy module for
      FreeSWITCH.
      <div><br>
        <div>
          <span class="Apple-style-span" style="border-collapse:
            separate; color: rgb(0, 0, 0); font-family: Helvetica;
            font-size: 14px; font-style: normal; font-variant: normal;
            font-weight: normal; letter-spacing: normal; line-height:
            normal; orphans: 2; text-indent: 0px; text-transform: none;
            white-space: normal; widows: 2; word-spacing: 0px;"><span
              class="Apple-style-span" style="border-collapse: separate;
              color: rgb(0, 0, 0); font-family: Helvetica; font-size:
              14px; font-style: normal; font-variant: normal;
              font-weight: normal; letter-spacing: normal; line-height:
              normal; orphans: 2; text-indent: 0px; text-transform:
              none; white-space: normal; widows: 2; word-spacing: 0px;">
              <div style="word-wrap: break-word;">
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span"
                      color="#1c00ff">David Ponzone  </font><font
                      class="Apple-style-span" color="#000000" size="3"><span
                        class="Apple-style-span" style="font-size:
                        12px;">Direction Technique</span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span" size="3"><span
                        class="Apple-style-span" style="font-size:
                        13px;">email: <a moz-do-not-send="true"
                          href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span" size="3"><span
                        class="Apple-style-span" style="font-size:
                        13px;">tel:      01 74 03 18 97</span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><font class="Apple-style-span" size="3"><span
                        class="Apple-style-span" style="font-size:
                        13px;">gsm:   06 66 98 76 34</span></font></font></div>
                <div><font class="Apple-style-span" face="'Helvetica
                    Neue'"><br>
                  </font></div>
                <div><font class="Apple-style-span" color="#1c00ff"
                    face="'Helvetica Neue'">Service Client<span
                      class="Apple-converted-space"> </span></font><font
                    class="Apple-style-span" face="'Helvetica Neue'"><font
                      class="Apple-style-span" color="#ff0000">IP</font></font><font
                    class="Apple-style-span" color="#1c00ff"
                    face="'Helvetica Neue'">eva</font></div>
                <div><font class="Apple-style-span" color="#1c00ff"
                    face="'Helvetica Neue'"><span
                      class="Apple-style-span" style="color: rgb(0, 0,
                      0); font-family: Helvetica;">
                      <div><font class="Apple-style-span"
                          face="'Helvetica Neue'"><font
                            class="Apple-style-span" size="3"><span
                              class="Apple-style-span" style="font-size:
                              13px;">tel:      0811 46 26 26</span></font></font></div>
                      <div><font class="Apple-style-span"
                          face="'Helvetica Neue'" size="3"><span
                            class="Apple-style-span" style="font-size:
                            13px;">
                            <div style="margin: 0px; font: 10px Arial;
                              color: rgb(0, 34, 243);"><span
                                style="text-decoration: underline;"><a
                                  moz-do-not-send="true"
                                  href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span
                                style="color: rgb(101, 104, 149);">  - 
                                 <span style="color: rgb(0, 34, 243);
                                  text-decoration: underline;"><a
                                    moz-do-not-send="true"
                                    href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div>
                            <div style="margin: 0px; font: 10px Arial;
                              color: rgb(0, 34, 243);"><span
                                class="Apple-style-span"
                                style="text-decoration: underline;"><br>
                              </span></div>
                            <div style="margin: 0px; font: 10px Arial;
                              color: rgb(0, 34, 243);"><span
                                class="Apple-style-span">
                                <div style="margin: 0px; text-align:
                                  justify; font: 10px Arial; color:
                                  rgb(192, 192, 192);"><i>Ce message et
                                    toutes les pièces jointes sont
                                    confidentiels et établis à
                                    l'intention exclusive de ses
                                    destinataires. Toute utilisation ou
                                    diffusion non autorisée est
                                    interdite. Tout message électronique
                                    est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline
                                    toute responsabilité au titre de ce
                                    message s'il a été altéré, déformé
                                    ou falsifié. Si vous n'êtes pas
                                    destinataire de ce message, merci de
                                    le détruire immédiatement et
                                    d'avertir l'expéditeur.</i></div>
                                <div style="text-decoration: underline;
                                  text-align: justify;"><font
                                    class="Apple-style-span"
                                    color="#c0c0c0"><i><br>
                                    </i></font></div>
                              </span></div>
                          </span></font></div>
                    </span></font></div>
              </div>
            </span><br class="Apple-interchange-newline">
          </span><br class="Apple-interchange-newline">
        </div>
        <br>
        <div>
          <div>Le 03/01/2011 à 11:59, Fabio Pietrosanti (naif) a écrit :</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div>Hi all,<br>
              <br>
              to solve my problem of moving deterministically (based on
              source ip) the<br>
              RTP flow to another box i was wondering whether it's
              possible to connect<br>
              FS + MediaProxy .<br>
              <br>
              The typical infrastructure requirement i have (1 SIP
              server + multiple<br>
              RTP relay) is typically done with:<br>
              - 1 OpenSIPS/Kamailio + Multiple MediaProxy<br>
              <br>
              Well, i am wondering whether it could be done with:<br>
              - 1 FreeSWITCH  + Multiple Mediaproxy<br>
              <br>
              I read there about the mediaproxy-ng<br>
              <a moz-do-not-send="true"
                href="http://mediaproxy-ng.org/wiki/InstallationGuide">http://mediaproxy-ng.org/wiki/InstallationGuide</a>
              and it has a protocol<br>
              dispatcher.<br>
              <br>
              Does anyone have an idea on how to be able to have FS
              dispatching calls<br>
              for RTP proxy to multiple mediaproxy?<br>
              <br>
              Fabio<br>
              <br>
              <br>
              On 30/12/10 12.00, Fabio Pietrosanti (naif) wrote:<br>
              <blockquote type="cite">Hi Steven,<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">if i understand correctly in your
                scenario "C2" is SIP registered to FS2.<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">While i would like to have C1 and
                C2 both SIP registered to FS1, but if<br>
              </blockquote>
              <blockquote type="cite">they match certain parameters
                (that's application logic), i want their<br>
              </blockquote>
              <blockquote type="cite">RTP flow to goes proxed trough
                FS2.<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">FS1 is in Europe.<br>
              </blockquote>
              <blockquote type="cite">FS2 is in India.<br>
              </blockquote>
              <blockquote type="cite">C1 and C2 are in India.<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">C1 and C2 are connected to FS1 in
                Europe for SIP.<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">I would like to have the flow as
                follow:<br>
              </blockquote>
              <blockquote type="cite">SIP Flow: C1 -&gt; FS1 -&gt; C2<br>
              </blockquote>
              <blockquote type="cite">RTP flow: C1 -&gt; FS2 -&gt; C2<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">Obviously FS1 need in some way to
                be able to "instruct" C1 and C2 to go<br>
              </blockquote>
              <blockquote type="cite">trough FS2, and FS2 to handle RTP
                relay.<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">From my basic feeling i would need
                to move to a Kamailio+RTPProxy<br>
              </blockquote>
              <blockquote type="cite">solutions, but if FS could have
                the flexibility to implement such<br>
              </blockquote>
              <blockquote type="cite">solution it would be *much better*
                as i am already FS based.<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">Also if some custom development is
                required, i would be happy to sponsor<br>
              </blockquote>
              <blockquote type="cite">some bounty about it.<br>
              </blockquote>
              <blockquote type="cite"><br>
              </blockquote>
              <blockquote type="cite">Fabio<br>
              </blockquote>
              <br>
              <br>
              _______________________________________________<br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>