Commit Graph

2008 Commits

Author SHA1 Message Date
Paul Tinsley 53e4be8bc0 Add a notice to try and deal with a common build problem.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3477 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 22:13:45 +00:00
Anthony Minessale bf4d94affe doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3476 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 21:59:27 +00:00
Anthony Minessale d288ae58a8 add timelimit to record
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 21:46:29 +00:00
Anthony Minessale fe376294fc fix a few js issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3474 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:54:26 +00:00
Anthony Minessale 8c541bdc30 fix a few js issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3473 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:53:26 +00:00
Anthony Minessale d3758afbae fix a few js issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:52:04 +00:00
Paul Tinsley a85ec77f99 Fix a few overflow problems
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3471 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 20:20:22 +00:00
Paul Tinsley e15479daae Get rid of the hard coded console help output, and add an api version command for fun.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3470 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 19:33:54 +00:00
Brian West 3b521f2084 update public key
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3469 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 19:07:29 +00:00
Anthony Minessale 987e580fc9 add some vard
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 16:45:25 +00:00
Anthony Minessale d20870e121 fix obscure bs, remove CR from dptools, add info app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 02:23:26 +00:00
Michael Jerris 44649c70b4 Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
/* For Emacs:
 * Local Variables:
 * mode:c
 * indent-tabs-mode:nil
 * tab-width:4
 * c-basic-offset:4
 * End:
 * For VIM:
 * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
 */


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale 361dc67be2 no_media/ringback tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 21:52:38 +00:00
Anthony Minessale c08e943e44 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 17:12:40 +00:00
Anthony Minessale dd1f941744 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-26 20:06:04 +00:00
Anthony Minessale 57dd6da1fe add sip_authorized variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-25 16:52:35 +00:00
Anthony Minessale 2580c41f82 add vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-25 16:35:56 +00:00
Michael Jerris 757d26b382 use LF, not CRLF
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-24 15:44:10 +00:00
Michael Jerris 63aae494ac add "log" application to print log messages From Mike Murdock.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-24 15:43:46 +00:00
Anthony Minessale 74dee5f6ec update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:44:20 +00:00
Anthony Minessale fd16c8f245 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:42:21 +00:00
Anthony Minessale 5869b86676 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:32:28 +00:00
Anthony Minessale 251d8c45b4 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:13:54 +00:00
Anthony Minessale 3a7a5295af update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-22 17:48:53 +00:00
Anthony Minessale 69197e82df update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 19:30:39 +00:00
Anthony Minessale 6c0b467d75 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 19:01:54 +00:00
Anthony Minessale c7636b5f71 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 15:43:55 +00:00
Anthony Minessale 097d4a66f0 send 180 when there is no ringback specified on forked calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 00:29:51 +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
Anthony Minessale fdd912f714 fix memory leak, don't need su_home_init after su_home new, and use su_home_unref instead of su_home_deinit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3424 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 21:45:00 +00:00
Anthony Minessale b2bc13dc7e Add signal handlers for SIGIO and SIGPOLL
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 21:43:44 +00:00
Michael Jerris 2f8197b38a disable registration probe and options keep-alive for now as there is a bug in the implementation of this on the sofia side, and it causes the registration to never happen, and for it to spin re-registering out of control forever in some situations with UA's that send 404's to OPTIONS packets, or when behind nat on either side. This will get fixed in sofia, then become a configurable option on our side.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 05:26:20 +00:00
Anthony Minessale 32e293d67f ampersand was being used to indicate a function and a double call change it to carrot ^ for functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 02:01:21 +00:00
Anthony Minessale 3a90756886 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:30:17 +00:00
Anthony Minessale 02ca948e7a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:08:58 +00:00
Anthony Minessale 24456954f7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:08:16 +00:00
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
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 9f9abf2ea1 stackable dialplans
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:21:41 +00:00
Michael Jerris 3a57946bea parentheses for proper cast.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:11:07 +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
Michael Jerris 4d450eba16 code before declaration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:04 +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 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 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 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
Michael Jerris 6f448d96c5 prepare for libteletone linking to the core in the windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:31:19 +00:00
Michael Jerris 9687f37f92 catch up with api, add option to switch_core_destroy call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 06:43:37 +00:00