Quick Search:

Line History

line history graph

Show Arbitrary Diff

From to

Supports revisions and tags.

History

root: 9134 52

latest revision download Branch root:

9134 annotated / raw | Diffs: previous, other | Lines: 1519 ( +3, -2 )

Created: 2008-07-22 13:19:26 -0400 (37 days ago) | Author: anthm | Changeset: 9134

add some more stuff to sho

9056 annotated / raw | Diffs: previous, other | Lines: 1518 ( +13, -5 )

Created: 2008-07-16 13:44:54 -0400 (43 days ago) | Author: anthm | Changeset: 9056

add domain-based acl auth thingy

9016 annotated / raw | Diffs: previous, other | Lines: 1510 ( +4, -1 )

Created: 2008-07-14 12:32:56 -0400 (45 days ago) | Author: anthm | Changeset: 9016

fix MODAPP-113

9004 annotated / raw | Diffs: previous, other | Lines: 1507 ( +1, -1 )

Created: 2008-07-12 14:44:05 -0400 (47 days ago) | Author: brian | Changeset: 9004

fix callback arg and CoreSession::sleep to not require a file

8985 annotated / raw | Diffs: previous, other | Lines: 1507 ( +4, -0 )

Created: 2008-07-10 11:35:35 -0400 (49 days ago) | Author: mikej | Changeset: 8985

mailer implementation for windows (FSCORE-115)

8897 annotated / raw | Diffs: previous, other | Lines: 1503 ( +1, -2 )

Created: 2008-07-03 19:37:19 -0400 (56 days ago) | Author: mikej | Changeset: 8897

build tweaks

8894 annotated / raw | Diffs: previous, other | Lines: 1504 ( +1, -1 )

Created: 2008-07-03 15:12:26 -0400 (56 days ago) | Author: mikej | Changeset: 8894

vim extendtab is bad

8893 annotated / raw | Diffs: previous, other | Lines: 1504 ( +56, -10 )

Created: 2008-07-03 14:50:15 -0400 (56 days ago) | Author: mikej | Changeset: 8893

update

8792 annotated / raw | Diffs: previous, other | Lines: 1458 ( +1, -1 )

Created: 2008-06-10 13:54:27 -0400 (2 months 18 days ago) | Author: brian | Changeset: 8792

fix FSCORE-141

8686 annotated / raw | Diffs: previous, other | Lines: 1458 ( +230, -236 )

Created: 2008-05-27 00:30:03 -0400 (3 months 1 day ago) | Author: anthm | Changeset: 8686

indent pass 1

8655 annotated / raw | Diffs: previous, other | Lines: 1464 ( +14, -20 )

Created: 2008-05-25 22:51:34 -0400 (3 months 3 days ago) | Author: mikej | Changeset: 8655

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

8510 annotated / raw | Diffs: previous, other | Lines: 1470 ( +8, -6 )

Created: 2008-05-21 17:31:17 -0400 (3 months 7 days ago) | Author: stkn | Changeset: 8510

