Commit Graph

1339 Commits

Author SHA1 Message Date
Anthony Minessale da2397d006 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 19:51:40 +00:00
Anthony Minessale dcc6c5ef82 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:10 +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 814fefdfba check for null qrealm too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:44:09 +00:00
Michael Jerris b0dde8deb9 need to add to the pointer, not the pointee
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:37:25 +00:00
Michael Jerris 4f2824e371 need to free the head pointer of malloc'd memory (form anthm's working copy)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:35:03 +00:00
Anthony Minessale 6dd370b007 reg realm stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 22:13:26 +00:00
Anthony Minessale 5af884576c return 404 when you cant find a user
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 21:57:47 +00:00
Anthony Minessale e2d6484493 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 18:22:32 +00:00
Anthony Minessale 715a6ac9ab update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3393 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 00:13:36 +00:00
Anthony Minessale 7fc62a3ff8 ignore options reply (nevermind)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 22:30:19 +00:00
Anthony Minessale 57515855fd ignore options reply
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 22:16:30 +00:00
Anthony Minessale 251453e254 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 21:20:00 +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 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
Michael Jerris ee4118ab86 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:59:40 +00:00
Anthony Minessale dd824bbf81 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 00:40:45 +00:00
Anthony Minessale 0f95796d07 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 19:51:29 +00:00
Anthony Minessale d31a1b25fe try to deal with contact bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 18:12:17 +00:00
Anthony Minessale 81ff111339 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 17:41:35 +00:00
Michael Jerris f3ffaff015 merge mod_python fixes from Johny Kadarisman <jkr888 at gmail.com>. mod_python actually works now, please report problems.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 06:13:04 +00:00
Michael Jerris 7ee6fcecd2 remove debugging message.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 06:08:49 +00:00
Anthony Minessale 534480be37 fix contact for snob phones
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 21:17:57 +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
Anthony Minessale 372c160c3f menu stuff: work in progress, look for bugs\!\!\!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 20:34:04 +00:00
Anthony Minessale bfb6127d57 try it on 10 boxes and you are bound to find one that still complains about the same code yay for gcc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 00:42:51 +00:00
Anthony Minessale 68bab16e37 make event_serialize dynamic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 19:32:45 +00:00
Michael Jerris 4fde6dd0c8 windows build for new spidermonkey modules.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 06:06:18 +00:00
Anthony Minessale 4e1d518c0e spidermonkey has it's own loadable modules now good luck
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 21:49:57 +00:00
Michael Jerris 2a645dbc6c fix segfault when no filename is available to log.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:04:22 +00:00
Anthony Minessale 18998f3382 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 15:51:40 +00:00
Anthony Minessale bc3aceaf78 udpdate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 08:28:16 +00:00
Anthony Minessale 8dc1556b95 fix gremlins in code that worked before then changed it's mind
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 08:13:01 +00:00
Anthony Minessale 964e2e9886 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 01:40:22 +00:00
Anthony Minessale 351480b99b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 00:01:22 +00:00
Anthony Minessale c85078efc9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 19:33:49 +00:00
Michael Jerris e061df2198 work around sofia bug where you need to set contact using tag on response to invite after you have done an outbound reg. This still needs to be fixed right in the sofia lib.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 17:19:15 +00:00
Anthony Minessale f727b16cb5 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 16:26:12 +00:00
Michael Jerris 855b312ae6 Initialize. Was not set in some codepaths.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 16:01:47 +00:00
Anthony Minessale 44fc26f7d4 Finalization of speech detect interface and API
This changes the core to have the necessary tools to create
a speech detection interface.

It also changes the code in javascript (mod_spidermonkey)
there are a few api changes in how it handles callbacks

