]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
19 years agolets send the event about the conference before we free the pool mmmkay
Anthony Minessale [Thu, 7 Dec 2006 18:02:35 +0000 (18:02 +0000)] 
lets send the event about the conference before we free the pool mmmkay

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3566 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoUpdated mod_cdr to match changes in core to switch_channel_t, added in some new API...
Michael Jerris [Thu, 7 Dec 2006 04:15:38 +0000 (04:15 +0000)] 
Updated mod_cdr to match changes in core to switch_channel_t, added in some new API commands, added new functionality (depends on a define and patching apr_queue.c/h) changes merged from mishehu branch.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3564 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agotweak
Anthony Minessale [Thu, 7 Dec 2006 04:06:46 +0000 (04:06 +0000)] 
tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3563 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agocome down from the acid trip from the last commit
Anthony Minessale [Thu, 7 Dec 2006 00:36:00 +0000 (00:36 +0000)] 
come down from the acid trip from the last commit

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3561 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agolet calls live on when nobody answers in mod_bridgecall
Anthony Minessale [Wed, 6 Dec 2006 21:37:29 +0000 (21:37 +0000)] 
let calls live on when nobody answers in mod_bridgecall

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3560 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agochange & to , in forked dial
Anthony Minessale [Wed, 6 Dec 2006 17:24:14 +0000 (17:24 +0000)] 
change & to , in forked dial

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3559 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agotweak
Anthony Minessale [Wed, 6 Dec 2006 17:19:07 +0000 (17:19 +0000)] 
tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3558 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoavoiding nulls
Anthony Minessale [Wed, 6 Dec 2006 16:38:41 +0000 (16:38 +0000)] 
avoiding nulls

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3557 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agochange function name switch_ivr_menu_stack_free
Michael Jerris [Wed, 6 Dec 2006 15:17:16 +0000 (15:17 +0000)] 
change function name switch_ivr_menu_stack_free

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3556 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agomake build again
Michael Jerris [Wed, 6 Dec 2006 14:16:09 +0000 (14:16 +0000)] 
make build again

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3555 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoFixes/tweaks to conference from Neal Horman
Michael Jerris [Wed, 6 Dec 2006 07:21:12 +0000 (07:21 +0000)] 
Fixes/tweaks to conference from Neal Horman
1. 3 retries for pin entry
2. don't require pin entry for outbound calls
3. allow outbound calls to enter the conference when locked

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3553 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoanswer tweak
Anthony Minessale [Tue, 5 Dec 2006 23:08:14 +0000 (23:08 +0000)] 
answer tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3549 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoinitial bits of conference control changes.
Michael Jerris [Tue, 5 Dec 2006 22:58:26 +0000 (22:58 +0000)] 
initial bits of conference control changes.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3548 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agocleanups in mod_conference from Neal Horman.
Michael Jerris [Tue, 5 Dec 2006 22:28:30 +0000 (22:28 +0000)] 
cleanups in mod_conference from Neal Horman.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3547 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofeeling lucky part 2
Anthony Minessale [Tue, 5 Dec 2006 21:26:26 +0000 (21:26 +0000)] 
feeling lucky part 2

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3545 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofeeling lucky
Anthony Minessale [Tue, 5 Dec 2006 21:10:33 +0000 (21:10 +0000)] 
feeling lucky

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3544 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agocomment this out in the sample to avoid support issues when people use the default...
Michael Jerris [Tue, 5 Dec 2006 18:58:47 +0000 (18:58 +0000)] 
comment this out in the sample to avoid support issues when people use the default config.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3543 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agodon't clobber the ldflags
Michael Jerris [Tue, 5 Dec 2006 02:40:14 +0000 (02:40 +0000)] 
don't clobber the ldflags

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3537 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoinitial work on mod_wanpipe for windows. This does not work yet.
Michael Jerris [Mon, 4 Dec 2006 22:25:31 +0000 (22:25 +0000)] 
initial work on mod_wanpipe for windows.  This does not work yet.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3536 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate wanpipe
Anthony Minessale [Mon, 4 Dec 2006 20:51:16 +0000 (20:51 +0000)] 
update wanpipe

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3535 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agotweak
Anthony Minessale [Mon, 4 Dec 2006 18:40:31 +0000 (18:40 +0000)] 
tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3534 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agomove include above declarations
Anthony Minessale [Mon, 4 Dec 2006 16:18:39 +0000 (16:18 +0000)] 
move include above declarations

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3533 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoremove patch line that doesn't exist
Anthony Minessale [Mon, 4 Dec 2006 15:53:57 +0000 (15:53 +0000)] 
remove patch line that doesn't exist

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3532 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoExample config for the new ivr application.
Michael Jerris [Mon, 4 Dec 2006 12:41:03 +0000 (12:41 +0000)] 
Example config for the new ivr application.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3531 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd ivr application that uses the switch_ivr_menu functions, from Neal Horman.
Michael Jerris [Mon, 4 Dec 2006 05:50:41 +0000 (05:50 +0000)] 
add ivr application that uses the switch_ivr_menu functions, from Neal Horman.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3528 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agorefinements and additions to switch_ivr_menu from Neal Horman.
Michael Jerris [Mon, 4 Dec 2006 05:41:03 +0000 (05:41 +0000)] 
refinements and additions to switch_ivr_menu from Neal Horman.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3527 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix
Anthony Minessale [Mon, 4 Dec 2006 00:04:20 +0000 (00:04 +0000)] 
fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3524 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix
Anthony Minessale [Sun, 3 Dec 2006 23:58:01 +0000 (23:58 +0000)] 
fix

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3523 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoput presence tags back
Anthony Minessale [Sun, 3 Dec 2006 03:19:35 +0000 (03:19 +0000)] 
put presence tags back

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3518 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agotry adding the gc code
Anthony Minessale [Sat, 2 Dec 2006 05:40:58 +0000 (05:40 +0000)] 
try adding the gc code

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3515 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd odbc support to javascript
Anthony Minessale [Sat, 2 Dec 2006 02:41:24 +0000 (02:41 +0000)] 
add odbc support to javascript

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3514 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agosigh
Anthony Minessale [Sat, 2 Dec 2006 02:13:15 +0000 (02:13 +0000)] 
sigh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3513 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agocodec_string channel_var sets per-call codecs on outbound calls
Anthony Minessale [Fri, 1 Dec 2006 21:24:54 +0000 (21:24 +0000)] 
codec_string channel_var sets per-call codecs on outbound calls

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3511 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agomove email to etpan, cleanup the new stubs.
Michael Jerris [Fri, 1 Dec 2006 19:16:46 +0000 (19:16 +0000)] 
move email to etpan, cleanup the new stubs.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3510 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd some vars
Anthony Minessale [Fri, 1 Dec 2006 18:27:45 +0000 (18:27 +0000)] 
add some vars

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3508 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoinitial stubs for odbc and libetpan modules for spidermonkey. These do not do anythi...
Michael Jerris [Fri, 1 Dec 2006 17:59:58 +0000 (17:59 +0000)] 
initial stubs for odbc and libetpan modules for spidermonkey.  These do not do anything yet.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3507 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoprevent double load of modules
Anthony Minessale [Fri, 1 Dec 2006 16:08:56 +0000 (16:08 +0000)] 
prevent double load of modules

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3506 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agodox
Anthony Minessale [Fri, 1 Dec 2006 16:00:16 +0000 (16:00 +0000)] 
dox

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3505 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadjustments to the core do a make sure
Anthony Minessale [Fri, 1 Dec 2006 15:26:37 +0000 (15:26 +0000)] 
adjustments to the core do a make sure

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3504 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix mod_enum on windows, fix logic error in free function causing operations on freed...
Michael Jerris [Fri, 1 Dec 2006 06:12:07 +0000 (06:12 +0000)] 
fix mod_enum on windows, fix logic error in free function causing operations on freed memory

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3503 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agomod_enum doesn't crash windows now, still a bit to get it to work right.
Michael Jerris [Thu, 30 Nov 2006 23:47:30 +0000 (23:47 +0000)] 
mod_enum doesn't crash windows now, still a bit to get it to work right.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3500 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agowin32 build for mod_enum/libudns. Please note, this builds but still DOES NOT work...
Michael Jerris [Thu, 30 Nov 2006 23:33:37 +0000 (23:33 +0000)] 
win32 build for mod_enum/libudns.  Please note, this builds but still DOES NOT work on windows.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3499 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agocast tweak to make compiler happy
Michael Jerris [Thu, 30 Nov 2006 22:57:16 +0000 (22:57 +0000)] 
cast tweak to make compiler happy

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3498 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate to sofia release 1.12.4, many fixes including fix for assert(sip) on response...
Michael Jerris [Thu, 30 Nov 2006 22:56:56 +0000 (22:56 +0000)] 
update to sofia release 1.12.4, many fixes including fix for assert(sip) on response to invite after an outbound register

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3497 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd file
Anthony Minessale [Thu, 30 Nov 2006 22:10:07 +0000 (22:10 +0000)] 
add file

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3496 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agomod_enum
Anthony Minessale [Thu, 30 Nov 2006 22:02:49 +0000 (22:02 +0000)] 
mod_enum

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3495 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoENUM Support
Anthony Minessale [Thu, 30 Nov 2006 21:28:32 +0000 (21:28 +0000)] 
ENUM Support

