Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] JABBER_STATUS CODE 7


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
xserverlinux at gmail.com
Guest





PostPosted: Wed Oct 01, 2014 9:10 am    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

Hi all,I hope to find a solution with the help of the list, I'm trying
to get the status of my extensions with ejabberd , the idea is to
visualize my users ejabberd incoming calls or missed.

I'm testing with my operator extension with this code but only get the
missed call notification does not show me where the call is coming.

my piece of code

[operadora]
exten => 0,1,Set(STATUS=${JABBER_STATUS(ejabberd,operadora@172.16.8.59/alcides)})
same=> n, GotoIf($[0${STATUS} = 1]?disponible:nodisponible)
same=> n(disponible),
JabberSend(ejabberd,operadora@172.16.8.59,"Llamada Entrante
${CALLERID(num)}")
same=> n,Dial(SIP/5001)
same=> n,Hangup()
same=> n(nodisponible),
JabberSend(ejabberd,operadora@172.16.8.59,"Llamada perdida de
${CALLERID(num)}
")
same=> n,Hangup()



look the log

Oct 1 08:04:10] NOTICE[4789][C-00000028]: res_xmpp.c:1631
acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
was not found.
-- Executing [0@locales:1] Set("SIP/5002-00000029", "STATUS=7") in new stack
-- Executing [0@locales:2] GotoIf("SIP/5002-00000029",
"0?disponible:nodisponible") in new stack
-- Goto (locales,0,6)
-- Executing [0@locales:6] JabberSend("SIP/5002-00000029",
"ejabberd,operadora@172.16.8.59,"Llamada perdida de 5002"") in new
stack

[Oct 1 08:04:34] WARNING[13482][C-00000005]: pbx.c:6646
__ast_pbx_run: Channel 'Message/ast_msg_queue' sent to invalid
extension but no invalid handler: context,exten,priority=default,s,1

not work for me, and I think this should work asterisk receiving presence status

<--- XMPP received from 'operadora' --->
<presence from='operadora@172.16.8.59/12233853371412171752845116'
to='operadora@172.16.8.59/asterisk-xmpp'><show>chat</show><priority>1</priority><c
xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/'
hash='sha-1' ver='I22W7CegORwdbnu0ZiQwGpxr0Go='/><x
xmlns='vcard-temp:x:update'><photo/></x></presence>
<------------->

any idea?

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
Back to top
xserverlinux at gmail.com
Guest





PostPosted: Thu Oct 09, 2014 5:28 pm    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

anyone here?

2014-10-01 8:09 GMT-06:00 ricky gutierrez <xserverlinux@gmail.com>:
Quote:
Hi all,I hope to find a solution with the help of the list, I'm trying
to get the status of my extensions with ejabberd , the idea is to
visualize my users ejabberd incoming calls or missed.

I'm testing with my operator extension with this code but only get the
missed call notification does not show me where the call is coming.

my piece of code

[operadora]
exten => 0,1,Set(STATUS=${JABBER_STATUS(ejabberd,operadora@172.16.8.59/alcides)})
same=> n, GotoIf($[0${STATUS} = 1]?disponible:nodisponible)
same=> n(disponible),
JabberSend(ejabberd,operadora@172.16.8.59,"Llamada Entrante
${CALLERID(num)}")
same=> n,Dial(SIP/5001)
same=> n,Hangup()
same=> n(nodisponible),
JabberSend(ejabberd,operadora@172.16.8.59,"Llamada perdida de
${CALLERID(num)}
")
same=> n,Hangup()



look the log

Oct 1 08:04:10] NOTICE[4789][C-00000028]: res_xmpp.c:1631
acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
was not found.
-- Executing [0@locales:1] Set("SIP/5002-00000029", "STATUS=7") in new stack
-- Executing [0@locales:2] GotoIf("SIP/5002-00000029",
"0?disponible:nodisponible") in new stack
-- Goto (locales,0,6)
-- Executing [0@locales:6] JabberSend("SIP/5002-00000029",
"ejabberd,operadora@172.16.8.59,"Llamada perdida de 5002"") in new
stack

[Oct 1 08:04:34] WARNING[13482][C-00000005]: pbx.c:6646
__ast_pbx_run: Channel 'Message/ast_msg_queue' sent to invalid
extension but no invalid handler: context,exten,priority=default,s,1

not work for me, and I think this should work asterisk receiving presence status

<--- XMPP received from 'operadora' --->
<presence from='operadora@172.16.8.59/12233853371412171752845116'
to='operadora@172.16.8.59/asterisk-xmpp'><show>chat</show><priority>1</priority><c
xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/'
hash='sha-1' ver='I22W7CegORwdbnu0ZiQwGpxr0Go='/><x
xmlns='vcard-temp:x:update'><photo/></x></presence>
<------------->

any idea?

regardss


--
rickygm

http://gnuforever.homelinux.com



--
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
Back to top
mhterres at gmail.com
Guest





PostPosted: Thu Oct 09, 2014 6:11 pm    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

Retrieves the numeric status associated with the buddy identified by
jid. If the buddy does not exist in the buddylist, returns 7.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_JABBER_STATUS_res_xmpp

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


On Thu, Oct 9, 2014 at 7:28 PM, ricky gutierrez <xserverlinux@gmail.com> wrote:
Quote:
anyone here?

2014-10-01 8:09 GMT-06:00 ricky gutierrez <xserverlinux@gmail.com>:
Quote:
Hi all,I hope to find a solution with the help of the list, I'm trying
to get the status of my extensions with ejabberd , the idea is to
visualize my users ejabberd incoming calls or missed.

I'm testing with my operator extension with this code but only get the
missed call notification does not show me where the call is coming.

my piece of code

[operadora]
exten => 0,1,Set(STATUS=${JABBER_STATUS(ejabberd,operadora@172.16.8.59/alcides)})
same=> n, GotoIf($[0${STATUS} = 1]?disponible:nodisponible)
same=> n(disponible),
JabberSend(ejabberd,operadora@172.16.8.59,"Llamada Entrante
${CALLERID(num)}")
same=> n,Dial(SIP/5001)
same=> n,Hangup()
same=> n(nodisponible),
JabberSend(ejabberd,operadora@172.16.8.59,"Llamada perdida de
${CALLERID(num)}
")
same=> n,Hangup()



look the log

Oct 1 08:04:10] NOTICE[4789][C-00000028]: res_xmpp.c:1631
acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
was not found.
-- Executing [0@locales:1] Set("SIP/5002-00000029", "STATUS=7") in new stack
-- Executing [0@locales:2] GotoIf("SIP/5002-00000029",
"0?disponible:nodisponible") in new stack
-- Goto (locales,0,6)
-- Executing [0@locales:6] JabberSend("SIP/5002-00000029",
"ejabberd,operadora@172.16.8.59,"Llamada perdida de 5002"") in new
stack

[Oct 1 08:04:34] WARNING[13482][C-00000005]: pbx.c:6646
__ast_pbx_run: Channel 'Message/ast_msg_queue' sent to invalid
extension but no invalid handler: context,exten,priority=default,s,1

not work for me, and I think this should work asterisk receiving presence status

<--- XMPP received from 'operadora' --->
<presence from='operadora@172.16.8.59/12233853371412171752845116'
to='operadora@172.16.8.59/asterisk-xmpp'><show>chat</show><priority>1</priority><c
xmlns='http://jabber.org/protocol/caps' node='http://pidgin.im/'
hash='sha-1' ver='I22W7CegORwdbnu0ZiQwGpxr0Go='/><x
xmlns='vcard-temp:x:update'><photo/></x></presence>
<------------->

any idea?

regardss


--
rickygm

http://gnuforever.homelinux.com



--
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

--
_____________________________________________________________________
-- 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
Back to top
xserverlinux at gmail.com
Guest





PostPosted: Mon Oct 13, 2014 12:57 pm    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

I think asterisk does not respect this, I have added several within
xmpp.conf buddy

Client: ejabberd
Buddy: alcides@xmpp.domain.com
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@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: ejabberd@xmpp.domain.com
Buddy: alcides@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes



2014-10-09 17:10 GMT-06:00 Marcelo Terres <mhterres@gmail.com>:
Quote:
Retrieves the numeric status associated with the buddy identified by
jid. If the buddy does not exist in the buddylist, returns 7.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Function_JABBER_STATUS_res_xmpp


--
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
Back to top
mjordan at digium.com
Guest





PostPosted: Mon Oct 13, 2014 3:44 pm    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

On Mon, Oct 13, 2014 at 12:57 PM, ricky gutierrez
<xserverlinux@gmail.com> wrote:
Quote:
I think asterisk does not respect this, I have added several within
xmpp.conf buddy

Client: ejabberd
Buddy: alcides@xmpp.domain.com
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@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: ejabberd@xmpp.domain.com
Buddy: alcides@xmpp.domain.com
Resource: asterisk-xmpp
node: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Google Talk capable: no
Jingle capable: yes


The error message is pretty explicit about what you asked it to look for:

{quote}
acf_jabberstatus_read: Resource alcides of buddy operadora@172.16.8.59
was not found.
{quote}

Do you have a buddy operadaora@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.

--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- 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
Back to top
xserverlinux at gmail.com
Guest





PostPosted: Mon Oct 13, 2014 4:06 pm    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

2014-10-13 14:44 GMT-06:00 Matthew Jordan <mjordan@digium.com>:
Quote:

The error message is pretty explicit about what you asked it to look for:

{quote}
acf_jabberstatus_read: Resource alcides of buddy operadora@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@xmpp.domain.com'
-- Executing [0@locales:1] Set("SIP/5002-00000010", "STATUS=") in new stack
-- Executing [0@locales:2] GotoIf("SIP/5002-00000010",
"0?disponible:nodisponible") in new stack
-- Goto (locales,0,6)
-- Executing [0@locales:6] JabberSend("SIP/5002-00000010",
"ejabberd,operadora@xmpp.domain.com,"Llamada perdida de5002"") in new
stack

<--- XMPP sent to 'ejabberd' --->
<message type='chat' to='operadora@xmpp.domain.com'
from='asterisk@xmpp.domain.com/asterisk-xmpp'><body>&quot;Llamada
perdida de5002&quot;</body></message>
<------------->
-- Executing [0@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@xmpp.domain.com/asterisk-xmpp'
to='operadora@xmpp.domain.com' type='chat'><body>&quot;Llamada perdida
de5002&quot;</body></message>
<------------->
-- Executing [s@messages1:1] NoOp("Message/ast_msg_queue",
"Mensaje hacia usuarios XMPP") in new stack
-- Executing [s@messages1:2] JabberSend("Message/ast_msg_queue",
"ejabberd,allan@172.16.8.59,"Llamada perdida de5002"") in new stack

<--- XMPP sent to 'ejabberd' --->
<message type='chat' to='allan@172.16.8.59'
from='asterisk@xmpp.domain.com/asterisk-xmpp'><body>&quot;Llamada
perdida de5002&quot;</body></message>
<------------->
-- Executing [s@messages1:3] NoOp("Message/ast_msg_queue", "Estado
del mensaje ") in new stack
-- Executing [s@messages1:4] Hangup("Message/ast_msg_queue", "")
in new stack
== Spawn extension (messages1, s, 4) exited non-zero on
'Message/ast_msg_queue'


Quote:
Do you have a buddy operadora@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@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@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@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@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@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@xmpp.domain.com
Buddy: alcides@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@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@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
Back to top
mhterres at gmail.com
Guest





PostPosted: Mon Oct 13, 2014 4:28 pm    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

You always need to use your jabber domain in jabberid.

Regards,
Marcelo H. Terres
mhterres@gmail.com
IM: marcelo@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@gmail.com> wrote:
Quote:
2014-10-13 14:44 GMT-06:00 Matthew Jordan <mjordan@digium.com>:
Quote:

The error message is pretty explicit about what you asked it to look for:

{quote}
acf_jabberstatus_read: Resource alcides of buddy operadora@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@xmpp.domain.com'
-- Executing [0@locales:1] Set("SIP/5002-00000010", "STATUS=") in new stack
-- Executing [0@locales:2] GotoIf("SIP/5002-00000010",
"0?disponible:nodisponible") in new stack
-- Goto (locales,0,6)
-- Executing [0@locales:6] JabberSend("SIP/5002-00000010",
"ejabberd,operadora@xmpp.domain.com,"Llamada perdida de5002"") in new
stack

<--- XMPP sent to 'ejabberd' --->
<message type='chat' to='operadora@xmpp.domain.com'
from='asterisk@xmpp.domain.com/asterisk-xmpp'><body>&quot;Llamada
perdida de5002&quot;</body></message>
<------------->
-- Executing [0@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@xmpp.domain.com/asterisk-xmpp'
to='operadora@xmpp.domain.com' type='chat'><body>&quot;Llamada perdida
de5002&quot;</body></message>
<------------->
-- Executing [s@messages1:1] NoOp("Message/ast_msg_queue",
"Mensaje hacia usuarios XMPP") in new stack
-- Executing [s@messages1:2] JabberSend("Message/ast_msg_queue",
"ejabberd,allan@172.16.8.59,"Llamada perdida de5002"") in new stack

<--- XMPP sent to 'ejabberd' --->
<message type='chat' to='allan@172.16.8.59'
from='asterisk@xmpp.domain.com/asterisk-xmpp'><body>&quot;Llamada
perdida de5002&quot;</body></message>
<------------->
-- Executing [s@messages1:3] NoOp("Message/ast_msg_queue", "Estado
del mensaje ") in new stack
-- Executing [s@messages1:4] Hangup("Message/ast_msg_queue", "")
in new stack
== Spawn extension (messages1, s, 4) exited non-zero on
'Message/ast_msg_queue'


Quote:
Do you have a buddy operadora@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@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@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@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@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@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@xmpp.domain.com
Buddy: alcides@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@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@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

--
_____________________________________________________________________
-- 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
Back to top
xserverlinux at gmail.com
Guest





PostPosted: Mon Oct 13, 2014 4:40 pm    Post subject: [asterisk-users] JABBER_STATUS CODE 7 Reply with quote

Marcelo but now the code does not show it, is empty

xmpp show connections
Jabber Users and their status:
[admin] admin@xmpp.domain.com - Connected
[ricardo] ricardo@xmpp.domain.com - Connected
[alcides] alcides@xmpp.domain.com - Connected
[allan] allan@xmpp.domain.com - Connected
[cesar] cesar@xmpp.domain.com - Connected
[operadora] operadora@xmpp.domain.com - Connected
[ejabberd] asterisk@xmpp.domain.com - Connected

2014-10-13 15:27 GMT-06:00 Marcelo Terres <mhterres@gmail.com>:
Quote:
You always need to use your jabber domain in jabberid.

Regards,
Marcelo H. Terres
mhterres@gmail.com
IM: marcelo@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@gmail.com> wrote:
Quote:
2014-10-13 14:44 GMT-06:00 Matthew Jordan <mjordan@digium.com>:
Quote:

The error message is pretty explicit about what you asked it to look for:

{quote}
acf_jabberstatus_read: Resource alcides of buddy operadora@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@xmpp.domain.com'
-- Executing [0@locales:1] Set("SIP/5002-00000010", "STATUS=") in new stack
-- Executing [0@locales:2] GotoIf("SIP/5002-00000010",
"0?disponible:nodisponible") in new stack
-- Goto (locales,0,6)
-- Executing [0@locales:6] JabberSend("SIP/5002-00000010",
"ejabberd,operadora@xmpp.domain.com,"Llamada perdida de5002"") in new
stack

<--- XMPP sent to 'ejabberd' --->
<message type='chat' to='operadora@xmpp.domain.com'
from='asterisk@xmpp.domain.com/asterisk-xmpp'><body>&quot;Llamada
perdida de5002&quot;</body></message>
<------------->
-- Executing [0@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@xmpp.domain.com/asterisk-xmpp'
to='operadora@xmpp.domain.com' type='chat'><body>&quot;Llamada perdida
de5002&quot;</body></message>
<------------->
-- Executing [s@messages1:1] NoOp("Message/ast_msg_queue",
"Mensaje hacia usuarios XMPP") in new stack
-- Executing [s@messages1:2] JabberSend("Message/ast_msg_queue",
"ejabberd,allan@172.16.8.59,"Llamada perdida de5002"") in new stack

<--- XMPP sent to 'ejabberd' --->
<message type='chat' to='allan@172.16.8.59'
from='asterisk@xmpp.domain.com/asterisk-xmpp'><body>&quot;Llamada
perdida de5002&quot;</body></message>
<------------->
-- Executing [s@messages1:3] NoOp("Message/ast_msg_queue", "Estado
del mensaje ") in new stack
-- Executing [s@messages1:4] Hangup("Message/ast_msg_queue", "")
in new stack
== Spawn extension (messages1, s, 4) exited non-zero on
'Message/ast_msg_queue'


Quote:
Do you have a buddy operadora@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@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@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@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@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@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@xmpp.domain.com
Buddy: alcides@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@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@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

--
_____________________________________________________________________
-- 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



--
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services