Commit Graph

10951 Commits

Author SHA1 Message Date
Brian West 83ce26b226 FS-2972 2011-01-10 09:56:03 -06:00
Jeff Lenk 719416f66b mem leak 2011-01-10 09:39:46 -06:00
Andrew Thompson 300348916e Log error when there's no IVR menus configured when you call 'ivr' DP app 2011-01-09 14:42:42 -05:00
Anthony Minessale a8b2840f2b little more on the DTMF commit 2011-01-07 17:53:09 -06:00
Anthony Minessale b3fc001e6c add rtp_bug IGNORE_DTMF_DURATION to speed up dtmf detection of RFC2833 on strange carriers 2011-01-07 16:04:24 -06:00
Jeff Lenk cd13030f25 vs2010 reswig 2011-01-06 23:17:08 -06:00
Anthony Minessale 1a08df9b20 add function to help set session read codec to slinear 2011-01-06 17:41:25 -06:00
Brian West 85c22d10e2 Fix iLBC when using ep_codec_string 2011-01-06 17:15:45 -06:00
Michael Jerris 9462f53c90 don't say we are not for polycom phones (safe rport) when its not really nat 2011-01-06 16:01:07 -06:00
Michael Jerris 0132cd3fc7 Fix routing behavior of inbound calls from gateways that only match gateway based on the gw request uri param
we now honor the extension gateway param only if it is explicitly set, but will not route to the username param if extension is not set
also, new special value for extension "auto" that should use the request uri unless it has gw+ and then it will use the to uri
2011-01-06 15:35:12 -06:00
Brian West 46853d7f3d swigall and fix gitignore for new celt. 2011-01-06 11:38:36 -06:00
Jeff Lenk 4272dcbff5 trivial build fix for last commit 2011-01-05 20:12:19 -06:00
Jeff Lenk 2091e33dbe windows update celt-0.10.0 2011-01-05 19:54:49 -06:00
Anthony Minessale b262f44ce2 add temp_hold_music var that is only valid until you transfer the call and finishing touches on bind meta to A-D 2011-01-05 18:58:56 -06:00
Anthony Minessale 27869d7a26 add bind meta on A-D and refactor 2011-01-05 17:53:27 -06:00
Anthony Minessale 96ac90adce reduce warnings to debug 2011-01-05 16:57:00 -06:00
Brian West 231fbe5e7a correct please test 2011-01-05 16:48:11 -06:00
Brian West d3e7c2a63d Revert 2011-01-05 16:39:09 -06:00
Brian West 422ee12aaa Bump celt to 0.10.0 2011-01-05 16:37:56 -06:00
Anthony Minessale 181b543b0c add auto-jitterbuffer-msec param and auto-disable the jitterbuffer when briding to another channel who also has a jitterbuffer so both legs will disable during a bridge 2011-01-05 16:25:14 -06:00
Brian West 32b8f1008e more fixes from diego 2011-01-05 14:09:16 -06:00
Brian West d79cf48475 FS-2962 2011-01-05 11:45:48 -06:00
Michael Jerris 5bb525e1ea set maximum query run time to 30 seconds at least on drivers that support SQL_ATTR_QUERY_TIMEOUT 2011-01-05 12:33:50 -05:00
Brian West 2c595a6ce0 FS-2961 2011-01-05 11:32:10 -06:00
Anthony Minessale 8f9ddb5a89 42 2011-01-05 10:42:44 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Michael Jerris 23d9a237dc don't seg in edge case error conditions 2011-01-05 10:46:27 -05:00
Michael Jerris 342678698c set tracking data before enabling hooks 2011-01-05 10:17:31 -05:00
Michael Jerris 9ee13b723e don't seg in edge case error conditions 2011-01-05 09:54:27 -05:00
Anthony Minessale e6070feeab cleanup 2011-01-03 16:48:10 -06:00
Anthony Minessale fc77d19b7b presence.... again.... 2011-01-03 16:40:49 -06:00
Daniel Swarbrick 8b7fd76d3d use switch_zmalloc() instead of apr pools for short term storage, rename a couple of funcs to be clearer as to their purpose 2011-01-03 22:09:46 +01:00
Daniel Swarbrick df090a2a6b free() -> switch_safe_free() 2011-01-03 21:39:36 +01:00
Daniel Swarbrick 66ce95a930 removing my debug :o 2011-01-03 19:10:15 +01:00
Daniel Swarbrick a3d66bb4f0 mod_cdr_pg_csv: make disk spool format user-selectable 2011-01-03 18:59:53 +01:00
Brian West 7b28994121 FS-502: gateway not identified when extension-in-contact is set 2011-01-03 10:44:28 -06:00
Daniel Swarbrick 80f3281c09 whitespace fixups 2011-01-03 15:05:24 +01:00
Daniel Swarbrick aab453f52a tweak create.sql and config file 2011-01-03 14:01:08 +01:00
Daniel Swarbrick 93bbbe96af Remove event_handler() altogether, since it was doing nothing anyway 2011-01-03 13:36:20 +01:00
Daniel Swarbrick 935f2c4214 mod_cdr_sqlite has no need for (yet) for SIGHUP 2011-01-03 13:27:08 +01:00
Daniel Swarbrick 2632af929d FS-2953 2011-01-03 12:52:25 +01:00
Leon de Rooij 09e6fd3f4e Make dbh:connected accessible from Lua - thanks Grmt 2011-01-03 12:20:06 +01:00
Daniel Swarbrick 2be3175ae9 mod_cdr_pg_csv now spools the attempted SQL to disk if DB insert fails, instead of writing CSV. This should make it simpler to import any failed inserts. 2010-12-31 20:54:20 +01:00
Daniel Swarbrick 9ab7473cb9 Drop a-table/g-table stuff, use single DB table. Filtering should be done by SQL 2010-12-31 20:13:45 +01:00
Anthony Minessale f79f9766ba don't let inherit_codec work when we have ep_codec_string set and the B-leg codec is not in that list since it will lead to failure 2010-12-31 11:59:33 -06:00
Anthony Minessale e897646e15 make exact matches return sooner in dmachine 2010-12-31 10:09:40 -06:00
Daniel Swarbrick 0e31a974d4 Code cleanup, saner way of stripping chars from string 2010-12-31 03:10:50 +01:00
Daniel Swarbrick 0f95b87035 Drop transaction BEGIN/END around INSERT. We're only executing one command, and autocommit will automatically rollback if the INSERT fails.
Sync state_handlers with mod_cdr_csv. Minor libpq fixups.
2010-12-31 00:18:03 +01:00
Daniel Swarbrick 18feeb1067 Coding style, fix some C90 warnings about mixed decls/code 2010-12-31 00:01:53 +01:00
Daniel Swarbrick 5401c60493 fix CR line endings 2010-12-30 23:43:03 +01:00
Daniel Swarbrick f625fe3b01 Add SQLite CDR module 2010-12-30 20:38:49 +01:00
Anthony Minessale 10257c7d5d FS-2768 2010-12-30 11:47:15 -06:00
Anthony Minessale 97a68c50d9 support allowing pidf-ful presence clients to share the same account and 'appear offline' without influencing each other =/ also refactor the contact generation string based on nat into a helper function 2010-12-30 11:38:23 -06:00
Anthony Minessale c4e350ab0c add insertFile front end to switch_ivr_insert_file and reswig 2010-12-29 15:09:57 -06:00
Anthony Minessale 0920645d1f update 2010-12-29 15:04:19 -06:00
Anthony Minessale 534d3bcb29 fix userauth for real 2010-12-29 14:44:05 -06:00
Anthony Minessale 39ff276c1c nm 2010-12-29 14:13:17 -06:00
Jeff Lenk 4f4294327d vs2010 reswig 2010-12-29 14:15:40 -06:00
Anthony Minessale 08955a2b29 fix userauth 2010-12-29 13:59:12 -06:00
Anthony Minessale 650393fb90 add recovery_refresh app and api and use it in mod_conference to send a message to the channel telling it to sync its recovery snapshot 2010-12-29 13:15:14 -06:00
Anthony Minessale 81608da006 refactor sofia_contact to try the profile_name first then the domain to resolve the profile then fall back to querying every profile to reduce confusion with multi-homers (d'oh) also special profile name * will force a search-all situation 2010-12-29 12:28:12 -06:00
Jeff Lenk 86e7cdc5d1 FS-2949 spelling error in -ERR return code encounterd -> encountered 2010-12-28 11:23:39 -06:00
Joao Mesquita 49a524b79b Merge branch 'master' of git@git.freeswitch.org:freeswitch
Conflicts:

	src/mod/applications/mod_conference/mod_conference.c
2010-12-27 21:31:40 -03:00
Joao Mesquita 479f3de26b Add an unique id to the conference obj so that we can track conferences. 2010-12-27 21:23:42 -03:00
Brian West 0b8a9049f5 swigall 2010-12-27 17:39:29 -06:00
Anthony Minessale 844ac2201c fix bad codepaths in mod_snapshot 2010-12-27 17:41:26 -06:00
Anthony Minessale f6eab64c5c add uuid_buglist to fetch the current media-bugs attached to a given session uuid 2010-12-27 17:20:41 -06:00
Brian West 27f5340d6d swigall 2010-12-27 15:34:41 -06:00
Anthony Minessale 903b2901db try to adjust the timer to be ok with the horrible 10000 microsecond kernel resolution on amazon ec3 but that doesn't mean it's not horribly wrong to run the kernel that slow 2010-12-27 15:35:10 -06:00
Anthony Minessale 5eb951aa30 fix partial match counting as exact match in dmachine 2010-12-27 14:55:55 -06:00
Anthony Minessale 430dfdacab revert change based on reports of bad audio 2010-12-27 09:27:21 -06:00
Giovanni Maruzzelli 7f81c3cc3c skypopen: OSS driver, added some code from /dev/zero to read(), and performances are better 2010-12-27 07:49:38 -06:00
Anthony Minessale 75198fe4cb audio adjustments 2010-12-23 13:18:41 -06:00
Georgiewskiy Yuriy 03f5d55fc9 change terminal type 2010-12-23 17:10:59 +03:00
Anthony Minessale 34a0ca5096 drop rtp frame that was already replaced with a cng frame 2010-12-22 20:38:57 -06:00
Anthony Minessale 751e0291ee prevent race on execute_on_answer called from the B-leg of a call 2010-12-22 19:10:30 -06:00
Anthony Minessale 5b752c54a7 fix ignore_early_media=ring_ready 2010-12-22 15:53:24 -06:00
Anthony Minessale 90e58696fe fix dtmf issue with jb on 2010-12-22 12:22:00 -06:00
Jeff Lenk a971e7de70 vs2010 reswig 2010-12-21 22:20:49 -06:00
Jeff Lenk fe005bddd7 FS-2789 fix secondary issue with min_digits = 0 and terminator key pressed to cancel 2010-12-21 22:15:03 -06:00
Joao Mesquita b49c366efb Fix some log lines and a flag logic. 2010-12-21 23:55:26 -03:00
Joao Mesquita 48ed9c2c5d Merge branch 'master' of git@git.freeswitch.org:freeswitch 2010-12-21 23:41:42 -03:00
Joao Mesquita 651acc62f7 Add a chan var conference_enter_sound to override conference enter-sound param on the profile 2010-12-21 23:39:05 -03:00
Anthony Minessale 4d7e4f1ec2 change switch_strip_spaces to specify if you want it to dup the string or destroy the current buffer 2010-12-21 20:30:28 -06:00
Brian West 638cbf16cc Sofia madness to make crap just work 2010-12-21 19:32:54 -06:00
Anthony Minessale a3b01c195b rtp adjustments when using jitterbuffer 2010-12-21 15:35:43 -06:00
Andrew Thompson 4f9dd5e164 mod_conference: Add XML output for conference run time, recording status and member mute-detect. Also add events for recording start and stop.
This work was funded by Xpander Communications.
2010-12-20 23:57:45 -05:00
Anthony Minessale 1b1dea0206 FS-2879 2010-12-20 20:19:36 -06:00
Anthony Minessale f804c75d99 presence was drafted by satan 2010-12-20 15:43:54 -06:00
Anthony Minessale a78922a212 nope 2010-12-20 15:05:13 -06:00
Anthony Minessale cfd6876c21 more presence and not the kind with bows and ribbons 2010-12-20 14:36:10 -06:00
Anthony Minessale 34690e47ff FS-2879 2010-12-20 11:16:14 -06:00
Brian West f4d52d4caa FS-2943: improve fail2ban logging 2010-12-20 08:43:13 -06:00
Mathieu Parent 9b70d9a7a5 Revert perl's Net::Skinny test 2010-12-19 22:20:09 +01:00
Mathieu Parent 709c4e5f97 Skinny: Event skinny::xml_alarm 2010-12-19 22:16:40 +01:00
Mathieu Parent 1c4c84fc0f Perl's Net::Skinny : update to current handle PACKED structs 2010-12-19 22:16:40 +01:00
Giovanni Maruzzelli 299c139c3e skypopen: refined hrtimers support to OSS audio driver 2010-12-19 13:40:36 -06:00
Anthony Minessale 1f26f2f86a presence is a 4-letter word 2010-12-17 22:29:33 -06:00
Jeff Lenk 282b156207 windows tweak mod_say_pt add to vs2010 others not for now 2010-12-17 21:25:45 -06:00
Michael S Collins f7f7b80963 Merge branch 'master' of git://git.freeswitch.org/freeswitch 2010-12-17 16:17:16 -08:00
Michael S Collins c81a944857 lang: Update langs - Add pt_PT, update es to have es_ES and es_MX, update mod_say_es and add mod_say_pt (FS-2937) 2010-12-17 16:16:39 -08:00
Anthony Minessale 668763f490 prevent race on codec change mid-call 2010-12-17 17:27:23 -06:00
Anthony Minessale ab0a2bfa03 prune 2010-12-17 17:15:42 -06:00
Anthony Minessale ee562c82e1 FS-2879 2010-12-17 16:06:11 -06:00
Anthony Minessale 1e0df408cf oops 2010-12-17 15:28:19 -06:00
Anthony Minessale 8f452bc519 cid logic changes for calle[re] 2010-12-17 14:35:53 -06:00
Giovanni Maruzzelli ae7279f174 skypopen: added hrtimers support to OSS audio driver 2010-12-17 08:44:33 -06:00
Anthony Minessale 9db4a8265c tweak on calle[re] id 2010-12-16 16:03:05 -06:00
Anthony Minessale 2800ea199d tune event socket params a bit 2010-12-16 11:34:02 -06:00
Anthony Minessale 3ff07445d4 add CF_DIALPLAN 2010-12-16 09:45:43 -06:00
Anthony Minessale 93cc3dc556 normalize tests for outbound channels to use switch_channel_direction instead of testing for CF_OUTBOUND 2010-12-15 20:59:42 -06:00
Anthony Minessale 00046ee0f2 FS-2933 2010-12-15 20:59:42 -06:00
Mathieu Parent 715d250e17 Skinny: handle new XMLAlarmMessage
This add support for new SCCP Firmware 9.1

(part of FS-2912)
2010-12-15 21:29:52 +01:00
Mathieu Parent a95af70323 Skinny: set max message size to 2048 for now
(part of FS-2912)
2010-12-15 19:44:38 +01:00
Jeff Lenk 416f6388c3 windows build fixes for last commit 2010-12-15 10:37:57 -06:00
Anthony Minessale 2c8d5d8ec9 use our version for better compat 2010-12-15 10:22:45 -06:00
Mathieu Rene c4154633cc FS-2929 2010-12-15 09:43:54 -05:00
Anthony Minessale e9958c5b0c more jb work, add debug command and logging (sorry jlenk if this breaks win32) 2010-12-14 23:46:26 -06:00
Brian West 2324c29917 round two better code thanks mikej 2010-12-14 22:29:45 -06:00
Giovanni Maruzzelli eafd7e5e15 skypopen: tweaking the OSS audio driver 2010-12-14 16:55:39 -06:00
Brian West 1d668e25ab hrm 2010-12-14 12:43:51 -06:00
Brian West 6c6eab8c13 Do not set nat mode when the device's network_ip is within the acl also so if your FS is behind nat and your phone is too then it will still make the right decisions 2010-12-14 12:00:55 -06:00
Giovanni Maruzzelli 739ac99e3b skypopen: tweaking the OSS audio driver, still gives a load average higher than snd-dummy + snd-pcm-oss on CentOS 5 (but not much more, and lower cpu load), but now is very very good on tickless kernels, eg: Ubuntu 10.04 LTS 2010-12-14 08:38:57 -06:00
Giovanni Maruzzelli 7997d24f33 skypopen: tweaking the OSS audio driver 2010-12-14 06:46:01 -06:00
Giovanni Maruzzelli 6e310ef8fc skypopen: slightly improve OSS audio driver 2010-12-14 06:46:01 -06:00
Giovanni Maruzzelli 0e83cbe5ca skypopen: slightly improve OSS audio driver 2010-12-14 06:46:00 -06:00
Anthony Minessale 7e047c3fd1 more ongoing work on jb 2010-12-14 00:15:36 -06:00
Anthony Minessale d11c83b16e revert to the last transfered conference on recover 2010-12-13 18:28:43 -06:00
Anthony Minessale 0ca7930fa3 small tweak to new plc code 2010-12-13 18:14:39 -06:00
Anthony Minessale 28cab5ed46 FS-2923 2010-12-13 18:00:15 -06:00
Anthony Minessale 321013efe7 have mod_sofia always elect to be the session refresher so we know it will work, also make the session-expires set to 0 imply 100% disabled session timers 2010-12-13 14:02:46 -06:00
Jeff Lenk 84c7fa2fbc my bad fix warning 2010-12-13 13:42:38 -06:00
Anthony Minessale cb2d073632 FS-2924 2010-12-13 11:50:06 -06:00
Anthony Minessale dfecc91487 remove check for va_list completely in sofia since i don't event think it happens ever 2010-12-13 11:20:23 -06:00
Anthony Minessale 3a645dee60 FS-2913 2010-12-13 11:20:23 -06:00
Brian West b2a3bbff9b Fix samples for playback 2010-12-13 10:30:00 -06:00
Brian West e8792d0ad3 swig all 2010-12-12 08:11:11 -06:00
Giovanni Maruzzelli 7b59313902 skypopen: added a proof of concept standalone OSS audio driver (for Skype-oss clients) 2010-12-11 13:21:45 -06:00
Giovanni Maruzzelli 577d7b5538 skypopen: added a proof of concept standalone OSS audio driver (for Skype-oss clients) 2010-12-11 13:21:45 -06:00
Anthony Minessale 009c41d460 add new function to init an empty switch_sockaddr_t to avoid an unnecessary dns lookup on 0.0.0.0 2010-12-11 11:41:19 -06:00
Anthony Minessale ee5d1c4dcf missed a spot 2010-12-11 10:41:34 -06:00
Jeff Lenk dc5b964bb1 fix build on windows for last commit 2010-12-10 21:43:03 -06:00
Anthony Minessale 19d1385714 temp tiff hack (make spandsp-reconf) 2010-12-10 17:58:24 -06:00
Anthony Minessale d547096164 dramatic jitterbuffer changes 2010-12-10 17:47:46 -06:00
Anthony Minessale bbf1cd1f43 allow epoch in strftime_tz 2010-12-10 17:47:46 -06:00
Mathieu Rene 98ed05cc98 Add reuse-connections sofia profile param to allow users to turn off TPTAG_REUSE, thus not re-using TCP connections 2010-12-10 14:30:47 -05:00
Jeff Lenk 3406d05ba7 Fix fallback to CORE_DB when MSSQL fails init 2010-12-09 23:05:49 -06:00
Jeff Lenk c6e7988bf8 FS-2904 detect_speech documentation incomplete 2010-12-09 14:25:39 -06:00
Jeff Lenk cfd4d52dd0 fix memory alloc issue 2010-12-09 12:01:24 -06:00
Anthony Minessale 5aba96e382 FS-2910 2010-12-08 20:39:28 -06:00
Jeff Lenk 72bcc01b1d FS-2210 Add support for auto completion for uuid_simplify 2010-12-07 22:32:38 -06:00
Giovanni Maruzzelli 9350fb9626 skypopen: added a second timer on read from Skype client (timer_read_srv), so not to depend anymore from select on that socket 2010-12-07 00:20:07 -06:00
Anthony Minessale 7aa72b67df prevent race while changing codecs mid call 2010-12-03 20:22:14 -06:00
Anthony Minessale 3501087b4d add-on to earlier change to this file 2010-12-03 20:22:14 -06:00
Marc Olivier Chouinard fdc31908fa mod_sofia: Add support to reboot Yealink phone remotely - FS-2897 2010-12-03 18:58:39 -05:00
Anthony Minessale 5d7c09ed77 fix edge caes for endless loop in sql thread 2010-12-03 12:38:49 -06:00
Georgiewskiy Yuriy a024f006de Adds an extra switch_rtp_destroy or switch_rtp_release_port when a session ends - to make sure the port is returned to FS. 2010-12-03 19:33:29 +03:00
Georgiewskiy Yuriy 230cef0fd1 Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2010-12-03 18:55:58 +03:00
Brian West 6faa4c91c3 using the wrong api to remove media bug from crienzo on IRC, thanks. 2010-12-02 17:11:04 -06:00
Brian West 8cf1501203 FS-2881: SIP-header History-Info might exist multiple times, but only last header is exposed as a channel variable 2010-12-02 16:55:02 -06:00
Brian West 59ea4a1b9c FS-2886: wrong IP in VIA and contact HEADER for MESSAGE method while fs run in private network 2010-12-02 16:52:32 -06:00
Georgiewskiy Yuriy de66ad246f Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2010-12-02 17:30:27 +03:00
Anthony Minessale 12fc65f7a3 FS-2872 2010-12-01 21:20:59 -06:00
Giovanni Maruzzelli 04a092fab5 skypopen: a little bit of constant cleaning, and screening of A-D dtmfs (not accepted bu Skype client) - fix for FS-2891 2010-12-01 17:10:32 -06:00
Anthony Minessale 13e8de4aba FS-2872 2010-12-01 13:07:47 -06:00
Geovani Ricardo Wiedenhoft 5df1683c38 - Notifies the pre_answer
- Dialplan examples
- New version of commons
- Priority of contexts
- New K3L install script - getk3l.sh
- CLI return in XML
- More options in GET and SET commands
- Events (ESL) to send/receive SMS.
- fax-adjustment-timeout implemented
- accountcode and language
- Owner destroy
- Destroy wait for resources release
- static const expression
- Hangup cause
2010-12-01 16:40:35 -02:00
Anthony Minessale ca28a80658 update caller_profile to have correct uuid when using custom uuid from originate string 2010-12-01 10:31:37 -06:00
Anthony Minessale 1ba98b02b9 FS-2852 2010-12-01 09:54:28 -06:00
Anthony Minessale 92f4344072 FS-2892 2010-12-01 09:46:06 -06:00
Jeff Lenk 2343f68597 VS2010 reswig 2010-11-30 21:43:28 -06:00
Anthony Minessale 77a7f93d67 reswig 2010-11-30 18:23:01 -06:00
Anthony Minessale 82394b3768 add switch_ivr_insert_file to insert one file into another at an arbitrary sample point 2010-11-30 18:22:22 -06:00
Brian West a669f76f78 Fix issue when fs_path is used so we pick the correct media IP in our outbound invite this was soemthing that wouldn't work correctly over ATT on the iphone. 2010-11-30 17:43:13 -06:00
Anthony Minessale a1d6596ea6 swigall 2010-11-30 15:50:15 -06:00
Anthony Minessale c4369fc84d add uuid_fileman <uuid> <cmd>:<val> <-- same vals as the callbacks in js and lua to control the currently playing file of a channel from the cli or ESL (for the people who were ignoring me on the conference call so I decided to implement it instead of try to explain it ) 2010-11-30 15:34:22 -06:00
Brian West 5b15e03f30 swigall 2010-11-30 11:24:59 -06:00
Anthony Minessale ef4a4ed034 run execute_on_answer on_media _on_ring apps async 2010-11-30 11:01:54 -06:00
root 006b3165cf fix issues with Progress message type if pre_answer enabled 2010-11-30 19:35:38 +03:00
Anthony Minessale 8b0421ff68 add new function to check when messages need parsing to improve performance on parsing messages during originate 2010-11-30 09:49:12 -06:00
Anthony Minessale ed5266d3ca don't parse events for b legs from a leg thread in case they are using a monolothic python script as a group_confirm exec over socket to send it messages while the call is ringing 2010-11-29 15:34:27 -06:00
Anthony Minessale 9a25519496 FS-2368 forgot one debug line 2010-11-29 13:02:48 -06:00
Anthony Minessale 2572621bc9 FS-2368 2010-11-29 13:00:19 -06:00
Marc Olivier Chouinard 8825b6eac8 mod_sofia: Fix in previous commit incompleted, this one should do it (sofia presence related) 2010-11-28 17:15:39 -05:00
Marc Olivier Chouinard 9a9373c0bb mod_sofia: Fix malformed Presense SQL Query 2010-11-28 17:07:54 -05:00
Marc Olivier Chouinard 80174cf39f mod_callcenter: Add new eventsocket agent-offering. Plus some documentation and better handeling of bad agent type -- FS-2869 2010-11-26 20:38:46 -05:00
Giovanni Maruzzelli 599a200509 skypopen: adding osscuse directory, lot of news to come in some days ;) 2010-11-26 07:05:16 -06:00
Giovanni Maruzzelli c7aefe934f gsmopen: retry serial initialization if failed, zeroing audio buffers, slower retry on soundcard busy (EAGAIN) 2010-11-26 06:48:48 -06:00
Jeff Lenk c57c17604c Update mod_cepstral for windows vs2010 2010-11-25 10:40:20 -06:00
Jeff Lenk 6a9a27b791 VS2010 fix output paths 2010-11-24 22:13:12 -06:00
Anthony Minessale 143949941c add presence-probe-on-register sofia param to send a probe on register instead of presence to deal with some broken phones and add some general improvements to allow multi homed presence 2010-11-24 21:39:08 -06:00
Anthony Minessale 8b0e7d2496 FS-2880 2010-11-24 21:26:12 -06:00
Brian West 17efb68d1d woops don't log reg twice 2010-11-24 10:53:01 -06:00
Brian West d73cd50e99 sofia_reg.c lets make this fail2ban stuff better 2010-11-24 10:34:12 -06:00
Jeff Lenk 6a948bd98b add mono 2.8 patch file see FS-2774 2010-11-24 09:50:50 -06:00
Travis Cross e82828231e spelling corrections 2010-11-24 06:07:21 +00:00
Travis Cross 364c156cdc update .gitignore 2010-11-24 03:46:59 +00:00
Brian West dad92067da FS-535: fix issue in is_lan_addr where 172.2 would match 172.250.x.x which is not RFC1918 this also fixes an chicken egg issue 2010-11-23 18:51:17 -06:00
Anthony Minessale 0bd8d187e0 clear controlled flag on recovered calls 2010-11-23 18:03:56 -06:00
Mathieu Rene 58c28aabc8 mod_dingaling: use the login as message source when not in component mode. (chat_send) 2010-11-23 17:26:32 -05:00
Mathieu Rene eb109a85d5 mod_dingaling: fix leak in chat_send 2010-11-23 17:00:18 -05:00
Anthony Minessale 10cb487cb0 FS-2868 2010-11-23 15:50:17 -06:00
Anthony Minessale 21c2a74840 uncomment 2010-11-23 13:19:04 -06:00
Anthony Minessale 8966b4ba6e FS-2867 2010-11-23 13:19:04 -06:00
Brian West 38f994206f FS-535: additional checks and use the right contact for registers inside and outside of nat 2010-11-23 09:54:50 -06:00
Brian West 89dbe0b0a0 ESL-52 2010-11-22 17:06:59 -06:00
Brian West 87edbed6bb FS-535: be more careful and catch ipv6 edge case 2010-11-22 15:32:23 -06:00
Brian West 22047f9337 FS-2862: fix seg more 2010-11-22 15:24:22 -06:00
Brian West cf398e1a44 FS-535: tested but please test MORE. 2010-11-22 14:59:47 -06:00
Brian West 90c156243c FS-2862: fix seg 2010-11-22 10:10:26 -06:00
Brian West 6dfd39c5f3 log ip too 2010-11-21 12:01:48 -06:00
Anthony Minessale 5973679e35 fix passing of callee-id 2010-11-19 14:47:45 -06:00
Anthony Minessale 6c4f49a888 apparently some sip device vendors did not read the RFC (who knew?) adding verbose_sdp=true var to add needless a= lines for standard iana codecs that explicitly do not require them 2010-11-19 13:46:14 -06:00
Jeff Lenk 67fa716bfd fix critical property for module load 2010-11-19 13:15:56 -06:00
Anthony Minessale 8c9f23ea56 refactor codec_destroy to prevent race 2010-11-19 12:23:17 -06:00
Mathieu Rene d2fd5ba0aa fix regression 2010-11-19 12:07:19 -05:00
Mathieu Rene de417e99f0 Implement switch_queue_pop_timeout() and refactor sofia_profile_worker_thread_run() to use it so it doesn't wake up too often 2010-11-18 21:00:35 -05:00
Anthony Minessale 42a4a3dedf revert FS-2859 2010-11-18 18:24:32 -06:00
Anthony Minessale 0a11b9b433 FS-2859 2010-11-18 16:23:01 -06:00
Anthony Minessale d96eb988ff FS-2857 2010-11-18 16:14:08 -06:00
Mathieu Rene ad7c7f1323 adjust switch_yield times in switch_core_sql_db_thread() and pool_thread() 2010-11-18 11:25:03 -05:00
Anthony Minessale 86509640e3 FS-2857 2010-11-18 09:00:24 -06:00
Jeff Lenk de7a984399 correct windows vs2010 mod_valet_parking x64 path issue 2010-11-17 19:37:40 -06:00
Jeff Lenk 4d41a0f3a2 FS-2855 Fix spidermonkey under windows x64 2010-11-17 15:39:33 -06:00
Anthony Minessale 180f58a677 FS-2851 2010-11-17 12:17:27 -06:00
Rupa Schomaker 1c1df1f772 mod_lcr: FS-2820 - profile support in dialplan module 2010-11-17 09:34:09 -06:00
Anthony Minessale 68f18efe37 add intercept_unanswered_only var akin to intercept_unbridged_only 2010-11-16 09:51:18 -06:00
Moises Silva 3acc5fdb64 mod_sangoma_codec: add SIREN7 24kbps 2010-11-15 20:02:47 -05:00
Moises Silva fcaf267757 mod_sangoma_codec: add siren7 32kbps 2010-11-15 20:02:47 -05:00
Moises Silva 97056b24c0 mod_sangoma_codec: fix samples per packet 2010-11-15 20:02:47 -05:00
Jeff Lenk 97c65a004e reswig 2010-11-15 12:22:09 -06:00
Brian West db91f0e81f FS-2842: ACL for IPv6 address and swigall to boot 2010-11-15 11:37:23 -06:00
Andrew Thompson 6941c6eb71 FS-2775 Rewrite XML fetch conditional wait to be more sane (Reported by James Aimonetti) 2010-11-15 12:39:54 -05:00
Anthony Minessale 04e57577b3 FS-2801 2010-11-15 11:22:34 -06:00
Anthony Minessale b160942bc0 test 2010-11-12 12:03:40 -06:00
Marc Olivier Chouinard 025c82e76f ivr_enterprise_originate: Fix export of variable from the originator channel to the called channels 2010-11-11 20:21:35 -05:00
Anthony Minessale b2f8041790 fix file string when being used in ringback 2010-11-11 16:48:59 -06:00
Anthony Minessale 0100eff635 update 2010-11-11 15:37:58 -06:00
Anthony Minessale cd95138427 FS-2839 2010-11-11 12:32:29 -06:00
Anthony Minessale 3be3cd762a add send_silence_when_idle and dmachine honoring to park loop 2010-11-11 10:54:04 -06:00
Anthony Minessale f079f898cb declinatio mortuus obfirmo! 2010-11-11 10:49:02 -06:00
root 70dca6dd4b Makefile changes for x86_64 arch, thnx Steven Ayre and ptlib include path fix. 2010-11-11 10:56:10 +03:00
Moises Silva 8b68da37ae mod_sangoma_codec: fix G722 2010-11-10 19:51:46 -05:00
Anthony Minessale 588a5cee03 update 2010-11-10 18:09:04 -06:00
Anthony Minessale b278dd2379 add manual_rtp_bugs to profile and chan var and 3 new RTP bugs SEND_LINEAR_TIMESTAMPS|START_SEQ_AT_ZERO|NEVER_SEND_MARKER
RTP_BUG_SEND_LINEAR_TIMESTAMPS = (1 << 3),

	  Our friends at Sonus get real mad when the timestamps are not in perfect sequence even during periods of silence.
	  With this flag, we will only increment the timestamp when write packets even if they are eons apart.

	RTP_BUG_START_SEQ_AT_ZERO = (1 << 4),

	  Our friends at Sonus also get real mad if the sequence number does not start at 0.
	  Typically, we set this to a random starting value for your saftey.
	  This is a security risk you take upon yourself when you enable this flag.

	RTP_BUG_NEVER_SEND_MARKER = (1 << 5),

	  Our friends at Sonus are on a roll, They also get easily dumbfounded by marker bits.
	  This flag will never send any. Sheesh....
