Anthony Minessale
a080949e8f
add small demo mod to dump xml call detail reports until we work it into mod_cdr ./configure or manually mkdir /usr/local/freeswitch/log/xml_cdr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:46:37 +00:00
Anthony Minessale
b82cf5683b
xml formatting for call detail
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:20:14 +00:00
Michael Jerris
2bd4fdad57
don't strip the resource off the from in a chat msg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 17:48:14 +00:00
Michael Jerris
671259959b
a little re-work in preparation for being able to outdial from a conference that does not yet exist.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 17:28:09 +00:00
Anthony Minessale
d484b87343
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 16:53:44 +00:00
Michael Jerris
813c4cd85d
make the 2833 dtmf increase the sequence number before it sends instead of after. The net result of this is, we are still doing it wrong (sending both and audio packet with the same sequence number as our 2833 packet) but because we increment it first, the ua should get our 2833 packet with that sequence number before it gets the audio packet with that sequence number. This should help dtmf interop on ua's that were discarding rtp packets received with a sequence number that it had already received.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 14:32:34 +00:00
Michael Jerris
604f7a0ed5
don't pass NUTAG_URL a display name.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 04:37:57 +00:00
Anthony Minessale
b154ea7e2b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 23:08:10 +00:00
Anthony Minessale
e96f7a118c
add resets to a few places
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:41:03 +00:00
Anthony Minessale
3cfc19fd4c
fix codec neg
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:14:32 +00:00
Michael Jerris
b8d838640e
%d can't take the long long result.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:15:51 +00:00
Anthony Minessale
fcfb34989d
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 20:06:39 +00:00
Anthony Minessale
318914124b
add var that can set gmail greeting
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:47:16 +00:00
Michael Jerris
41d2d43e99
warning: ISO C does not allow extra ; outside of a function
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:45:56 +00:00
Michael Jerris
7c29b64cd6
fix file object support in spidermonkey build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:42:45 +00:00
Michael Jerris
fc330804ff
thats not a real fd, it's a switch_socket_t *
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:31:58 +00:00
Michael Jerris
58636d9db1
warning: ISO C does not allow extra ; outside of a function
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:22:42 +00:00
Michael Jerris
9dbba11035
more constification cleanups.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:15:20 +00:00
Michael Jerris
2b507706c9
switch_core_session_strdup now takes const char * arg.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:14:53 +00:00
Michael Jerris
a986980c0e
fix typedef for switch_stream_handle_write_function_t to also use const char * fmt and match other uses of that type.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 18:08:11 +00:00
Michael Jerris
c48792c61c
fix potential xml handle leak from previous committ.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:34:16 +00:00
Michael Jerris
251723ba41
fix missing strdup in switch_ivr_menu_bind_function
...
change most char * values in ivr_menu functions to const char *
change switch_core_strdup to get passed const char * instead of char *
change switch_xml_find_child to get passed const char * instead of char *
change the ivr dialplan application to free the xml config as soon as it is done building the xml menu and not hold it until the menu is done being run, so that you can do a reloadxml while someone is in a menu without blocking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:28:42 +00:00
Michael Jerris
81dcb65cd5
remove extra ;
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 17:22:34 +00:00
Anthony Minessale
4a48bbf0f7
the guy on the mailing list had a good idea, add a message in dingalaing announcing the caller id as a chat message, added, but not testesd...can someone test this?
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:32:02 +00:00
Anthony Minessale
fdac4282b6
add new xml call detail function to the core and a way to use it from javascript
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:19:01 +00:00
Anthony Minessale
b0901fe4ce
s.data is void *
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 15:08:49 +00:00
Michael Jerris
11a8218db0
potential format string exploits (warning: format not a string literal and no format arguments)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris
711c59a6e0
potential format string exploit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:32:13 +00:00
Michael Jerris
2cf3ad1c6f
cleanups: duplicate declarations, shadowed global names, extra paramaters, and constifications.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:24:20 +00:00
Michael Jerris
258e28dd11
constification for switch_core_hash_find and switch_event_create_subclass
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:22:43 +00:00
Michael Jerris
a7cf447f93
eliminate shadowing of function level variables (functionally equivalent but redundant in this case)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 02:56:31 +00:00
Michael Jerris
95374edaab
constify the fmt string on all printf like functions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 02:53:23 +00:00
Anthony Minessale
c3bcb585e3
add nil thing to xml func
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 01:01:58 +00:00
Michael Jerris
c0a362d156
use WaitForSingleObject for the console loop to wait on stdin on the windows build, as the select was not working properly.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4247 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 00:31:11 +00:00
Michael Jerris
0c34702513
fix warnings on weird L value casts for function pointers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 22:15:24 +00:00
Michael Jerris
67a42d5a12
mod_conference use void function pointer for the caller control function table instead of a void data pointer (c99 likes to keep them separate)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 22:07:28 +00:00
Michael Jerris
055a056394
missing return;
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:54:16 +00:00
Michael Jerris
5694445ae2
potentially uninitialized variable.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4243 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:52:33 +00:00
Michael Jerris
f5de340dcc
some msvc warnings that I re-enabled came back due to messy header files in some libs.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:38:12 +00:00
Michael Jerris
ceafc84ca0
constify some arguments to switch_console_printf and switch_cut_path and remove improper casts for the consumers of those functions.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:03:06 +00:00
Michael Jerris
681b8e94eb
we can't cast from apr_dso_sym_t directly to a function pointer (c99 says no no) so we must cast to intptr_t first.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 20:59:17 +00:00
Michael Jerris
64c3ecf288
use switch_log_printf instead of switch_console printf so it will hit other logger services.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 20:31:23 +00:00
Michael Jerris
66f4c25643
ssrc is a 32 bit value, not 16.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 19:46:10 +00:00
Anthony Minessale
ebdbebc246
my preacious...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4236 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:39:44 +00:00
Anthony Minessale
c40bed843a
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4235 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:27:57 +00:00
Mike Murdock
3b66035129
Fix ivr_menu, no entry is considered invalid, keying digits during audio is not an error
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:15:42 +00:00
Anthony Minessale
bdd8f6ad73
2833 bs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:14:39 +00:00
Anthony Minessale
e1001b95db
2833 bs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:13:57 +00:00
Anthony Minessale
a62d9fd951
lord of the rings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4230 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 15:47:15 +00:00
Anthony Minessale
9a870c5fb6
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 14:58:06 +00:00
Michael Jerris
dcb452bcf7
match prototype.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 06:18:01 +00:00
Michael Jerris
2aa5aa4fe7
get rid of disabling of some warnings on windows, because we don't have those warnings anymore. Document the others that we have disabled.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 06:08:28 +00:00
Michael Jerris
07d6f12018
use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Michael Jerris
f08d0e89c1
add missing prototype for switch_channel_perform_mark_ring_ready
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:41:28 +00:00
Michael Jerris
0a5b02999c
add PRINTF_FUNCTION specifier to printf like functions to let gcc tell us when we are using the wrong format specifiers on these functions. Suggested by <MrEIso> via irc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 03:17:19 +00:00
Anthony Minessale
cf24c21e86
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 03:02:52 +00:00
Michael Jerris
489354037d
indirection misdirection?
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:48:50 +00:00
Anthony Minessale
07efd559d2
add ring ready flag to core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4221 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:32:10 +00:00
Michael Jerris
db5557983a
use const for switch_core_permanent_strdup var.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:31:26 +00:00
Anthony Minessale
25963d7a57
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4219 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:31:17 +00:00
Michael Jerris
87d5a3bbb4
char cast on tolower & toupper
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:26:39 +00:00
Anthony Minessale
403243980e
mmkay
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 01:58:39 +00:00
Anthony Minessale
be118eb28a
Sofia Behaviour Modification (please document)
...
1) This commit adds the ability to override the To: header so you
can place an outbound SIP call to a paticular destination.
For instance, if you have a user registered to your machine as 'gateway' and
you want to call another extension at that machine 'foo' you can now call:
sofia/mydomain.com/gateway:foo@anydomain.com
or if you just want to call some SIP url and put an alternate To:
so you can do forwarding:
sofia/mydomain.com/1000@somwhere.com:12122551234@realdest.com
2) You can add headers to outbound SIP calls by
prefixing the string 'SIP_h_' to any channel variable:
<action application="set" data="SIP_h_X-Answer=42"/>
<action application="bridge" data="sofia/mydomain.com/1000@somehost.com"/>
3) All inbound SIP calls will install any X- headers into local variables
this means in conjunction with item 2, all X- headers will pass across
bridged calls auto-magicly.
4) The switch_ivr_transfer_variable function in switch_ivr.c has been modified so if the last arguement
'var' starts with a ~ it will copy anything that is prefixed with that string rather than an exact match.
*NOTE* you are not required to put an X- prefix in the SIP_h_ vars but
it is reccommended because most SIP devices will ignore any unknown headers that don't.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 01:22:17 +00:00
Brian West
df79b479d9
woops
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 23:32:29 +00:00
Brian West
e3773e1a01
We should only advertise one code per IANA number.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 23:32:00 +00:00
Anthony Minessale
e360d6500c
fix mod_native_file extension thingy
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 22:56:08 +00:00
Anthony Minessale
8e2c70d797
sndfile tweaks (add ul and al files and more record formats)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 22:42:22 +00:00
Anthony Minessale
c133b3453d
simplify wanpipe write method
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4210 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 21:08:57 +00:00
Michael Jerris
5ba24598e1
data pulled from xml needs to be duped in order for it to stay around for sure.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 20:30:13 +00:00
Anthony Minessale
49f0d6152f
tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 20:03:29 +00:00
Michael Jerris
88fda78ee8
avoid array out of bounds.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4207 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 19:55:12 +00:00
Michael Jerris
43e50048ca
ntohs takes u_short, and we are in a 16 bit bitfield, so we can cast this.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 19:35:09 +00:00
Anthony Minessale
f2c46f504c
alternate which devices we support with the ones we don't using rfc2833
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 18:22:30 +00:00
Michael Jerris
62a44e621f
some more protection from passing around and printing null values, we are now initializing null's passed to switch_caller_profile_new as blank strings in the caller profile, if your using any caller profile values in if's, please use !switch_strlen_zero() in your check.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 18:13:14 +00:00
Anthony Minessale
4099d4c351
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 15:47:43 +00:00
Anthony Minessale
18338947a3
minor update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-11 00:39:46 +00:00
Michael Jerris
16ab18935c
be more flexible in what we accept for char based dtmf (ABCD and abcd), patch from George Shaw. Thanks.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:28:19 +00:00
Michael Jerris
edbc5594af
be more safe about compiler qwirkyness in initialization.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:26:53 +00:00
Michael Jerris
400372666d
add some better returns to invite failures.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4195 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:16:43 +00:00
Anthony Minessale
4a02e80d5e
fix dtmf bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:16:34 +00:00
Michael Jerris
d1d9fd9a23
adding fail_on_single_reject dialplan option that can be set, which then immediately rejects the call even when sent to multiple destinations upon one party rejecting, useful if you are doing a ring all (, separated in the dial string for multiple calls at once) and you want a single rejection to make the call flow to the next action in the dialplan (in combination w/ continue_on_fail) for example to flow to voicemail. Thanks to George Shaw for this patch.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 21:47:12 +00:00
Anthony Minessale
59d4d0b071
fix no_media mode
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 19:34:03 +00:00
Brian West
3b6d163b73
Update from Mike Murdock, Thanks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 17:26:40 +00:00
Anthony Minessale
cd0d988e74
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 01:00:02 +00:00
Anthony Minessale
774b4dbc2f
wanpipe update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 00:28:50 +00:00
Michael Jerris
c1cf282d39
add some error checking to switch_url_encode function
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 22:56:42 +00:00
Michael Jerris
712976653d
fix paramater checking on switch_ivr_phrase_macro and it's consumers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 22:55:48 +00:00
Michael Jerris
d41b3e14dc
Add session.sayPhrase from Mike Murdock.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 21:56:44 +00:00
Anthony Minessale
d1d6081d63
phrase update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 21:48:24 +00:00
Anthony Minessale
4a1cbdf81d
add option to wanpipe
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 21:32:12 +00:00
Anthony Minessale
cb17c45280
fix causes some more
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 20:36:01 +00:00
Anthony Minessale
f03226debb
update core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 20:03:07 +00:00
Michael Jerris
1eacf043d2
merge sofia windows build, add ifdefed out code to avoid assert if it comes back.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 19:14:20 +00:00
Michael Jerris
f359f847f7
fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Michael Jerris
ea3e61f3d8
tweak the defines for memory barriers. This should fix the freebsd build, and adds proper memory barrier defines for msvc build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4175 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:05:46 +00:00
Anthony Minessale
ed41805c17
improve core and basic flow
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 01:34:01 +00:00
Michael Jerris
e6dac0923a
don't use a few more blocks either.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 21:21:12 +00:00
Michael Jerris
96c0f9eaf6
don't use 169.254. auto ip's either.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 21:16:27 +00:00
Michael Jerris
b227ee8521
add a more descriptive error message on no (or no usable) candidates
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 21:08:45 +00:00
Anthony Minessale
5327a156ee
fix bug/race in core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 20:47:46 +00:00
Michael Jerris
58310a9272
make sofia set network_addr as the address the packet was actually received from, not the address from the uri.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 20:16:08 +00:00
Michael Jerris
e7d0aaef27
fix warnings and some windows compatibility issues in enum/udns
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 19:23:36 +00:00
Michael Jerris
d8f906850b
don't print null in show commands return values.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 18:10:21 +00:00
Anthony Minessale
b650424da0
insist on a conference profile
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 15:39:14 +00:00
Anthony Minessale
7cbfdbf5b9
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4164 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 15:09:51 +00:00
Michael Jerris
0d35fb0308
Fix typo in several places. Patch from Matt Klein.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 13:50:28 +00:00
Michael Jerris
4128cf7ba9
the garbage collector race/deadlock issue was fixed by the previous commit to the makefile to define JS_THREDSAFE for the spidermonkey modules. This code is unnecessary.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4160 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 04:24:43 +00:00
Michael Jerris
56e85a9458
we need to build the mods w/ JS_THREADSAFE defined so it gets the header stuff right.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4159 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 01:56:55 +00:00
Brian West
46b850273c
Small buglet.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 01:19:35 +00:00
Anthony Minessale
25b1d12b9e
add w and W
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 00:17:22 +00:00
Anthony Minessale
f1ef145bcf
wanpipe update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 23:43:04 +00:00
Michael Jerris
f6875d2984
unused variable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4154 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 22:13:17 +00:00
Anthony Minessale
7f8c4decad
udpate
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4152 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:21:41 +00:00
Anthony Minessale
cb587626ea
timer mojo (cont)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:18:15 +00:00
Anthony Minessale
e216bbe095
timer mojo (cont)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4150 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 19:01:07 +00:00
Anthony Minessale
66feec2da5
timer mojo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 18:44:00 +00:00
Anthony Minessale
068ced69c9
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4147 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 17:19:06 +00:00
Anthony Minessale
5bb82ebbf8
fix event_socket
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4141 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 21:42:22 +00:00
Michael Jerris
57c5be057d
vg default on windows, not otherwise.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 19:20:39 +00:00
Anthony Minessale
b42e387938
yes virginia, sip has shortcommings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 19:15:26 +00:00
Michael Jerris
d44d8510db
some more protection against printing null.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4137 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 18:37:01 +00:00
Michael Jerris
abcfd13c9f
don't log NULL sdp string.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 18:27:02 +00:00
Michael Jerris
608fac923a
pass and decrement max_forwards across the bridge for sip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4135 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 18:11:25 +00:00
Michael Jerris
1b4e65d4a5
clarify error message.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 17:20:33 +00:00
Michael Jerris
cfdd586224
add -conf, -db, and -log params to the binary to allow for running multiple copies of freeswitch concurrently on the same box. Please note that these params may change in the future. Patch from Bret McDanel.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 17:05:14 +00:00
Michael Jerris
40e96b94d6
make mysql cdr build conditional on mysql being installed. Fixes auto build of mod_cdr on machines without mysql
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 16:11:25 +00:00
Michael Jerris
74c5c120af
fix typo
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 06:07:23 +00:00
Michael Jerris
2cc47e0a85
make from use the external sip ip when it is set instead of the bind ip.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4127 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 23:48:12 +00:00
Anthony Minessale
27eed28376
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 21:10:39 +00:00
Anthony Minessale
7d27962689
add absolute_codec_string
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 19:42:02 +00:00
Anthony Minessale
c6d0188af0
get rid of _ char in special vars and add an unset dialplan app for clarity sake
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 19:35:31 +00:00
Anthony Minessale
96e32a8d4c
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 17:56:09 +00:00
Michael Jerris
021de27399
fix segfault on failure to create file on conference record, and deref of null on conference record.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 02:52:34 +00:00
Michael Jerris
7258d587e4
don't depend on a session c= line in the sdp and use the one from the media if it's there. Patch via jira from Mikael Magnusson
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 23:04:16 +00:00
Michael Jerris
ad494c1c29
small fix to dtmf handling in ivr menus
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:53:35 +00:00
Michael Jerris
e8e851731e
menu->inlen is allways max bound size +1 (for terminating null) so we need to pass -1 to play or say.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:38:13 +00:00
Michael Jerris
3215ebfd2c
use same signedness var type for ptime.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:12:48 +00:00
Michael Jerris
df7ce0d951
don't use uninitialized value of data, return error if null fmt string passed.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:12:14 +00:00
Anthony Minessale
357acc8117
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 22:17:36 +00:00
Anthony Minessale
fa53d0aded
I...HATES...PTIME
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 19:47:21 +00:00
Anthony Minessale
051ea5de5c
fix events with large bodies
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 17:06:57 +00:00
Anthony Minessale
a2b435768c
minor conference tweak (needs testing)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 16:44:00 +00:00
Michael Jerris
17bf41e158
Initial structure for generic inband dtmf detection. NOTE: This code does not currently remove the inband dtmf tones from the stream (as that is not supported using read media bugs) and it is also COMPLETELY untested and unused anywhere. This code is there for somone who wants to implement this feature in mod_sofia to test.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 04:09:43 +00:00
Michael Jerris
5ca7037a84
tweak macro for clean build on msvc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 04:08:05 +00:00
Anthony Minessale
6f9be6bf5a
bug in the bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 21:01:13 +00:00
Anthony Minessale
82db5e0112
fix sample calc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 20:28:34 +00:00
Anthony Minessale
9c2332830c
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 00:42:20 +00:00
Anthony Minessale
ea0a65d5ff
minor adj
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-01 05:23:29 +00:00
Anthony Minessale
59ed99a9a8
core framework for reverse media bugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 23:09:33 +00:00
Anthony Minessale
8439d33455
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 19:22:44 +00:00