[asterisk-bugs] [Asterisk 0013491]: unable to place outgoing call on TE Port
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 14 13:20:31 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13491
======================================================================
Reported By: avalentin
Assigned To: crich
======================================================================
Project: Asterisk
Issue ID: 13491
Category: Channels/chan_misdn
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.6.0-rc6
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2008-09-16 09:55 CDT
Last Modified: 2009-01-14 13:20 CST
======================================================================
Summary: unable to place outgoing call on TE Port
Description:
Beginning with SVN Revision 132967 asterisk is unable to place outgoing
calls on TE ports. In SVN Revision 132966 everything works fine.
It seems that this change is responsible for that (132966:132967):
@@ -3121,8 +3134,8 @@
struct timeval now;
gettimeofday(&now, NULL);
if (!bc->in_use) {
- if (bc->last_used.tv_sec < now.tv_sec) {
- cb_log(0,bc->port, "channel with stid:%x for one
second still in use!\n", bc->b_stid);
+ if (misdn_lib_port_is_pri(bc->port) &&
bc->last_used.tv_sec == now.tv_sec ) {
+ cb_log(2,bc->port, "channel with stid:%x for one
second still in use! (n:%d lu:%d)\n", bc->b_stid, (int) now.tv_sec, (int)
bc->last_u
sed.tv_sec);
return 1;
}
}
Console output with debugging enabled:
*CLI> P[ 0] MGMT: SSTATUS: L1_ACTIVATED
P[ 1] MGMT: SSTATUS: L2_RELEASED
P[ 1] MGMT: SSTATUS: L2_ESTABLISH
-- Attempting call on MISDN/1/012341212 for application Echo() (Retry
1)
P[ 1] There is no free channel on port (1)
[Sep 16 17:02:12] WARNING[28356]: chan_misdn.c:3333 misdn_request: Could
not create channel on port:1 with extensions:012341212
[Sep 16 17:02:12] NOTICE[28356]: channel.c:3309 __ast_request_and_dial:
Unable to request channel MISDN/1/012341212
[Sep 16 17:02:12] NOTICE[28356]: pbx_spool.c:346 attempt_thread: Call
failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER,
maybe Circuit busy or down?)
By removing the patch above everything seems to work as expected.
We tried 4 Port Cards, Fritzcards and USB TAs. Everytime the same error.
======================================================================
----------------------------------------------------------------------
(0097776) svnbot (reporter) - 2009-01-14 13:20
http://bugs.digium.com/view.php?id=13491#c97776
----------------------------------------------------------------------
Repository: asterisk
Revision: 168607
U branches/1.6.0/channels/misdn/isdn_lib.c
------------------------------------------------------------------------
r168607 | rmudgett | 2009-01-14 13:20:29 -0600 (Wed, 14 Jan 2009) | 9
lines
Fix merge error caused by merging -r132883 and -r121770 from
https://origsvn.digium.com/svn/asterisk/trunk out of order.
(closes issue http://bugs.digium.com/view.php?id=13788)
Reported by: IgorG
(closes issue http://bugs.digium.com/view.php?id=13491)
Reported by: avalentin
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=168607
Issue History
Date Modified Username Field Change
======================================================================
2009-01-14 13:20 svnbot Checkin
2009-01-14 13:20 svnbot Note Added: 0097776
======================================================================
More information about the asterisk-bugs
mailing list