Anthony Minessale
56516def90
update template for multipart/alternative
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-28 23:12:13 +00:00
Michael Jerris
0dbc6515d2
fix windows build
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-28 22:27:33 +00:00
Anthony Minessale
77cb98e8c8
allow templates to contain mime encoded messages
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-28 20:51:25 +00:00
Anthony Minessale
fc0dc1f9fb
improve http support
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-27 19:25:16 +00:00
Anthony Minessale
ba448989c8
tweak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-27 01:15:13 +00:00
Anthony Minessale
f64d7e43ce
improve voicemail
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-26 23:41:00 +00:00
Michael Jerris
e7e026b94d
little mailer rework.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-26 17:43:42 +00:00
Michael Jerris
29469071bb
fix e-mail content type to work with the iphone (FSCORE-63) Thanks Jason
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-22 08:32:35 +00:00
Anthony Minessale
a62373c784
fix uri nonsense and backwards stristr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 16:22:18 +00:00
Michael Jerris
69f7a9a955
add missing "execute" handler to phrase macro. (not yet tested)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 03:47:07 +00:00
Anthony Minessale
4a60c1e310
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 21:38:51 +00:00
Anthony Minessale
4d2dfa633b
add a new dialplan module
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 19:25:46 +00:00
Anthony Minessale
2372dcddd6
add regex api func
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 15:26:32 +00:00
Anthony Minessale
713afbd975
add some logic tools
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-08 23:46:26 +00:00
Michael Jerris
f1a676d5d5
fix newer freebsd builds.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-05 22:36:59 +00:00
Anthony Minessale
b148090773
make mailer app name a config option
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6164 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-05 19:13:17 +00:00
Anthony Minessale
23aa165dff
make mailer app name a config option
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-05 18:45:26 +00:00
Michael Jerris
622a2733dc
use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:28:26 +00:00
Michael Jerris
04c1158b52
replace switch_stristr implementation with one that shouldn't segfault.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-29 06:16:41 +00:00
Anthony Minessale
a93ddbd212
presence crap
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-24 23:20:47 +00:00
Anthony Minessale
4ff84e46a5
fix return val in switch_stristr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6024 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 02:59:46 +00:00
Michael Jerris
d4422c5970
fix startup on windows when no ipv6 is present.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 20:15:35 +00:00
Anthony Minessale
aac58b10f9
fix type
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5896 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 16:49:53 +00:00
Anthony Minessale
b50e8f5c9a
add switch_stristr and use it in dptools
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5887 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 14:24:02 +00:00
Anthony Minessale
0a980a4ff9
minor adj
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 17:12:31 +00:00
Anthony Minessale
7962945c39
make encoding optional none, base64 or url encoding
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-06 00:30:04 +00:00
Michael Jerris
a4ff7e88da
adding const qualifiers across the api as appropriate.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +00:00
Anthony Minessale
c15d7892c0
indent again
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
3a54126261
spring cleaning
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris
42e78242a3
add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Anthony Minessale
54d483c4f5
fix fatal include
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4471 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 22:17:02 +00:00
Brian West
55d4339c6c
update comments
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-04 01:53:49 +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
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
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
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
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
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
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
Anthony Minessale
57c0d4bdc9
add strepoch api call and more say stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 00:50:11 +00:00
Anthony Minessale
6a2529748a
some changes from mmurdock
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3899 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 00:21:17 +00:00
Anthony Minessale
60434decf5
ENUM Support
...
mod_enum can be used as a dialplan app, an api call from the console or as a dialplan interface.
Dialplan Interface:
put enum as the dialplan parameter in an endpoint module
i.e. instead of "XML" set it to "enum" or "enum,XML" for fall through.
Dialplan App:
This example will do a lookup and set the a variable that is the proper
dialstring to call all of the possible routes in order of preference according to
the lookup and the order of the routes in the enum.conf section.
<extension name="tollfree">
<condition field="destination_number" expression="^(18(0{2}|8{2}|7{2}|6{2})\d{7})$">
<action application="enum" data="$1"/>
<action application="bridge" data="${enum_auto_route}"/>
</condition>
</extension>
You can also pick an alrernate root:
<action application="enum" data="$1 myroot.org"/>
API command:
at the console you can say:
enum <number> [<root>]
The root always defaults to the one in the enum.conf section.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 21:28:32 +00:00
Paul Tinsley
ea19c0e980
No reason to consider % dangerous twice...
...
Also i retract my pcre statement from before, i doubt a perl pack and hex call are going to work in pcre. The regex should give plenty of idea what you need to do in your language of choice though, thats the point :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 05:46:12 +00:00
Paul Tinsley
0c1e83a43f
Fix for event serialization, multi-ilne variables or crazy characters in a line could cause parsing errors in consumers of serialized events.
...
All values are now url encoded to ensure they don't have "dangerous" characters in them. make sure you url_decode in your language of choice when consuming events in plain format from the event socket.
For those perl or pcre heads out there you can use the following regex:
$value =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex($1))/sego;
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3481 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 04:57:01 +00:00
Michael Jerris
44649c70b4
Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
...
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:nil
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
*/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale
f8d3093f5c
hack to fix udp sockets
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:17:28 +00:00
Michael Jerris
964aec990c
make logger handle a bit more bad input.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:30:02 +00:00