mod_enum can be used as a dialplan app, an api call from the console or as a dialplan interface.

Dialplan Interface:
put enum as the dialplan parameter in an endpoint module
i.e. instead of "XML" set it to "enum" or "enum,XML" for fall through.

Dialplan App:
This example will do a lookup and set the a variable that is the proper
dialstring to call all of the possible routes in order of preference according to
the lookup and the order of the routes in the enum.conf section.

<extension name="tollfree">
  <condition field="destination_number" expression="^(18(0{2}|8{2}|7{2}|6{2})\d{7})$">
    <action application="enum" data="$1"/>
    <action application="bridge" data="${enum_auto_route}"/>
  </condition>
</extension>

You can also pick an alrernate root:
<action application="enum" data="$1 myroot.org"/>

API command:
at the console you can say:
enum <number> [<root>]

The root always defaults to the one in the enum.conf section.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3494 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agotweak
Anthony Minessale [Thu, 30 Nov 2006 15:27:37 +0000 (15:27 +0000)] 
tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3493 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agocast for datatype of score.
Michael Jerris [Wed, 29 Nov 2006 20:08:12 +0000 (20:08 +0000)] 
cast for datatype of score.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3488 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoplayfile fixes for startpos from Matt Klein.
Michael Jerris [Wed, 29 Nov 2006 20:07:13 +0000 (20:07 +0000)] 
playfile fixes for startpos from Matt Klein.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3487 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoapi tweaks
Anthony Minessale [Wed, 29 Nov 2006 17:10:40 +0000 (17:10 +0000)] 
api tweaks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3485 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix spidermonkey build on FreeBSD (patch from Matt Klein)
Michael Jerris [Wed, 29 Nov 2006 14:43:41 +0000 (14:43 +0000)] 
fix spidermonkey build on FreeBSD (patch from Matt Klein)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3484 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agomore ani2 -> aniii changes. Note, if you have mysql tables setup, you may need to...
Michael Jerris [Wed, 29 Nov 2006 14:32:11 +0000 (14:32 +0000)] 
more ani2 -> aniii changes.  Note, if you have mysql tables setup, you may need to alter them

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3483 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoNo reason to consider % dangerous twice...
Paul Tinsley [Wed, 29 Nov 2006 05:46:12 +0000 (05:46 +0000)] 
No reason to consider % dangerous twice...

