[asterisk-users] JABBER_STATUS CODE 7

Marcelo Terres mhterres at gmail.com
Mon Oct 13 16:27:43 CDT 2014


You always need to use your jabber domain in jabberid.

Regards,
Marcelo H. Terres
mhterres at gmail.com
IM: marcelo at jabber.mundoopensource.com.br
http://www.mundoopensource.com.br
http://offtopicsandfun.blogspot.com
http://biertasters.blogspot.com
http://twitter.com/mhterres


On Mon, Oct 13, 2014 at 6:06 PM, ricky gutierrez <xserverlinux at gmail.com> wrote:
> 2014-10-13 14:44 GMT-06:00 Matthew Jordan <mjordan at digium.com>:
>>
>> The error message is pretty explicit about what you asked it to look for:
>>
>> {quote}
>> acf_jabberstatus_read: Resource alcides of buddy operadora at 172.16.8.59
>> was not found.
>
>
> strange, I put the fqdn to ejabberd, and now , not shows the code 7
>
> [Oct 13 14:53:08] WARNING[4609][C-0000000f]: res_xmpp.c:1617
> acf_jabberstatus_read: Could not find buddy in list:
> 'operadora at xmpp.domain.com'
>     -- Executing [0 at locales:1] Set("SIP/5002-00000010", "STATUS=") in new stack
>     -- Executing [0 at locales:2] GotoIf("SIP/5002-00000010",
> "0?disponible:nodisponible") in new stack
>     -- Goto (locales,0,6)
>     -- Executing [0 at locales:6] JabberSend("SIP/5002-00000010",
> "ejabberd,operadora at xmpp.domain.com,"Llamada perdida de5002"") in new
> stack
>
> <--- XMPP sent to 'ejabberd' --->
> <message type='chat' to='operadora at xmpp.domain.com'
> from='asterisk at xmpp.domain.com/asterisk-xmpp'><body>"Llamada
> perdida de5002"</body></message>
> <------------->
>     -- Executing [0 at locales:7] Hangup("SIP/5002-00000010", "") in new stack
>   == Spawn extension (locales, 0, 7) exited non-zero on 'SIP/5002-00000010'
>
> <--- XMPP received from 'operadora' --->
> <message from='asterisk at xmpp.domain.com/asterisk-xmpp'
> to='operadora at xmpp.domain.com' type='chat'><body>"Llamada perdida
> de5002"</body></message>
> <------------->
>     -- Executing [s at messages1:1] NoOp("Message/ast_msg_queue",
> "Mensaje hacia usuarios XMPP") in new stack
>     -- Executing [s at messages1:2] JabberSend("Message/ast_msg_queue",
> "ejabberd,allan at 172.16.8.59,"Llamada perdida de5002"") in new stack
>
> <--- XMPP sent to 'ejabberd' --->
> <message type='chat' to='allan at 172.16.8.59'
> from='asterisk at xmpp.domain.com/asterisk-xmpp'><body>"Llamada
> perdida de5002"</body></message>
> <------------->
>     -- Executing [s at messages1:3] NoOp("Message/ast_msg_queue", "Estado
> del mensaje ") in new stack
>     -- Executing [s at messages1:4] Hangup("Message/ast_msg_queue", "")
> in new stack
>   == Spawn extension (messages1, s, 4) exited non-zero on
> 'Message/ast_msg_queue'
>
>
>> Do you have a buddy operadora at 172.16.8.59 with a resource of alcides?
>> Based on the provided output, it does not appear as if you have that
>> buddy/resource combination, in which case the result of "7" is what I
>> would expect.
>
> I have put it in both
>
> Client: alcides
>         Buddy:  cesar at xmpp.domain.com
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>         Buddy:  asterisk at xmpp.domain.com
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>         Buddy:  operadora at xmpp.domain.com
>                 Resource: 36500272461413222444766262
>                         node: http://pidgin.im/
>                         version: I22W7CegORwdbnu0ZiQwGpxr0Go=
>                         Google Talk capable: no
>                         Jingle capable: yes
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>
> Client: operadora
>         Buddy:  cesar at xmpp.domain.com
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>         Buddy:  operadora at xmpp.domain.com
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>                 Resource: 36500272461413222444766262
>                         node: http://pidgin.im/
>                         version: I22W7CegORwdbnu0ZiQwGpxr0Go=
>                         Google Talk capable: no
>                         Jingle capable: yes
>         Buddy:  ejabberd at xmpp.domain.com
>         Buddy:  alcides at xmpp.domain.com
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>         Buddy:  ricardo at xmpp.domain.com
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>         Buddy:  admin at xmpp.domain.com
>                 Resource: asterisk-xmpp
>                         node: http://www.asterisk.org/xmpp/client/caps
>                         version: asterisk-xmpp
>                         Google Talk capable: no
>                         Jingle capable: yes
>
>
>
>
> regardss
>
>
> --
> rickygm
>
> http://gnuforever.homelinux.com
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list