Commit Graph

2765 Commits

Author SHA1 Message Date
Damjan Jovanovic 5fff7be5e1 Reduced JNI version from 1_6 to 1_4, and used javac and jar in PATH not in JAVA_HOME to build (on MacOS)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-26 15:13:47 +00:00
Anthony Minessale fdbaad17fe tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-25 15:49:19 +00:00
Michael Jerris e69fe7e336 initial import of mod_java from Damjan Jovanovic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-25 13:21:17 +00:00
Michael Jerris 2066263064 resolves MDXMLINT-11 and MDXMLINT-12, re-factors error handling and cleanup to eliminate possible segfaults and leaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-25 01:55:05 +00:00
Michael Jerris 5e14d2f54c fix build broken in in r5751
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-25 01:22:32 +00:00
Anthony Minessale d33b5670f0 fix some races and alter core (do a full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Anthony Minessale 981c4371bf fix for FSCORE-51 (maybe 2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 16:56:40 +00:00
Anthony Minessale 76f7bf6fdb fix for FSCORE-51 (maybe)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 16:10:12 +00:00
Anthony Minessale 391a1f3081 fix initialized struct
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 15:52:32 +00:00
Michael Jerris a62d4165ab an attempt at fixing FSCORE-50
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 14:30:01 +00:00
Anthony Minessale 54fba29107 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-23 20:08:26 +00:00
Anthony Minessale 5081d1fe0f globs on #includes
no leading seperator indicates realitive
to the default conf dir.

examples:
<!--#include "profiles/*"-->
<!--#include "profiles/a*.xml"-->
<!--#include "/tmp/somedir/*"-->




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-23 15:19:04 +00:00
Michael Jerris 020fc7df42 fix for FSBUILD-18
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 23:16:29 +00:00
Anthony Minessale a5022cc57a fix for MODENDP-26, mod_openzap build before sofia-sip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 21:58:16 +00:00
Anthony Minessale fc6f5e6b14 add sofia_profile_name chanvar to sip channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 19:20:15 +00:00
Michael Jerris 5bea2ea06c svn:eol-style properties, and make eol-style consistent in some files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 18:49:14 +00:00
Ken Rice f2196e916b Add Support for http://tools.ietf.org/id/draft-levy-sip-diversion-08.txt never rolled into an RFC but people use it anyway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 16:27:41 +00:00
Traun Leyden 017cabe02c just some comments regarding fs callback behavior
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-20 20:10:00 +00:00
Traun Leyden 93b98b80ad patch which causes directory xml_curl requests to pass the sofia profile name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-20 20:09:04 +00:00
Anthony Minessale 7200b0d415 remove useless if, cleanup for grouchy compiler
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-20 18:05:01 +00:00
Ken Rice 42d4b28019 fill a little bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-20 17:38:32 +00:00
Michael Jerris e41b900c1f run spellcheck
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5724 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-20 05:44:02 +00:00
Michael Jerris be7455081a fix brokeness caused by r5673. Don't pre-set uuid and chan_name on originate off the source profile. Fix for FSCORE-49
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 21:01:38 +00:00
Anthony Minessale 7e27f582b2 make the park function only pre-answer and not answer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 19:33:03 +00:00
Michael Jerris cdaa2abe85 fix for MODENDP-25 from Bret McDanel. 1 byte makes all the difference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 18:49:59 +00:00
Michael Jerris 901155402b merge MODENDP-27, properly handle options and avoid handle leak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 18:47:59 +00:00
Anthony Minessale 9d51da6873 move code to only be executed on sucessful auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 18:39:46 +00:00
Anthony Minessale c03b9f4887 initial blind crack at passing reinvites across no-media bridges
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5718 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 18:24:47 +00:00
Anthony Minessale 11cdfc9811 back out patch we don't need
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 17:05:52 +00:00
Anthony Minessale 038a60d5d4 add endconf member flag to make a specific member cause the conference to end when he leaves
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5714 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 16:20:00 +00:00
Anthony Minessale 1f3eabd15c add register-proxy option to gateways so you can send outbound reg to your local proxy dest for the outside
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 15:28:16 +00:00
Michael Jerris 40c29a107c merge patch from MODENDP-24, add to-domain param to gateway that overrides the proxy domain for the to header
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5712 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 15:05:55 +00:00
Anthony Minessale 16f584ef47 add register-gateway variable to directory users to allow inbound reg to trigger an outbound one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5710 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-18 17:31:36 +00:00
Anthony Minessale 5e0c3ee5b7 fix small problem in speech stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-14 20:00:26 +00:00
Anthony Minessale b961cb2c16 fix backlash from profile clone change -without debugging line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5706 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-12 22:37:28 +00:00
Anthony Minessale 2e741ff1c9 fix backlash from profile clone change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-12 22:36:26 +00:00
Michael Jerris 07aebb5ab9 silence windows warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 23:49:28 +00:00
Michael Jerris 815f34fbfb MODLANG-21: Add socket module for spidermonkey from Jonas Gauffin
methods: connect, close, send, readBytes, read.

Note! It's completely untested.

usage:
var socket = new Socket();
socket.connect("hostname", 1234");
var line = socket.read();
socket.send("this is something\n");

The read method takes a delimiter and do not return until the
delimiter have been received (or the connection have been dropped).
The default delimiter is "\n".
The readBytes method reads the number of specified bytes.

only a TCP socket implementation. 





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 23:29:50 +00:00
Michael Jerris d40c1d2c79 Fix for memory leak in xml-rpc (MDXMLINT-10) from Bret McDanel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5699 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 22:29:29 +00:00
Anthony Minessale 524631e3b8 add getGlobalVariable function to access FS globals
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5698 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 21:19:16 +00:00
Anthony Minessale 779ca66f0c tweak to avoid cepstral crash
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 20:41:16 +00:00
Anthony Minessale 2c97ad1c64 fix warns
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5696 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 20:40:49 +00:00
Anthony Minessale 3bcbb71a21 Add PCRE object to javascript
var re = new PCRE();
if (re.compile("the answer is 42", '(\\d+)')) {
    answer = re.substitute("$1");
    console_log("err", "result [" + answer + "]\n");
}



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 17:33:06 +00:00
Michael Jerris 9ce2aba87a actually take the caller id name and/or number from the rpid. Still incomplete, but should do a better job
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5694 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 14:51:13 +00:00
Anthony Minessale 3fa9239dc0 fix nua_i_error 500 when responding to OPTIONS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 13:52:32 +00:00
Anthony Minessale 8747fa7684 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-07 00:49:08 +00:00
Michael Jerris bc1cff37bf all the drafts say to use "full" not "yes" for privacy= in rpid. We still accept either.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5683 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-30 19:37:32 +00:00
Anthony Minessale 38ffa90005 try to pass cause code on calls ended during early media
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-30 15:38:21 +00:00
Anthony Minessale ad1bd7bf61 fix warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5681 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-30 15:28:32 +00:00
Michael Jerris 075332f961 silence picky compiler.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5680 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-30 01:52:05 +00:00