16793 Commits

Author SHA1 Message Date
Dušan Dragić
13a595a15e mod_gsmopen: get device manufacturer, model and firmware version info. 2014-09-21 20:14:05 +02:00
Dušan Dragić
79d962f38e mod_gsmopen: add support for reading own number from ON phonebook using AT+CNUM 2014-09-21 20:04:04 +02:00
Anthony Minessale
372455c30a FS-6829 #resolve 2014-09-19 02:28:47 +05:00
Jeff Lenk
8f85b5204c vs2010 trival compiler warnings 2014-09-17 18:11:20 -05:00
Nathan Neulinger
1f5bb3470d mod_skinny: avoid truncation of non-null-terminated strings in protocol 2014-09-17 11:13:15 -05:00
Anthony Minessale
d2f8fca18a FS-6825 #resolve #comment caused by regression in commit 0732c0b0 pertaining to FS-6825 2014-09-17 20:32:18 +05:00
Anthony Minessale
295fcce8a8 add buffer_seconds param to shout filehandles to override the original default of 1 and remove previous code to attempt to buffer several seconds of audio in the open routine. Any experiencing jittery playback from slow shout destinations should add {buffer_seconds=N} to the file path to increase the amount of time allotted for buffering when no audio is discovered on the wire 2014-09-17 04:54:38 +05:00
Anthony Minessale
16d947dd7a can't have asserts here after all 2014-09-17 02:14:54 +05:00
Anthony Minessale
b2917e06db improve ssl errors 2014-09-17 02:14:43 +05:00
Anthony Minessale
47ae1837d5 add some asserts 2014-09-16 20:44:10 +05:00
Seven Du
36addd5b61 bytes is signed 2014-09-16 19:15:12 +08:00
Seven Du
f78007766b don't reset when video floor is locked
when video floor is locked by a member, changing audio floor on del_member
will cause the video floor lock cleared unexpectedly, this commit fixes that.
2014-09-16 19:15:12 +08:00
Nathan Neulinger
04269fdf19 mod_skinny: additional logging 2014-09-15 16:42:31 -05:00
Brian West
dca7bdde77 Merge pull request #55 in FS/freeswitch from ~DDRAGIC/freeswitch:bugfix/FS-6821-mod_gsmopen-wrong-interface-name-in-log to master
* commit 'f262dbce948e6043d48d7859da00fa7db5b47585':
  FS-6821 mod_gsmopen: fix interface name in log
2014-09-15 14:31:49 -05:00
Anthony Minessale
f924684eff FS-6623 #resolve fix init and logging for rtcp 2014-09-15 20:08:09 +05:00
jchavanton
b738775876 [FS-6623] implement RTCP report generation 2014-09-15 20:08:09 +05:00
Peter Wu
8e4423f126 Document Dbh.test_reactive, return saner values
In the FreeSWITCH core, the return value of switch_case_db_test_reactive
is ignored, but it is usable in LUA modules (and other bindings via
SWIG). The LUA API example[1] shows how to check the return value, but
that example miserably fails if the database did not exist before.

Changes:

 - Document the expected behavior of the test_reactive function.
 - Assert that test_sql and sql_reactive are both given. If either
   query is not given, the caller is using the wrong API.
 - When SCF_AUTO_SCHEMAS is cleared, use the return value of the
   test_sql execution. Does anybody use this? Why not remove it?
 - Do not unconditionally return SWITCH_FALSE when test_sql fails,
   instead allow it to become SWITCH_TRUE when reactive_sql passes.
 - Remove the unnecessary test_sql check for SCDB_TYPE_CORE_DB
   (this is now enforced through an assert check). (+reindent)
 - Clarify the error message of drop_sql, prepending "Ignoring" to
   the "SQL ERR" message.
 - LUA: Do not print "DBH NOT Connected" if the query fails. This was
   the initial source of confusion.

 [1]: https://confluence.freeswitch.org/display/FREESWITCH/Lua+API+Reference
2014-09-15 15:39:08 +02:00
Dušan Dragić
f262dbce94 FS-6821 mod_gsmopen: fix interface name in log
Fix interface name for logs emitted from mod_gsmopen.cpp during startup
2014-09-14 13:06:31 +02:00
Dušan Dragić
9423953e02 FS-6820 mod_gsmopen: fix total interfaces count when executing gsm reload 2014-09-14 12:24:19 +02:00
Travis Cross
3e8e2ce151 Revert commits pushed too early
Revert "depend on fs before install"
This reverts commit 6c52217920148f633b3d03ef5428dfa5938e4fd3.

Revert "removing commented work in progress on SDES and logging tunning on"
This reverts commit 6df5288f5ac7ac9c48d7f7cc730c26dae3215495.

Revert "more formatting and logging tuning"
This reverts commit 0e89bbd0333c027273e4165af850bc304861dbdc.

Revert "logging adjustment"
This reverts commit 764faad671902d734bb18ca9f87798f0670396eb.

Revert "missing host to network conversion highest_sequence_number_received"
This reverts commit 50c62cdfd7a9ddee22e9e779c0a8c4dfba23f717.

