Mathieu Rene
7fce3995df
oops
2010-10-27 09:35:20 -04:00
Mathieu Rene
b639aebd62
fix dow to support multiple coma-separated conditions. BLUEBOX-133
2010-10-27 00:57:13 -04:00
Brian West
f42c90365c
FS-2778: force_local_ip_v4 / _v6 not handled properly in switch_find_local_ip
2010-10-13 16:52:09 -05:00
Jeff Lenk
ffd28c1930
fix build windows
2010-10-13 10:59:34 -05:00
Brian West
4e5911c291
FS-2776: FS uses IPv6 under Proxy mode, and SIP Phone uses 6to4 tunneling IPv6 address, cause hearing nothing.
2010-10-13 09:17:31 -05:00
Marc Olivier Chouinard
59ec8ced59
switch_utils: Add day of week 3 letter initial usage in "wday" field in the dialplan. Example : mon-fri. Using number as before is still supported. Several public switch function are available.
2010-09-17 00:26:27 -04:00
Marc Olivier Chouinard
c9fcce0869
switch_utils: Add date time range string compare function switch_fulldate_cmp. It usable in XML dialplan with date-time. String format example : 2009-10-10 14:33:22~2009-11-10 17:32:31.
2010-09-17 00:21:19 -04:00
Marc Olivier Chouinard
4ab8fa13e1
switch_utils: Add time of day string compare function switch_tod_cmp. It usable in XML dialplan with time-of-day. String format is hh:mm:ss you can define a range like this : 09:00-17:00 (Second are not optional)
2010-09-17 00:07:30 -04:00
Anthony Minessale
11361f69a4
hex vs. dec, strip space in switch_strip_whitespace
2010-09-02 16:39:10 -05:00
Anthony Minessale
5481d9a98c
MODSOFIA-86
2010-08-19 18:22:06 -05:00
Jeff Lenk
52f14165f8
Fix windows build
2010-06-01 20:12:33 -05:00
Mathieu Parent
3f7cafd709
Rename sofia_glue_get_user_host to switch_split_user_domain
...
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Michael Jerris
5d15dc1097
fix windows missing inet_ntop missing symbol when built on >= vista but run on < vista
2010-05-11 13:07:13 -04:00
Brian West
b5cc1a6626
FSCORE-605
2010-05-06 17:36:13 -05:00
Jeff Lenk
99eebf2f96
fix for Windows XP inet_ntop execution - you must compile with XP for support.
2010-05-05 15:15:01 -05:00
Anthony Minessale
f1430d521a
fix switch_get_addr to work with v6 properly
2010-04-30 15:27:15 -05:00
Marc Olivier Chouinard
58819523b6
mod_sofia: Add url encode to a var in the xml output to be valid xml. Also changed switch_url_encode to return the pointer of the string rather than the length, same as switch_amp_encode()
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-24 19:04:19 +00:00
Michael Jerris
f8974f03f9
move functions to strip commas and non-numeric chars to switch_utils
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-08 08:12:12 +00:00
Anthony Minessale
5638b3a4f0
tweak on last commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 18:41:23 +00:00
Anthony Minessale
645edfe320
add force_local_ip_v4 and force_local_ip_v6 global vars to override the core funcs to always discover the same ip
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-24 18:13:28 +00:00
Anthony Minessale
886e1ddb4d
run indent on the whole tree and update copyright dates in prep for 1.0.5
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale
3049cd5c8d
try this Vagabond
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-26 18:20:09 +00:00
Anthony Minessale
14f0ebf3b5
allow double escape in parser for \
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16440 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-21 19:59:28 +00:00
Mathieu Rene
302355202a
add escape api command to escape a string
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 02:37:05 +00:00
Jeff Lenk
243b00659f
code before decl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 19:00:25 +00:00
Mathieu Rene
a6886d186a
MODENDP-224
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 18:51:28 +00:00
Anthony Minessale
06a68fce64
add switch_ivr_enterprise_originate optional new dimension to originate strings every element in :_: separated list in originate strings will fire in a dedicated thread and can contain their own {} and , and | lists
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 22:21:30 +00:00
Anthony Minessale
7ff54ae6ff
last ipv6 change not quite right, should not change any behaviour
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-02 16:46:47 +00:00
Anthony Minessale
9fb56c87f2
fix ipv6 issue
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-01 19:53:31 +00:00
Anthony Minessale
10f10c5db0
make switch_cmp_addr ipv6 friendly and cleanup/refactor autoadjust code in rtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 14:26:17 +00:00
Jeff Lenk
3aa5055bf1
windows compiler fixes and switch_mprintf overflow(32bit only)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 04:07:49 +00:00
Anthony Minessale
d646547bdb
filter out unwanted media on rtp
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 01:06:51 +00:00
Anthony Minessale
9d6bf97b09
reorder args
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15253 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 19:43:12 +00:00
Anthony Minessale
df7637f687
change switch_strlen_zero to zstr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale
1f2a97f433
add -f from to email
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-20 18:07:24 +00:00
Brian West
ae7b39c9e9
try this
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15094 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-05 17:38:46 +00:00
Brian West
169195f3ce
convert
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-01 22:43:44 +00:00
Brian West
c1c3b65a21
FSCORE-446
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-23 17:32:01 +00:00
Brian West
45ecc4b0d3
FSCORE-440
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14882 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 13:55:23 +00:00
Brian West
f28b26b8aa
add host_lookup api call
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-28 20:30:03 +00:00
Anthony Minessale
ca8dfda04a
add a host lookup func
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-27 22:58:55 +00:00
Anthony Minessale
835b6d31bb
add time of day routing attrs to condition tags in xml dialplan
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14137 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-06 18:31:23 +00:00
Michael Jerris
5135dc03df
fix seg in some edge cases
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 13:41:01 +00:00
Mathieu Rene
3fd2044877
Also export switch_inet_pton
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:48:35 +00:00
Mathieu Rene
965023a8eb
doh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:07:10 +00:00
Mathieu Rene
374997f2c1
Export swtich_inet_ntop so modules can use it
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 00:04:29 +00:00
Anthony Minessale
55c8fbad76
add sofia tracelevel <level> and tracelevel param in <settings>
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 19:52:07 +00:00
Brian West
3022f3d96a
fix memory leak
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 17:25:20 +00:00
Michael Jerris
0e20e48919
add netmask code for windows
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:23:19 +00:00
Anthony Minessale
8cc053a611
FSBUILD-168 now he has to come to cluecon
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 22:30:09 +00:00
Anthony Minessale
4b4fb6bb2c
rupa said this segged
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 18:30:18 +00:00
Anthony Minessale
b82984fe97
add netmask detection for nat discovery work
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:55:10 +00:00
Anthony Minessale
72c680f005
FSCORE-373
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 18:48:54 +00:00
Anthony Minessale
531e0f2d15
properly detect unterminated
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-26 18:04:22 +00:00
Michael Jerris
85317633dc
build: fix gcc-4.4.0 build failures (FSCORE-355)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:25:59 +00:00
Michael Jerris
383ff711d2
cleanup msvc code analysis warnings
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:07:18 +00:00
Anthony Minessale
3c6b98d00f
accept asterisk N/X/Z/. notation everywhere regexes are expected when they start with _
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-12 17:10:57 +00:00
Anthony Minessale
48fcd82905
FSCORE-355
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13210 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 14:02:24 +00:00
Anthony Minessale
a935a03182
FSCORE-355
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-22 18:50:57 +00:00
Anthony Minessale
21538b2bf9
run expand_vars if input contains a special escaped character not just when it contains a variable to eat up back slashes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-14 15:24:30 +00:00
Anthony Minessale
535cf4696a
clone frames in loopback so we can smooth it out better, now with more memory usage (tm) maybe this will curb pepople from using it like candy
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13011 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-13 18:35:26 +00:00
Anthony Minessale
598854328d
FSCORE-316
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 14:17:28 +00:00
Brian West
babb2f83f5
update copyright
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West
ae220d3341
update email
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale
0463541d61
change low res sleep func api names
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Michael Jerris
57ffaad4bb
FSCORE-253 workaround netbsd failures
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 05:12:12 +00:00
Michael Jerris
6113ab943c
FSCORE-253. add the following functions to work around netbsd failures
...
switch_toupper
switch_tolower
switch_isalnum
switch_isalpha
switch_iscntrl
switch_isdigit
switch_isgraph
switch_islower
switch_isprint
switch_ispunct
switch_isspace
switch_isupper
switch_isxdigit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 03:21:36 +00:00
Michael Jerris
8fb167c779
FSCRE-253 netbsd does not follow opengroup prototypes on toupper and tolower so we have to do stupid workarounds.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 02:48:50 +00:00
Anthony Minessale
0cb51fb336
sigh
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-18 22:46:40 +00:00
Anthony Minessale
03a9bbe63a
let ppl do info dtmf wrong
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10443 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-18 22:15:02 +00:00
Michael Jerris
86e4283ade
windows build fixes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-31 18:22:00 +00:00
Brian West
b9e0bd8f8d
more cleanup polishing things along
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-11 05:44:11 +00:00
Brian West
1cda796da8
spelling
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 23:05:55 +00:00
Anthony Minessale
1c15146866
add patch from MODAPP-86
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 15:50:12 +00:00
Anthony Minessale
3d486a3445
add some more stuff to sho
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-22 17:19:26 +00:00
Anthony Minessale
4722de507b
add domain-based acl auth thingy
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-16 17:44:54 +00:00
Anthony Minessale
b46693e3ca
fix MODAPP-113
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-14 16:32:56 +00:00
Brian West
8b8a7f14c6
fix callback arg and CoreSession::sleep to not require a file
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-12 18:44:05 +00:00
Michael Jerris
d2e4dee2bb
mailer implementation for windows (FSCORE-115)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-10 15:35:35 +00:00
Michael Jerris
ffb2e317bb
build tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 23:37:19 +00:00
Michael Jerris
64997c4d8e
vim extendtab is bad
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Michael Jerris
1d46f922e2
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 18:50:15 +00:00
Brian West
4795ffc622
fix FSCORE-141
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-10 17:54:27 +00:00
Anthony Minessale
3c349c274e
indent pass 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Michael Jerris
aa93dc3e9c
merge MODAPP-88: Fix Email with no Attachement; Allow Email & Local VM Storage; Add Notify Only Email; Extra, note about missing prompts.
...
Added param "vm-email-only" to make voicemail sent by email only (previously default behavior
Added param "vm-mailto-notify" to allow sending an second email to an mobile or other device for notification only
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-26 02:51:34 +00:00
Stefan Knoblich
5d91bea365
switch_url_encode now takes the full length of the buffer and null-terminates the string properly (Klocwork #1030 )
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-21 21:31:17 +00:00
Michael Jerris
41a0bc8fb6
don't deref NULL. Found by Klockwork (www.klocwork.com)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 18:43:01 +00:00
Michael Jerris
29ea1523c9
tweak windows build for inet_pton and other build problems
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-21 14:35:14 +00:00
Anthony Minessale
0c0f2b8005
add acl to mod_dingaling
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8020 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 15:17:17 +00:00
Michael Jerris
12e7b5f016
make compiler quiet about null termination.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-31 16:06:08 +00:00
Anthony Minessale
bba65f4a1e
add acl stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-26 22:14:09 +00:00
Brian West
22670165c1
if and only if
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 23:16:01 +00:00
Brian West
b0ad7ab50c
set tab mode properly
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Michael Jerris
284d03e5e1
code analysis, bounds checks, buffer overrun fixes.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 08:47:55 +00:00
Brian West
84161010ab
cleanup and consistency.. blah rain @ PHX fun
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West
935cbcf937
more cleanup before I leave LAX
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 17:42:51 +00:00
Anthony Minessale
475b98f444
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-22 14:16:45 +00:00
Anthony Minessale
fa56de9d14
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-20 19:05:16 +00:00
Brian West
0a0ee507a2
src/switch_utils.c cleanup
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-19 21:59:06 +00:00
Anthony Minessale
6e1c32e099
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-19 21:54:11 +00:00
Michael Jerris
7cc21a90bd
use unsigned more consistently
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-17 05:52:50 +00:00
Brian West
9b041ca2b0
add patch from FSCORE-89 thank you
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 20:18:09 +00:00
Anthony Minessale
65668e7e6a
RFC4568 support, you don't need the cone of silence anymore...
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 06:01:53 +00:00
Michael Jerris
36658df019
null is not a lan address
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-15 03:28:09 +00:00
Anthony Minessale
143bed09a3
try to use clock_gettime to make sure we don't care if the system time changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-11 00:43:49 +00:00
Anthony Minessale
504b632c2b
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 21:47:24 +00:00
Michael Jerris
15d12ce20a
cleanups and more checking.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-17 21:08:24 +00:00
Michael Jerris
54ec86f6ce
use switch_snprintf instead of snprintf becuase in insures null termination of strings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris
e46266fb4f
cleanup, null checks. etc.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 21:31:57 +00:00
Anthony Minessale
666cd17c89
whatever
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 20:32:40 +00:00
Michael Jerris
55a194e54e
use switch_assert macro
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Michael Jerris
a8a5e462ec
fix for msvc 9 build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 10:01:55 +00:00
Anthony Minessale
c8011a5d52
add local vars with []
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-10 21:58:40 +00:00
Anthony Minessale
836f55ba33
misc changes
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 22:26:37 +00:00
Michael Jerris
621ce7bba1
signedness error
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 16:52:24 +00:00
Anthony Minessale
ae9f41c379
adress MODAPP-55
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6491 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 16:22:02 +00:00
Michael Jerris
194d086acc
add inet_ntop replacement function.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6485 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 03:43:32 +00:00
Anthony Minessale
5322410ec3
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 00:58:51 +00:00
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
Anthony Minessale
9ab2b1db57
Media Management (Sponsored By Front Logic)
...
This modification makes it possible to change the media path of session in the switch on-the-fly and from the dialplan.
It adds some API interface calls usable from a remote client such as mod_event_socket or the test console.
1) media [off] <uuid>
Turns on/off the media on the call described by <uuid>
The media will be redirected as desiered either into the switch or point to point.
2) hold [off] <uuid>
Turns on/off endpoint specific hold state on the session described by <uuid>
3) broadcast <uuid> "<path>[ <timer_name>]" or "speak:<tts_engine>|<tts_voice>|<text>[|<timer_name>]" [both]
A message will be sent to the call described by uuid instructing it to play the file or speak the text indicated.
If the 'both' option is specified both ends of the call will hear the message otherwise just the uuid specified
will hear the message.
During playback when only one side is hearing the message the other end will hear silence.
If media is not flowing across the switch when the message is broadcasted, the media will be directed to the
switch for the duration of the call and then returned to it's previous state.
Also the no_media=true option in the dialplan before a bridge makes it possible to place a call while proxying the session
description from one endpoint to the other and establishing an immidiate point-to-point media connection with no media
on the switch.
<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/mydomain.com/myid@myhost.com"/>
*NOTE* when connecting two outbound legs by using the "originate" api command with an extension that has no_media=true enabled,
the media for the first leg will be engaged with the switch until the second leg has answered and the other session description
is available to establish a point to point connection at which time point-to-point mode will be enabled.
*NOTE* it is reccommended you rebuild FreeSWITCH with "make sure" as there have been some changes to the core.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:38:06 +00:00
Anthony Minessale
0d23976f2a
Insane amounts of yucky satanic code to make transfer and that kind of thing work.
...
Transfers work better when both legs of the call live in thier own channel eg bridged calls
A -> B where you want a to make B -> C
when you route a call to an IVR or playback app you are not really bridging you have
A all alone executing the script so it's hard to transfer that.
I do have it aparently working but it's goofy and you are better off
putting your IVR on it's own switch so they are all inbound calls
then you have A -> B -> IVR
now A can happily transfer B who can stay on line with IVR without stopping
the execution. You can also accomplish this by calling in a loop back to the same box
if you dont want to have 2 boxes.
Also the beginning effort at bridging calls with no media is here
set this magic variable in your dialplan to convince mod_sofia
to pass A's sdp as it's own to B and return B's sdp back to A on 200 or 183
<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/id@host.com"/>
You will need a new sofia tarball for this version
There is a bunch of other odds and ends added like a function or 2 etc
Oh,
And don't be suprised if it introduces all kinds of bugs!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 22:39:49 +00:00
Anthony Minessale
aa2a793e28
optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-15 21:43:18 +00:00
Anthony Minessale
f258e3ea5c
build bs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-22 21:18:36 +00:00
Anthony Minessale
78d060c6a7
*deep breath*
...
Ok,
This one adds a bunch of stuff on top of the framework restructuring from yesterday.
1) originate api function:
Usage: originate <call url> <exten> [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>]
This will call the specified url then transfer the call to the specified extension
example: originate exosip/1000@somehost 1000 XML default
2) mutiple destinations in outbound calls:
This means any dialstring may contain an '&' separated list of call urls
When using mutiple urls in this manner it is possible to map a certian key as required
indication of an accepted call. You may also supply a filename to play possibly instructing the
call recipiant to press the desired key etc...
The example below will call 2 locations playing prompt.wav to any who answer and
completing the call to the first offhook recipiant to dial "4"
<extension name="3002">
<condition field="destination_number" expression="^3002$">
<action application="set" data="call_timeout=60"/>
<action application="set" data="group_confirm_file=/path/to/prompt.wav"/>
<action application="set" data="group_confirm_key=4"/>
<action application="bridge" data="iax/guest@somebox/1234&exosip/1000@somehost"/>
</condition>
</extension>
The following is the equivilant but the confirm data is passed vial the bridge parameters
(This is for situations where there is no originating channel to set variables to)
<extension name="3002">
<condition field="destination_number" expression="^3002$">
<action application="bridge" data=/path/to/prompt.wav:4"confirm=iax/guest@somebox/1234&exosip/1000@somehost"/>
</condition>
</extension>
Omitting the file and key stuff will simply comeplete the call to whoever answers first.
(this is similar to how other less fortunate software handles the situation with thier best effort.)
This logic should be permitted in anything that establishes an outgoing call with
switch_ivr_originate()
Yes! That means even in this new originate api command you can call mutiple targets and send
whoever answers first to an extension that calls more mutiple targets. (better test it though!)
Oh, and you should be able to do the same in the mod_conference dial and dynamic conference features
please report any behaviour contrary to this account to me ASAP cos i would not be terribly
suprised if I forgot some scenerio that causes an explosion I did all this in 1 afternoon so it probably needs tuning still.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 00:53:09 +00:00
Anthony Minessale
da8484382c
move unix builds to apr 1.2.7, sqlite 3.3.6 and libsndfile 1.0.16
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-25 15:11:15 +00:00
Michael Jerris
ead82d86fd
msvc types tweaks.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 16:37:56 +00:00
Anthony Minessale
f09491a69b
XMLification (wave 4)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-10 15:47:54 +00:00
Michael Jerris
14fee78470
part 3 of 3 standardizing typedefed types to end in _t.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 23:43:28 +00:00
Michael Jerris
d0347b2a95
part 1 of many standardizing typedefed types to end in _t
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-29 01:00:52 +00:00
Michael Jerris
c3a77d23bb
improvements
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-17 18:25:43 +00:00
Michael Jerris
d0a103a343
Addition of mod_syslog for *nix. Thanks to James Martelletti.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-14 16:45:31 +00:00
Anthony Minessale
64507e70ca
icc changes part 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 23:02:50 +00:00
Anthony Minessale
7174e8ae8a
add high and low priority event queues
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-26 00:12:17 +00:00
Michael Jerris
dbdad46049
fix msvc compile. Cleanup some warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@660 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-24 00:02:02 +00:00
Anthony Minessale
01fd1c3af4
More PRI/SIP gateway stuff
...
**ATTENTION** you will need to libs/jrtplib/.complete ; make installall
to get it to compile on existing builds as the jrtplib required changes.
Added teletone DTMF to mod_wanpipe and rfc2933 DTMF to mod_exosip
Added temporary poor man's daemon
freeswitch -nc > /var/log/freeswitch.log
then it will await a HUP
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-23 22:41:08 +00:00
Michael Jerris
fc341792be
turn on higher warning level in msvc for the core and libteletone and resolve warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-20 00:23:25 +00:00
Michael Jerris
8420b7e8fb
add mod_event_multicast to msvc build. Fix some warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@618 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-14 22:58:07 +00:00
Michael Jerris
92628433da
fix oops (svn merge -r 418:417 http://svn.freeswitch.org/svn/freeswitch/trunk )
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 15:05:05 +00:00
Anthony Minessale
0ea203849f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 02:02:03 +00:00
Anthony Minessale
42383b1f15
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 00:40:29 +00:00
Anthony Minessale
883efd4e76
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-06 02:01:11 +00:00
Michael Jerris
bedcabb8ec
cleanup and formating
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 01:17:59 +00:00
Anthony Minessale
111a0f6deb
resample into core
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-02 17:28:59 +00:00
Michael Jerris
480d1ac279
fix some size_t\int warnings.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 17:20:21 +00:00
Anthony Minessale
e98104d109
Add rate to frames and a bunch of evil resample code
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-30 00:00:21 +00:00
Anthony Minessale
82d141df73
getting ready for auto resample in opposing versions of SLIN codec
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-29 00:26:17 +00:00
Anthony Minessale
b4845b9ff1
ok gsm works
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-26 19:09:59 +00:00
Anthony Minessale
f3d711ccae
event cleanup from windows perspective
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 21:09:36 +00:00
Michael Jerris
00aaadc4b4
numerous fixes to msvc build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-23 03:39:33 +00:00
Anthony Minessale
8311b9a01a
iax and empty core for opal
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@86 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-06 17:18:56 +00:00
Michael Jerris
b266ae8b11
Moved remotely
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@48 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 20:09:09 +00:00