<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    what should be happen, is the following:<br>
    <br>
    - invite from controller to first parameter (caller of desired call)<br>
    - after 200ok comes from 'caller', kamailio sends REFER to it
    pointing to the second parameter (callee of desired call) and then
    BYE, getting out of the initial call<br>
    - after getting the REFER, caller should send a new INVITE to callee<br>
    <br>
    You can run with debug=3 to see what happens. In kamailio config is
    nothing special needed, just allow traffic from kamailio to go back
    to kamailio.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 23/10/14 15:57, Paul Smith wrote:<br>
    </div>
    <blockquote
      cite="mid:9880321B-20E4-4FC8-AEA4-EAA0F9AF889D@claritytele.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div>I seem to be going round in circles… I am trying to use
        dlg_bridge() from the dialog module to establish a call between
        two SIP endpoints.  I have tested with Snom phones and linphone
        soft phone with the same result.</div>
      <div><br>
      </div>
      <div>I get an outbound call to the first (from) end point, I
        answer the phone…  and then nothing obvious happens.</div>
      <div><br>
      </div>
      <div>I can get this same result when using kamcmd or from within
        the kamailio.cfg.  For example using kamcmd:</div>
      <div><br>
      </div>
      <div><span style="background-color: rgb(32, 36, 45); color:
          rgb(245, 245, 245); font-family: 'Espresso Mono'; font-size:
          11px;">kamcmd dlg.bridge_dlg <a moz-do-not-send="true"
            href="sip:105@mykamailioip">sip:105@mykamailioip</a> <a
            moz-do-not-send="true" href="sip:106@mykamailioip">sip:106@mykamailioip</a>
          <a moz-do-not-send="true" href="sip:mykamailioip:5060">sip:mykamailioip:5060</a></span></div>
      <br>
      <div apple-content-edited="true">
        <div>I expected this to send an invite from "controller" via my
          KamailioIP to my registered local subscriber 105 (from), and
          then send a re-invite to 105 so that 105 creates a call leg to
          106 (to).</div>
        <div><br>
        </div>
        <div>The kamailio.cfg is pretty much the default.  I am running
          4.2 and rtpengine to proxy the RTP streams. </div>
        <div><br>
        </div>
        <div>Not sure if it is necessary or useful but I call setflag()
          at the start of the request_route() to set the Dialog flag.
           What else should I have included in the kamailio.cfg to make
          this work?</div>
      </div>
      <div><br>
      </div>
      Also is there any way to control the SDP in the initial invite
      from dlg_bridge.  By default I see RTP/AVP, with alaw and ulaw….
      I’d like to offer RTP/SAVP swell or instead of RTP/AVP.
      <div><br>
      </div>
      <div>Thanks </div>
      <div><br>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>