[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
Wed May 27 12:02:48 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-05-27 12:02 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)
======================================================================
----------------------------------------------------------------------
(0105556) dvossel (administrator) - 2009-05-27 12:02
https://issues.asterisk.org/view.php?id=15191#c105556
----------------------------------------------------------------------
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:chan_iax2.so
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:codec_lpc10.so
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:func_module.so
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:chan_oss.so
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:app_userevent.so
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:func_redirecting.so
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:app_softhangup.so
[May 27 11:45:04] NOTICE[20284]: loader.c:864 load_modules:
LOADING:res_timing_timerfd.so
Here's the problem, the timer is never opened in chan_iax because the
timer module isn't loaded until after chan_iax. This why doing a reload
works.
Issue History
Date Modified Username Field Change
======================================================================
2009-05-27 12:02 dvossel Note Added: 0105556
======================================================================
More information about the asterisk-bugs
mailing list