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@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@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.comhttp://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.
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@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@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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Here is the kamcmd output. Strangely the state is showing as 4/terminated, while I don’t see any bye message/logs to that extent in Kamailio. And my chat session is still on.
kamcmd> dlg.list { h_entry: 3772 h_id: 5660 call-id: e6b6863121c7420cbded82574cff12d0my from_uri: sip:cust1@devtranslation.sms-test.cyracom.com to_uri: sip:spanish@devtranslation.sms-test.cyracom.com state: 4 start_ts: 1494343858 init_ts: 1494343857 timeout: 1494387058 lifetime: 43200 dflags: 643 sflags: 0 iflags: 0 caller: { tag: 69786a5fef6a48bb89b8277cc485d82d contact: sip:71594386@10.11.200.59:49376;alias=10.11.200.59~49376~1 cseq: 9739 route_set: socket: udp:10.99.52.17:5060 } callee: { tag: 408c77a154484b5083f5a895e8fc664b contact: sip:48751293@10.99.54.28:55933 cseq: 0 route_set: sip:10.99.52.17:5060;lr;nat=yes socket: udp:10.99.52.17:5060 } profiles: { } variables: { { "agenturi": sip:agent1@devtranslation.sms-test.cyracom.com } } } kamcmd>
From: sr-users [mailto:sr-users-bounces@lists.kamailio.org] On Behalf Of Daniel-Constantin Mierla Sent: Monday, May 08, 2017 11:42 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Subject: Re: [SR-Users] dlg_refer caller fails to create callee dialog
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@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@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.comhttp://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@lists.kamailio.orgmailto:sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/micondahttp://www.twitter.com/miconda -- www.linkedin.com/in/micondahttp://www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.comhttp://www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.comhttp://www.kamailioworld.com
Hello,
the state 4 is confirmed, according to the code:
src/modules/dialog/dlg_hash.h
It needs to be investigate in the source code, can you open an issue on github bug tracker not to forget about it -- after Kamailio World, I will try to sort it out.
Cheers, Daniel
On 09.05.17 17:49, Pranathi Venkatayogi wrote:
Here is the kamcmd output. Strangely the state is showing as 4/terminated, while I don’t see any bye message/logs to that extent in Kamailio. And my chat session is still on.
kamcmd> dlg.list
{
h_entry: 3772 h_id: 5660 call-id: e6b6863121c7420cbded82574cff12d0my from_uri: sip:cust1@devtranslation.sms-test.cyracom.com to_uri: sip:spanish@devtranslation.sms-test.cyracom.com state: 4 start_ts: 1494343858 init_ts: 1494343857 timeout: 1494387058 lifetime: 43200 dflags: 643 sflags: 0 iflags: 0 caller: { tag: 69786a5fef6a48bb89b8277cc485d82d contact:
sip:71594386@10.11.200.59:49376;alias=10.11.200.59~49376~1
cseq: 9739 route_set: socket: udp:10.99.52.17:5060 } callee: { tag: 408c77a154484b5083f5a895e8fc664b contact: sip:48751293@10.99.54.28:55933 cseq: 0 route_set: <sip:10.99.52.17:5060;lr;nat=yes> socket: udp:10.99.52.17:5060 } profiles: { } variables: { { "agenturi":
sip:agent1@devtranslation.sms-test.cyracom.com
} }
}
kamcmd>
*From:*sr-users [mailto:sr-users-bounces@lists.kamailio.org] *On Behalf Of *Daniel-Constantin Mierla *Sent:* Monday, May 08, 2017 11:42 PM *To:* Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org *Subject:* Re: [SR-Users] dlg_refer caller fails to create callee dialog
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@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@10.11.200.59:49376;alias=10.11.200.59~49376~1 <sip:71594386@10.11.200.59:49376;alias=10.11.200.59%7E49376%7E1> 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@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@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla www.twitter.com/miconda http://www.twitter.com/miconda -- www.linkedin.com/in/miconda http://www.linkedin.com/in/miconda Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com http://www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com http://www.kamailioworld.com