[SR-Users] dlg_refer caller fails to create callee dialog

Daniel-Constantin Mierla miconda at gmail.com
Tue May 9 06:41:49 CEST 2017


Hello,

can you provide the output of kamcmd dlg.list for the call just before
doing the refer?

Cheers,
Daniel


On 09.05.17 00:44, Pranathi Venkatayogi wrote:
>
> Hi,
>
>   I am calling dlg_refer after dialog is confirmed on both sides. This
> time the callee is a real client, so call was established end to end.
>
>  But still I get the error “No contact available” when callee dialog
> is being created – see below.
>
>   I am attaching the snippet of my config where I am calling dlg_refer
> as well..
>
>  
>
>   Is there something wrong with my usage? Please advise.
>
>  
>
> Thanks,
>
> Pranathi
>
>  
>
> 4719 May  8 22:27:31 devsip00 /sbin/kamailio[1125]: INFO: <script>:
> Translation: Dialog confirmed 3 and agenturi:
> sip:agent1 at devtranslation.sms-test.cyracom.com
>
> 4720 May  8 22:27:31 devsip00 /sbin/kamailio[1125]: exec: ***
> cfgtrace:local_route=[dialog:start] c=[routingdev.cfg] l=573 a=16 n=if
>
> 4721 May  8 22:27:31 devsip00 /sbin/kamailio[1125]: exec: ***
> cfgtrace:local_route=[dialog:start] c=[routingdev.cfg] l=567 a=26 n=xlog
>
> 4722 May  8 22:27:31 devsip00 /sbin/kamailio[1125]: INFO: <script>:
> Translation: Referring dialog from
> sip:71594386 at 10.11.200.59:49376;alias=10.11.200.59~49376~1
>
> 4723 May  8 22:27:31 devsip00 /sbin/kamailio[1125]: exec: ***
> cfgtrace:local_route=[dialog:start] c=[routingdev.cfg] l=568 a=26
> n=dlg_refer
>
> 4724 May  8 22:27:31 devsip00 /sbin/kamailio[1125]: ERROR: *dialog
> [dlg_req_within.c:85]: build_dlg_t(): no contact available***
>
> 4725 May  8 22:27:31 devsip00 /sbin/kamailio[1125]: ERROR: dialog
> [dlg_transfer.c:188]: dlg_refer_callee(): failed to create dlg_t
>
>  
>
> event_route[dialog:start] {
>    if(is_known_dlg()) {
>        $var(agentUri) = $dlg_var("agenturi");
>        xlog("L_INFO", "Translation: Dialog confirmed $dlg(state) and agenturi: $var(agentUri)");
>        if ($(var(agentUri){uri.user}) != "")
>        {
>            xlog("L_INFO", "Translation: Referring dialog from $dlg(from_contact)");
>            dlg_refer("caller",  "$var(agentUri)");
>        }
>        else
>        {
>            xlog("L_INFO", "Translation: Dialog confirmed $dlg(state) but no agent info yet\n");
>        }
>    }
> }
>
>  
>
> *Pranathi Venkatayogi*
>
> /System Developer II/
>
> (520) 745-9447 x4466
>
> www.cyracom.com <http://www.cyracom.com/>
>
>  
>
> Join us:   cid:image001.gif at 01D1C9C9.C4E8B6D0
> <https://www.facebook.com/pages/CyraCom-LLC/134704783312720> cid:image002.gif at 01D1C9C9.C4E8B6D0
> <https://twitter.com/cyracom> cid:image003.gif at 01D1C9C9.C4E8B6D0
> <http://www.linkedin.com/company/cyracom> cid:image004.gif at 01D1C9C9.C4E8B6D0
> <http://www.cyracom.com/blog/>
>
>  
>
> cid:image005.png at 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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170509/425e8296/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 405 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170509/425e8296/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 458 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170509/425e8296/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 607 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170509/425e8296/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 516 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170509/425e8296/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 9139 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170509/425e8296/attachment-0004.png>


More information about the sr-users mailing list