[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 May 26 06:15:51 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15191 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15191
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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-26 06:15 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)

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

---------------------------------------------------------------------- 
 (0105386) alecdavis (reporter) - 2009-05-26 06:15
 https://issues.asterisk.org/view.php?id=15191#c105386 
---------------------------------------------------------------------- 
The IAX setup we have is a hub (our older box) and spoke, the hub seems to
bring up it's end of each IAX trunk in trunk mode. But the spokes end being
newer versions, won't come up in trunk mode, they read a reload.

If I upgraded this box, which I can't, as it's in production, then neither
end probably would be in trunk mode. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-26 06:15 alecdavis      Note Added: 0105386                          
======================================================================




More information about the asterisk-bugs mailing list