Summary: | ASTERISK-11469: sending or receiving faxes thru ISDN will cause the system to slow down | ||
Reporter: | Antonio Gallo (agx) | Labels: | |
Date Opened: | 2008-02-19 05:25:27.000-0600 | Date Closed: | 2009-03-02 09:34:43.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_misdn |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When sending and receiving faxes from chan_misd using the following cards: - HFCPI - Digium 4 BRI - Beronet 2 BRI or 4 BRI thru a linksys PAP2T FXS connected to a fax machine the entire system collapse and CPU reach high value this is because when the call is active a message is generated for every ISDN packet (i suppose) that flood the asterisk and system log and also causes high disk activity. To avoid it i temporary commented out the offending line in channel mISDN directory and this worked as temporary fix. Perhaps some people from chan_misdn DEV team can watch what causes this problem. Always reproducible. ****** ADDITIONAL INFORMATION ****** --- isdn_lib.c.ORI 2008-02-19 12:24:19.000000000 +0100 +++ isdn_lib.c 2008-02-19 12:23:44.000000000 +0100 @@ -3616,7 +3616,7 @@ return 0 ; } - cb_log(0, 0, "Unhandled Message: prim %x len %d from addr %x, dinfo %x on this port.\n",frm->prim, frm->len, frm->addr, frm->dinfo); +// cb_log(0, 0, "Unhandled Message: prim %x len %d from addr %x, dinfo %x on this port.\n",frm->prim, frm->len, frm->addr, frm->dinfo); free_msg(msg); | ||
Comments: | By: Matteo Piscitelli (picciux) 2008-05-13 04:57:27 only a suggestion: if you're using 'n' option, in mISDN dial string (when sending through mISDN) or in 'misdn_set_opt' (when receiving from mISDN), try removing it, and you should see the problem disappear. Beside of this, don't know if there's a bug in mISDN or this is expected behaviour. By: Richard Mudgett (rmudgett) 2009-02-27 15:13:09.000-0600 Asterisk 1.4 SVN -r119585 added a change to reduce the amount of unhandled B channel messages by a factor of 1000. This change first went into Asterisk 1.4.21. The new message reported in this case is: "received 1k Unhandled Bchannel Messages: prim %x len %d from addr %x, dinfo %x on this port.\n" Did this change help the issue? By: Antonio Gallo (agx) 2009-02-28 02:41:10.000-0600 Yes, with 1.4.23.1 the spam has gone away and so the slowness. By: Richard Mudgett (rmudgett) 2009-03-02 09:34:42.000-0600 Closing because a previous change resolved the issue. (-r119585 that first went into Asterisk 1.4.21) |