Commit Graph

421 Commits

Author SHA1 Message Date
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
Michael Jerris fc49fba107 move windows build to use the in tree iksemel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 17:55:23 +00:00
Michael Jerris 83f4a9dc2f add iksemel to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 15:45:14 +00:00
Michael Jerris 7d37a04688 remove generated files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 15:43:59 +00:00
Michael Jerris 9593213ebc move windows build to use the in tree curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 03:13:37 +00:00
Michael Jerris d5033c686b add copy of generated file for windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 03:07:52 +00:00
Michael Jerris 3f82e9323c remove generated files and add svn:ignore
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:58:55 +00:00
Michael Jerris 5626cdd351 add curl 7.16.0 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:08:00 +00:00
Michael Jerris cebf3306af move windows build to use the in tree sqlite
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 23:09:46 +00:00
Michael Jerris 493cbcd331 move windows build to use the in tree apr, apr-util and pcre
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 22:39:38 +00:00
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
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
Michael Jerris 18f51bee7b update to new sofia snapshot. This fixes several race conditions, ref count problems, and double frees that were happening in the sofia library and fixes segfaults under heavy load and a segfault on cancel when using 100rel while awaiting a prack. Sofia should be much more stable now, please beat it up and let us know.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 23:20:10 +00:00
Anthony Minessale b22e11c36a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 20:05:16 +00:00
Michael Jerris f1cfceb9d4 bad opt, wrong directory.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:04:00 +00:00
Anthony Minessale 305bc19458 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:00:23 +00:00
Anthony Minessale 521e3b0a55 figure out when we are on hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 21:31:39 +00:00
Anthony Minessale e22015c799 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:51:33 +00:00
Anthony Minessale 10ead46ffd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:50:52 +00:00
Anthony Minessale 04546b6b93 fix sillyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 01:29:04 +00:00
Michael Jerris 39df1481c2 move to new sofia tarball for windows build, this new tarball includes fix for build w/o glib on *nix, fix for segfault on cancel during early media, and proper implementation of handing subscribe and publish requests up to the application (removes our private hacks to enable this behavior).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:39:48 +00:00
Anthony Minessale aba9c77c35 your run-of-the mill nightmarish attempt at normalizing not one crazy protocol but many....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 04:37:19 +00:00
Michael Jerris 796ed1813e tweak warning level up.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:32:11 +00:00
Anthony Minessale 4770a54d37 strip html till we figure it out
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3129 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 00:59:51 +00:00
Anthony Minessale 003f33e409 *WARNING* delete /usr/local/freeswitch/db/* cos the schema has changed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 07:35:55 +00:00
Anthony Minessale 26fa772094 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 07:34:08 +00:00
Anthony Minessale 747ab41f78 bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:44:58 +00:00
Anthony Minessale 3a32d9e53c Presence and Chat Gateway Code
This is some brand new stuff to gateway chat/presence/audio from one protocol to another
So far it only works between google/jingle and SIP

All I had to test the SIP end was X-Lite and Eyebeam and GoogleTalk on the jingle end.

With this setup registered X-Lite's can chat with each other and call each other 
as well as X-Lite to GoogleTalk and GoogleTalk to X-Lite audio calls.

Chat May also be done between X-Lite and jabber 

You'll also need a jabber server configured for component login so you can interface.
We have only tested with jabberd2 so far.

Configure DNS so srv records for jabber for your subdomain (fs.mydomain.com in the example)
so the jabber records are pointed at your jabber server.

RELEVANT CONFIGS

<!-- Brian has no jingle support so send calls to him over to his iax url -->
<extension name="bkw">
  <condition field="destination_number" expression="^jingle\+brian@agents.cylynx.com$">
    <action application="bridge" data="iax/guest@brianwest.homeunix.org/9184290404"/>
  </condition>
</extension>

<!-- Assumption is made here that both sip and jingle have the same profile/domain name as documented below -->

<extension name="jingle2sip">
  <condition field="source" expression="mod_dingaling"/>
  <condition field="destination_number" expression="^sip\+([^\@]+)\@(.*)$">
    <action application="bridge" data="sofia/$2/$1%$2"/>
  </condition>
</extension>

<extension name="sip2jingle">
  <condition field="source" expression="mod_sofia"/>
  <condition field="destination_number" expression="^jingle\+([^\@]+)\@(.*)$">
    <action application="bridge" data="dingaling/sip+${sip_fromuser}@${sip_fromhost}/$1@$2"/>
  </condition>
</extension>


<configuration name="sofia.conf" description="sofia Endpoint">
  <global_settings>
    <param name="log-level" value="0"/>
  </global_settings>

  <profiles>
    <profile name="fs.mydomain.com">
      <registrations/>
      <settings>
	<param name="debug" value="1"/>
	<param name="rfc2833-pt" value="101"/>
	<param name="sip-port" value="5060"/>
	<param name="dialplan" value="XML"/>
	<param name="dtmf-duration" value="100"/>
	<param name="codec-prefs" value="PCMU"/>
	<param name="codec-ms" value="20"/>
	<param name="accept-blind-reg" value="true"/>
	<param name="manage-presence" value="true"/>
	<!--<param name="full-id-in-dialplan" value="true"/>-->
	<!--<param name="auth-calls" value="true"/>-->
	<!--<param name="auth-all-packets" value="true"/>-->
	<param name="use-rtp-timer" value="true"/>
	<param name="rtp-timer-name" value="soft"/>
	<param name="rtp-ip" value="100.200.100.200"/>
	<param name="sip-ip" value="fs.mydomain.com"/>
      </settings>
    </profile>
  </profiles>

</configuration>


<configuration name="dingaling.conf" description="XMPP Jingle Endpoint">
  <settings>
    <param name="debug" value="0"/>
    <param name="codec-prefs" value="PCMU"/>
  </settings>

  <profile type="component">
    <param name="name" value="fs.mydomain.com"/>
    <param name="password" value="secret"/>
    <param name="dialplan" value="XML"/>
    <param name="rtp-ip" value="208.64.200.42"/>
    <param name="server" value="jabber.freeswitch.org:5347"/>
    <!-- disable to trade async for more calls -->
    <param name="use-rtp-timer" value="true"/>
    <param name="exten" value="_auto_"/>
    <!--<param name="vad" value="both"/>-->
  </profile>

</configuration>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:17:00 +00:00
Anthony Minessale 12243c194e tidy up, note yesterday's propagate_vars was changed to export_vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:33:54 +00:00
Michael Jerris f33768085a tweak up another warning level.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:10:46 +00:00
Michael Jerris e415095df3 up the msvc warning level on srtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3099 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 06:29:49 +00:00
Michael Jerris faf7cd383b add new sha1 code on windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3089 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:21:43 +00:00
Michael Jerris f64ae18ac6 add endian defines on MSVC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3088 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:21:17 +00:00
Anthony Minessale dba1b9b7a1 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3085 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 00:17:47 +00:00
Anthony Minessale 70bfba5b63 Christmas Presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 22:57:35 +00:00
Michael Jerris 61e118db18 some proper casts after bit shifts to force to the right data type.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 21:09:35 +00:00