Commit Graph

361 Commits

Author SHA1 Message Date
Michael Jerris
245060e5a9 rename
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 21:56:27 +00:00
Michael Jerris
9d0d9187ab add apr-iconv 1.1.1 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:30:23 +00:00
Michael Jerris
165f180162 add sqlite 3.3.8 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:11:50 +00:00
Michael Jerris
3b35430557 add apr-util 1.2.8 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:04:21 +00:00
Michael Jerris
0488a5109a add apr to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 19:58:23 +00:00
Michael Jerris
9da5d7e90f add pcre to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 19:54:26 +00:00
Michael Jerris
e7dc5ce560 spidermonkey threading tweak.. this time.. with no segfaults!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 19:15:48 +00:00
Michael Jerris
8d3d259d12 windows spidermonkey/nspr build redone with checked in js. We now build nspr ourselves instead of downloading the pre-puilt one.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:54:57 +00:00
Michael Jerris
3fe4c3c3bc Remove CVS dirs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:50:07 +00:00
Michael Jerris
738c2464d3 first bits of new spidermonkey/nspr build for windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3724 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:28:24 +00:00
Anthony Minessale
fc85d8aa21 xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 17:29:33 +00:00
Anthony Minessale
59e4d67712 grr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3715 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 01:37:50 +00:00
Anthony Minessale
f1e927c6ca grr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3714 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 01:31:13 +00:00
Anthony Minessale
0948a663d8 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 01:26:41 +00:00
Anthony Minessale
1cb9d1aaa7 going mad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3712 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 01:21:49 +00:00
Anthony Minessale
734b406cdc deep breath
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3711 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 01:11:51 +00:00
Anthony Minessale
b7af6d4def hmm i wonder why i was so against fucking with the build system
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3710 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 01:02:17 +00:00
Anthony Minessale
8de67dfeb6 fix srtp for stricter builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3706 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 22:34:13 +00:00
Michael Jerris
e21807076a remove generated file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3703 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 21:02:38 +00:00
Anthony Minessale
8fb7ed3891 pizza
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 20:55:57 +00:00
Brian West
66be44b33c spidermonkey build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3699 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 20:05:47 +00:00
Anthony Minessale
f3cd9235b2 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3698 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 19:40:00 +00:00
Anthony Minessale
aeeaa8b3a8 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 18:31:38 +00:00
Brian West
b9245b3fe4 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3696 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 18:10:31 +00:00
Anthony Minessale
dee025e15e wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 17:22:22 +00:00
Brian West
a22fcac7b1 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3694 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 17:15:01 +00:00
Brian West
fff98f6316 add js to tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 15:53:47 +00:00
Michael Jerris
520a375780 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3665 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-14 22:49:12 +00:00
Michael Jerris
5c6923139d git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3663 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-14 22:48:07 +00:00
Michael Jerris
70996f09eb git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3662 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-14 22:47:33 +00:00
Michael Jerris
933e30dd96 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3661 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-14 22:45:30 +00:00
Michael Jerris
eced5b401c remove -undefined-supress for OSX gcc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 22:30:10 +00:00
Michael Jerris
1efb9ecc14 remove -undefined-supress for OSX gcc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 22:19:46 +00:00
Michael Jerris
ce41115185 remove -undefined-supress for OSX gcc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 22:17:56 +00:00
Anthony Minessale
322ecbbb9b tweak to jingle
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3624 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 17:44:59 +00:00
Michael Jerris
343a0c776c remove generated file from tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 02:36:02 +00:00
Anthony Minessale
2986cee258 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3513 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-02 02:13:15 +00:00
Michael Jerris
c8b129df56 initial stubs for odbc and libetpan modules for spidermonkey. These do not do anything yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 17:59:58 +00:00
Michael Jerris
92bd5358d0 fix mod_enum on windows, fix logic error in free function causing operations on freed memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 06:12:07 +00:00
Michael Jerris
fadc1ccebe win32 build for mod_enum/libudns. Please note, this builds but still DOES NOT work on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 23:33:37 +00:00
Michael Jerris
693c80fb01 update to sofia release 1.12.4, many fixes including fix for assert(sip) on response to invite after an outbound register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:56:56 +00:00
Anthony Minessale
067014633e add file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:10:07 +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
Anthony Minessale
90ddec83d9 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 15:27:37 +00:00
Michael Jerris
6b5a464f2b fix spidermonkey build on FreeBSD (patch from Matt Klein)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3484 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 14:43:41 +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
Michael Jerris
cb24948735 update to new sofia snapshot. Fixes a memory leak on invite, a timer bug, and several other issues as follows:
Thu Nov 16 07:23:30 Eastern Standard Time 2006  Pekka.Pessi@nokia.com
  * nta.c: setting the local sequence number of nta_leg_t only when first reques