Also i retract my pcre statement from before, i doubt a perl pack and hex call are going to work in pcre.  The regex should give plenty of idea what you need to do in your language of choice though, thats the point :)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3482 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoFix for event serialization, multi-ilne variables or crazy characters in a line could...
Paul Tinsley [Wed, 29 Nov 2006 04:57:01 +0000 (04:57 +0000)] 
Fix for event serialization, multi-ilne variables or crazy characters in a line could cause parsing errors in consumers of serialized events.

All values are now url encoded to ensure they don't have "dangerous" characters in them.  make sure you url_decode in your language of choice when consuming events in plain format from the event socket.

For those perl or pcre heads out there you can use the following regex:
$value =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex($1))/sego;

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3481 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Tue, 28 Nov 2006 22:37:53 +0000 (22:37 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3478 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoAdd a notice to try and deal with a common build problem.
Paul Tinsley [Tue, 28 Nov 2006 22:13:45 +0000 (22:13 +0000)] 
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

19 years agodoh
Anthony Minessale [Tue, 28 Nov 2006 21:59:27 +0000 (21:59 +0000)] 
doh

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3476 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd timelimit to record
Anthony Minessale [Tue, 28 Nov 2006 21:46:29 +0000 (21:46 +0000)] 
add timelimit to record

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3475 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix a few js issues
Anthony Minessale [Tue, 28 Nov 2006 20:54:26 +0000 (20:54 +0000)] 
fix a few js issues

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3474 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix a few js issues
Anthony Minessale [Tue, 28 Nov 2006 20:53:26 +0000 (20:53 +0000)] 
fix a few js issues

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3473 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix a few js issues
Anthony Minessale [Tue, 28 Nov 2006 20:52:04 +0000 (20:52 +0000)] 
fix a few js issues

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3472 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoFix a few overflow problems
Paul Tinsley [Tue, 28 Nov 2006 20:20:22 +0000 (20:20 +0000)] 
Fix a few overflow problems

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3471 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoGet rid of the hard coded console help output, and add an api version command for...
Paul Tinsley [Tue, 28 Nov 2006 19:33:54 +0000 (19:33 +0000)] 
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

19 years agoupdate public key
Brian West [Tue, 28 Nov 2006 19:07:29 +0000 (19:07 +0000)] 
update public key

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3469 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd some vard
Anthony Minessale [Tue, 28 Nov 2006 16:45:25 +0000 (16:45 +0000)] 
add some vard

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3467 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agofix obscure bs, remove CR from dptools, add info app
Anthony Minessale [Tue, 28 Nov 2006 02:23:26 +0000 (02:23 +0000)] 
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

19 years agoAdd magic comments for emacs and vi in source and header files to properly format...
Michael Jerris [Mon, 27 Nov 2006 22:30:48 +0000 (22:30 +0000)] 
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

19 years agono_media/ringback tweaks
Anthony Minessale [Mon, 27 Nov 2006 21:52:38 +0000 (21:52 +0000)] 
no_media/ringback tweaks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3461 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Mon, 27 Nov 2006 17:12:40 +0000 (17:12 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3460 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Sun, 26 Nov 2006 20:06:04 +0000 (20:06 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3458 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd sip_authorized variable
Anthony Minessale [Sat, 25 Nov 2006 16:52:35 +0000 (16:52 +0000)] 
add sip_authorized variable

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3456 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd vars
Anthony Minessale [Sat, 25 Nov 2006 16:35:56 +0000 (16:35 +0000)] 
add vars

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3455 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agouse LF, not CRLF
Michael Jerris [Fri, 24 Nov 2006 15:44:10 +0000 (15:44 +0000)] 
use LF, not CRLF

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3452 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoadd "log" application to print log messages From Mike Murdock.
Michael Jerris [Fri, 24 Nov 2006 15:43:46 +0000 (15:43 +0000)] 
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

19 years agoupdate
Anthony Minessale [Thu, 23 Nov 2006 19:44:20 +0000 (19:44 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3449 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Thu, 23 Nov 2006 19:42:21 +0000 (19:42 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3448 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Thu, 23 Nov 2006 19:32:28 +0000 (19:32 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3447 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Thu, 23 Nov 2006 19:13:54 +0000 (19:13 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3446 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Wed, 22 Nov 2006 17:48:53 +0000 (17:48 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3437 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Tue, 21 Nov 2006 19:30:39 +0000 (19:30 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3433 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Tue, 21 Nov 2006 19:01:54 +0000 (19:01 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3432 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Tue, 21 Nov 2006 15:43:55 +0000 (15:43 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3430 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agosend 180 when there is no ringback specified on forked calls
Anthony Minessale [Tue, 21 Nov 2006 00:29:51 +0000 (00:29 +0000)] 
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

19 years agoupdate to new sofia snapshot. Fixes a memory leak on invite, a timer bug, and severa...
Michael Jerris [Mon, 20 Nov 2006 21:54:19 +0000 (21:54 +0000)] 
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

19 years agofix memory leak, don't need su_home_init after su_home new, and use su_home_unref...
Anthony Minessale [Mon, 20 Nov 2006 21:45:00 +0000 (21:45 +0000)] 
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

19 years agoAdd signal handlers for SIGIO and SIGPOLL
Anthony Minessale [Mon, 20 Nov 2006 21:43:44 +0000 (21:43 +0000)] 
Add signal handlers for SIGIO and SIGPOLL

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3423 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agodisable registration probe and options keep-alive for now as there is a bug in the...
Michael Jerris [Mon, 20 Nov 2006 05:26:20 +0000 (05:26 +0000)] 
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

19 years agoampersand was being used to indicate a function and a double call change it to carrot...
Anthony Minessale [Mon, 20 Nov 2006 02:01:21 +0000 (02:01 +0000)] 
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

19 years agoupdate
Anthony Minessale [Sun, 19 Nov 2006 20:30:17 +0000 (20:30 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3417 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Sun, 19 Nov 2006 20:08:58 +0000 (20:08 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3416 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Sun, 19 Nov 2006 20:08:16 +0000 (20:08 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3415 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Sun, 19 Nov 2006 19:51:40 +0000 (19:51 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3414 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agosilence silly warning on msvc.
Michael Jerris [Sun, 19 Nov 2006 01:21:44 +0000 (01:21 +0000)] 
silence silly warning on msvc.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3413 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agostackable dialplans
Anthony Minessale [Sun, 19 Nov 2006 01:21:41 +0000 (01:21 +0000)] 
stackable dialplans

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3412 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoparentheses for proper cast.
Michael Jerris [Sun, 19 Nov 2006 01:11:07 +0000 (01:11 +0000)] 
parentheses for proper cast.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoupdate
Anthony Minessale [Sun, 19 Nov 2006 01:09:10 +0000 (01:09 +0000)] 
update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3410 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agocode before declaration.
Michael Jerris [Sun, 19 Nov 2006 01:09:04 +0000 (01:09 +0000)] 
code before declaration.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3409 d0543943-73ff-0310-b7d9-9358b9ac24b2

19 years agoRingback (sponsored by Front Logic)
Anthony Minessale [Sun, 19 Nov 2006 01:05:06 +0000 (01:05 +0000)] 
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

19 years agofix spidermonkey release build.
Michael Jerris [Sat, 18 Nov 2006 17:09:25 +0000 (17:09 +0000)] 
fix spidermonkey release build.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3406 d0543943-73ff-0310-b7d9-9358b9ac24b2