<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>is the dialog already answered at that time? Can you see it via
      kamcmd dlg.list ?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04.05.17 22:48, Pranathi Venkatayogi
      wrote:<br>
    </div>
    <blockquote
      cite="mid:bccfd706b0794e0681eb31688da4cf4c@TACEXH01.cyracom.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">When I use dlg_refer I get the following
          error:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:black;background:white">2689 May  4 16:09:56
            devsip00 /sbin/kamailio[24617]: exec: ***
            cfgtrace:failure_route=[HTTP_ALLOCATE_RESPONSE]
            c=[routingdev.cfg] l=567 a=26 n=dlg_refer</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#6D6D6D;background:white">2690 May  4
            16:09:56 devsip00 /sbin/kamailio[24617]: DEBUG: dialog
            [dlg_hash.c:690]: dlg_lookup(): ref dlg 0x7f92d19835e8 with
            1 -> 2</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#6D6D6D;background:white">2691 May  4
            16:09:56 devsip00 /sbin/kamailio[24617]: DEBUG: dialog
            [dlg_hash.c:692]: dlg_lookup(): dialog id=10603 found on
            entry 2058</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#6D6D6D;background:white">2692 May  4
            16:09:56 devsip00 /sbin/kamailio[24617]: DEBUG: dialog
            [dlg_hash.c:452]: build_new_dlg(): new dialog on hash 2058</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#6D6D6D;background:yellow;mso-highlight:yellow">2693
            May  4 16:09:56 devsip00 /sbin/kamailio[24617]: ERROR:
            dialog [dlg_req_within.c:85]: build_dlg_t(): no contact
            available</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";background:yellow;mso-highlight:yellow"><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#6D6D6D;background:yellow;mso-highlight:yellow">2694
            May  4 16:09:56 devsip00 /sbin/kamailio[24617]: ERROR:
            dialog [dlg_transfer.c:188]: dlg_refer_callee(): failed to
            create dlg_t</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal" style="background:white"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:#6D6D6D;background:white">2695 May  4
            16:09:56 devsip00 /sbin/kamailio[24617]: DEBUG: dialog
            [dlg_hash.c:922]: dlg_unref_helper(): unref op on
            0x7f92d19835e8 with 1 from dlg_hash.c:940</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b>From:</b> Pranathi Venkatayogi <br>
              <b>Sent:</b> Thursday, May 04, 2017 5:28 AM<br>
              <b>To:</b> 'Kamailio (SER) - Users Mailing List'
              <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
              <b>Subject:</b> How does dlg_bridge work?<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have a TEXT call from cust1@somedomain to
          Kamailio. I have an agent who is logged in, but is not in any
          call yet.<o:p></o:p></p>
        <p class="MsoNormal">I want now refer cust1@somedomain to talk
          to agent directly. How do I do that?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I tried -  dlg_bridge("$dlg(from_contact)",
          "$var(agentSipAddress)","");<o:p></o:p></p>
        <p class="MsoNormal">I get an “audio call” from “Kamailio” to
          customer, but nothing happens on the agent side.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I tried “dlg_refer” as well but nothing
          happens at all.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Should I handcraft “Refer” message using
          uac module and send to “customer” instead?<o:p></o:p></p>
        <p class="MsoNormal">Please suggest.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks<o:p></o:p></p>
        <p class="MsoNormal"><b>Pranathi Venkatayogi<o:p></o:p></b></p>
        <p class="MsoNormal"><i>System Developer II<o:p></o:p></i></p>
        <p class="MsoNormal">(520) 745-9447 x4466<o:p></o:p></p>
        <p class="MsoNormal"><a moz-do-not-send="true"
            href="http://www.cyracom.com/"><span style="color:blue">www.cyracom.com</span></a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Join us:   <a moz-do-not-send="true"
            href="https://www.facebook.com/pages/CyraCom-LLC/134704783312720">
            <span style="color:windowtext;text-decoration:none"><img
                style="width:.1666in;height:.1666in"
                id="Picture_x0020_22"
                src="cid:part2.247347FD.FBB387E8@gmail.com"
                alt="cid:image001.gif@01D1C9C9.C4E8B6D0" border="0"
                height="16" width="16"></span></a> <a
            moz-do-not-send="true" href="https://twitter.com/cyracom"><span
              style="color:windowtext;text-decoration:none"><img
                style="width:.1666in;height:.1666in"
                id="Picture_x0020_23"
                src="cid:part4.21E7727E.7DE21B75@gmail.com"
                alt="cid:image002.gif@01D1C9C9.C4E8B6D0" border="0"
                height="16" width="16"></span></a> <a
            moz-do-not-send="true"
            href="http://www.linkedin.com/company/cyracom"><span
              style="color:windowtext;text-decoration:none"><img
                style="width:.1666in;height:.1666in"
                id="Picture_x0020_24"
                src="cid:part6.B5180FDB.84FC112A@gmail.com"
                alt="cid:image003.gif@01D1C9C9.C4E8B6D0" border="0"
                height="16" width="16"></span></a> <a
            moz-do-not-send="true" href="http://www.cyracom.com/blog/"><span
              style="color:windowtext;text-decoration:none"><img
                style="width:.1666in;height:.1666in"
                id="Picture_x0020_25"
                src="cid:part8.3A35C8AE.BB6448BD@gmail.com"
                alt="cid:image004.gif@01D1C9C9.C4E8B6D0" border="0"
                height="16" width="16"></span></a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;color:#A6A6A6"><img
              style="width:2.0833in;height:.3166in"
              id="Picture_x0020_26"
              src="cid:part10.C0CC20F8.659BD1CB@gmail.com"
              alt="cid:image005.png@01D1C9C9.C4E8B6D0" border="0"
              height="30" width="200"></span><span
            style="font-size:8.0pt;font-family:"Calibri
            Light",sans-serif;color:gray"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:8.0pt;font-family:"Calibri
            Light",sans-serif;color:gray"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:8.0pt;color:#A6A6A6">DISCLAIMER:
            This e-mail and any attached content may contain
            confidential or privileged material delivered for the sole
            use of the intended recipient(s). Any review, use,
            distribution or disclosure by others is strictly prohibited.
            If you are not the intended recipient (or authorized to
            receive for the recipient), please contact the sender
            immediately by reply e-mail and delete all copies of this
            message. It is the recipient's responsibility to scan this
            e-mail and any attachments for viruses. The content of this
            e-mail message, including any attachments, does not comprise
            a contract or a portion of a contract, and so does not bind
            CyraCom International, Inc. or any of its agents or
            subsidiaries. CyraCom, LLC and Voiance Language Services,
            LLC are wholly owned subsidiaries of CyraCom International,
            Inc.<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.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-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>