2010-11-10 16:58:36 -06:00
Moises Silva ca8c23361b mod_sangoma_codec: add G722 2010-11-10 17:29:08 -05:00
Paulo R. Panhoto f331303404 mod_mp4 -- Supports playback of MP4 files.
* depends on libmp4v2 <http://code.google.com/p/mp4v2/>
(originally compiled against v1.6.1)

* File format details:
	- Files must be hinted (mpeg4ip can be used to create the hint
	  tracks).
	- Video track encoding must be supported by FS (e.g. H.263)
	- Audio track encoding must be PCMU/8000/Mono. The audio track
	  can be created with this tool:
	<https://asteriskvideo.svn.sourceforge.net/svnroot/asteriskvideo/tools/pcm2mp4.cpp>
2010-11-10 16:27:43 -02:00
Anthony Minessale 42edb9cfe9 swig 2010-11-10 10:30:18 -06:00
Moises Silva 31cc2502f7 mod_sangoma_codec: register AMR 2010-11-09 17:58:27 -05:00
Anthony Minessale 7bd0a5a63d FS-2833 2010-11-09 11:53:01 -06:00
Anthony Minessale 794db40e52 refactor STFU a bit 2010-11-09 11:49:07 -06:00
Anthony Minessale dd4fb5bee5 add default_lag to fifo 2010-11-09 10:30:06 -06:00
Anthony Minessale 3885eea765 add outbound_ring_timeout param to mod_fifo 2010-11-09 09:46:03 -06:00
Anthony Minessale 49b6237ed2 avoid hypothetical problem with flushing queue with delayed events 2010-11-08 15:05:02 -06:00
Anthony Minessale 5875905285 FS-2827 2010-11-08 10:14:46 -06:00
Anthony Minessale 10119e9e88 FS-2824 2010-11-08 10:13:35 -06:00
Jeff Lenk 4bbd9a4c0f FS-2825 add additional info when fail 2010-11-08 08:05:23 -06:00
Jeff Lenk 77e7f58986 VS2010 Swig 2010-11-05 21:15:03 -05:00
Michael Jerris 40ac860aaa fix missing name and potential segfault in gateway status 2010-11-05 20:24:31 -04:00
Anthony Minessale e0c37c1f6e allow process_import to specify a prefix 2010-11-05 18:20:09 -05:00
Anthony Minessale f69f4a7747 refactor 2010-11-05 15:24:11 -05:00
Anthony Minessale 8315b954fd tweak 2010-11-05 12:26:40 -05:00
Anthony Minessale 7dafe4e2c7 fail calls with uninitialized frame 2010-11-04 15:40:00 -05:00
Anthony Minessale dcdd381195 fire DTMF event when converting dtmf to inband with start_dtmf_generate 2010-11-04 15:30:02 -05:00
Anthony Minessale d205755ae0 typo 2010-11-04 14:38:43 -05:00
Geovani Ricardo Wiedenhoft 56f58c2983 - flash-to-digits: Defines the digits to be sent when the FLASH is detected on FXS
channels;
- Updated documentation.
2010-11-04 10:04:19 -02:00
Anthony Minessale 2043d5a671 fix display of timeout 2010-11-03 12:22:01 -05:00
Anthony Minessale e5b891eed1 add separate reg timeout from retry sec 2010-11-03 10:58:32 -05:00
Michael Jerris fc4d290cb7 add support for NDLB-force-rport=safe param that does force-rport behavior only on endpoints we know are safe to do so on. This is a dirty hack to try to work with certain endpoints behind sonicwall which does not use the same port when it does nat, when the devices do not support rport, while not breaking devices that acutally use different ports that force-rport will break 2010-11-03 11:53:39 -04:00
Giovanni Maruzzelli 4706d3946d skypopen: performance improvements in skypopen_protocol.c and alsa/dummy.c . Added pcm*c to alsa/. Let's hope the larger period in dummy.c does not make problems on ubuntu 2010-11-02 22:52:51 -05:00
Anthony Minessale df52cc0952 fix registration overlap timeout snafu 2010-11-02 17:58:24 -05:00
Anthony Minessale 97d80d924a same as last one in another place 2010-11-02 11:50:04 -05:00
Giovanni Maruzzelli f3ae4d10d7 skypopen: callflow display reshuffle 2010-11-02 02:19:18 -05:00
Giovanni Maruzzelli 04f9b8c6f4 skypopen: very nice formatted debug output (ok, I go get a life) 2010-11-01 19:12:03 -05:00
Anthony Minessale 35676e7e04 parse static route in sip uri in notify by event 2010-11-01 18:47:09 -05:00
Giovanni Maruzzelli cda952083f skypopen: nice formatted debug output (I feel so stupid when I use one full hour for things like this, but I like it ;) ) 2010-11-01 18:48:28 -05:00
Giovanni Maruzzelli 5f91e46914 skypopen: modifying Makefile.am and skypopen.h to report in revision tag of debug lines the last commit of both mod_skypopen.c and skypopen_protocol.c (so you can have your own commits in the same dir) 2010-11-01 16:41:23 -05:00
Giovanni Maruzzelli faa1636905 skypopen: modifying Makefile.am to report on last commit in skypopen directory 2010-11-01 16:14:16 -05:00
Anthony Minessale 7ac78ac21a FS-2811 2010-11-01 10:25:47 -05:00
Anthony Minessale 1970ec1d81 FS-2810 2010-11-01 10:03:10 -05:00
Jeff Lenk 1b0ec75568 fix stuck channel with voicemail and loopback 2010-10-30 22:29:26 -05:00
Moises Silva 3e33540a81 mod_sangoma_codec: add G723.1 2010-10-29 23:01:49 -04:00
Marc Olivier Chouinard 81a038690a mod_callcenter: Make callcenter_config agent get return the value of the item requested. Also added queue param max-wait-time-with-no-agent-time-reached: If the max-wai-time-with-no-agent is already reached for the queue, then new caller can wait for x ammount of second before it kicked out of the queue rather than get rejected automaticly. 2010-10-29 22:41:14 -04:00
Moises Silva e86af7d730 mod_sangoma_codec: only register one codec interface for iLBC 2010-10-29 21:55:01 -04:00
Anthony Minessale 402e383bd7 fix fifo race in use count dec 2010-10-29 20:39:07 -05:00
Moises Silva 68abb39eb3 mod_sangoma_codec: add iLBC 13.3k and 15.2k 2010-10-29 21:05:19 -04:00
Moises Silva 1d5aa062ee mod_sangoma_codec: default to G729 only and remove L16 since it did not make any sense 2010-10-29 17:29:57 -04:00
Anthony Minessale e2a565412a allow PLC flag to make it to the codec 2010-10-29 14:58:38 -05:00
Jeff Lenk b4562522ed windows - fix build 2010-10-29 13:51:02 -05:00
Moises Silva d2e255192a mod_sangoma_codec: use native L16 for the source codec 2010-10-29 14:31:55 -04:00
Anthony Minessale d40bb06400 part2 2010-10-29 13:00:14 -05:00
Anthony Minessale 23d5fc1900 add -ncwait for Unix based implememtations to make the backgrounder wait to make sure the process starts before detaching 2010-10-29 12:43:55 -05:00
Giovanni Maruzzelli 3c66b497d6 skypopen: fix FS-2784, missing incoming calls to one interfacename 2010-10-29 01:58:31 -05:00
Jeff Lenk e866e7a136 windows - fix build - change based on other changes in file 2010-10-28 21:37:12 -05:00
Anthony Minessale 5d647d2c42 omfg really 2010-10-28 19:34:20 -05:00
Anthony Minessale 6737ae52d9 FS-2801 2010-10-28 15:34:56 -05:00
Giovanni Maruzzelli 3a3c5d261f skypopen: sk list the DEAD state 2010-10-28 13:47:15 -05:00
Giovanni Maruzzelli aea12d1f9f skypopen: indented 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli 182da3c128 skypopen: fixed management of skype clients crash 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli 38215f9d5c skypopen: indented 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli bc067ebc69 skypopen: cosmetics 2010-10-28 13:27:01 -05:00
Giovanni Maruzzelli f4a6a07edc skypopen: select only IDLE interfaces, destroy the codec after the audio threads, cosmetics 2010-10-28 13:27:01 -05:00
Mathieu Rene 43aeb3b858 switch_dow_cmp: fix logic err in my latest commit 2010-10-28 10:37:21 -04:00
Anthony Minessale 19325c4369 fix race in codec failure condition, then fix bug in sdp parsing (likely a regression from recent codec changes) to never have the problem in the first place so you are double-protected 2010-10-27 16:37:35 -05:00
Anthony Minessale 28d02700c8 typo 2010-10-27 14:58:01 -05:00
Anthony Minessale 8bb4d0d413 add the stuff drk_ keeps begging for 2010-10-27 14:09:38 -05:00
Giovanni Maruzzelli a1ada3e2a9 skypopen: windows compile 2010-10-27 12:10:00 -05:00
Anthony Minessale 99ada6bdba add events 2010-10-27 12:00:30 -05:00
Anthony Minessale 91230e01f9 used || instead of 'or' in sql stmt 2010-10-27 11:46:39 -05:00
Anthony Minessale 6ae933a2e9 FS-2800 2010-10-27 11:10:21 -05:00
Giovanni Maruzzelli 5472923024 skypopen: cosmetics 2010-10-27 09:44:52 -05:00
Giovanni Maruzzelli a5045b1ab0 skypopen: interface DOWN during hangup, cosmetics 2010-10-27 09:44:52 -05:00
Giovanni Maruzzelli 99b14db491 skypopen: manage ERROR 36 Not online, cosmetics, put the interface DOWN when no session and when beginning to destroy 2010-10-27 09:44:52 -05:00
Giovanni Maruzzelli 145a7a4b31 skypopen: manage failed ALTER I/O (sockets), LOCALHOLD, ANSWER. Use only IDLE interfaces to answer 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 0499be4acd skypopen: locking flags 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 01d0f1bd2a skypopen: better management of 'hupall' and KILL 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 5d03777fe5 skypopen: cleanup continues 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 758254ad42 skypopen: cleanup begin 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 9274deeabb skypopen: fixed crash on closing XDisplay before is used by interface shutdown/remove 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 7d7f23cebb skypopen: indented 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 994cdbd183 skypopen: lot of improvements in locking and hangup handling 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli 01fb67aeca skypopen: better checking audio buffers not destroyed 2010-10-27 09:44:51 -05:00
Giovanni Maruzzelli f04322e9bb skypopen: CLOUDTREE patch with some modifications 2010-10-27 09:44:50 -05:00
Mathieu Rene 7fce3995df oops 2010-10-27 09:35:20 -04:00
Mathieu Rene b639aebd62 fix dow to support multiple coma-separated conditions. BLUEBOX-133 2010-10-27 00:57:13 -04:00
Anthony Minessale 17ac6ba9c6 add record overwrite 2010-10-26 19:34:47 -05:00
Anthony Minessale e10bc0a965 allow {dtmf_type=none} to work in oubound dial strings 2010-10-26 15:43:14 -05:00
Anthony Minessale 08d2ea9d96 update 2010-10-26 13:43:21 -05:00
Anthony Minessale 9d087d457e pass ring_ready like we do with pre_answer 2010-10-26 11:52:28 -05:00
Anthony Minessale 03d29a772b add fwd and rev message scroll keys as default and return to same message when doing a message forward 2010-10-26 09:45:11 -05:00
Anthony Minessale 07adca56cc add record_post_process_exec_app and record_post_process_exec_api both can have <app|cmd>:<args> 2010-10-26 09:42:56 -05:00
Michael Jerris daa08ecd09 add var to indicate the fifo name on outcall 2010-10-25 18:04:53 -04:00
Jeff Lenk be43052c50 fix build 2010-10-25 14:54:13 -05:00
Marc Olivier Chouinard d09e6c60d9 switch_xml: snprintf size fix 2010-10-25 15:21:39 -04:00
Anthony Minessale cd736a1c77 fix fail_on_single_reject 2010-10-25 13:03:06 -05:00
Anthony Minessale 59d3b84def profile param ignore-183nosdp, chanvar sip_ignore_183nosdp FS-1978 2010-10-25 11:52:43 -05:00
Anthony Minessale 1a1881e80c FS-2795 2010-10-25 11:28:02 -05:00
Geovani Ricardo Wiedenhoft 1ef3fc9a1b - Removed alternative contexts / extensions
- New struct for matchs
- On calls originated from an FXS branch, the Endpoint searches for a valid extension (digits sent) after the DTMF '#' or after the timeout (option fxs-digit-timeout). That search is done in the context defined in section <fxs-options>, or if no context configured, the search is done in context defined in context-fxs.
- Added "dialplan" configuration: Name of the dialplan module in use
(default XML)
- Group context enabled. If set, the search for a valid extension is done only in that context.
- Updated documentation
2010-10-25 12:07:31 -02:00
Marc Olivier Chouinard 9241a35e61 switch_rtp: Show the UUID of the session in the log when sending RFC2833 DTMF packet and when receiving a RTP DTMF 2010-10-22 22:16:12 -04:00
Marc Olivier Chouinard 3a47598695 mod_callcenter: Fix bad return type so it compile on archlinux, thx bougyman 2010-10-22 18:34:45 -04:00
Anthony Minessale 7d7d66342f reverse perspective of dialog events on non-registered entities 2010-10-22 15:14:14 -05:00
Anthony Minessale 13d8d33e3d hack out ogg 2010-10-22 12:33:37 -05:00
Anthony Minessale da9742d8fa hack out ogg 2010-10-22 12:28:40 -05:00
Anthony Minessale 83c8c1254b this should have been moved into agressive nat detection not commented 2010-10-22 11:22:17 -05:00
Marc Olivier Chouinard 1166f8d0de switch_event: Correct the set of a uniq flag for request_param and channel_data event type. 2010-10-22 12:21:49 -04:00
Anthony Minessale 564dc7e493 return break in mod_sndfile when seek returns failure 2010-10-21 22:35:24 -05:00
Anthony Minessale 4cf5842836 fix type in dmachine parser 2010-10-21 22:34:16 -05:00
Jeff Lenk d2ca8d4046 FS-2050 Core ODBC support for transactions with MSSQL 2010-10-21 16:18:54 -05:00
Anthony Minessale fd1736b38f 1) Add force-publish-expires to set custom presence update expires delta (-1 means endless)
2) Check how many users are registered when receiving a PUBLISH AND Multiple Registrations is enabled:
	if there is more than just 1 AND you are sending a offline message: skip publishing it to everyone
	to prevent clients from thinking themselves has gone offline.
2010-10-21 12:55:07 -05:00
Anthony Minessale c423e2096c pass indication when in app mode on mod_loopback 2010-10-21 12:09:52 -05:00
Michael Jerris cf5c1d216a try to pass the 'f' up from wanpipe and do something sane with it 2010-10-20 16:40:26 -04:00