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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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