switch_url_encode now takes the full length of the buffer and null-terminates the string properly (Klocwork #1030)

8468 annotated / raw | Diffs: previous, other | Lines: 1468 ( +5, -1 )

Created: 2008-05-19 14:43:01 -0400 (3 months 9 days ago) | Author: mikej | Changeset: 8468

don't deref NULL. Found by Klockwork (www.klocwork.com)

8131 annotated / raw | Diffs: previous, other | Lines: 1464 ( +10, -4 )

Created: 2008-04-21 10:35:14 -0400 (4 months 7 days ago) | Author: mikej | Changeset: 8131

tweak windows build for inet_pton and other build problems

8020 annotated / raw | Diffs: previous, other | Lines: 1458 ( +1, -1 )

Created: 2008-04-04 11:17:17 -0400 (4 months 24 days ago) | Author: anthm | Changeset: 8020

add acl to mod_dingaling

7988 annotated / raw | Diffs: previous, other | Lines: 1458 ( +2, -2 )

Created: 2008-03-31 12:06:08 -0400 (4 months 28 days ago) | Author: mikej | Changeset: 7988

make compiler quiet about null termination.

7966 annotated / raw | Diffs: previous, other | Lines: 1458 ( +132, -0 )

Created: 2008-03-26 18:14:09 -0400 (5 months 2 days ago) | Author: anthm | Changeset: 7966

add acl stuff

7641 annotated / raw | Diffs: previous, other | Lines: 1326 ( +2, -2 )

Created: 2008-02-15 18:16:01 -0500 (6 months ago) | Author: brian | Changeset: 7641

if and only if

7500 annotated / raw | Diffs: previous, other | Lines: 1326 ( +1, -1 )

Created: 2008-02-03 17:14:57 -0500 (6 months ago) | Author: brian | Changeset: 7500

set tab mode properly

7403 annotated / raw | Diffs: previous, other | Lines: 1326 ( +4, -0 )

Created: 2008-01-28 03:47:55 -0500 (6 months ago) | Author: mikej | Changeset: 7403

code analysis, bounds checks, buffer overrun fixes.

7396 annotated / raw | Diffs: previous, other | Lines: 1322 ( +2, -21 )

Created: 2008-01-27 15:01:02 -0500 (7 months ago) | Author: brian | Changeset: 7396

cleanup and consistency.. blah rain @ PHX fun

7394 annotated / raw | Diffs: previous, other | Lines: 1341 ( +1, -0 )

Created: 2008-01-27 12:42:51 -0500 (7 months ago) | Author: brian | Changeset: 7394

more cleanup before I leave LAX

7317 annotated / raw | Diffs: previous, other | Lines: 1340 ( +4, -4 )

Created: 2008-01-22 09:16:45 -0500 (7 months ago) | Author: anthm | Changeset: 7317

update

7306 annotated / raw | Diffs: previous, other | Lines: 1340 ( +2, -1 )

Created: 2008-01-20 14:05:16 -0500 (7 months ago) | Author: anthm | Changeset: 7306

update

7302 annotated / raw | Diffs: previous, other | Lines: 1339 ( +1, -1 )

Created: 2008-01-19 16:59:06 -0500 (7 months ago) | Author: brian | Changeset: 7302

src/switch_utils.c cleanup

7301 annotated / raw | Diffs: previous, other | Lines: 1339 ( +22, -13 )

Created: 2008-01-19 16:54:11 -0500 (7 months ago) | Author: anthm | Changeset: 7301

update

7261 annotated / raw | Diffs: previous, other | Lines: 1330 ( +5, -5 )

Created: 2008-01-17 00:52:50 -0500 (7 months ago) | Author: mikej | Changeset: 7261

use unsigned more consistently

7251 annotated / raw | Diffs: previous, other | Lines: 1330 ( +159, -38 )

Created: 2008-01-16 15:18:09 -0500 (7 months ago) | Author: brian | Changeset: 7251

add patch from FSCORE-89 thank you

7244 annotated / raw | Diffs: previous, other | Lines: 1209 ( +2, -2 )

Created: 2008-01-16 01:01:53 -0500 (7 months ago) | Author: anthm | Changeset: 7244

RFC4568 support, you don't need the cone of silence anymore...

7233 annotated / raw | Diffs: previous, other | Lines: 1209 ( +1, -1 )

Created: 2008-01-14 22:28:09 -0500 (7 months ago) | Author: mikej | Changeset: 7233

null is not a lan address

7165 annotated / raw | Diffs: previous, other | Lines: 1209 ( +2, -2 )

Created: 2008-01-10 19:43:49 -0500 (7 months ago) | Author: anthm | Changeset: 7165

try to use clock_gettime to make sure we don't care if the system time changes

7102 annotated / raw | Diffs: previous, other | Lines: 1209 ( +2, -1 )

Created: 2008-01-05 16:47:24 -0500 (7 months ago) | Author: anthm | Changeset: 7102

update

6843 annotated / raw | Diffs: previous, other | Lines: 1208 ( +3, -1 )

Created: 2007-12-17 16:08:24 -0500 (8 months ago) | Author: mikej | Changeset: 6843

cleanups and more checking.

6707 annotated / raw | Diffs: previous, other | Lines: 1206 ( +8, -8 )

Created: 2007-12-12 16:53:32 -0500 (8 months ago) | Author: mikej | Changeset: 6707

use switch_snprintf instead of snprintf becuase in insures null termination of strings.

6673 annotated / raw | Diffs: previous, other | Lines: 1206 ( +10, -4 )

Created: 2007-12-11 16:31:57 -0500 (8 months ago) | Author: mikej | Changeset: 6673

cleanup, null checks. etc.

6668 annotated / raw | Diffs: previous, other | Lines: 1200 ( +7, -3 )

Created: 2007-12-11 15:32:40 -0500 (8 months ago) | Author: anthm | Changeset: 6668

whatever

6661 annotated / raw | Diffs: previous, other | Lines: 1196 ( +3, -3 )

Created: 2007-12-11 14:23:57 -0500 (8 months ago) | Author: mikej | Changeset: 6661

use switch_assert macro

6628 annotated / raw | Diffs: previous, other | Lines: 1196 ( +11, -9 )

Created: 2007-12-11 05:01:55 -0500 (8 months ago) | Author: mikej | Changeset: 6628

fix for msvc 9 build.

6609 annotated / raw | Diffs: previous, other | Lines: 1194 ( +27, -0 )

Created: 2007-12-10 16:58:40 -0500 (8 months ago) | Author: anthm | Changeset: 6609

add local vars with []

6550 annotated / raw | Diffs: previous, other | Lines: 1167 ( +3, -1 )

Created: 2007-12-06 17:26:37 -0500 (8 months ago) | Author: anthm | Changeset: 6550

misc changes

6493 annotated / raw | Diffs: previous, other | Lines: 1165 ( +1, -1 )

Created: 2007-12-04 11:52:24 -0500 (8 months ago) | Author: mikej | Changeset: 6493

signedness error

6491 annotated / raw | Diffs: previous, other | Lines: 1165 ( +47, -0 )

Created: 2007-12-04 11:22:02 -0500 (8 months ago) | Author: anthm | Changeset: 6491

adress MODAPP-55

6485 annotated / raw | Diffs: previous, other | Lines: 1118 ( +180, -0 )

Created: 2007-12-03 22:43:32 -0500 (8 months ago) | Author: mikej | Changeset: 6485

add inet_ntop replacement function.

6482 annotated / raw | Diffs: previous, other | Lines: 938 ( +3, -11 )

Created: 2007-12-03 19:58:51 -0500 (8 months ago) | Author: anthm | Changeset: 6482

update

6422 annotated / raw | Diffs: previous, other | Lines: 946 ( +1, -0 )

Created: 2007-11-28 18:12:13 -0500 (9 months ago) | Author: anthm | Changeset: 6422

update template for multipart/alternative

6421 annotated / raw | Diffs: previous, other | Lines: 945 ( +3, -3 )

Created: 2007-11-28 17:27:33 -0500 (9 months ago) | Author: mikej | Changeset: 6421

fix windows build

6419 annotated / raw | Diffs: previous, other | Lines: 945 ( +5, -1 )

Created: 2007-11-28 15:51:25 -0500 (9 months ago) | Author: anthm | Changeset: 6419

allow templates to contain mime encoded messages

6413 annotated / raw | Diffs: previous, other | Lines: 941 ( +40, -0 )

Created: 2007-11-27 14:25:16 -0500 (9 months ago) | Author: anthm | Changeset: 6413

improve http support

6406 annotated / raw | Diffs: previous, other | Lines: 901 ( +1, -1 )

Created: 2007-11-26 20:15:13 -0500 (9 months ago) | Author: anthm | Changeset: 6406

tweak

6399 annotated / raw | Diffs: previous, other | Lines: 901 ( +34, -2 )

Created: 2007-11-26 18:41:00 -0500 (9 months ago) | Author: anthm | Changeset: 6399

improve voicemail

6397 annotated / raw | Diffs: previous, other | Lines: 869 ( +11, -8 )

Created: 2007-11-26 12:43:42 -0500 (9 months ago) | Author: mikej | Changeset: 6397

little mailer rework.

6376 annotated / raw | Diffs: previous, other | Lines: 866 ( +2, -2 )

Created: 2007-11-22 03:32:35 -0500 (9 months ago) | Author: mikej | Changeset: 6376

fix e-mail content type to work with the iphone (FSCORE-63) Thanks Jason

6274 annotated / raw | Diffs: previous, other | Lines: 866 ( +1, -1 )

Created: 2007-11-15 11:22:18 -0500 (9 months ago) | Author: anthm | Changeset: 6274

fix uri nonsense and backwards stristr

6234 annotated / raw | Diffs: previous, other | Lines: 866 ( +30, -0 )

Created: 2007-11-12 22:47:07 -0500 (9 months ago) | Author: mikej | Changeset: 6234

add missing "execute" handler to phrase macro. (not yet tested)

6211 annotated / raw | Diffs: previous, other | Lines: 836 ( +3, -0 )

Created: 2007-11-09 16:38:51 -0500 (9 months ago) | Author: anthm | Changeset: 6211

update

6205 annotated / raw | Diffs: previous, other | Lines: 833 ( +22, -0 )

Created: 2007-11-09 14:25:46 -0500 (9 months ago) | Author: anthm | Changeset: 6205

add a new dialplan module

6193 annotated / raw | Diffs: previous, other | Lines: 811 ( +20, -0 )

Created: 2007-11-09 10:26:32 -0500 (9 months ago) | Author: anthm | Changeset: 6193

add regex api func

6189 annotated / raw | Diffs: previous, other | Lines: 791 ( +75, -7 )

Created: 2007-11-08 18:46:26 -0500 (9 months ago) | Author: anthm | Changeset: 6189

add some logic tools

6165 annotated / raw | Diffs: previous, other | Lines: 723 ( +1, -1 )

Created: 2007-11-05 17:36:59 -0500 (9 months ago) | Author: mikej | Changeset: 6165

fix newer freebsd builds.

6164 annotated / raw | Diffs: previous, other | Lines: 723 ( +1, -1 )

Created: 2007-11-05 14:13:17 -0500 (9 months ago) | Author: anthm | Changeset: 6164

make mailer app name a config option

6163 annotated / raw | Diffs: previous, other | Lines: 723 ( +2, -1 )

Created: 2007-11-05 13:45:26 -0500 (9 months ago) | Author: anthm | Changeset: 6163

make mailer app name a config option

6120 annotated / raw | Diffs: previous, other | Lines: 722 ( +2, -2 )

Created: 2007-11-01 07:28:26 -0400 (9 months ago) | Author: mikej | Changeset: 6120

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.

6080 annotated / raw | Diffs: previous, other | Lines: 722 ( +35, -13 )

Created: 2007-10-29 02:16:41 -0400 (9 months ago) | Author: mikej | Changeset: 6080

replace switch_stristr implementation with one that shouldn't segfault.

6048 annotated / raw | Diffs: previous, other | Lines: 700 ( +14, -15 )

Created: 2007-10-24 19:20:47 -0400 (10 months ago) | Author: anthm | Changeset: 6048

presence crap

6024 annotated / raw | Diffs: previous, other | Lines: 701 ( +1, -1 )

Created: 2007-10-22 22:59:46 -0400 (10 months ago) | Author: anthm | Changeset: 6024

fix return val in switch_stristr

5978 annotated / raw | Diffs: previous, other | Lines: 701 ( +3, -2 )

Created: 2007-10-18 16:15:35 -0400 (10 months ago) | Author: mikej | Changeset: 5978

fix startup on windows when no ipv6 is present.

5896 annotated / raw | Diffs: previous, other | Lines: 700 ( +1, -1 )

Created: 2007-10-16 12:49:53 -0400 (10 months ago) | Author: anthm | Changeset: 5896

fix type

5887 annotated / raw | Diffs: previous, other | Lines: 700 ( +21, -0 )

Created: 2007-10-16 10:24:02 -0400 (10 months ago) | Author: anthm | Changeset: 5887

add switch_stristr and use it in dptools

5851 annotated / raw | Diffs: previous, other | Lines: 679 ( +129, -0 )

Created: 2007-10-12 13:12:31 -0400 (10 months ago) | Author: anthm | Changeset: 5851

minor adj

5823 annotated / raw | Diffs: previous, other | Lines: 550 ( +34, -0 )

Created: 2007-10-05 20:30:04 -0400 (10 months ago) | Author: anthm | Changeset: 5823

make encoding optional none, base64 or url encoding

5738 annotated / raw | Diffs: previous, other | Lines: 516 ( +0, -0 )

Created: 2007-09-21 14:49:14 -0400 (11 months ago) | Author: mikej | Changeset: 5738

svn:eol-style properties, and make eol-style consistent in some files.

5165 annotated / raw | Diffs: previous, other | Lines: 516 ( +5, -4 )

Created: 2007-05-12 10:48:14 -0400 (15 months ago) | Author: mikej | Changeset: 5165

adding const qualifiers across the api as appropriate.

4799 annotated / raw | Diffs: previous, other | Lines: 515 ( +1, -1 )

Created: 2007-03-29 20:15:25 -0400 (17 months ago) | Author: anthm | Changeset: 4799

indent again

4798 annotated / raw | Diffs: previous, other | Lines: 515 ( +4, -7 )

Created: 2007-03-29 20:13:31 -0400 (17 months ago) | Author: anthm | Changeset: 4798

indent

4795 annotated / raw | Diffs: previous, other | Lines: 518 ( +211, -222 )

Created: 2007-03-29 18:31:56 -0400 (17 months ago) | Author: anthm | Changeset: 4795

spring cleaning

4494 annotated / raw | Diffs: previous, other | Lines: 529 ( +9, -164 )

Created: 2007-03-09 15:44:13 -0500 (17 months ago) | Author: mikej | Changeset: 4494

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.

4471 annotated / raw | Diffs: previous, other | Lines: 684 ( +14, -0 )

Created: 2007-03-07 17:17:02 -0500 (17 months ago) | Author: anthm | Changeset: 4471

fix fatal include

4445 annotated / raw | Diffs: previous, other | Lines: 670 ( +4, -3 )

Created: 2007-03-03 20:53:49 -0500 (17 months ago) | Author: brian | Changeset: 4445

update comments

4241 annotated / raw | Diffs: previous, other | Lines: 669 ( +4, -4 )

Created: 2007-02-13 16:03:06 -0500 (18 months ago) | Author: mikej | Changeset: 4241

constify some arguments to switch_console_printf and switch_cut_path and remove improper casts for the consumers of those functions.

4197 annotated / raw | Diffs: previous, other | Lines: 669 ( +1, -0 )

Created: 2007-02-10 18:28:19 -0500 (18 months ago) | Author: mikej | Changeset: 4197

be more flexible in what we accept for char based dtmf (ABCD and abcd), patch from George Shaw.  Thanks.

4188 annotated / raw | Diffs: previous, other | Lines: 668 ( +9, -0 )

Created: 2007-02-09 17:56:42 -0500 (18 months ago) | Author: mikej | Changeset: 4188

add some error checking to switch_url_encode function

4176 annotated / raw | Diffs: previous, other | Lines: 659 ( +1, -1 )

Created: 2007-02-08 21:36:03 -0500 (18 months ago) | Author: mikej | Changeset: 4176

fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces

4169 annotated / raw | Diffs: previous, other | Lines: 659 ( +1, -2 )

Created: 2007-02-08 15:16:08 -0500 (18 months ago) | Author: mikej | Changeset: 4169

make sofia set network_addr as the address the packet was actually received from, not the address from the uri.

4002 annotated / raw | Diffs: previous, other | Lines: 660 ( +5, -2 )

Created: 2007-01-19 14:52:19 -0500 (19 months ago) | Author: anthm | Changeset: 4002

auto ip fix for w32

4001 annotated / raw | Diffs: previous, other | Lines: 657 ( +1, -1 )

Created: 2007-01-19 14:20:28 -0500 (19 months ago) | Author: anthm | Changeset: 4001

update for mac

4000 annotated / raw | Diffs: previous, other | Lines: 657 ( +165, -7 )

Created: 2007-01-19 14:11:44 -0500 (19 months ago) | Author: anthm | Changeset: 4000

auto ip stuff

3933 annotated / raw | Diffs: previous, other | Lines: 499 ( +1, -1 )

Created: 2007-01-10 09:42:47 -0500 (19 months ago) | Author: mikej | Changeset: 3933

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.

3900 annotated / raw | Diffs: previous, other | Lines: 499 ( +16, -11 )

Created: 2007-01-02 19:50:11 -0500 (19 months ago) | Author: anthm | Changeset: 3900

add strepoch api call and more say stuff

3899 annotated / raw | Diffs: previous, other | Lines: 494 ( +48, -0 )

Created: 2007-01-02 19:21:17 -0500 (19 months ago) | Author: anthm | Changeset: 3899

some changes from mmurdock

3494 annotated / raw | Diffs: previous, other | Lines: 446 ( +86, -0 )

Created: 2006-11-30 16:28:32 -0500 (20 months ago) | Author: anthm | Changeset: 3494

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.


3482 annotated / raw | Diffs: previous, other | Lines: 360 ( +1, -1 )

Created: 2006-11-29 00:46:12 -0500 (20 months ago) | Author: ptinsley | Changeset: 3482

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

3481 annotated / raw | Diffs: previous, other | Lines: 360 ( +1, -1 )

Created: 2006-11-28 23:57:01 -0500 (20 months ago) | Author: ptinsley | Changeset: 3481

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;

3462 annotated / raw | Diffs: previous, other | Lines: 360 ( +11, -0 )

Created: 2006-11-27 17:30:48 -0500 (21 months ago) | Author: mikej | Changeset: 3462

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:
*/

3377 annotated / raw | Diffs: previous, other | Lines: 349 ( +35, -0 )

Created: 2006-11-14 22:17:28 -0500 (21 months ago) | Author: anthm | Changeset: 3377

hack to fix udp sockets

3306 annotated / raw | Diffs: previous, other | Lines: 314 ( +9, -5 )

Created: 2006-11-10 11:30:02 -0500 (21 months ago) | Author: mikej | Changeset: 3306

make logger handle a bit more bad input.

3245 annotated / raw | Diffs: previous, other | Lines: 310 ( +12, -7 )

Created: 2006-10-31 16:38:06 -0500 (21 months ago) | Author: anthm | Changeset: 3245

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.

2992 annotated / raw | Diffs: previous, other | Lines: 305 ( +39, -0 )

Created: 2006-10-06 18:39:49 -0400 (22 months ago) | Author: anthm | Changeset: 2992


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!

2708 annotated / raw | Diffs: previous, other | Lines: 266 ( +1, -3 )

Created: 2006-09-15 17:43:18 -0400 (23 months ago) | Author: anthm | Changeset: 2708

optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls

2365 annotated / raw | Diffs: previous, other | Lines: 268 ( +1, -1 )

Created: 2006-08-22 17:18:36 -0400 (2 years ago) | Author: anthm | Changeset: 2365

build bs

2311 annotated / raw | Diffs: previous, other | Lines: 268 ( +24, -15 )

Created: 2006-08-16 20:53:09 -0400 (2 years ago) | Author: anthm | Changeset: 2311

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



2112 annotated / raw | Diffs: previous, other | Lines: 259 ( +0, -10 )

Created: 2006-07-25 11:11:15 -0400 (2 years 1 month ago) | Author: anthm | Changeset: 2112

move unix builds to apr 1.2.7, sqlite 3.3.6 and libsndfile 1.0.16

1416 annotated / raw | Diffs: previous, other | Lines: 269 ( +3, -3 )

Created: 2006-05-10 12:37:56 -0400 (2 years 3 months ago) | Author: mikej | Changeset: 1416

msvc types tweaks.

1412 annotated / raw | Diffs: previous, other | Lines: 269 ( +45, -0 )

Created: 2006-05-10 11:47:54 -0400 (2 years 3 months ago) | Author: anthm | Changeset: 1412

XMLification (wave 4)

1300 annotated / raw | Diffs: previous, other | Lines: 224 ( +4, -4 )

Created: 2006-04-29 19:43:28 -0400 (2 years 3 months ago) | Author: mikej | Changeset: 1300

part 3 of 3 standardizing typedefed types to end in _t.

1292 annotated / raw | Diffs: previous, other | Lines: 224 ( +1, -1 )

Created: 2006-04-28 21:00:52 -0400 (2 years 4 months ago) | Author: mikej | Changeset: 1292

part 1 of many standardizing typedefed types to end in _t

1176 annotated / raw | Diffs: previous, other | Lines: 224 ( +10, -0 )

Created: 2006-04-17 14:25:43 -0400 (2 years 4 months ago) | Author: mikej | Changeset: 1176

improvements

1158 annotated / raw | Diffs: previous, other | Lines: 214 ( +49, -0 )

Created: 2006-04-14 12:45:31 -0400 (2 years 4 months ago) | Author: mikej | Changeset: 1158

Addition of mod_syslog for *nix.  Thanks to James Martelletti.

982 annotated / raw | Diffs: previous, other | Lines: 165 ( +17, -14 )

Created: 2006-03-30 18:02:50 -0500 (2 years 4 months ago) | Author: anthm | Changeset: 982

icc changes part 1

674 annotated / raw | Diffs: previous, other | Lines: 162 ( +19, -1 )

Created: 2006-02-25 19:12:17 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 674

add high and low priority event queues

660 annotated / raw | Diffs: previous, other | Lines: 144 ( +3, -3 )

Created: 2006-02-23 19:02:02 -0500 (2 years 6 months ago) | Author: mikej | Changeset: 660

fix msvc compile.  Cleanup some warnings.

659 annotated / raw | Diffs: previous, other | Lines: 144 ( +19, -0 )

Created: 2006-02-23 17:41:08 -0500 (2 years 6 months ago) | Author: anthm | Changeset: 659

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


634 annotated / raw | Diffs: previous, other | Lines: 125 ( +2, -2 )

Created: 2006-02-19 19:23:25 -0500 (2 years 6 months ago) | Author: mikej | Changeset: 634

turn on higher warning level in msvc for the core and libteletone and resolve warnings.

618 annotated / raw | Diffs: previous, other | Lines: 125 ( +2, -0 )

Created: 2006-02-14 17:58:07 -0500 (2 years 6 months ago) | Author: mikej | Changeset: 618

add mod_event_multicast to msvc build.  Fix some warnings.

419 annotated / raw | Diffs: previous, other | Lines: 123 ( +6, -5 )

Created: 2006-01-20 10:05:05 -0500 (2 years 7 months ago) | Author: mikej | Changeset: 419

fix oops (svn merge -r 418:417 http://svn.freeswitch.org/svn/freeswitch/trunk)

418 annotated / raw | Diffs: previous, other | Lines: 122 ( +5, -6 )

Created: 2006-01-19 21:02:03 -0500 (2 years 7 months ago) | Author: anthm | Changeset: 418

update

416 annotated / raw | Diffs: previous, other | Lines: 123 ( +6, -5 )

Created: 2006-01-19 19:40:29 -0500 (2 years 7 months ago) | Author: anthm | Changeset: 416

indent

296 annotated / raw | Diffs: previous, other | Lines: 122 ( +15, -0 )

Created: 2006-01-05 21:01:11 -0500 (2 years 7 months ago) | Author: anthm | Changeset: 296

update

261 annotated / raw | Diffs: previous, other | Lines: 107 ( +2, -55 )

Created: 2006-01-02 20:17:59 -0500 (2 years 7 months ago) | Author: mikej | Changeset: 261

cleanup and formating

254 annotated / raw | Diffs: previous, other | Lines: 160 ( +0, -93 )

Created: 2006-01-02 12:28:59 -0500 (2 years 7 months ago) | Author: anthm | Changeset: 254

resample into core

245 annotated / raw | Diffs: previous, other | Lines: 253 ( +65, -65 )

Created: 2005-12-30 12:20:21 -0500 (2 years 7 months ago) | Author: mikej | Changeset: 245

fix some size_t\int warnings.

240 annotated / raw | Diffs: previous, other | Lines: 253 ( +62, -62 )

Created: 2005-12-29 19:00:21 -0500 (2 years 7 months ago) | Author: anthm | Changeset: 240

Add rate to frames and a bunch of evil resample code

232 annotated / raw | Diffs: previous, other | Lines: 253 ( +68, -0 )

Created: 2005-12-28 19:26:17 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 232

getting ready for auto resample in opposing versions of SLIN codec

206 annotated / raw | Diffs: previous, other | Lines: 185 ( +14, -14 )

Created: 2005-12-26 14:09:59 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 206

ok gsm works

204 annotated / raw | Diffs: previous, other | Lines: 185 ( +16, -0 )

Created: 2005-12-23 16:09:36 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 204

event cleanup from windows perspective

199 annotated / raw | Diffs: previous, other | Lines: 169 ( +9, -0 )

Created: 2005-12-22 22:39:33 -0500 (2 years 8 months ago) | Author: mikej | Changeset: 199

numerous fixes to msvc build.

86 annotated / raw | Diffs: previous, other | Lines: 160 ( +44, -0 )

Created: 2005-12-06 12:18:56 -0500 (2 years 8 months ago) | Author: anthm | Changeset: 86

iax and empty core for opal

52 new annotated / raw | Lines: 116 ( +116, -0 )

Created: 2005-11-19 15:11:40 -0500 (2 years 9 months ago) | Author: mikej | Changeset: 52

Renamed remotely