[Home]

Summary:ASTERISK-19539: jabber outgoing messages become incomings
Reporter:vikas (vikas)Labels:
Date Opened:2012-03-15 01:09:03Date Closed:2012-04-24 14:45:42
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_jabber
Versions:10.2.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Linux Fedora 15, 64 bit machine.Attachments:( 0) asterisk_crash
Description:Sir, Everything is working fine and all the incoming messages goes into dial plan and there I am handling messages by php script and messages send by JabberSend application. But when load increase on jabber (like enter 5-6 messages enter in gtalk before jabber reply) then after that all outgoing messages become incomings and not even a single message send by jabberSend. and In the asterisk cli all it becomes a loop. continuing to making all outgoings to incomings again and again.

So, sir please help me in this regard

Here is my asterisk jabber.conf, gtalk.conf and extensions.conf file
jabber.conf
[general]
debug=yes
autoprune=no
autoregister=yes

[google_talk]
type=client
serverhost=talk.google.com
username=xxxx@gmail.com/Talk
secret=xxxx
priority=1
port=5222
usetls=yes
usesasl=yes
statusmessage="I am an Asterisk Server from localhost"
timeout=100
buddy=xxx@gmail.com
status=available
sendtodialplan=yes
context=google_talk_in

gtalk.conf
[general]
context=google_talk_in
allowguest=yes
bindaddr=0.0.0.0

[guest]
disallow=all
allow=ulaw
context=google_talk_in

[buddy]
username=xxx@gmail.com
disallow=all
allow=ulaw
connection=google_talk
context=google_talk_in

extensions.conf
[google_talk_in]
exten => s,1,NoOp("Request from Gtalk")
exten => s,n,AGI(jid.php,${MESSAGE(from)})
exten => s,n,AGI(gcheck.php,${MESSAGE(body)})
exten => s,n,JabberSend(google_talk,${JID},${MESG})
exten => s,n,Hangup()
Comments:By: Matt Jordan (mjordan) 2012-03-15 08:27:50.426-0500

We require a complete debug log to help triage the issue. This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



By: vikas (vikas) 2012-03-15 08:41:48.506-0500

After Line 180, Asterisk crash and outgoing messages become jabber incoming message

Note : when I enter multiple messages from gtalk random and fast.

By: Matt Jordan (mjordan) 2012-04-02 15:27:16.271-0500

Please note that when you provide feedback, you have to use the button "Send Back".  Otherwise, bug marshals will never receive notification that you provided anything.

Please also note that res_jabber and chan_gtalk are in extended support, which means that they are maintained by the open source community.  Response times may reflect that.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States

By: Matt Jordan (mjordan) 2012-04-02 15:28:56.572-0500

The attached file is not a DEBUG log.  Please follow the instructions I previously linked and provide a DEBUG log.

Also, if a crash is occurring, you will need to generate a backtrace from a coredump.  Instructions for that can be found here:

https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Matt Jordan (mjordan) 2012-04-24 14:45:37.520-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines