[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
Fri May 29 10:44:24 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-29 10:44 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)

====================================================================== 

---------------------------------------------------------------------- 
 (0105720) jthurman (reporter) - 2009-05-29 10:44
 https://issues.asterisk.org/view.php?id=15191#c105720 
---------------------------------------------------------------------- 
Adding the timing source as a preload in modules.conf works around this
issue (tested on 1.6.1.0).  Shouldn't the timing module be loaded early in
the process by default? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-29 10:44 jthurman       Note Added: 0105720                          
======================================================================




More information about the asterisk-bugs mailing list