Bonjour (aka Rendezvous, aka Zeroconf) module for the Asterisk PBX

Sven Slezak <sunny at mezzo.net>

res_bonjour adds Bonjour support to the Asterisk PBX. .

What is it?

It is primarily for developers and admins who want their users of client software for the Asterisk PBX not to worry about configuration.

Asterisk client software which supports res_bonjour is for example the Asterisk Notification for OSX or simply a web browser with Bonjour support like Safari or Microsoft Internet Explorer with the Windows Bonjour Support from Apple.

Bonjour is not only supported on Mac OS and Windows but also on Unix.

Configuration file /etc/asterisk/bonjour.conf :

 [general]
 ;bindaddr=eth1 ; interface or ip address to bind the service to (default: all interfaces)
 domain=local   ; the service domain. if unsure use local

 [service-id]
 name=<service name>>
 type=<protocol type>.(_tcp | _udp)
 port=<port number>
 parameter=<key>=<value>

Example:

 [general]
 domain = local

 [asterisk-voicemail]
 name=Asterisk VoiceBox
 type=_http._tcp
 port=80
 parameter=path=/cgi-bin/vmail.cgi

 [asterisk_notify]  ; used by Asterisk Notification _astnotify._udp is now an official Service Type :-)
 name=Asterisk Notifier
 type=_astnotify._udp
 port=40000

; taken from zeroconf.conf (astmasters.net)
 [asterisk_sip]
 name=SIP Service
 type=_sip._udp
 port=5060
 parameter=auth=md5
 parameter=realm=bender
 parameter=proxy=bender
 parameter=dtmfmode=sipinfo
 parameter=echotest=*500
 parameter=reception=2000
 parameter=voicemail=*121

 [inter_asterisk_xchange]
 name=IAX Service
 type=_iax._udp
 port=5036
 parameter=auth=md5
 parameter=context=internal
 parameter=echotest=*500
 parameter=reception=2000
 parameter=voicemail=*121

Compile and Install:

The free Apple bonjour SDK (mDNSResponder) is needed to compile res_bonjour. And Asterisk of course.

Download (see below) and unpack the package:

tar -xzf res_bonjour-release.tgz

in the res_bonjour directory run:

make install

Restart Asterisk

done!

Changes and Download:

Mac version included in Asterisk PBX for Mac OS X
2.0rc1 - new version for Asterisk 1.4
1.0 - Mac OS-X support
1.0rc1 - fix for Asterisk 1.2.x
0.9 - initial release

	 \ | /
	- :-) -
	 / | \