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
Anthony Minessale
8deaa6743b
only 1 call can control the ring device
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 17:12:42 +00:00
Anthony Minessale
6fbea03dd8
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 16:32:59 +00:00
Michael Jerris
8a3007536f
code before declaration, and function must return value.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 19:20:41 +00:00
Michael Jerris
1a99ecc6e9
Yet another attempt to get the garbage collector code right. Patch worked out with Bret McDanel
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 18:00:58 +00:00
Anthony Minessale
ae8d2e924f
ummm.... yeah...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 16:37:03 +00:00
Anthony Minessale
9b474d2576
add success cause for originate
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 03:17:10 +00:00
Anthony Minessale
07833b9e77
conf tweaks the series
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 00:43:14 +00:00
Anthony Minessale
39119eb7a7
fix dingaling reject
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 22:22:29 +00:00
Anthony Minessale
2d4d6ea756
make send_dtmf parse w and W for 500 and 1000 ms pause
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4086 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 20:11:26 +00:00
Michael Jerris
d246f3a07b
add queue_dtmf application, takes one param, a string of dtmf that will be queued to send from the channel. You could use this in the dialplan before a bridge to queue up dtmf to be sent to the other channel for example if you need to dial digits after answer for an fxo ata device.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 20:06:23 +00:00
Anthony Minessale
9821a5237a
more tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 18:31:35 +00:00
Anthony Minessale
a4d3d77871
fix conference parse bug
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 18:05:22 +00:00
Michael Jerris
4b7f9bddf5
merge changes from ezXML 0.8.6
...
- fixed a bug in ezxml_add_child() that can occur when adding tags out of order
- for consistency, ezxml_set_attr() now returns the tag given
- added ezxml_move() and supporting functions ezxml_cut() and ezxml_insert()
- fixed a bug where parsing an empty file could cause a segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:58:37 +00:00
Anthony Minessale
e02299f8f6
add tag to sipfrag notify packets re: pekka's advice
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:54:42 +00:00
Anthony Minessale
d783fc10c1
make sofia try harder to match the packet interval on codecs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4079 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:44:44 +00:00
Anthony Minessale
943105b06f
few sofia cleanups complements of CtRiX (thanks for pointing them out)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:51:38 +00:00
Anthony Minessale
db70ef2a37
codec tweaks (do a make sure)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4077 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:43:41 +00:00
Brian West
fcb152104f
this is the correct values
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4076 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:34:38 +00:00
Michael Jerris
b2016ca6ab
fix session_record api interface param handling (from prof_HATE via irc)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4075 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 08:37:40 +00:00
Brian West
8d45c2e90a
update to allow args to enum dialplan for lookups.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 21:43:00 +00:00
Anthony Minessale
0ed9ebe492
CODEC TWEAK
...
mod_sofia will now examine a variable in the channel to
see what the channel's originator was using for a codec and
try to put that to the top of the list in the sdp.
if this new sofia profile param is set:
<param name="disable-transcoding" value="true"/>
All outbound calls will use *only* the codec that thier originator
is using to ensure no transcoding.
(of course that could lead to a failed call where there is no way to do this, so use sparingly)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 17:37:51 +00:00
Anthony Minessale
1ef78b928f
fix sleep to work right on unanswered channels
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 03:17:12 +00:00
Anthony Minessale
781c74fc8e
add stupid 2833 crap
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 02:38:52 +00:00
Anthony Minessale
e887d1a543
fix (part2)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 18:26:17 +00:00
Anthony Minessale
4162f0e98f
fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4068 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 18:23:30 +00:00
Anthony Minessale
b4e374af10
fix mute
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 16:37:10 +00:00
Anthony Minessale
85dab893d9
A few changes:
...
1) The xml_curl now has a more enterprise config where it can have more than 1
url configured so you could have failover. (*note the syntax change*)
2) dialplan modules now take an extra arguement making it possible to pass runtime params to
them. This is now used in mod_dialplan_xml to allow an alternate file path to be specified.
dialplans were already stackable meaning you can configure a sofia profile, for example,
to use enum followed by the default XML dialplan.
e.g. <param name="dialplan" value="enum,XML"/>
From now on, you can also specify :param after each dialplan name to allow param
to be passed to the module. mod_dialplan_xml uses this param as a way to override
where it looks for the dialplan making it possible to stack mutiple calls to the XML dialplan.
e.g. <param name="dialplan" value="XML:/some/xml/file.xml,XML"/>
With this you can search the local file file.xml first and if there is still no match
the hunt will move on to the standard XML using the onboard XML registry and or the external
gateways.
*NOTE* this alternate path does not use the external bindings but it does parse the #includes etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 16:23:33 +00:00
Michael Jerris
f17eece9e3
fail the call when the best match is a codec with no name.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4065 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 04:45:54 +00:00
Michael Jerris
b6bcd30dff
differing const qualifiers.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 04:44:47 +00:00
Anthony Minessale
f11f120a05
add sip_call_id variable to sofia
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 21:12:19 +00:00
Anthony Minessale
00d7e70e2d
fix cause code passthrough
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 20:39:45 +00:00
Anthony Minessale
28807552d0
fix horrible evil bug update to this revision at once and do a "make sure"
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 17:52:22 +00:00
Anthony Minessale
c48449854d
add more hint info to conference xml open
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:58:35 +00:00
Anthony Minessale
a4e967a097
add more hint info to conference xml open
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:48:58 +00:00
Anthony Minessale
a5bec02bea
modest rearranging
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:42:38 +00:00
Anthony Minessale
4e75aa0b52
make conference_local_play_file honor the sound-prefix param
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 17:26:23 +00:00
Anthony Minessale
86bbb55e40
make reg freq 2 sec less than you actually say to avoid crossfire and make the minimum setting be 5
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 14:56:32 +00:00
Anthony Minessale
b0eb04c065
Initial Check-In of mod_lumenvox
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 00:19:41 +00:00
Anthony Minessale
8662ab4882
add some more dispositions
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-24 20:52:42 +00:00
Michael Jerris
618d1ef698
who thought tolower should return int??
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 22:40:01 +00:00
Anthony Minessale
644131d0a2
add nonce TTL option to sofia to decide when nonce is stale
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 22:04:05 +00:00
Anthony Minessale
23e5477ab4
add via hack for portaudio
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4038 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 18:00:37 +00:00
Anthony Minessale
d00baf0d09
add flags command to control mute and deaf operations
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4032 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 16:06:25 +00:00
Michael Jerris
bb2bbf827e
void functions shouldn't return values.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 12:50:20 +00:00
Michael Jerris
8089d8ce22
use the right #define flags for permissions on open.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4029 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 02:54:20 +00:00
Michael Jerris
853e067e55
change new xml stuff to use path sep define, and to set file mode on open for write.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4028 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 02:22:45 +00:00
Michael Jerris
88b2a8655c
tweak var types in xml config, change makefile to install all the new broken out xml files.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4027 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 01:40:14 +00:00
Anthony Minessale
3241200072
xml preprocessor (calling all documentors and default config composers!!)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 01:12:47 +00:00
Yossi Neiman
1a25d91044
Merged changes from my branch r4024.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4025 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 23:33:35 +00:00
Yossi Neiman
26bbed3d92
Commented out the CFLAGS in mod_cdr for using my apr_queue enhancements by default.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 22:08:13 +00:00
Yossi Neiman
c5d86f3e6f
Merged changes in from my branch at r4020.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 22:03:56 +00:00
Anthony Minessale
d3e1f400e5
tweak core for build err and add core_get_var
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 21:59:07 +00:00
Michael Jerris
27ebcae63e
add "freeswitch_api" in addition to "freeswitch.api" as xmlrpc method so it can work with java.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 18:18:48 +00:00
Michael Jerris
ecb1e9dae0
tweak to work around shutdown segfault in windows in background mode. This forces it to not do apr_terminate, which shouldn't be necessary anyways as the entire process in ending.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 17:45:09 +00:00
Michael Jerris
4457fe7596
rearrange a bit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-22 17:16:25 +00:00
Anthony Minessale
151e400ebe
let bgapi choose your own id
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-21 19:36:55 +00:00
Michael Jerris
204b8d2474
make r_sdp char * due to function w/ diff const qualifer.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-20 22:32:20 +00:00
Anthony Minessale
a4dd01a0ee
add late negotiation mode for sofia
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-20 18:51:57 +00:00
Michael Jerris
788279608b
"pa_dtmf" -> "pa dtmf" in api help text.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4007 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-20 00:22:43 +00:00
Michael Jerris
465456e3ee
doxygen
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 22:47:51 +00:00
Michael Jerris
9e2ec3532c
whoops.. cr/lf -> lf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4005 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 22:47:23 +00:00
Anthony Minessale
16fce97f7a
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 21:56:31 +00:00
Anthony Minessale
ccd944d52b
minor tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 20:35:50 +00:00
Anthony Minessale
8e17a9b865
auto ip fix for w32
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4002 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 19:52:19 +00:00
Anthony Minessale
23bc4a6c9a
update for mac
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 19:20:28 +00:00
Anthony Minessale
c845cf2839
auto ip stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 19:11:44 +00:00
Michael Jerris
ca5d5ce595
added no fork mode to the executable so it can be used w/ sipx watchdog service. This mode is not available on windows as we do not fork on windows regardless. Thanks to Paweł Pierścionek for the contribution.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 12:59:49 +00:00
Michael Jerris
680ef8d169
indications are that we can use mfence, lfence, sfence on x86_64, we will need to test and confirm this, but this should fix the build on 64 bit linux gcc at least. need testers to confirm this.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 12:49:10 +00:00
Michael Jerris
e5eba308ab
use strchr instead of index as recommended by the linux man pages for portability.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 03:08:08 +00:00
Michael Jerris
23a744ad9d
Initial windows build for new portaudio module, so far completely untested, it will NOT work on 64 bit and potentially problematic on SMP boxes still as I am building right now. This build currently uses only winmme, will follow up with better support for optionally building against direct sound, asio, and wasapi.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 01:45:58 +00:00
Anthony Minessale
d89c21fda4
a few twiax for early media (part 1)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 01:36:20 +00:00
Anthony Minessale
b25743c4d1
a few twiax to prevent a race condition
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3991 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 01:26:22 +00:00
Anthony Minessale
41541428fc
minor tweaks on new portaudio stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 01:23:27 +00:00
Anthony Minessale
ed0524c2fc
pre_answer only in ivr menus (you will have to actually answer yourself)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-18 16:06:04 +00:00
Anthony Minessale
5c802e3196
fix xml parser in ivr menus
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-18 15:44:01 +00:00
Anthony Minessale
aed84d4179
ivr menu tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-18 14:48:31 +00:00
Anthony Minessale
832c48cb9b
allow storage of a1 hash in user directory field 'a1-hash' trumps password field
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 22:42:52 +00:00
Anthony Minessale
39a9e94305
New mod_portaudio (sponspred by eWorldCom http://www.eworldcom.hu/ )
...
This updates mod_portaudio to use the new v19 api and also contains
major behavioural changes. This initial check-in should be tested to find
any obscure use cases that lead to crashes etc...
All of the old api interface commands are now depricated and any attempt to
use them should cause a polite warning asking you to try the new single "pa" command.
New Features:
*) Mulitiple calls with hold/call switching.
*) Inbound calls can play a ring file on specified device. (global and per call)
*) Optional hold music for backgrounded calls. (global and per call)
Example dialplan usage:
<extension name="2000">
<condition field="destination_number" expression="^2000$">
<!--if the next 3 lines are omitted the defaults will be used from portaudio.conf-->
<action application="set" data="pa_ring_file=/sounds/myring.wav"/>
<action application="set" data="pa_hold_file=/sounds/myhold.wav"/>
<action application="set" data="export_vars=pa_ring_file,pa_hold_file"/>
<action application="bridge" data="portaudio"/>
</condition>
</extension>
Example API interface usage:
call extension 1000
> pa call 1000
call extension 1001 putting the other call on hold
> pa call 1001
swap the calls between hold and active
> pa switch
view the current calls
> pa list
forground the call with id 1
> pa switch 1
background all calls
> pa switch none
send a dtmf string (1234) to the current call
> pa dtmf 1234
answer the oldest unanswered inbound call
> pa answer
answer the call with id 1
> pa answer 1
hangup the active call
> pa hangup
hangup the call with id 1
> pa hangup 1
get device info
> pa dump
print usage summary
> pa help
USAGE:
--------------------------------------------------------------------------------
pa help
pa dump
pa call <dest> [<dialplan> <cid_name> <cid_num> <rate>]
pa answer [<call_id>]
pa hangup [<call_id>]
pa list
pa switch [<call_id>|none]
pa_dtmf <digit string>
--------------------------------------------------------------------------------
The source of the portaudio v19 library will also be checked in for the
sake of the build system.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 19:10:03 +00:00
Anthony Minessale
0ac4fbc159
Add mod_xml_curl to modules.conf.in and add parameter change submitted by Bret McDanel (thanks)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3980 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 17:22:14 +00:00
Anthony Minessale
7c4d9e1c83
fix play member in conf
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3976 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-16 20:05:06 +00:00
Anthony Minessale
408464c0b4
factor out pool
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3973 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-16 15:50:13 +00:00
Michael Jerris
44a3909e79
fix seg with register w/ no contact.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3968 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 22:12:15 +00:00
Michael Jerris
5db9b9d0b7
better error message/don't print null when no sip-ip is specified.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 19:00:47 +00:00
Anthony Minessale
fec8895d62
heed the advice of tech_choose_port
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 16:59:42 +00:00
Michael Jerris
61dfa852ca
can't set max forwards if it's not there.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 15:40:35 +00:00
Michael Jerris
c2b78628ee
bind to the right address when using ext-sip-ip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 04:32:21 +00:00
Michael Jerris
d2099ef174
if we define ext-sip-ip in the profile for config, use it for the profile url. This does not yet use stun, or have any method for determining on a call by call basis if a call needs to use the internal or external.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 03:52:39 +00:00
Anthony Minessale
0edea416cc
Avoiding Segfaults from buggy depend libs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-13 03:28:08 +00:00
Anthony Minessale
f4267b0c51
add session_record api command
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-12 16:05:49 +00:00
Anthony Minessale
926282b5a8
Avoiding Deadlock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3950 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-12 00:26:36 +00:00
Anthony Minessale
4c9da6fa4d
Avoiding Deadlock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-12 00:15:21 +00:00
Anthony Minessale
03f2a4ad7b
Avoiding Deadlock (by puting the mutex in the right place)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-12 00:09:43 +00:00
Michael Jerris
d933d5fe2f
add max_forwards chanvar, maybe we should put this in caller profile and allways pass it across and decrement it to avoid loops across the switch, at least for protocols that support loop detection.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3947 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 23:44:18 +00:00
Michael Jerris
f703a303f0
use blank instead of null if no username
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 23:04:54 +00:00
Anthony Minessale
9d91113b47
add rwlock to members
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3945 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 22:34:04 +00:00
Michael Jerris
0c97a56956
use the request uri instead of to for primary routing
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 18:25:35 +00:00
Anthony Minessale
e37559eb0e
update conference to add lock sounds, sound prefix, and use say: syntax
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 18:14:02 +00:00
Michael Jerris
d83b399d96
completely untested redirect support, need to try this from a machine that can take sip calls.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-10 21:26:10 +00:00
Brian West
ff04adf449
add g729a as a registered codec type.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-10 19:40:06 +00:00
Michael Jerris
a17123dae4
The day before today Mike Murdock found a bug making switch_str_time return the day before, but it was already the day before today, so it returned 2 days ago, and that was just not right. Now time has all come back together.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3933 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-10 14:42:47 +00:00