asterisk/addons
Matthew Jordan ea78b7cbc8 Fix issue where chan_mobile fails to bind to first available port
Per the bluez API, in order to bind to the first available port, the rc_channel
field of the socket addressing structure used to bind the socket should be set
to 0. Previously, Asterisk had set the rc_channel field set to 1, causing it
to connect to whatever happens to be on port 1.

We could probably not explicitly set rc_channel to 0 since we memset the struct
earlier, but explicitly setting it will hopefully prevent someone from coming
in and setting it to some explicit port in the future.

(closes issue ASTERISK-16357)
Reported by: challado
Tested by: Alexander Heinz, Nikolay Ilduganov, benjamin, eliafino, David van Geyn
patches:
  ASTERISK-16357.diff uploaded by Nikolay Ilduganov (license 6253)
........

Merged revisions 379342 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 379343 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-17 02:32:34 +00:00
..
ooh323c Send re-register packets by GRQ (gatekeeper request) interval 2012-08-10 15:24:03 +00:00
Makefile Title update 2012-10-14 21:56:13 +00:00
app_mysql.c Clean up app_mysql's application entry points to properly parse arguments 2013-01-02 22:19:32 +00:00
app_saycountpl.c Opaquify channel stringfields 2012-01-24 20:12:09 +00:00
cdr_mysql.c Remove some dead code and additionally handle a case that wasn't handled. 2012-12-10 01:29:32 +00:00
chan_mobile.c Fix issue where chan_mobile fails to bind to first available port 2013-01-17 02:32:34 +00:00
chan_ooh323.c remove ALREADYGONE flag on ooh323 call data by ooh323_indicate 2012-08-10 16:49:27 +00:00
chan_ooh323.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
format_mp3.c format_mp3: Fix a possible crash in mp3_read(). 2012-05-12 00:03:42 +00:00
ooh323cDriver.c Added direct media support to ooh323 channel driver 2012-07-04 21:42:05 +00:00
ooh323cDriver.h Merged revisions 308242 via svnmerge from 2011-02-18 00:11:06 +00:00
res_config_mysql.c Remove unnecessary channel module references. 2012-11-27 20:39:51 +00:00