[asterisk-bugs] [JIRA] (ASTERISK-23456) RES XMPP

Slava Bendersky (JIRA) noreply at issues.asterisk.org
Sun Mar 9 21:09:48 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Slava Bendersky updated ASTERISK-23456:
---------------------------------------

    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:gray}
[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 at macro-missed-call:2] Set("SIP/babytel-0000007d", "JID_TO=yuliia at 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 at 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 at networklab.ca was not found.
    -- Executing [s at macro-missed-call:3] Set("SIP/babytel-0000007d", "STATUS=7") in new stack
    -- Executing [s at macro-missed-call:4] GotoIf("SIP/babytel-0000007d", "0?unavailable") in new stack
    -- Executing [s at macro-missed-call:5] NoOp("SIP/babytel-0000007d", "XMPP Server reported user status: 7. No notification will be send.") in new stack


    -- Executing [s at macro-missed-call:2] Set("SIP/babytel-0000007f", "JID_TO=yuliia at 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 at networklab.ca'
[2014-03-09 21:44:34] NOTICE[2667][C-00000030]: res_xmpp.c:1631 acf_jabberstatus_read: Resource (null) of buddy yuliia at 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 at 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 at macro-missed-call:3] Set("SIP/babytel-0000007f", "STATUS=7") in new stack
{color}

  Any help thank you. 

  was:
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.

[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 at macro-missed-call:2] Set("SIP/babytel-0000007d", "JID_TO=yuliia at 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 at 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 at networklab.ca was not found.
    -- Executing [s at macro-missed-call:3] Set("SIP/babytel-0000007d", "STATUS=7") in new stack
    -- Executing [s at macro-missed-call:4] GotoIf("SIP/babytel-0000007d", "0?unavailable") in new stack
    -- Executing [s at macro-missed-call:5] NoOp("SIP/babytel-0000007d", "XMPP Server reported user status: 7. No notification will be send.") in new stack


    -- Executing [s at macro-missed-call:2] Set("SIP/babytel-0000007f", "JID_TO=yuliia at 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 at networklab.ca'
[2014-03-09 21:44:34] NOTICE[2667][C-00000030]: res_xmpp.c:1631 acf_jabberstatus_read: Resource (null) of buddy yuliia at 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 at 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 at macro-missed-call:3] Set("SIP/babytel-0000007f", "STATUS=7") in new stack

  Any help thank you. 


> RES XMPP
> --------
>
>                 Key: ASTERISK-23456
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23456
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_jabber
>    Affects Versions: 11.7.0
>         Environment: RHEL x86_64
>            Reporter: Slava Bendersky
>            Severity: Critical
>
> 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:gray}
> [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 at macro-missed-call:2] Set("SIP/babytel-0000007d", "JID_TO=yuliia at 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 at 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 at networklab.ca was not found.
>     -- Executing [s at macro-missed-call:3] Set("SIP/babytel-0000007d", "STATUS=7") in new stack
>     -- Executing [s at macro-missed-call:4] GotoIf("SIP/babytel-0000007d", "0?unavailable") in new stack
>     -- Executing [s at macro-missed-call:5] NoOp("SIP/babytel-0000007d", "XMPP Server reported user status: 7. No notification will be send.") in new stack
>     -- Executing [s at macro-missed-call:2] Set("SIP/babytel-0000007f", "JID_TO=yuliia at 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 at networklab.ca'
> [2014-03-09 21:44:34] NOTICE[2667][C-00000030]: res_xmpp.c:1631 acf_jabberstatus_read: Resource (null) of buddy yuliia at 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 at 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 at macro-missed-call:3] Set("SIP/babytel-0000007f", "STATUS=7") in new stack
> {color}
>   Any help thank you. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list