Commit Graph

7900 Commits

Author SHA1 Message Date
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 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
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 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
Jeff Lenk dc5b964bb1 fix build on windows for last commit 2010-12-10 21:43:03 -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 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
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
Marc Olivier Chouinard fdc31908fa mod_sofia: Add support to reboot Yealink phone remotely - FS-2897 2010-12-03 18:58:39 -05: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
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
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 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
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
root 006b3165cf fix issues with Progress message type if pre_answer enabled 2010-11-30 19:35:38 +03: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
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 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
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
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
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
Rupa Schomaker 1c1df1f772 mod_lcr: FS-2820 - profile support in dialplan module 2010-11-17 09:34:09 -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
Anthony Minessale b2f8041790 fix file string when being used in ringback 2010-11-11 16:48:59 -06:00
Anthony Minessale cd95138427 FS-2839 2010-11-11 12:32:29 -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 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 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 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 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 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
Moises Silva d2e255192a mod_sangoma_codec: use native L16 for the source codec 2010-10-29 14:31:55 -04: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
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