Commit Graph

345 Commits

Author SHA1 Message Date
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
Michael Jerris
2ce49f8f0b silence silly warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:39:45 +00:00
Michael Jerris
0d0114c8a5 fix portaudio build on ppc, thanks puzzled on irc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 23:09:36 +00:00
Anthony Minessale
ff4d2b3dcc pesky interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 19:28:05 +00:00
Anthony Minessale
9415cdcacb update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 16:10:39 +00:00
Anthony Minessale
594ccf8bb8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 15:50:17 +00:00
Anthony Minessale
394a188b7e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 20:21:46 +00:00
Anthony Minessale
6013035a6c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 20:21:29 +00:00
Anthony Minessale
1fc5fd0e14 inherited 64bit bug curses to unsigned long
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 00:15:38 +00:00
Michael Jerris
54e68cfee6 fix path of header files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 19:52:24 +00:00
Michael Jerris
73304d0ca8 move to sofia snapshot 1.12.3.10. This adds nua_i_mehtod support to allow receipt of non-standard methods as well as a number of other bugfixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 19:13:56 +00:00
Michael Jerris
2450b0e624 teletone dll needs to built to the dest dir, not to the intermediate dir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:02:31 +00:00
Anthony Minessale
3c20f80991 dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 06:55:18 +00:00
Anthony Minessale
1167541063 build stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:31:29 +00:00
Michael Jerris
1e4ad3c5ae Update to newest sofia snapshot. This includes many fixes mostly for sdp negotiation.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 20:48:16 +00:00
Michael Jerris
7a36a5d969 Update to new sofia tarball to tweak sdp behavior to use the correct c line on re-invite.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:43:53 +00:00
Anthony Minessale
082a5a03c0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 15:36:23 +00:00