Commit Graph

9559 Commits

Author SHA1 Message Date
Eric des Courtis c2349da522 Merge branch 'master' of git://git.freeswitch.org/freeswitch 2010-05-25 15:52:21 -04:00
Anthony Minessale 3fa1bba934 add indications so gateway mode calls show up as bridged -wrong week to quit sniffing glue 2010-05-25 14:23:20 -05:00
Anthony Minessale abbe42fcd3 add indications so gateway mode calls show up as bridged -take 2 2010-05-25 14:16:32 -05:00
Eric des Courtis 10c6a30a59 Added new FreeSWITCH module mod_avmd or the Advanced Voicemail Detection Module.
It provides better detection than mod_vmd but is a little more CPU intensive than mod_vmd.

Perhaps someone would like to CUDAfy this code?
2010-05-25 15:03:14 -04:00
Anthony Minessale d9dad9a499 add indications so gateway mode calls show up as bridged 2010-05-25 13:51:43 -05:00
Jeff Lenk 2cb8efc4bb FSBUILD-269 2010-05-25 13:04:28 -05:00
Brian West 2194e7c576 tweak 2010-05-25 12:58:43 -05:00
Anthony Minessale 5f4279d5bd add t38_trace=true to trace audio to tmp 2010-05-25 11:42:42 -05:00
Anthony Minessale 596c001231 yes there is, eavesdrop_enable_dtmf=false 2010-05-25 10:30:40 -05:00
Anthony Minessale b073e82b5f FSMOD-51 2010-05-25 10:14:04 -05:00
Jeff Lenk 920b866f15 FSCORE-611 2010-05-25 08:20:28 -05:00
Mathieu Parent a2ceff1471 Skinny: size_t has different sizes on different platforms
Resolve (shouldn't) MODSKINNY-5: Compiling mod_skinny on Mac OS X 10.6.3 fails
with error message about format mismatch of 'long unsigned int'
2010-05-25 09:29:01 +02:00
Anthony Minessale 678c7c90b5 set CF_REDIRECT to avoid hangup_after_bridge 2010-05-24 19:33:01 -05:00
Anthony Minessale 8c3fc792b0 fix fax negotiation issue 2010-05-24 14:38:43 -05:00
Michael Jerris fa9a59a88b initial checkin of mod_fax/mod_voipcodecs merge into mod_spandsp 2010-05-24 05:38:17 -04:00
Michael Jerris 5a845c83a5 fix mod_fax clean build 2010-05-24 03:42:08 -04:00
Jeff Lenk ad2407b570 Update for latest changes 2010-05-23 23:15:40 -05:00
Michael Jerris f89cbdd644 add mod_skinny vcproj file for windows build (MODSKINNY-3) 2010-05-22 19:18:35 -04:00
Anthony Minessale bdb9ed8b8e remove mod_t38_gateway 2010-05-21 16:47:05 -05:00
Anthony Minessale 8f32c80318 use local copy of udptl 2010-05-21 16:46:15 -05:00
Anthony Minessale 7b3d3f7ef2 Tea for two (or maybe thirty eight?) 2010-05-21 16:47:21 -05:00
Anthony Minessale 7cfe6bb222 remove race (part 2) 2010-05-21 16:18:36 -05:00
Anthony Minessale eb30905913 remove race 2010-05-21 16:17:20 -05:00
Anthony Minessale 49c9bfdb2e add conference_member_id variable to all sessions with the member id used by their conference participation (For drk__) 2010-05-21 15:51:51 -05:00
Michael Jerris 7996819fca possible fix for FSCORE-575 2010-05-21 14:40:36 -04:00
Mathieu Parent 1632f82a1a Skinny: typo 2010-05-21 15:53:15 +02:00
Mathieu Parent 0cb6af2f5a Skinny: One more for MODSKINNY-1: (soft_key_event) 2010-05-21 15:52:30 +02:00
Mathieu Parent 18a7657332 Skinny: one more for MODSKINNY-1 (keypad_button) 2010-05-21 15:47:57 +02:00
Mathieu Parent 2e2d587e7b Skinny: one more fix for MODSKINNY-1 (on_hook) 2010-05-21 15:41:41 +02:00
Mathieu Parent 2cb595c71c Skinny: Avoid message too short for off_hook
Resolve MODSKINNY-1:  FreeSwitch stops working when I use a cisco 7910
phone - FREESWITCH 1.0.6
2010-05-21 15:36:01 +02:00
Michael Jerris 05bf1d8384 initialize node_index 2010-05-21 09:19:51 -04:00
Mathieu Parent f1b636aaf7 Skinny: fix crash with outgoing channel without remote session 2010-05-21 10:18:22 +02:00
Mathieu Parent 9682599b6b Skinny: fix unhold 2010-05-21 02:22:32 +02:00
Mathieu Parent 14fee6c798 Skinny: set BOND variable early to have call info during ring
This is hackish
2010-05-21 02:09:09 +02:00
Mathieu Parent 5bdf8bcc16 Skinny: More channel variables 2010-05-21 01:12:40 +02:00
Mathieu Parent bfb6a8b1f5 Skinny: Initial Windows support
Thanks to Peter Olsson

Closes: MODSKINNY-3
2010-05-20 23:19:10 +02:00
Mathieu Parent 8bdd2f2dc2 Skinny: add message type in too short warning 2010-05-20 20:51:18 +02:00
Mathieu Parent a1f9cc1efa Skinny: pass remote session to ring_lines because BOND is not set yet 2010-05-20 18:45:25 +02:00
Rupa Schomaker 70bf7a0a6f MODAPP-427 - mod_lcr: add enable_sip_redir parameter 2010-05-20 10:41:21 -05:00
Mathieu Parent d172e9febb Skinny: send the call state when requested
This solves incorrect display on the phone.

BUT: this creates a delta because the SQL value and the value known by
the phone. I hope this doesn't break other things.

(NB: the original problem here was the unability to do an UPDATE inside
a SELECT callback)
2010-05-20 17:29:25 +02:00
Mathieu Parent 924683a73c Skinny: handle SWITCH_MESSAGE_INDICATE_DISPLAY
- send SWITCH_MESSAGE_INDICATE_DISPLAY when ringing (after knowing calle
  info
- send call info when receiving SWITCH_MESSAGE_INDICATE_DISPLAY

The send SWITCH_MESSAGE_INDICATE_DISPLAY part doesn't work yet, because
partner channel is locked (have to find out why)
2010-05-20 17:14:49 +02:00
Mathieu Parent 23b09b4593 Skinny: Correct state handling
- wait for media before marking channel as answered
- set effective_caller_{id,name} before sending call info
2010-05-20 16:34:38 +02:00
Mathieu Parent 8ec0b7f4c7 Skinny: fix redial button, and all nested "bridge" 2010-05-20 15:36:26 +02:00
Mathieu Parent 8cc89ab042 Skinny: rewrite of the skinny state machine
- for incoming calls, go CS_ROUTING only when number is dialed.
  CS_HIBERNATE before
- start media when both side have answered

Also:
- send tone for UNALLOCATED_NUMBER and USER_BUSY
- if channel variables are not sufficent to set call info, ask the
  partner channel
2010-05-20 15:16:08 +02:00
Anthony Minessale e15abcf9aa BOUNTY-18 2010-05-19 16:24:52 -05:00
Anthony Minessale 98a5a30ac2 make voicemails use the uuid of the channel who recorded it when applicable 2010-05-19 16:06:21 -05:00
Jeff Lenk 909ad64221 FSCORE-610 Initialize when no console 2010-05-19 08:11:02 -05:00
Mathieu Parent 03d07b4cb6 Skinny: slightly better call info 2010-05-19 09:52:03 +02:00
Mathieu Parent 32b8bdb990 Skinny: display destination number if callee is not set 2010-05-18 18:14:27 +02:00
Mathieu Parent e66e9fa878 Skinny: called is named callee 2010-05-18 13:48:16 +02:00
Mathieu Parent 0bc11afa73 Skinny: split out server part
And try to keep each file below 2000 lines
2010-05-18 10:49:01 +02:00
Mathieu Parent 51f1ad5072 Skinny: Send hangup cause to device (busy, unknown number) 2010-05-18 10:49:01 +02:00
Mathieu Parent 800918ab14 SKinny: use of labels, step2 2010-05-18 10:49:00 +02:00
Mathieu Parent 60090a8602 Skinny: using labels for display text
Based on chan-sccp-b (file src/sccp_labels.h)
2010-05-18 10:49:00 +02:00
Mathieu Parent 295f39c158 Skinny: renamed improper skinny_create_ingoing_session to _incoming_ 2010-05-18 10:49:00 +02:00
Anthony Minessale 7fd3aff6f0 fix eventConsumer issue and add flush() method 2010-05-17 18:38:25 -05:00
Anthony Minessale 9da349213b FSCORE-608 (2nd issue pertaining to parsing an empty xml file) 2010-05-14 11:27:29 -05:00
Anthony Minessale 349abc3fd0 add loopback_bowout_on_execute var to make 1 legged loopback calls bow out of the picture 2010-05-13 18:49:32 -05:00
Anthony Minessale eec3b757d4 add failure condition 2010-05-13 14:49:36 -05:00
Anthony Minessale a65a7f322b fix possible socket connection race 2010-05-13 14:49:36 -05:00
Brian West 91065543b2 avoid extraneous incorrect display update on answer 2010-05-12 22:19:54 -05:00
Brian West c6c479f028 fix double error message on display api 2010-05-12 22:18:48 -05:00
Brian West 848a4a6909 dup off the right pool 2010-05-12 21:23:49 -05:00
Brian West 6b1351e1bc more descriptive log message 2010-05-12 21:23:49 -05:00
Mathieu Parent 3b0f1711ba Skinny: corrections to call info:
- channel vars are caller_ and not callee_
- inbound/outbound are reversed from the skinny POV
- use displayname
2010-05-12 21:02:14 +02:00
Rupa Schomaker 5530de66ef patch cleanup - forgot a .rej file 2010-05-12 03:32:18 -05:00
Rupa Schomaker 35dc511c67 remove patch left-overs (.orig and .rej files) 2010-05-12 03:31:27 -05:00
Anthony Minessale 1d2c64d33b refactor 2010-05-11 17:56:08 -05:00
Michael Jerris 5d15dc1097 fix windows missing inet_ntop missing symbol when built on >= vista but run on < vista 2010-05-11 13:07:13 -04:00
Steve Underwood 1d0ce5570d Number reading should now be OK for the whole range of integers for
Cantonese and Mandarin
2010-05-11 09:59:33 +08:00
Anthony Minessale a7f74af7d0 add bind method to EventConsumer takes same args as constructor to bind more events to an existing consumer 2010-05-10 13:07:34 -05:00
Mathieu Rene 3c5c5905ad mod_sofia: fire an event for gateway ping 2010-05-10 12:33:47 -04:00
Mathieu Parent 194e57268a Skinny: tuple profile, device_name, device_instance is unique 2010-05-10 18:19:58 +02:00
Mathieu Parent bd6f7e73c0 perl-Skinny: don't launch thread if socket can't be created 2010-05-10 18:19:58 +02:00
Mathieu Parent 74e14f0dfb Skinny: fix the build 2010-05-10 18:19:58 +02:00
Mathieu Parent 8806bb2da1 Skinny: better call info 2010-05-10 18:19:57 +02:00
Mathieu Parent 6a29e56301 Skinny: tiny change (comment) 2010-05-10 18:19:57 +02:00
Anthony Minessale c74d1f1d00 rearrange 2010-05-10 10:40:15 -05:00
Moises Silva 26a6b43536 mod_sangoma_codec: rename load/noload to register/noregister 2010-05-07 13:56:41 -04:00
Brian West b5cc1a6626 FSCORE-605 2010-05-06 17:36:13 -05:00
Anthony Minessale 701385d221 FSCORE-607 doh 2010-05-06 17:18:26 -05:00
Brian West f254787c02 fix issue where file isn't in database and move zstr check into switch_file_exists 2010-05-06 16:25:41 -05:00
Anthony Minessale ef18989d56 sip_acl_authed_by and sip_acl_token vars to tell when you are authed by an acl 2010-05-06 15:25:30 -05:00
Anthony Minessale 2330d42412 add debug info 2010-05-06 11:38:36 -05:00
Michael Jerris 1180cfc6ff fix enum 2010-05-05 17:05:16 -04:00
Jeff Lenk 99eebf2f96 fix for Windows XP inet_ntop execution - you must compile with XP for support. 2010-05-05 15:15:01 -05:00
Michael Jerris 3362335033 typo 2010-05-05 15:15:00 -05:00
Anthony Minessale bbf0e64830 add disable_hold var or disable-hold profile param 2010-05-05 15:14:57 -05:00
Anthony Minessale a49cf256ad fix race condition when hangup happends after answer indication but before the session thread is started 2010-05-05 15:14:27 -05:00
Anthony Minessale 58fe45a803 add intercept_unbridged_only=true to only intercept if the channel is not bridged to anyone 2010-05-05 11:15:09 -05:00
Anthony Minessale a5f7461ee2 fix null pointer deref code path 2010-05-05 11:01:32 -05:00
Anthony Minessale 710290bcb4 MODENDP-302 2010-05-05 10:56:10 -05:00
Anthony Minessale 27fc3518bd reset codecs after media bugs 2010-05-04 16:03:43 -05:00
Anthony Minessale ba46088e68 fix NULL deref in err condition 2010-05-04 15:48:36 -05:00
Anthony Minessale ce910093dd add missing rwunlock in rtcp passthru mode 2010-05-04 12:30:19 -05:00
Anthony Minessale 468956e109 FSCORE-603 2010-05-04 11:24:35 -05:00
Anthony Minessale a2874b8e33 FSCORE-604 2010-05-04 09:50:55 -05:00
Brian West ef7236436a FSBUILD-275 2010-05-04 08:33:39 -05:00
Brian West d184207513 swigall 2010-05-03 16:02:21 -05:00
Michael Jerris ea5fc46550 typo 2010-05-03 16:57:17 -04:00