On 20/09/2012, at 3:59 PM, Noah Engelberth <[email protected]> wrote: > I’ve been working on an interactive XMPP interface so users at my office can > interact with the timeclock and queues by XMPP (in addition to IVR menu, > which has been running just fine for quite a while before the XMPP > interface). I’m using sendtodialplan=yes to handling the incoming > unsolicited messages, and typically will have at least one point of > interaction where Asterisk requests authentication from the user and then > waits with XMPP_RECEIVE for the response. Asterisk then processes the reply > and finishes out the “call” as expected, no problems there. However, I’m > seeing some behavior that I don’t really expect after the call finishes. > > After my call finishes, sendtodialplan triggers again one time for each > message that was sent back (and caught by XMPP_RECEIVE) during the just > completed call. I’ve avoided unwanted extra processing by using XMPP_RECEIVE > on a short timeout to process incoming unsolicited messages, so the net > effect of this extra trigger is one or more “XMPP calls” that trip the 1 > second timeout on this XMPP_RECEIVE and then fall through and clean up. > However, when I initially started setting this up, my expectation was that > sendtodialplan would only trigger on messages that weren’t solicited.
What does your dialplan look like? Are you using _. -- Cheers, Matt Riddell _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk) http://www.venturevoip.com/exchange.php (Full ITSP Solution) http://www.venturevoip.com/cc.php (Call Centre Solutions)
-- _____________________________________________________________________ -- 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
