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
Anthony Minessale
e6d06e502b
cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-30 00:25:06 +00:00
Michael Jerris
9c364f9ff4
silence picky compiler.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-29 20:38:00 +00:00
Anthony Minessale
0ff988b19e
c'mon wtf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-29 19:33:27 +00:00
Anthony Minessale
88e5470c52
silly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-29 18:56:04 +00:00
Michael Jerris
30ffb593c0
little cleanup, remove unnecessary (char *) cast.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 22:44:02 +00:00
Michael Jerris
d264ed5a7e
simplify by using switch_caller_profile_clone and switch_caller_profile_dup.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 21:55:30 +00:00
Michael Jerris
f4140b22f0
simplify by using switch_caller_profile_clone.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5672 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 21:43:18 +00:00
Anthony Minessale
c441fc5b09
fix stupidity
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 17:08:32 +00:00
Anthony Minessale
160edc558d
clean up speak code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 17:06:20 +00:00
Michael Jerris
352cc95813
add ability to match in dialplan to the ton and numplan caller profile fields. added switch_caller_profile_dup function to be used in the future for places where we copy one profile to another to reduce code duplication. add "pool" member to the caller profile for when we need to allocate strings off that pool.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 16:41:38 +00:00
Michael Jerris
8dc23d384e
dos2unix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 15:31:52 +00:00
Anthony Minessale
b2c2465a2e
free xml later in the code to avoid freeing used memory
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-27 20:53:48 +00:00
Anthony Minessale
075e80c368
fix reg var scope
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-27 20:43:34 +00:00
Anthony Minessale
1a091c1ad2
change javascript and confernece to use cached speech handles
...
This is for better performace and to take atvantage of mrcp connections.
There should be no apparent change in usage.
The conference now supports changing the voice via the text string
by starting a text blurb with #voice# eg
#william#This will sound like William.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-25 21:33:26 +00:00
Ken Rice
32e44d9a1a
fix and ooops
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-23 18:34:50 +00:00
Arsen Chaloyan
b6256a4fc8
add common for asr and tts FLAG_HAS_MESSAGE to indicate there is a mrcp message to process; fix processing of some mrcp responses and events.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5660 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 19:15:11 +00:00
Michael Jerris
88bbc489d1
map 404 correct per rfc 4497
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 13:16:37 +00:00
Michael Jerris
70c8c1d7a9
pass new caller profile vars across the bridge.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 03:10:08 +00:00
Michael Jerris
406e0d6bcf
pass new caller profile vars across the bridge.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 02:55:19 +00:00
Michael Jerris
6a03185729
add utility app for profile vars
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 00:22:22 +00:00
Michael Jerris
f94400c173
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 00:21:09 +00:00
Anthony Minessale
a42a0a1916
let session.sayPhrase method take a blank language string
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 19:00:06 +00:00
Anthony Minessale
cce033caf0
re-apply change to shutdown to not unload
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 18:18:45 +00:00
Traun Leyden
31ae26d668
return success from asr_feed when audio_sink hasnt yet been created. prevents a sporadic seg fault
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5650 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 16:48:56 +00:00
Anthony Minessale
1de25f3514
fix conference buffer for 30ms conference and 20ms chans
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 15:49:31 +00:00
Anthony Minessale
6f68991cb4
add NDLB-broken-auth-hash option for interop with eyebeam and zoiper
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 14:48:16 +00:00
Michael Jerris
e6fdcedeb9
add type of number and number plan vars to the caller profile
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 14:01:24 +00:00
Arsen Chaloyan
bf3f15e855
mrcp message body must contain '\0' at the end; no need to str copy buffer, when it is already allocated from the pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 11:45:16 +00:00
Arsen Chaloyan
8f8402bfe1
gracefully unload openmrcp module on shutdown
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 07:16:37 +00:00
Anthony Minessale
a776a8ac3c
don't unload
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 23:09:58 +00:00
Traun Leyden
4fc4be2c39
attempting to fix shutdown segfault, convert to new style module loading as seen in mod_cepstral
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 22:18:06 +00:00