Summary: | ASTERISK-03296: IAX doesn't honor the "bindaddr" directive | ||
Reporter: | tih (tih) | Labels: | |
Date Opened: | 2005-01-18 04:01:54.000-0600 | Date Closed: | 2008-01-15 15:22:21.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) DIFF.bindaddr.txt | |
Description: | If you put "bindaddr=1.2.3.4" in your iax.conf, Asterisk will still bind to 0.0.0.0. The accompanying patch is a one line fix that explicitly puts the requested address into the sin_addr struct. ****** ADDITIONAL INFORMATION ****** Interestingly, SIP does honor bindaddr. This indicates a different code path, and, intuitively, suggests that there is unnecessary duplication of effort in the code. I haven't looked into this, though. Disclaimer on file. | ||
Comments: | By: Mark Spencer (markster) 2005-01-18 07:55:02.000-0600 SIP has not yet been ported to support the new interface that IAX uses. Thanks for the fix! By: Digium Subversion (svnbot) 2008-01-15 15:22:21.000-0600 Repository: asterisk Revision: 4833 U trunk/acl.c ------------------------------------------------------------------------ r4833 | markster | 2008-01-15 15:22:20 -0600 (Tue, 15 Jan 2008) | 2 lines Fix bindaddr on IAX (bug ASTERISK-3296) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4833 |