[asterisk-bugs] [Asterisk 0013491]: unable to place outgoing call on TE Port
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Oct 8 07:30:23 CDT 2008
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
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-09-16 09:55 CDT
Last Modified: 2008-10-08 07:30 CDT
======================================================================
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.
======================================================================
----------------------------------------------------------------------
(0093348) avalentin (reporter) - 2008-10-08 07:30
http://bugs.digium.com/view.php?id=13491#c93348
----------------------------------------------------------------------
I can confirm that the solution by wolfelectronic is working. I applied it
here instead of my upper solution.
Issue History
Date Modified Username Field Change
======================================================================
2008-10-08 07:30 avalentin Note Added: 0093348
======================================================================
More information about the asterisk-bugs
mailing list