[asterisk-bugs] [Asterisk 0011646]: [patch] pbx_dundi is not setting EID neither on FreeBSD or OSX (null mac address checking)

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jan 11 16:12:13 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11646 
====================================================================== 
Reported By:                caio1982
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11646
Category:                   PBX/pbx_dundi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 94776 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-27-2007 20:19 CST
Last Modified:              01-11-2008 16:12 CST
====================================================================== 
Summary:                    [patch] pbx_dundi is not setting EID neither on
FreeBSD or OSX (null mac address checking)
Description: 
While playing around trunk on my OSX box I noticed that EID wasn't being
correctly set by pbx_dundi. It kept telling me to do that manually, it
could not discover my MAC address. Later I noticed it was actually always
registering my loopback device (lo0) as the EID device but with an
00:00:00:00:00:00 address. Even then detecting the correct MAC address it
kept telling it was my lo0 device being used, which was wrong...

The following patch solves all this and have been tested both on FreeBSD
6.2 and OSX 10.4. It now properly uses the first really available interface
with its real MAC address. It can be a virtual device as well, like
VMware's.
====================================================================== 

---------------------------------------------------------------------- 
 mvanbaak - 01-11-08 16:12  
---------------------------------------------------------------------- 
sure, let me work on it now 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-11-08 16:12  mvanbaak       Note Added: 0076751                          
======================================================================




More information about the asterisk-bugs mailing list