Revert "logging correction"
This reverts commit ea973b0b4cde8ecf562252d6d22faad583e30846.

Revert "[FS-6623] implement RTCP report generation"
This reverts commit 0b7863a9b7e786d35ddf5babc51ba19f1dfa7a1a.
2014-09-12 17:07:50 +00:00
jchavanton
6df5288f5a removing commented work in progress on SDES and logging tunning on
rtcp_init
2014-09-12 11:58:54 -05:00
jchavanton
0e89bbd033 more formatting and logging tuning 2014-09-12 11:58:53 -05:00
jchavanton
764faad671 logging adjustment 2014-09-12 11:58:53 -05:00
jchavanton
50c62cdfd7 missing host to network conversion highest_sequence_number_received 2014-09-12 11:58:53 -05:00
root
ea973b0b4c logging correction 2014-09-12 11:58:53 -05:00
jchavanton
0b7863a9b7 [FS-6623] implement RTCP report generation 2014-09-12 11:58:53 -05:00
Anthony Minessale
efe0ebd318 FS-6818 #resolve 2014-09-12 18:49:58 +05:00
Dušan Dragić
d5f9de4fa3 mod_gsmopen: add AT+COPS support to get operator name.
For now expose the info in gsmopen_dump and events.
2014-09-11 22:33:28 +02:00
Travis Cross
5bd35471f7 Add var to suppress Privacy: none header
Apparently the MetaSwitch guys incorrectly interpret `Privacy: none`
as `Privacy: id`.

ref: RFC 3325

Reported-by: Stéphane Alnet <stephane@shimaore.net>

FS-6817 #resolve
2014-09-11 19:56:19 +00:00
Anthony Minessale
7144b25254 obey sip_copy_custom_headers on bye 2014-09-12 00:37:19 +05:00
Brian West
80542e20f0 FS-5142 don't multipart/mixed if body has content-type present 2014-09-11 14:18:42 -05:00
Travis Cross
622e0e1a6f Check for null hash on increment of mod_hash limit
When we specifically release all limits on a channel we destroy the
hash table stored in the "limit_hash" private channel data but we
don't destroy the private data as it will be reclaimed as part of the
session.  If limit increment is called after the limit release we can
reuse that channel private, but we need to check whether the hash
table is null first.  Fortunately this makes the code look better
anyway.

FS-6775 #resolve
FS-6783 #resolve
2014-09-11 17:47:57 +00:00
Travis Cross
bb84b0534c Check for libpq in core before building mod_cdr_pg_csv 2014-09-10 22:29:24 +00:00
Anthony Minessale
ce5d21106e FS-6761 #resolve 2014-09-11 03:29:07 +05:00
Ken Rice
30283b7f6b Revert "fix libpq location detection"
This reverts commit e2b1ee26ae50d0e9fba8a19be1514f57a59c12e9.
2014-09-10 16:27:16 -05:00
Ken Rice
e2b1ee26ae fix libpq location detection 2014-09-10 15:04:50 -05:00
root
575adecf75 Revert "FS-6566"
This reverts commit 99d0f134e7cd1345641022c0e5b406e8dfa5caa8.
2014-09-10 14:57:57 -05:00
Anthony Minessale
908dd26559 FS-6815 #comment force 1600hz for native g722 2014-09-10 14:09:32 -04:00
Anthony Minessale
77c99b6306 FS-6806 #resolve #comment off by 1 error in last fix 2014-09-10 20:32:36 +05:00
Anthony Minessale
37d7fb7888 calculate jitter percentage in jitterbuffer to factor into conditions for reducing the size when in adaptave mode 2014-09-10 04:17:01 +05:00
Brian West
66302cac89 FS-6811 #resolve 2014-09-09 17:59:29 -05:00
Nathan Neulinger
574d19e56e mod_skinny: fix behavior of transfer when target extension falls through to voicemail - keep bridge from dropping out during that operation 2014-09-09 15:58:56 -05:00
Anthony Minessale
151440b7e1 fix race caused by consecutive stun packets 2014-09-09 21:35:51 +05:00
Antonio
69d5cda6d6 resolve FS-6809 2014-09-09 15:33:19 +02:00
Nathan Neulinger
8973ffcc35 mod_skinny: improvements to error handling/detection 2014-09-09 08:30:46 -05:00
Travis Cross
c3d65e902d Merge in Moises Silva's mod_bert 2014-09-09 09:15:30 +00:00
Moises Silva
89e8e14a9f Improvements to mod_bert
* Honor the timer name variable

* Added mod_bert::in_sync event when the stream is in sync
2014-09-09 04:07:13 -04:00
Moises Silva
25c6276fea Added cng counter to the bert test app 2014-09-09 04:07:13 -04:00
Moises Silva
557a4a8580 Treat CNG as a silent frame in mod_bert 2014-09-09 04:07:12 -04:00
Moises Silva
58e47748ca Only use a timer if bert_timer_name is specified, otherwise time based on input 2014-09-09 04:07:12 -04:00