[asterisk-users] Receiving and processing unsolicited XMPP messages with Asterisk 11

Matthew Jordan mjordan at digium.com
Tue Sep 4 09:50:21 CDT 2012



----- Original Message -----
> From: "Noah Engelberth" <Noah at directlinkcomputers.com>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
> Sent: Tuesday, September 4, 2012 7:14:35 AM
> Subject: Re: [asterisk-users] Receiving and processing unsolicited	XMPP	messages with Asterisk 11
> 
> > 
> > On Friday, August 31, 2012 06:48:46 PM Noah Engelberth wrote:

<snip>

> > 
> > This might be a separate, but related issue, as I am not using XMPP
> > messaging yet, but I found that at least with SIP messaging in
> > Asterisk 11, if I
> > had a
> > Hangup() in the dialplan for message routing, every message sent
> > AFTER the
> > first would fail just as you describe, since the first message
> > routed through
> > the dialplan hung up the channel.
> > 
> > This did not happen to me in Asterisk 10.  After removing the
> > traditional
> > Hangup() at the end, and restarting Asterisk, the messages route
> > properly
> > for me.  -A
> > 
> 
> Ah ha.  That's what's happening here as well.  If there is no
> Hangup() in the "call path" for incoming XMPP messages, everything
> runs smoothly and you can send and process messages as expected.  If
> you put a Hangup() in the path, send 1 message and it works, and
> then subsequent messages hit the first priority and quit.  Once that
> first priority and quit behavior starts, no further XMPP messages
> will go past the first priority until you completely restart
> Asterisk -- even removing the Hangup() from the dialplan and
> reloading the dialplan will not cause inbound XMPP processing to
> resume working until you completely restart Asterisk.
> 
> Thank you,
> 
> Noah Engelberth
> MetaLINK Technologies

Yeah, that doesn't sound right at all.

Do you mind filing a bug in the issue tracker and attaching a DEBUG log?

Thanks!

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



More information about the asterisk-users mailing list