Summary: | ASTERISK-23456: RES XMPP | ||
Reporter: | Slava Bendersky (volga629) | Labels: | |
Date Opened: | 2014-03-09 21:02:33 | Date Closed: | 2014-03-09 21:14:43 |
Priority: | Critical | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_xmpp |
Versions: | 11.7.0 | Frequency of Occurrence | Frequent |
Related Issues: | |||
Environment: | RHEL x86_64 | Attachments: | |
Description: | JABBER_STATUS function always reporting error 7. I checked ejabberd and nothing related. I so some bug report from 2007 on similar issue.
https://issues.asterisk.org/jira/browse/ASTERISK-8932 Here related dial plan. {color: blue} [macro-missed-call-in] exten => s,1,NoOp(Determine if need send notification...) exten => s,n,Set(JID_TO=${DB(AMPUSER/${DEXTEN}/xmpp)}) exten => s,n,Set(STATUS=${JABBER_STATUS(AstPostBird,${JID_TO})}) exten => s,n,GotoIf($["${STATUS}" < "3" ]?unavailable) exten => s,n(unavailable),NoOp(XMPP Server reported user status: ${STATUS}. No notification will be send.) -- Executing [s@macro-missed-call:2] Set("SIP/babytel-0000007d", "JID_TO=yuliia@networklab.ca") in new stack [2014-03-09 21:39:40] NOTICE[2666][C-0000002f]: res_xmpp.c:1631 acf_jabberstatus_read: Resource (null) of buddy yuliia@networklab.ca was not found. [2014-03-09 21:39:40] NOTICE[2666][C-0000002f]: res_xmpp.c:1631 acf_jabberstatus_read: Resource (null) of buddy yuliia@networklab.ca was not found. -- Executing [s@macro-missed-call:3] Set("SIP/babytel-0000007d", "STATUS=7") in new stack -- Executing [s@macro-missed-call:4] GotoIf("SIP/babytel-0000007d", "0?unavailable") in new stack -- Executing [s@macro-missed-call:5] NoOp("SIP/babytel-0000007d", "XMPP Server reported user status: 7. No notification will be send.") in new stack -- Executing [s@macro-missed-call:2] Set("SIP/babytel-0000007f", "JID_TO=yuliia@networklab.ca") in new stack [2014-03-09 21:44:34] DEBUG[2667][C-00000030]: app_macro.c:434 _macro_exec: Executed application: Set [2014-03-09 21:44:34] DEBUG[2667][C-00000030]: pbx.c:3675 ast_str_retrieve_variable: Result of 'JID_TO' is 'yuliia@networklab.ca' [2014-03-09 21:44:34] NOTICE[2667][C-00000030]: res_xmpp.c:1631 acf_jabberstatus_read: Resource (null) of buddy yuliia@networklab.ca was not found. [2014-03-09 21:44:34] NOTICE[2667][C-00000030]: res_xmpp.c:1631 acf_jabberstatus_read: Resource (null) of buddy yuliia@networklab.ca was not found. [2014-03-09 21:44:34] DEBUG[2667][C-00000030]: pbx.c:4718 pbx_substitute_variables_helper_full: Function result is '7' [2014-03-09 21:44:34] DEBUG[2667][C-00000030]: pbx.c:4890 pbx_extension_helper: Launching 'Set' -- Executing [s@macro-missed-call:3] Set("SIP/babytel-0000007f", "STATUS=7") in new stack xmpp01*CLI> xmpp show buddies XMPP buddy lists Client: asterisk Buddy: yuliia@networklab.ca Resource: 35298453301394294952456009 node: http://counterpath.com/briavoip version: 7oXfSIxl9vrSpu0jI/zDhcWbxd0= Google Talk capable: no Jingle capable: no {color} Any help thank you. | ||
Comments: | By: Matt Jordan (mjordan) 2014-03-09 21:14:16.599-0500 Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support. By: Slava Bendersky (volga629) 2014-03-09 21:32:09.326-0500 Matt, Why you think it is not a bug ? I don't have any with configuration. |