[asterisk-dev] chan_misdn CAUSE 44

Gregory Nietsky gregnietsky at gmail.com
Tue Oct 2 06:06:36 CDT 2007


here is a problem we are picking up every so often ... (See bellow)

this seems to be remote end unavailable / congestion.

* tries to restart the port when this happens but this seems to be 
mostly unsuccessful and the message bellow does not offer much
confidence ... is it a possibility to when there is no channel available 
and there are no channels in use on that port to quietly reset it.in 
otherwords
each "No free channel at the moment @ send_event" would cause a reset.a 
further observation i have made but cant say it is all the time but there
could be a channel on this "broken" port that should be hung up before 
attempting a reset on CAUSE 44.

i would recommend blocking that port as this could prehaps allow other 
ports to be used while it is in this state should reseting as above not 
be realistic.
 
what about a flag that is set PORT_UNSTABLE that any errors on the port 
will cause it to be reset until cleared by a successful call.

resetting the port fixes the problem and allows normal operation to 
continue ... this often leads to unneeded stress on the part of the 
client and them reaching for
the fax line/cell phone to report it.

im happy spending time on this but would like some input on how best to 
proceed what is the better option.

FYI ...

Linux asterisk 2.6.22.1-i386-smp #1 SMP PREEMPT Thu Jul 19 19:25:23 SAST 
2007 i686 unknown
Asterisk 1.4.11 built by root @ linus on a i686 running Linux on 
2007-09-14 18:17:33 UTC
12:52:31 up 13 days,  4:41,  3 users,  load average: 0.03, 0.01, 0.00
System uptime: 1 week, 6 days, 4 hours, 39 minutes, 51 seconds
Last reload: 1 week, 6 days, 3 hours, 50 minutes, 11 seconds

Modules (mISDN-1.1.5)
mISDN_core             80384  9 
hfcsusb,mISDN_debugtool,mISDN_dsp,mISDN_dtmf,mISDN_x25dte,mISDN_isac,l3udss1,mISDN_l2,mISDN_l1

Tue Oct  2 10:59:05 2007: P[ 1]  Any Channel Requested, but we have no 
more!!
Tue Oct  2 10:59:05 2007: P[ 1]  couldn't handle event
Tue Oct  2 10:59:05 2007: P[ 1]  CC_RELEASE_COMPLETE|CONFIRM [TE]
Tue Oct  2 10:59:06 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Tue Oct  2 10:59:06 2007: P[ 1]  **** This channel is now no longer 
available,
please try to restart it with 'misdn send restart <port> <channel>'
Tue Oct  2 10:59:06 2007: P[ 1]  Sending Restarts on this port.
Tue Oct  2 10:59:06 2007: P[ 1]  Restarting and cleaning channel 1
Tue Oct  2 10:59:06 2007: P[ 1]  Restarting channel 1
Tue Oct  2 10:59:26 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 10:59:26 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:00:08 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 11:00:08 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:00:49 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 11:00:49 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:01:11 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 11:01:11 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:01:24 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 11:01:24 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:03:43 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 11:03:43 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:03:53 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 11:03:53 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:04:12 2007: P[ 1]   No free channel at the moment @ send_event
Tue Oct  2 11:04:12 2007: P[ 1]   --> * Theres no Channel at the moment .. !
Tue Oct  2 11:04:27 2007: P[ 1]   No free channel at the moment @ send_event


Frequency

Client A
Wed Sep 26 13:14:22 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Wed Sep 19 11:41:01 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Wed Sep 19 11:50:54 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Thu Sep 13 11:51:39 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Fri Sep 14 12:32:30 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Fri Sep 14 12:32:46 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Fri Sep 14 15:23:01 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Mon Sep  3 11:05:26 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Tue Sep  4 09:52:49 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1

Client B
Fri Sep 28 12:04:58 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Tue Sep 18 08:37:42 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Tue Sep 18 09:29:38 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Wed Sep  5 13:03:19 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Wed Sep  5 13:13:47 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Mon Aug 27 12:42:18 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Mon Aug 27 12:42:24 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 2
Mon Aug 27 13:27:43 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Mon Aug 27 15:58:07 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 2
Tue Oct  2 10:59:06 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Tue Oct  2 11:08:09 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1

Client C
Sat Sep 29 08:05:14 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Tue Sep 18 16:51:53 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Mon Sep 17 17:14:53 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1

CLient D
Mon Aug 20 17:11:54 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 2
Mon Aug 20 17:12:21 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 2

Cleint E
Fri Sep 28 11:36:09 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 2
Fri Sep 28 12:17:16 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1

Cleint F
Fri Sep 28 13:55:45 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Mon Aug 20 13:04:45 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1

Client G
Wed Sep 19 16:21:47 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Fri Sep 21 08:56:36 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 2
Fri Sep 21 09:09:08 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1
Fri Sep 21 09:09:16 2007: P[ 1]  **** Received CAUSE:44, so not cleaning 
up channel 1




More information about the asterisk-dev mailing list