[asterisk-bugs] [Asterisk 0015191]: IAX trunk only comes up as trunk in one direction only, unless you unload and load chan_iax
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jun 9 11:22:06 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15191
======================================================================
Reported By: alecdavis
Assigned To: dvossel
======================================================================
Project: Asterisk
Issue ID: 15191
Category: Channels/chan_iax2
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 192214
Request Review:
======================================================================
Date Submitted: 2009-05-26 05:31 CDT
Last Modified: 2009-06-09 11:22 CDT
======================================================================
Summary: IAX trunk only comes up as trunk in one direction
only, unless you unload and load chan_iax
Description:
running asterisk -vvvvvc we find the line:
[May 26 21:43:44] WARNING[24802]: chan_iax2.c:10819 build_peer: Unable to
support trunking on peer 'ald' without a timing interface
We have a DADHI timing source in all installations.
*CLI> timing test
Attempting to test a timer with 50 ticks per second.
Using the 'DAHDI' timing module for this test.
It has been 1019 milliseconds, and we got 51 timer ticks
*CLI> iax2 show peers
Name/Username Host Mask Port
Status
ald/ald 200.201.202.203 (S) 255.255.255.255 4569 OK
(64 ms)
*CLI> module load chan_iax2.so
*CLI> iax2 show peers
Name/Username Host Mask Port
Status
ald/ald 200.201.202.203 (S) 255.255.255.255 4569 (T) OK
(59 ms)
*CLI> iax2 show peer aldhome
* Name : ald
Secret : <Set>
Context :
Parking lot :
Mailbox :
Dynamic : No
Trunk : Yes
Encryption : No
Callerid : "" <>
Expire : -1
ACL : No
Addr->IP : 200.201.202.203 Port 4569
Defaddr->IP : 0.0.0.0 Port 0
Username : ald
Codecs : 0x70f (g723|gsm|ulaw|alaw|g729|speex|ilbc)
Codec Order : (alaw|ulaw|gsm)
Status : OK (46 ms)
Qualify : every 60000ms when OK, every 2000ms when UNREACHABLE
(sample smoothing On)
======================================================================
----------------------------------------------------------------------
(0106163) svnbot (reporter) - 2009-06-09 11:22
https://issues.asterisk.org/view.php?id=15191#c106163
----------------------------------------------------------------------
Repository: asterisk
Revision: 199743
U trunk/include/asterisk/module.h
U trunk/main/loader.c
U trunk/res/res_timing_dahdi.c
U trunk/res/res_timing_pthread.c
U trunk/res/res_timing_timerfd.c
------------------------------------------------------------------------
r199743 | dvossel | 2009-06-09 11:22:04 -0500 (Tue, 09 Jun 2009) | 11
lines
module load priority
This patch adds the option to give a module a load priority. The value
represents the order in which a module's load() function is initialized.
The lower the value, the higher the priority. The value is only checked if
the AST_MODFLAG_LOAD_ORDER flag is set. If the AST_MODFLAG_LOAD_ORDER flag
is not set, the value will never be read and the module will be given the
lowest possible priority
on load. Since some modules are reliant on a timing interface, the timing
modules have been given a high load priorty.
(closes issue https://issues.asterisk.org/view.php?id=15191)
Reported by: alecdavis
Tested by: dvossel
Review: https://reviewboard.asterisk.org/r/262/
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=199743
Issue History
Date Modified Username Field Change
======================================================================
2009-06-09 11:22 svnbot Checkin
2009-06-09 11:22 svnbot Note Added: 0106163
======================================================================
More information about the asterisk-bugs
mailing list