Hello,
is the dialog already answered at that time? Can you see it via kamcmd
dlg.list ?
Cheers,
Daniel
On 04.05.17 22:48, Pranathi Venkatayogi wrote:
When I use dlg_refer I get the following error:
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
2690 May 4 16:09:56 devsip00 /sbin/kamailio[24617]: DEBUG: dialog
[dlg_hash.c:690]: dlg_lookup(): ref dlg 0x7f92d19835e8 with 1 -> 2
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
2692 May 4 16:09:56 devsip00 /sbin/kamailio[24617]: DEBUG: dialog
[dlg_hash.c:452]: build_new_dlg(): new dialog on hash 2058
2693 May 4 16:09:56 devsip00 /sbin/kamailio[24617]: ERROR: dialog
[dlg_req_within.c:85]: build_dlg_t(): no contact available
2694 May 4 16:09:56 devsip00 /sbin/kamailio[24617]: ERROR: dialog
[dlg_transfer.c:188]: dlg_refer_callee(): failed to create dlg_t
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
*From:* Pranathi Venkatayogi
*Sent:* Thursday, May 04, 2017 5:28 AM
*To:* 'Kamailio (SER) - Users Mailing List' <sr-users(a)lists.kamailio.org>
*Subject:* How does dlg_bridge work?
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.
I want now refer cust1@somedomain to talk to agent directly. How do I
do that?
I tried - dlg_bridge("$dlg(from_contact)",
"$var(agentSipAddress)","");
I get an “audio call” from “Kamailio” to customer, but nothing happens
on the agent side.
I tried “dlg_refer” as well but nothing happens at all.
Should I handcraft “Refer” message using uac module and send to
“customer” instead?
Please suggest.
Thanks
*Pranathi Venkatayogi*
/System Developer II/
(520) 745-9447 x4466
www.cyracom.com <http://www.cyracom.com/>
Join us: cid:image001.gif@01D1C9C9.C4E8B6D0
<https://www.facebook.com/pages/CyraCom-LLC/134704783312720>
cid:image002.gif@01D1C9C9.C4E8B6D0
<https://twitter.com/cyracom> cid:image003.gif@01D1C9C9.C4E8B6D0
<http://www.linkedin.com/company/cyracom> cid:image004.gif@01D1C9C9.C4E8B6D0
<http://www.cyracom.com/blog/>
cid:image005.png@01D1C9C9.C4E8B6D0
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.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) -
www.asipto.com
Kamailio World Conference - May 8-10, 2017 -
www.kamailioworld.com