[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
Wed Jan 2 17:24:28 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11646 
====================================================================== 
Reported By:                caio1982
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11646
Category:                   PBX/pbx_dundi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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-02-2008 17:24 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-02-08 17:24  
---------------------------------------------------------------------- 
on OpenBSD 4.2 this patch does 2 things:
1. Make asterisk compile again
2. Show correct EID when running 'dundi show entityid'

+1 from me 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-02-08 17:24  mvanbaak       Note Added: 0076236                          
======================================================================




More information about the asterisk-bugs mailing list