--- On Thu, 1/26/12, Kevin P. Fleming <kpflem...@digium.com> wrote:
> From: Kevin P. Fleming <kpflem...@digium.com> > Subject: Re: [asterisk-users] User hit f to disconnect call. > To: asterisk-users@lists.digium.com > Date: Thursday, January 26, 2012, 10:58 AM > On 01/26/2012 07:22 AM, Vieri wrote: > > Hi, > > > > I was receiving fax calls just fine until recently. I'm > now having random disconnections. > > > > Faxes are received over an ISDN BRI line and Asterisk > 1.4 detects it and sends it to a iaxmodem (exten 10025 > below). All's apparently as expected except for the fact > that the following message comes up in the Asterisk log: > > > > User hit f to disconnect call. > > > > The iaxmodem log also shows a premature hangup (see > below). > > > > I did a test fax call but I certainly didn't press any > key to abort the call. What does that message mean? > > > > Asterisk log (0XXXXXXXXX is destination, YYYYYYYYY is > sending fax machine): > > > > [Jan 26 13:46:13] VERBOSE[619] logger.c: > -- Executing > [fax@from-pstn-deviate-custom:12] Dial("mISDN/6-u22326", > "IAX2/10025/0971847022|20|d") in new stack > > [Jan 26 13:46:13] DEBUG[619] chan_iax2.c: prepending 8 > to prefs > > [Jan 26 13:46:13] VERBOSE[15361] logger.c: > -- Call accepted by 127.0.0.1 (format > alaw) > > [Jan 26 13:46:13] VERBOSE[15361] logger.c: > -- Format for call is alaw > > [Jan 26 13:46:13] VERBOSE[619] logger.c: > -- Called 10025/0XXXXXXXXX > > [Jan 26 13:46:13] VERBOSE[619] logger.c: > -- IAX2/10025-3460 is ringing > > [Jan 26 13:46:13] VERBOSE[619] logger.c: > -- User hit f to disconnect call. > > [Jan 26 13:46:13] VERBOSE[619] logger.c: > -- Hungup 'IAX2/10025-3460' > > [Jan 26 13:46:13] VERBOSE[619] > logger.c: == Spawn extension > (from-pstn-deviate-custom, f, 0) exited non-zero on > 'mISDN/6-u22326' > > [Jan 26 13:46:13] VERBOSE[619] logger.c: > -- Executing > [h@from-pstn-deviate-custom:1] Macro("mISDN/6-u22326", > "hangupcall") in new stack > > 'f' is the fake DTMF control frame used inside Asterisk to > indicate that a CNG tone was detected. Do you have > 'faxdetect' enabled on the mISDN channel driver for that > BRI? > > Even if you do, though, I don't know why receiving an 'f' > would disconnect the call, unless you've provided the 'd' > option to app_dial. Even if you did, app_dial should be > smart enough to not treat 'f' as a DTMF key, but it's not > (at least not in Asterisk 1.4, this may have changed in > later versions). That could be it. misdn has fax detection for "incoming". app_dial IS using the 'd' option. I will try not to use it. Thanks, Vieri -- _____________________________________________________________________ -- 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