<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<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' <sr-users@lists.kamailio.org><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 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 href="https://www.facebook.com/pages/CyraCom-LLC/134704783312720">
<span style="color:windowtext;text-decoration:none"><img border="0" width="16" height="16" style="width:.1666in;height:.1666in" id="Picture_x0020_22" src="cid:image006.png@01D2C4ED.D1CC8320" alt="cid:image001.gif@01D1C9C9.C4E8B6D0"></span></a> <a href="https://twitter.com/cyracom"><span style="color:windowtext;text-decoration:none"><img border="0" width="16" height="16" style="width:.1666in;height:.1666in" id="Picture_x0020_23" src="cid:image007.png@01D2C4ED.D1CC8320" alt="cid:image002.gif@01D1C9C9.C4E8B6D0"></span></a> <a href="http://www.linkedin.com/company/cyracom"><span style="color:windowtext;text-decoration:none"><img border="0" width="16" height="16" style="width:.1666in;height:.1666in" id="Picture_x0020_24" src="cid:image008.png@01D2C4ED.D1CC8320" alt="cid:image003.gif@01D1C9C9.C4E8B6D0"></span></a> <a href="http://www.cyracom.com/blog/"><span style="color:windowtext;text-decoration:none"><img border="0" width="16" height="16" style="width:.1666in;height:.1666in" id="Picture_x0020_25" src="cid:image009.png@01D2C4ED.D1CC8320" alt="cid:image004.gif@01D1C9C9.C4E8B6D0"></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 border="0" width="200" height="30" style="width:2.0833in;height:.3166in" id="Picture_x0020_26" src="cid:image010.png@01D2C4ED.D1CC8320" alt="cid:image005.png@01D1C9C9.C4E8B6D0"></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>
</body>
</html>