It also adds grammars as a system dir to store asr grammars




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:39:04 +00:00
Anthony Minessale 7872f795ea swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:34:42 +00:00
Anthony Minessale 8b6be74043 swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:33:30 +00:00
Anthony Minessale 0ce3f5b08b tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:13:59 +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 88a53a6b44 Fix segfault on registrations when we are not challenged for aut. can't match scheme and realm if there isn't one.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-08 19:12:28 +00:00
Michael Jerris 2824afcd64 parse params from the user directory properly on a register.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-06 16:35:23 +00:00
Michael Jerris e7dae8a9d9 add missing Member-ID header to a couple events, merged from knhor's branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-05 19:32:32 +00:00
Anthony Minessale 9caae3960c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-01 23:26:00 +00:00
Michael Jerris 0bf221111d msvc doesn't like = {}, and is a bit pickier on unreachable code.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3247 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:46:42 +00:00
Anthony Minessale 9ab2b1db57 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.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:38:06 +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
Michael Jerris 3146d99422 use switch_payload_t for the rtp payload numbers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:42:40 +00:00
Michael Jerris 051b623bb0 formatting whitespace changes from knhor branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:04:47 +00:00
Anthony Minessale d1fe31d8c3 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3237 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 20:54:24 +00:00
Anthony Minessale a4a79bcff1 let sofia have here way
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3236 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 15:27:05 +00:00
Anthony Minessale 003fb84e7c doh, thx CtRiX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 18:15:53 +00:00
Anthony Minessale 718ace8b83 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 17:57:55 +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 0532a56c7e sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 15:20:14 +00:00
Michael Jerris a203d22fe2 wrong version, can't make up my mind.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 15:05:41 +00:00
Michael Jerris 5432fbab75 wrong version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 14:51:47 +00:00
Anthony Minessale cbdcbcf87a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 20:02:57 +00:00
Anthony Minessale da76d9327b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 16:13:48 +00:00
Anthony Minessale a3839376f7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3210 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 15:00:46 +00:00
Michael Jerris 08b2207573 make sofia a bit more stable after an outbound register. Please note, we are working on some issues in sofia, revisions after last weekend are currently not considered stable under some conditions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 11:47:22 +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
Anthony Minessale 6a6c57f0f6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 18:49:34 +00:00
Michael Jerris ee086006d5 why malloc?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 18:00:14 +00:00
Anthony Minessale d58c1d05b9 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:59:50 +00:00
Michael Jerris ac6f80b95d only need realm on auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:00:57 +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 3b72da4213 add pause in tts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 16:17:54 +00:00
Anthony Minessale a592674795 sip signalling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 15:46:42 +00:00
Anthony Minessale 61f7148941 tidy up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 14:01:03 +00:00
Anthony Minessale 08442ff2c4 signalling refactoring for media etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:28:49 +00:00
Michael Jerris 1f2d19e28e update more sip cause code to qsig cause code mappings from rfc 4497 sections 8.4.1 and 8.4.4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 03:45:20 +00:00
Anthony Minessale 252afb823f add some sanity code to originate and conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 01:00:26 +00:00
Michael Jerris 0fb5729590 add the start of DTMF INFO support from Paul Tinsley. thanks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 22:11:25 +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 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 bfab0a6efc minor tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:23:23 +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
Anthony Minessale 2d3ab6b5d8 let you pick event type
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 22:32:50 +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 b30eb82b84 new sofia rollout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:28:55 +00:00
Anthony Minessale 776919d5fd tweeks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3164 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 17:34:03 +00:00
Michael Jerris af23ce4853 whitespace cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:44:41 +00:00
Michael Jerris 1cd8709762 add "all" member target for vol and energy commands, fix init of len for record.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:07:28 +00:00
Michael Jerris 90fe19867c initialize to null so we can check for null before we free.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:23 +00:00
Michael Jerris 49a130962c code before declaration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:01 +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 1bc0db0db6 clarify in mod_skel. (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:02:36 +00:00
Michael Jerris d0f877a32f Make record only end the application, and not hangup the call on * (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:58 +00:00
Michael Jerris dd5d73742a add ability to specify member "all" on conference api commands taking a member (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:17 +00:00
Anthony Minessale f4b25c70b4 add viles patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 22:54:55 +00:00
Anthony Minessale b2f9fae6d1 conference recording
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 21:19:40 +00:00
Anthony Minessale 1f29ce2749 add some more nifty stuff and fix a bug or 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 04:58:15 +00:00
Anthony Minessale 7e61bcf9bb fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 03:19:48 +00:00
Michael Jerris beb4922646 fix typo, thanks knhor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:33:23 +00:00
Anthony Minessale 59f3204d61 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:20:46 +00:00
Anthony Minessale a67dc0aab6 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:26:06 +00:00
Anthony Minessale 343fd5cea5 refactor the presence stuff and add it to mod_conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:11:26 +00:00
Anthony Minessale db2753b78a this ascii 20 ' ' sponsored by Matt Klein aka Vile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 13:32:44 +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
Michael Jerris e70a025a88 fix segfault?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 05:45:52 +00:00
Paul Tinsley eaf4409b45 Fix for broken trunk commit, setting contact_str size to the size of sql variable it's stored in [contact VARCHAR(1024)] + 1 for the null.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 03:33:49 +00:00
Anthony Minessale b9a215313d update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 19:39:18 +00:00
Anthony Minessale ce984a90fe present from tony
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 19:09:51 +00:00
Anthony Minessale 858cc7fa19 present from pdt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 18:52:46 +00:00
Michael Jerris e6b81ff14a remove useless comment.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 17:09:48 +00:00
Michael Jerris 87aaab80d5 Get Alert-Info from inbound invite and set to the channel variable so that it can be passed through to the other end of the call if it is a sip call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 17:04:58 +00:00
Michael Jerris c1f346b99e change to switch_mprintf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:42:41 +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 9d52ec2ae1 add Alert-Info: Thanks Ken.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:10:24 +00:00
Anthony Minessale 99e22d69bd refactor earlier junk from this eve and add ken's propagate variable thing
set this sometime before an origination (bridge etc).

<action application="set" data="propagate_vars=my_cool_var1,my_cool_var2,foo,bar"/>

and they should be cloned over to the new channel when it's substantiated



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 07:13:34 +00:00
Michael Jerris 80f91a5824 add xmlcdr to windows build of mod_cdr.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 06:30:15 +00:00
Michael Jerris 25273b6d9d add XmlCDR (like pddcdr, but xml format). Thanks ken for another great contribution.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 03:51:46 +00:00
Michael Jerris 3eb8ebd45c fix windows build from recent changes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:28:29 +00:00
Anthony Minessale 930fc4dee4 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 00:26:00 +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 56c9608c4d finish ani-ii name change.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 18:29:29 +00:00
Brian West 614010db63 Rename ani2 to aniii and ANI2 to ANI-II where appropriate. Because its not ANI2 its ANI II (eye eye)
What is ANI II ?

Refer to:

http://en.wikipedia.org/wiki/Automatic_number_identification

Thanks,
/b



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 23:33:32 +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
Anthony Minessale b01828b6a1 let * be end playback not hangup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3065 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 20:24:11 +00:00
Michael Jerris 786cfc4557 Make error message more descriptive, and less antagonistic.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 16:06:44 +00:00
Michael Jerris b2ac3d1bdc add privacy application, thanks ken.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 15:04:54 +00:00
Anthony Minessale 438cf0327e rpid for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 04:39:00 +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
Michael Jerris 4c795c3d1c update to new tarball for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:21:40 +00:00
Michael Jerris 7311675768 add tport_log redirect, fix typo.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3053 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:20:49 +00:00
Anthony Minessale 277ce65dca work in progress should not seem much different
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:10:34 +00:00
Anthony Minessale 4933582aad update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 04:44:33 +00:00
Anthony Minessale 4c386b1959 dont write nulls in event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3045 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-13 14:32:38 +00:00
Anthony Minessale a2b11dd93d in the name of interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 20:37:08 +00:00
Anthony Minessale efd246babd add auto-reply option to dingaling to allow the gateway bot to auto-reply to chat msgs recieved outside the context of a call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3041 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 14:06:09 +00:00
Anthony Minessale e1125f336c udpate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 02:26:20 +00:00
Anthony Minessale ba46200539 refactoring and general improvement (do a make sure)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 00:59:09 +00:00
Michael Jerris dfb9845d85 making the world a little less ugly, one commit at a time.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 12:00:22 +00:00
Anthony Minessale 691a8ac558 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 03:19:59 +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 b1b18faa04 improve dingaling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 00:11:41 +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
Michael Jerris 514a73bcb1 we don't need glib so disable it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 21:53:39 +00:00
Michael Jerris 8651542608 force sdp to allways be in 200 OK regardless of 100rel and SDP O/A state. Some devices demand it (Cisco 5300 at least).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:40:46 +00:00
Michael Jerris 21bb1bd2b0 update to new sofia tarball.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:13:12 +00:00
Michael Jerris 42f8237ed1 fix checks in new logger function.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3013 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:04:38 +00:00
Anthony Minessale ab65dab071 update sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 19:30:54 +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 dcdc0cdaac bug pointed out by stkn, thanks\!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 14:47:36 +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
Anthony Minessale d44c204f5b fix goofy 183 madness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 15:51:10 +00:00
Michael Jerris 3667da49b6 add description and syntax to interface database, add description and syntax headers to events for interface add for api and application interface, add appropriate output to show and help commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:35:27 +00:00
Michael Jerris e9af9e02fe make help an api command, still need to add syntax and descriptions to the db so we can output those as well.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3002 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:09:57 +00:00
Michael Jerris c822f94125 add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 07:11:42 +00:00
Michael Jerris 2b53e80e34 add syntax field to the api interface struct.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 05:04:34 +00:00
Michael Jerris dd3cd99301 add more usage checking and return usage information on invalid usage of api commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:40:15 +00:00
Anthony Minessale bc7a378c4e Modify Originate input syntax
This adds the | to the originate syntax 
making it possible to put a list of urls to call and attempt
to call them one at a time until one of them is successful or there
are none of them left

The original & delimited list is valid for each step in the | separated
list

Example
sofia/test-int/3920@10.3.3.104|sofia/test-int/3910@10.3.3.104&sofia/test-int/3920@10.3.3.104

first call 1 location and if that results in a failure, try 2 at once on the next go



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 22:19:24 +00:00
Michael Jerris b9a350a40d update windows build to new sofia tarball
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 20:09:46 +00:00
Anthony Minessale 741b8329b9 Modifying the behaviour of the dialplan engine
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.

Syntax:

$varname
${varname}
&func_name(func args)


Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc

Example:

<extension name="1000">
  <condition field="destination_number" expression="^(1000)$">
    <action appplication="my_route_app" data="$1"/>
    <action appplication="bridge" data="$destination"/>
  </condition>
</extension>

Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a 
chance to set the variable 'destination' to the correct value.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
Anthony Minessale 4ede7f7593 Update to new sofia snapshot, includes fixes for 100 on notify, and for sdp not in 200 after 183 when not using 100rel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 18:54:29 +00:00
Anthony Minessale 0d23976f2a 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!



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 22:39:49 +00:00
Michael Jerris 0fbdfb60b4 update usage descriptions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 20:49:09 +00:00
Anthony Minessale c23c32f013 sofia again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 15:07:45 +00:00
Anthony Minessale 9ff8f4d7b0 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2980 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:45:56 +00:00
Michael Jerris bd84b01a4b initialize some vars that might not get initialized in some codepaths.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2979 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:29:54 +00:00
Anthony Minessale f993cd6791 more sofia stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:24:25 +00:00
Anthony Minessale 4c6aac4f3f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2976 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:25:32 +00:00
Anthony Minessale 82bb3d2a7c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2975 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:23:13 +00:00
Anthony Minessale 535d4c4d06 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2974 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:15:04 +00:00
Anthony Minessale 596b88e584 fix callerid even better!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2973 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 04:06:07 +00:00
Michael Jerris 4e9be89ad6 update windows sofia build to latest release.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 03:11:09 +00:00
Anthony Minessale 26f5e1c6ce fix callerid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2970 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 00:38:45 +00:00
Anthony Minessale 7de068b9ac sip work in progress changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2969 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-04 23:11:11 +00:00
Anthony Minessale d80ce73564 umm, yeah, when it's dynamic, and there are no members, let's go ahead and ummmm exit the thread, mmmkay?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 18:02:23 +00:00
Anthony Minessale 513d5dbbdd adding transfer part 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 04:08:30 +00:00
Anthony Minessale 5751f1f643 tweak sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 17:21:06 +00:00
Michael Jerris bddb61709a typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:25:41 +00:00
Michael Jerris 5ecbe8b168 make this build in a few more places for now. This still needs proper autoconf detection for mysql.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2940 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:19:04 +00:00
Michael Jerris cba33ca50a make this build in a few more places for now. This still needs proper autoconf detection for mysql.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-02 04:11:22 +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 13e67a89e7 don;t think we need sqlite support in sndfile, and it was causing build issues on some freebsd boxes for some reason.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-01 04:32:52 +00:00
Anthony Minessale 503d50b16c process reinvite
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2903 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 19:22:53 +00:00
Anthony Minessale c19e1330b1 process reinvite
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2902 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 19:17:35 +00:00
Anthony Minessale 9f044c701d adios to exosip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 19:16:40 +00:00
Anthony Minessale 00fa0c6fab remove wtf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2899 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 17:39:45 +00:00
Anthony Minessale ca7c2168ce update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 16:30:29 +00:00
Anthony Minessale 4c0d89aace freq 0 means dont reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 01:26:54 +00:00
Michael Jerris fbb8c54daa add include dir for bnf.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 00:02:56 +00:00
Anthony Minessale 8d716e6ab9 break everything in sofia as you know it but add in/out reg + auth, look in the default config for the new syntax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-30 00:00:07 +00:00
Michael Jerris 06c60ea8f9 type tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 18:19:31 +00:00
Brian West 9da136af12 Adding this for sofia on OS X
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 18:16:57 +00:00
Brian West 396beef390 refactor sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 18:12:31 +00:00
Anthony Minessale db2be393cf fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 14:15:06 +00:00
Anthony Minessale 60f8e4aa03 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2866 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 12:50:11 +00:00
Anthony Minessale 168c69bb36 more auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2861 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-29 01:07:51 +00:00
Michael Jerris 346eb82c5a update for windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 21:29:32 +00:00
Anthony Minessale 28770b3b30 auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2859 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 21:21:44 +00:00
Michael Jerris ea3eab9cfd Update sofia build to 1.12.2 on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 20:03:23 +00:00
Michael Jerris 1dfd6885db add ws2_32.lib library for gethostname
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 17:34:44 +00:00
Michael Jerris 7805761afd types change for msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-28 01:39:42 +00:00
Anthony Minessale 663079d8a6 add multicast stuff to sofia reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 20:18:14 +00:00
Anthony Minessale bdd1566e7d use newest sofia with reg patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 19:28:53 +00:00
Anthony Minessale e561fa1c25 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 17:15:17 +00:00
Anthony Minessale 074e9d2de5 oh yeah sqlite's idea of thread safe is not so great, 1 handle per thread so blah let's open seperate handles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 04:34:19 +00:00
Anthony Minessale 5a3a8297ef peliminary sofia inbound reg support rm all traces of sofia and rebuild or face certian doom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 03:44:14 +00:00
Anthony Minessale 3f59051b0a close the xml handle
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2840 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-27 00:50:38 +00:00
Michael Jerris f11b1609f1 fix windows line endings... thanks Mr.B for the report.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-26 14:06:37 +00:00
Anthony Minessale 18a7339d8a remove potential buffer overrun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-25 20:04:40 +00:00
Michael Jerris 1f22192aa1 add more hint fields to send to the xml-interface for remote getters.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-25 15:33:08 +00:00
Anthony Minessale cdfa49e91a add transfer application
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-24 19:17:57 +00:00
Anthony Minessale 56b1392ec3 cache sockets to wanpipe channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-24 15:25:36 +00:00
Michael Jerris 96e6e873bf add mod_native_file to windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 23:22:12 +00:00
Anthony Minessale 2967ad8acd fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 18:32:39 +00:00
James Green ddbd762574 More checks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 04:53:20 +00:00
Anthony Minessale a3ce0d36d3 experimental new native code file eg name a ulaw file .PCMU etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 19:50:54 +00:00
Anthony Minessale fa5767ebf7 fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 15:22:31 +00:00
Anthony Minessale 464eada653 add sendevent command to event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2780 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 13:52:36 +00:00
Anthony Minessale d08bf6cf00 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 13:48:52 +00:00
Anthony Minessale 39aafd7dbd disable mini
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 13:43:33 +00:00
Anthony Minessale 893c7210a2 more optimizationification
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 02:10:27 +00:00
Anthony Minessale 6c5672b1ef undo abundant evil -props to the man who won't stfu and leave me alone to code <- his request i say that....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2774 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-21 19:52:56 +00:00
Anthony Minessale b88b16e00f pad beginning of tts buffer with silence in mod_cepstral
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-21 01:38:37 +00:00
Anthony Minessale c6a00771c7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-21 01:14:30 +00:00
Anthony Minessale 1c22b9453f changes to language stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 21:59:50 +00:00
Anthony Minessale c3757293f0 add justinu's patch for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 20:26:21 +00:00
Anthony Minessale 90815616cc small core refactoring use -hp arg to gain high priority mode, add fsctl command USAGE: fsctl [hupall|pause|resume|shutdown]
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 20:25:26 +00:00
Anthony Minessale fadbb9d401 add nixevent command to allow 'events all' followed by 'nixevent <some_event>' to do all but 1 type scenerio (inspired by pdt)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-20 14:57:13 +00:00
Michael Jerris 55c160506c Initialize http variable.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 22:57:25 +00:00
Michael Jerris 8aeb1e89d8 tweak for windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 19:09:39 +00:00
Anthony Minessale 7045c12e3b fix a bunch of stuff you want this version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 15:33:02 +00:00
Anthony Minessale ccb32b0eb6 add uuid_bridge api call and ivr function Usage: uuid_bridge <uuid> <other_uuid> *should* take 2 existing channels and bridge them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 02:18:24 +00:00
Anthony Minessale 19446804c7 pull down stack size another 128k, make the sql use mem cache and add session count to the status command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 22:22:25 +00:00
Brian West b2c6786f25 this code absolutely doesn't work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 17:37:46 +00:00
Anthony Minessale c8ba03eec2 sofia tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 16:32:47 +00:00
Anthony Minessale 84a2bebb86 add nat buster flag to sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 14:30:12 +00:00
Brian West c4fbc3efb5 tweak and remove stuff that is cearly from the php makefile.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 13:30:11 +00:00
Michael Jerris 98408e357c revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 13:26:41 +00:00
Brian Fertig 33621e87b1 Fix linking problem
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 11:47:25 +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
Brian West 449d11a073 Ok email address added for pdt ;) WE LOVE YOU MANsvn status Makefile.amsvn status Makefile.am
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-18 03:06:55 +00:00
Michael Jerris fa4a1c4317 tweak softimer to not int type truncate microsecond interval time.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:13:51 +00:00
Brian Fertig 3969362f6e Enable threads on Python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:06:47 +00:00
Brian Fertig d08d2fbff0 Enable threads on Python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 22:03:24 +00:00
Anthony Minessale 41edf96fba experimental tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 21:57:20 +00:00
Brian West 1b48735d8c Ok small nitpicks for OS X....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2724 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 21:28:31 +00:00
Brian Fertig 24ee2c2744 Update to swig files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 21:15:08 +00:00
Anthony Minessale 32198c36e4 trying paul's patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 18:03:32 +00:00
Brian West e25d85bc5d git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2718 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-09-17 01:35:17 +00:00
Brian West 4cc5e0d70b ok rename it back
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 01:34:40 +00:00
Michael Jerris ba2f8aa882 change to mod_softimer name again, remove mod_threadtimer, fix int overflow.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-16 21:02:11 +00:00
Anthony Minessale ce27450e24 marry mod_threadsoft with mod_softtimer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2714 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-16 20:21:17 +00:00
Anthony Minessale 88a9179a25 marry mod_threadsoft with mod_softtimer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-16 20:18:24 +00:00
Anthony Minessale 555bd0af08 ok maybe this will fix the conditional mutext race we will readlock the session during any callbacks and cancel the operation if read_lock fails
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2709 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-16 00:43:58 +00:00
Anthony Minessale aa2a793e28 optimizations and disable the conditional thing till we see why it dies at 100cps X 800 calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-15 21:43:18 +00:00
Michael Jerris 9efc687d7a handle no channel gracefully.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2706 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 23:48:19 +00:00
Michael Jerris 9a91102fe0 move inside the if.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 23:05:27 +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
Anthony Minessale c79cd67dee no data means bad read
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2703 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 21:12:39 +00:00
Anthony Minessale 2bdb4f41b3 fix syslog (thanks justin unger)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 18:58:38 +00:00
James Green 78c7eff787 Changes needed to build correctly, tested under linux, please let me know how other platforms go.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 14:48:26 +00:00
Michael Jerris 5053ef2e39 add threaded soft timer to windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 01:38:29 +00:00
Anthony Minessale 8a0e9ccf1f performance tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 00:15:03 +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
Anthony Minessale dc201d221e twiax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2687 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 19:02:22 +00:00
Michael Jerris 5c74acbabd add default values for woomera in case you don't specify in the config file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2685 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 16:33:09 +00:00
Michael Jerris 231c1d09f0 fix rtp destroy race.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 14:31:55 +00:00
Anthony Minessale f385b33813 change woomera defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2677 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-13 13:41:35 +00:00
James Green 7e3eaee3b3 Accidently importing into a subdir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:39:18 +00:00
Anthony Minessale 06a0b2c0d5 cause code goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:20:40 +00:00
Anthony Minessale 387fdc5311 add justinu's patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:24:39 +00:00
Anthony Minessale 56827bc9ec enhance timers and make rtp use it that way
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:23:45 +00:00
Anthony Minessale 8c41b90906 make sure it compiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 22:11: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
James Green c6763869fe Importing mod_mono, hoorah, still need to import managed stuff.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 13:03:23 +00:00
Anthony Minessale a75720b76a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:43:27 +00:00
Anthony Minessale e4759fc8f8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:41:44 +00:00
Anthony Minessale fd33ce1e0f apply api change from yesterday
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 12:38:26 +00:00
Michael Jerris 64517ea7f9 set -fno-strict-aliasing on mod_php for gcc. we really need to not be doing this, but this is because of an issue in the php header files. Please note, the affects our ability to do any real optimization on this module. The best details I found on this issue are at: http://www.opensolaris.org/jive/thread.jspa?threadID=1923&tstart=0 .
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 04:02:13 +00:00
Michael Jerris fb4c59351a windows warnings fixes and formatting for mod_php.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:20:56 +00:00
Brian Fertig 941d97f8a2 Updates working on crash
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:18:39 +00:00
Michael Jerris 49650d7f21 make globals.fd size int
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:41:23 +00:00
Anthony Minessale cb2da2328a pass cause from originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:32:04 +00:00
Brian Fertig 3cb83d21d8 PHP Goes Beta
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:23:53 +00:00
Anthony Minessale acc81d7b55 iax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 22:52:19 +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 Fertig 1688a62e6c Yet another fix. PHP now doesnt crash :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 12:06:27 +00:00
Brian Fertig dd704bca72 Yet another fix. PHP now doesnt crash :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 11:23:56 +00:00
Brian Fertig 5e0ed731e4 Initial Release of Ruby
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 11:22:15 +00:00
Michael Jerris 8d63c12387 make mod_sofia be able to build on the windows build system. I am sure this won't actually run yet, there are still bits to do in the build system.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-11 07:19:22 +00:00
Brian Fertig b40eaf8a6e mod_ruby release information
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 23:22:33 +00:00
Brian Fertig 84004e324d Inital Release of Python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 23:20:44 +00:00
Brian Fertig ca74ae80d9 Major Updates Still buggy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 23:19:15 +00:00
Michael Jerris 89649d47d8 rever oops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 05:52:45 +00:00
Anthony Minessale 0191360b3c show doc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 04:11:58 +00:00
Anthony Minessale 7142a03c9a add uuid to originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2591 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 04:03:30 +00:00
Anthony Minessale ae9d56e288 Adding bugs to the core
This is the primary commit to add bugs to the core (media bugs that is)
Media bugs are kind of like what ChanSpy is in Asterisk only cooler (I wrote ChanSpy too so I can say that)

Here is an example of using them to record a call by the higher level switch_ivr functionality passed
up to the dialplan via mod_playback.

The call will be recorded while the some.wav plays then stop for the rest of the call (when some_other.wav plays)

The bugs may have bugs since this is 1 day's work so happy hunting ......

<extension name="42">
  <condition field="destination_number" expression="^42$">
   <action application="set" data="RECORD_TITLE=recording test"/>
   <action application="set" data="RECORD_ARTIST=FreeSWITCH"/>
    <action application="record_session" data="/tmp/rtest.wav"/>
    <action application="playback" data="/tmp/some.wav"/>
    <action application="stop_record_session" data="/tmp/rtest.wav"/>
    <action application="playback" data="/tmp/some_other.wav"/>
  </condition>
</extension>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:39:28 +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
Anthony Minessale f689b62fb6 add dynamic buffers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 18:57: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
Michael Jerris 12d496bb75 make detecting if it's a soundfile more flexible on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:35:58 +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 597e2becbc add flags to conference dial. add mute and/or deaf after the dial string, or none if you dont want any flags, but need to do cid number/name. Please test.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2571 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 04:49:38 +00:00
Anthony Minessale 1050a93c0f wild guess
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2570 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 03:28:49 +00:00
Anthony Minessale 0a0c41f0ec ok so php works but it should be way better than this
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 03:09:26 +00:00
Anthony Minessale c15e856106 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 00:51:40 +00:00
Anthony Minessale e52c44dc84 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 21:51:10 +00:00
Anthony Minessale ffffd46af8 it builds but what else could it do?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 20:26:35 +00:00
Anthony Minessale 3e6f072b29 initial checkin of mod_php (don't get too excited)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 20:00:23 +00:00
Anthony Minessale 52956d5cb1 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 15:08:40 +00:00
Michael Jerris 64b0912eb6 add mod_park to the windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 05:35:29 +00:00
Michael Jerris 7863ad0d70 remove unnecessary muting on volume adjust and energy, bad bluetooth headsets find bugs, thanks Jason Garland for finding this one.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 05:34:11 +00:00
Anthony Minessale 80722357a6 Mega Changes
adding mod_park for putting channels in limbo state for remote control.
adding stuff to mod_event_socket to let you do the bgapi <command> <args>
this will let you execute a job in the bg and the result will be sent as an event with an
indicated uuid to match the reply to the command

adding switch_core_port_allocator (to be used soon)
adding "make sure" to do a full rebild of the freeswitch object files

There will be more to this committed as the week progresses

make sure you do a rebuild after this update or you'll be sowwie
./configure && make sure




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 03:58:01 +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
Michael Jerris d9d51826fb fix assert when running api originate and not passing an extension.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2519 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 20:34:17 +00:00
Michael Jerris 24f3cc1e85 add some syntax and descriptions of api commands and applications.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-05 18:52:16 +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
Michael Jerris 19a820229f make conf use default profile if none specified, make it work with soundfiles on windows, must have full drive letter and path (i.e. C:\Windows\Media\blah.wav)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 03:36:56 +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
Brian West 6b079d1404 Missing end tag
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-04 00:03:20 +00:00
Anthony Minessale 231144f3b0 compiler warning cleanup (part 3 [getting old])
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 14:28:08 +00:00
Anthony Minessale f48d50f0ce compiler warning cleanup (part 2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 14:22:56 +00:00
Anthony Minessale 76ed494b2e compiler warning cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 14:15:02 +00:00
Anthony Minessale 6a91e4f3f9 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 13:29:13 +00:00
Anthony Minessale e1d499827d avoiding segfault i should never be called
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2485 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-03 04:29:42 +00:00
Anthony Minessale 8543778b7c pack this mutha %^%$^&
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-02 23:04:25 +00:00
Michael Jerris 657ca535ed fix crash when passing null string to switch_core_session_locate (via killchan with no param)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2479 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-02 07:31:18 +00:00
Brian West 0da13b72f2 more tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2474 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-31 21:46:39 +00:00