t is sent.

  Application can now set the initial value of CSeq either in nta_leg_create()
  or in nta_outgoing_*create() (or nta_msg_request_complete()).

  * nua_session.c: fixed session timer negotiation when UAS does refreshing with
 INVITEs

  The session-expires header had "uac" even when uac did not support timer.
  The UAS failed to send re-INVITEs.

  Thanks for Chung Pak Lai for reporting this problem.

  * bnf: added host_cmp().

  * outbound.c: using host_cmp() to check if Via host and received parameter dif
fer

  Bug reported by Marc Blanchet.

  * nua_session.c: fixed leak in incomin INVITE processing.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 21:54:19 +00:00
Michael Jerris
fc03e90da4 silence silly warning on msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3413 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:21:44 +00:00
Anthony Minessale
d7baa16132 Ringback (sponsored by Front Logic)
This addition lets you set artifical ringback on a channel
that is waiting for an originated call to be answered.

the syntax is 

<action application="set" data="ringback=[data]"/>

where data is either the full path to an audio file
or a teletone generation script..


syntax of teletone scripts

LEGEND:

0-9,a-d,*,# (standard dtmf tones)

variables: c,r,d,v,>,<,+,w,l,L,%

c (channels)        - Sets the number of channels.
r (rate)            - Sets the sample rate.
d (duration)        - Sets the default tone duration.
v (volume)          - Sets the default volume.
> (decrease vol)    - factor to decrease volume by per frame (0 for even decrease across duration).
< (increase vol)    - factor to increase volume by per frame (0 for even increase across duration).
+ (step)            - factor to step by used by < and >.
w (wait)            - default silence after each tone.
l (loops)           - number of times to repeat each tone in the script.
L (LOOPS)           - number of times to repeat the the whole script.
% (manual tone)     - a generic tone specified by a duration, a wait and a list of frequencies.

standard tones can have custom duration per use with the () modifier
7(1000, 500) to generate DTMF 7 for 1 second then pause .5 seconds

EXAMPLES

UK Ring Tone [400+450 hz on for 400ms off for 200ms then 400+450 hz on for 400ms off for 2200ms]
%(400,200,400,450);%(400,2200,400,450)

US Ring Tone [440+480 hz on for 2000ms off for 4000ms]
%(2000,4000,440,480)

ATT BONG [volume level 4000, even decay, step by 2, # key for 60ms with no wait, volume level 2000, 350+440hz {us dialtone} for 940ms
v=4000;>=0;+=2;#(60,0);v=2000;%(940,0,350,440)

SIT Tone 913.8 hz for 274 ms with no wait, 1370.6 hz for 274 ms with no wait, 1776.7 hz for 380ms with no wait
%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)

ATTN TONE (phone's off the hook!) 1400+2060+2450+2600 hz for 100ms with 100ms wait
%(100,100,1400,2060,2450,2600)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:05:06 +00:00
Michael Jerris
0984933c36 fix spidermonkey release build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 17:09:25 +00:00