157 Commits

Author SHA1 Message Date
Michael Jerris
63d89577d6 switch all libs and mods to use the dynamic instead of the static runtime so everything in freeswitch runs in a single instance of the runtime.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-07 04:35:16 +00:00
Michael Jerris
2506451f8a move windows build to use the in tree speex
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 18:27:35 +00:00
Michael Jerris
dced381e66 add speex 1.2beta1 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 18:13:27 +00:00
Anthony Minessale
d7400bf319 build changed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 00:48:34 +00:00
Michael Jerris
6bc48b7070 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3681 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-16 23:22:45 +00:00
Anthony Minessale
095cb4b144 mirror fmtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 18:55:00 +00:00
Anthony Minessale
ae9c58f1dd make ilbc static
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:41:56 +00:00
Anthony Minessale
44e41159a0 fix makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:24:42 +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
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
74dee5f6ec update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:44:20 +00:00
Anthony Minessale
fd16c8f245 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:42:21 +00:00
Brian West
a3277badcd fix g722 with help from tony. Thanks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-08 21:33:03 +00:00
Michael Jerris
3b47c3e85c raise warning levels.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 03:45:51 +00:00
Michael Jerris
d6f7158094 cast atoi returns.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:24:00 +00:00
Anthony Minessale
ba984f35d7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3020 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 02:16:29 +00:00
Anthony Minessale
ed15d399a0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 23:00:11 +00:00
Anthony Minessale
672842361b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 22:46:51 +00:00
Anthony Minessale
8b4e110053 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3011 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:46:23 +00:00
Anthony Minessale
5efcd0d3ee update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3010 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:12:00 +00:00
Anthony Minessale
071e720f87 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:11:39 +00:00
Anthony Minessale
6a96670267 refine code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 02:24:43 +00:00
Michael Jerris
f9cec9f371 enable passthrough build of g732_1 and g729 codecs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2934 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 03:00:37 +00:00
Michael Jerris
a19fb490df Fix build targets and default build for sofia.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 03:22:16 +00:00
Anthony Minessale
0fcf13bc34 misc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 22:11:30 +00:00
Michael Jerris
61583d8508 add the project file for mod_g726 (sorry, forgot to add it).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 20:37:47 +00:00
Michael Jerris
057eb31fd5 small 711 tweak, windows style!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 18:34:43 +00:00
Anthony Minessale
bcadf93455 small 711 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 18:31:15 +00:00
Michael Jerris
2af7fb2fd9 update g711 to use the g711.h from the g7xx lib instead.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 17:55:04 +00:00
Anthony Minessale
0643695cab update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 17:50:17 +00:00
Anthony Minessale
b3c437630f use steve's g711 (thanks steve), chage the conditional mutex based on paul T's input (thanks paul) and take the yield away on switch_yield and just sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 17:17:02 +00:00
Michael Jerris
104e82c91e add mod_g723_1 passthrough codec to default windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 18:28:09 +00:00
Brian West
7055124241 remove the a thing people can do it right
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2587 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 20:40:19 +00:00
Brian West
93d17cd523 tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2586 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 20:38:24 +00:00
Michael Jerris
8b8a85db56 Add g729 passthrough for windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:52:18 +00:00
Brian West
add502f073 oops ifdef on these
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:51:35 +00:00
Brian West
ff00631cad oops return false
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:50:00 +00:00
Brian West
fca9a7879b add g723 pass through options
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:46:13 +00:00
Anthony Minessale
5816256ce3 let g729 be setup for pass through compile like this... MOD_CFLAGS="-DG729_PASSTHROUGH" make installall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 15:43:45 +00:00
Michael Jerris
cd3b46dd02 revert oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2539 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 00:04:29 +00:00
Brian West
f34ed15ac2 adding a check for frame sizes so VBR codecs work correctly.. Should this be moved to the core instead?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2538 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 23:58:14 +00:00
Brian West
3b47424b94 commit both 8k and 16k versions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 17:57:38 +00:00
Brian West
febbefc62b commit both 8k and 16k versions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-06 16:11:57 +00:00
Brian West
b7ded39821 RTP profile for audio and video conferences with minimal control.
This memorandum is a revision of RFC 1890 in preparation for advancement
from Proposed Standard to Draft Standard status. Readers are encouraged to
use the PostScript form of this draft to see where changes from RFC 1890 are
marked by change bars.

"G722 is specified in ITU-T Recommendation G.722, "7 kHz audio-coding within
64 kbit/s". The G.722 encoder produces a stream of octets, each of which
SHALL be octet-aligned in an RTP packet. The first bit transmitted in the
G.722 octet, which is the most significant bit of the higher sub-band
sample, SHALL correspond to the most significant bit of the octet in the RTP
packet.

Even though the actual sampling rate for G.722 audio is 16000 Hz, the RTP
clock rate for the G722 payload format is 8000 Hz because that value was
erroneously assigned in RFC 1890 and must remain unchanged for backward
compatibility. The octet rate or sample-pair rate is 8000 Hz."




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2523 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 22:21:14 +00:00
Brian West
7c11839c58 cleanups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2522 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 22:11:42 +00:00
Brian West
55156a46db Thanks stkn
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2521 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 22:09:56 +00:00
Brian West
484b7daf71 Makefile for mod_g722
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 18:50:39 +00:00
Michael Jerris
7639d6452e Add mod_g722, WIP, we need to test this still. Thanks to Steve Underwood for releasing the library that this codec module is based on.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 18:49:53 +00:00
Brian West
62f339dac1 Ok this passes audio.. please test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 15:50:30 +00:00
Brian West
19f860e274 Ok this actually passes the right RTP sizes but no audio. Work in progress
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 02:13:20 +00:00