]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
19 years agoput blank, not printf'd null into the module load sql statements.
Michael Jerris [Fri, 23 Feb 2007 20:13:15 +0000 (20:13 +0000)] 
put blank, not printf'd null into the module load sql statements.

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

19 years agodoh
Anthony Minessale [Fri, 23 Feb 2007 20:03:30 +0000 (20:03 +0000)] 
doh

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

19 years agonaggy compiler
Anthony Minessale [Fri, 23 Feb 2007 20:02:41 +0000 (20:02 +0000)] 
naggy compiler

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

19 years agoadd more checking on valid module interface/implementation structs. Don't push null...
Michael Jerris [Fri, 23 Feb 2007 19:15:43 +0000 (19:15 +0000)] 
add more checking on valid module interface/implementation structs.  Don't push null descriptions, syntax, ect into the events (and eventually into the db).  More properly handle const qualifers.  Push blank instead to avoid a printf of null.  Breaking change (although not to any in tree codecs) is if you have any implementations with a blank iananame, the entire codec interface will no longer load.

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

19 years agoDon't load module interfaces without a name. We use that name for reference in the...
Michael Jerris [Fri, 23 Feb 2007 18:24:31 +0000 (18:24 +0000)] 
Don't load module interfaces without a name.  We use that name for reference in the hash, it is required.

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

19 years agofix seg
Anthony Minessale [Fri, 23 Feb 2007 18:04:52 +0000 (18:04 +0000)] 
fix seg

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

19 years agofix Client.pm recv len
Anthony Minessale [Fri, 23 Feb 2007 18:02:50 +0000 (18:02 +0000)] 
fix Client.pm recv len

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

19 years agotry a bit harder to make sure we don't do printf like functions on null.
Michael Jerris [Fri, 23 Feb 2007 17:28:41 +0000 (17:28 +0000)] 
try a bit harder to make sure we don't do printf like functions on null.

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

19 years agohandle fragmented reads on the socket
Anthony Minessale [Fri, 23 Feb 2007 16:44:04 +0000 (16:44 +0000)] 
handle fragmented reads on the socket

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

19 years agoremove redundant strlen
Anthony Minessale [Fri, 23 Feb 2007 16:43:07 +0000 (16:43 +0000)] 
remove redundant strlen

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

19 years agofix transaction locking error in the core sql thread
Anthony Minessale [Fri, 23 Feb 2007 16:42:40 +0000 (16:42 +0000)] 
fix transaction locking error in the core sql thread

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

19 years agoupdate windows build to use sqlite 3.3.13
Michael Jerris [Thu, 22 Feb 2007 23:13:56 +0000 (23:13 +0000)] 
update windows build to use sqlite 3.3.13

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

19 years agowindows build tweaks to resolve warnings.
Michael Jerris [Thu, 22 Feb 2007 23:12:58 +0000 (23:12 +0000)] 
windows build tweaks to resolve warnings.

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

19 years agosync up our in tree sqlite with the 3.3.13 official release. Commit to follow to...
Michael Jerris [Thu, 22 Feb 2007 22:09:42 +0000 (22:09 +0000)] 
sync up our in tree sqlite with the 3.3.13 official release.  Commit to follow to finish this process on the windows build.

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

19 years agoone more for ilbc
Anthony Minessale [Thu, 22 Feb 2007 21:25:32 +0000 (21:25 +0000)] 
one more for ilbc

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

19 years agoadd mode goodies to ilbc
Anthony Minessale [Thu, 22 Feb 2007 21:13:36 +0000 (21:13 +0000)] 
add mode goodies to ilbc

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

19 years agoadd mode goodies to ilbc
Anthony Minessale [Thu, 22 Feb 2007 20:56:23 +0000 (20:56 +0000)] 
add mode goodies to ilbc

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

19 years agoadd heartbeat event and core uuid
Anthony Minessale [Thu, 22 Feb 2007 17:38:34 +0000 (17:38 +0000)] 
add heartbeat event and core uuid

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

19 years agosend break sig after sending messages and events to sessions
Anthony Minessale [Thu, 22 Feb 2007 16:06:42 +0000 (16:06 +0000)] 
send break sig after sending messages and events to sessions

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

19 years agotry to pass 2833-pt across calls
Anthony Minessale [Wed, 21 Feb 2007 21:46:32 +0000 (21:46 +0000)] 
try to pass 2833-pt across calls

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

19 years agoadded switch_file_lock and switch_file_unlock to the exposed functions from apr to...
Michael Jerris [Wed, 21 Feb 2007 18:39:10 +0000 (18:39 +0000)] 
added switch_file_lock and switch_file_unlock to the exposed functions from apr to be used to make FSCORE-14 jira ticket cross platform.

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

19 years agomake ilbc fail the call when the frame is wrong
Anthony Minessale [Wed, 21 Feb 2007 17:59:08 +0000 (17:59 +0000)] 
make ilbc fail the call when the frame is wrong

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

19 years agoadd 120ms to g711, fix errs in g711 alaw defs, tweak buffer in file playback and...
Anthony Minessale [Wed, 21 Feb 2007 06:35:55 +0000 (06:35 +0000)] 
add 120ms to g711, fix errs in g711 alaw defs, tweak buffer in file playback and add kill to hupall

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

19 years agochange the override to header symbol from : to ^ (beware)
Brian West [Wed, 21 Feb 2007 03:37:17 +0000 (03:37 +0000)] 
change the override to header symbol from : to ^ (beware)

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

19 years agoadd pool allocated printf function switch_core_sprintf
Michael Jerris [Tue, 20 Feb 2007 21:54:23 +0000 (21:54 +0000)] 
add pool allocated printf function switch_core_sprintf

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

19 years agorefactor switch_core_sql_thread with the following main changes:
Michael Jerris [Tue, 20 Feb 2007 18:27:21 +0000 (18:27 +0000)] 
refactor switch_core_sql_thread with the following main changes:

Do the entire transaction as a single exec, instead of 3 separate ones to resolve issue of unmatched transaction error.
try really hard to commit the transaction (1000 times) but we no longer try forever.  If 1000 times fail, you will lose some update/insert/deletes from the core db, but we will no longer continue to loop forever and stop processing the sql queue in the case of an error.
added better overflow protection to the buffer, we now ignore sql strings we get over 64k. (not full transactions, just individual sql strings that we get queued).  Previously this caused a buffer overflow.
We now use sprintf instead of snprintf as we are already handling overflow checks outside of the sprintf.

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

19 years agoupdate
Anthony Minessale [Tue, 20 Feb 2007 17:50:50 +0000 (17:50 +0000)] 
update

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

19 years agoswitch_channel_set_variable_nodup which does not dup the value from the session pool...
Michael Jerris [Mon, 19 Feb 2007 22:57:27 +0000 (22:57 +0000)] 
switch_channel_set_variable_nodup which does not dup the value from the session pool.  The value MUST already be allocated from the pool for that session, or very bad things could happen.  Use with caution.

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

19 years agoadd channel data to event
Brian West [Mon, 19 Feb 2007 21:28:58 +0000 (21:28 +0000)] 
add channel data to event

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

19 years agomaking private events fire (please test)
Brian West [Mon, 19 Feb 2007 21:06:27 +0000 (21:06 +0000)] 
making private events fire (please test)

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

19 years agoFix indents to tabs in previous commit
Mike Murdock [Mon, 19 Feb 2007 17:00:29 +0000 (17:00 +0000)] 
Fix indents to tabs in previous commit

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

19 years agoNo entry at menu should not play the invalid prompt but still count as an invalid...
Mike Murdock [Mon, 19 Feb 2007 16:57:14 +0000 (16:57 +0000)] 
No entry at menu should not play the invalid prompt but still count as an invalid entry and repeat the menu

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

19 years agodon't create new iax sessions when we shouldn't
Michael Jerris [Mon, 19 Feb 2007 16:56:48 +0000 (16:56 +0000)] 
don't create new iax sessions when we shouldn't

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

19 years agoadd rwlocks to bridge
Anthony Minessale [Mon, 19 Feb 2007 15:20:16 +0000 (15:20 +0000)] 
add rwlocks to bridge

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

19 years agoconstify switch_caller_profile_new
Michael Jerris [Mon, 19 Feb 2007 03:23:02 +0000 (03:23 +0000)] 
constify switch_caller_profile_new

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

19 years agoadd switch_core_session_sprintf which allocates from the session pool
Michael Jerris [Mon, 19 Feb 2007 02:21:27 +0000 (02:21 +0000)] 
add switch_core_session_sprintf which allocates from the session pool

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

19 years agoupdate
Anthony Minessale [Sun, 18 Feb 2007 16:51:11 +0000 (16:51 +0000)] 
update

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

19 years agofix typo to fix build
Michael Jerris [Sun, 18 Feb 2007 14:33:55 +0000 (14:33 +0000)] 
fix typo to fix build

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

19 years agoupdate
Anthony Minessale [Sun, 18 Feb 2007 04:37:06 +0000 (04:37 +0000)] 
update

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

19 years agotweak
Anthony Minessale [Sat, 17 Feb 2007 22:22:52 +0000 (22:22 +0000)] 
tweak

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

19 years agotweak
Anthony Minessale [Sat, 17 Feb 2007 22:19:56 +0000 (22:19 +0000)] 
tweak

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

19 years agotweak
Anthony Minessale [Sat, 17 Feb 2007 22:13:19 +0000 (22:13 +0000)] 
tweak

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

19 years agorearrange things to work better
Anthony Minessale [Sat, 17 Feb 2007 18:40:42 +0000 (18:40 +0000)] 
rearrange things to work better

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

19 years agomove session-rest
Anthony Minessale [Sat, 17 Feb 2007 17:30:49 +0000 (17:30 +0000)] 
move session-rest

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

19 years agoadd windows build for mod_xml_cdr. This probably also fixes the build on several...
Michael Jerris [Sat, 17 Feb 2007 06:55:43 +0000 (06:55 +0000)] 
add windows build for mod_xml_cdr.  This probably also fixes the build on several non-linux systems.

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

19 years agoTemporarily reverting sofia-sip library back to prior to the changes merged on 2...
Michael Jerris [Sat, 17 Feb 2007 06:25:21 +0000 (06:25 +0000)] 
Temporarily reverting sofia-sip library back to prior to the changes merged on 2/7/2007 due to ongoing unresolved issues in the new code.  Will re-commit these changes once we receive fixes from the sofia-sip tree for these outstanding issues.  Make sure recommended.

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

19 years agocompletion of the commit from revision 4305
Michael Jerris [Sat, 17 Feb 2007 06:22:47 +0000 (06:22 +0000)] 
completion of the commit from revision 4305

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

19 years agoconstify switch_channel_set_variable and remove some incorrect casts in it's consumers.
Michael Jerris [Sat, 17 Feb 2007 00:56:16 +0000 (00:56 +0000)] 
constify switch_channel_set_variable and remove some incorrect casts in it's consumers.

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

19 years agofix copy/paste error on setting SWITCH_GLOBAL_dirs.temp_dir on windows.
Michael Jerris [Fri, 16 Feb 2007 23:37:14 +0000 (23:37 +0000)] 
fix copy/paste error on setting SWITCH_GLOBAL_dirs.temp_dir on windows.

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

19 years agoconstify switch_core_hash functions and some of their consumers.
Michael Jerris [Fri, 16 Feb 2007 23:36:10 +0000 (23:36 +0000)] 
constify switch_core_hash functions and some of their consumers.

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

19 years agomatch new prototype for switch_ivr_park
Michael Jerris [Fri, 16 Feb 2007 23:12:20 +0000 (23:12 +0000)] 
match new prototype for switch_ivr_park

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

19 years agomatch new prototype for switch_ivr_menu_init
Michael Jerris [Fri, 16 Feb 2007 23:11:52 +0000 (23:11 +0000)] 
match new prototype for switch_ivr_menu_init

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

19 years agoadd sqlite linking to dptools
Michael Jerris [Fri, 16 Feb 2007 23:11:08 +0000 (23:11 +0000)] 
add sqlite linking to dptools

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

19 years agoadd callbacks to park
Anthony Minessale [Fri, 16 Feb 2007 21:32:49 +0000 (21:32 +0000)] 
add callbacks to park

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

19 years agoadd export app (set + adding to export_vars) in 1
Anthony Minessale [Fri, 16 Feb 2007 20:07:35 +0000 (20:07 +0000)] 
add export app (set + adding to export_vars) in 1

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

19 years agoupdate
Anthony Minessale [Fri, 16 Feb 2007 19:43:00 +0000 (19:43 +0000)] 
update

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

19 years agoadd some commands to portaudio
Anthony Minessale [Fri, 16 Feb 2007 16:19:39 +0000 (16:19 +0000)] 
add some commands to portaudio

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

19 years agoAdded support for default_language channel variable. If no language specified explici...
Mike Murdock [Fri, 16 Feb 2007 01:57:54 +0000 (01:57 +0000)] 
Added support for default_language channel variable. If no language specified explicitly in the API call then default_language will be used. If no default_language specified then english will be used.

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

19 years agoTweak - phrase_lang should have been phrase-lang in ivr menu parameters for consistency
Mike Murdock [Thu, 15 Feb 2007 22:23:33 +0000 (22:23 +0000)] 
Tweak - phrase_lang should have been phrase-lang in ivr menu parameters for consistency

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

19 years agoAdd Phrase Macro support to ivr menu.
Mike Murdock [Thu, 15 Feb 2007 21:59:59 +0000 (21:59 +0000)] 
Add Phrase Macro support to ivr menu.

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

19 years agoupdate
Anthony Minessale [Thu, 15 Feb 2007 20:02:52 +0000 (20:02 +0000)] 
update

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

19 years agoupdate
Anthony Minessale [Thu, 15 Feb 2007 19:58:25 +0000 (19:58 +0000)] 
update

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

19 years agoadd small demo mod to dump xml call detail reports until we work it into mod_cdr...
Anthony Minessale [Thu, 15 Feb 2007 19:46:37 +0000 (19:46 +0000)] 
add small demo mod to dump xml call detail reports until we work it into mod_cdr ./configure or manually mkdir /usr/local/freeswitch/log/xml_cdr

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

19 years agoxml formatting for call detail
Anthony Minessale [Thu, 15 Feb 2007 19:20:14 +0000 (19:20 +0000)] 
xml formatting for call detail

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

19 years agodon't strip the resource off the from in a chat msg
Michael Jerris [Thu, 15 Feb 2007 17:48:14 +0000 (17:48 +0000)] 
don't strip the resource off the from in a chat msg

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

19 years agoa little re-work in preparation for being able to outdial from a conference that...
Michael Jerris [Thu, 15 Feb 2007 17:28:09 +0000 (17:28 +0000)] 
a little re-work in preparation for being able to outdial from a conference that does not yet exist.

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

19 years agoupdate
Anthony Minessale [Thu, 15 Feb 2007 16:53:44 +0000 (16:53 +0000)] 
update

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

19 years agomake the 2833 dtmf increase the sequence number before it sends instead of after...
Michael Jerris [Thu, 15 Feb 2007 14:32:34 +0000 (14:32 +0000)] 
make the 2833 dtmf increase the sequence number before it sends instead of after.  The net result of this is, we are still doing it wrong (sending both and audio packet with the same sequence number as our 2833 packet) but because we increment it first, the ua should get our 2833 packet with that sequence number before it gets the audio packet with that sequence number.  This should help dtmf interop on ua's that were discarding rtp packets received with a sequence number that it had already received.

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

19 years agoMerge changes from sofia-sip tree:
Michael Jerris [Thu, 15 Feb 2007 05:18:37 +0000 (05:18 +0000)] 
Merge changes from sofia-sip tree:

Mon Feb 12 21:22:39 EET 2007  Maxim Zaikin <Maxim at amsd.com>
  * su_pthread_port.c: destroying condition variable used when destroying the thread.

Tue Feb 13 01:10:38 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response, part 2.

Tue Feb 13 01:02:00 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response. Problem reported by Mike Jerris.

nua: fixed problems in state machines.
Pekka Pessi <first.lastname@nokia.com>**20070214201847

 These problems are mostly introduced in 1.12.5:
 - assert failed if INVITE was received when calling
   (reported by Michael Jerris)
 - assert failed if nua_invite() was called second time before receiving
   final response to first INVITE (ditto)
 - ACK is now always sent if session was terminated after receiving 2XX
 - if nua has a pending incoming INVITE request, return 491 to
   nua_invite()

nta.c: return 481 response to CANCEL if INVITE transaction was successful
According to the RFC 3261 state diagram the INVITE transaction is destroyed
 immediately when a final 2XX series response is sent. Now nta returns a 481
 response to CANCEL if it finds an INVITE server transaction that was
 responded with a 2XX success response.

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

19 years agoremove white space chages from sofia tree
Michael Jerris [Thu, 15 Feb 2007 04:54:37 +0000 (04:54 +0000)] 
remove white space chages from sofia tree

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

19 years agodon't pass NUTAG_URL a display name.
Michael Jerris [Thu, 15 Feb 2007 04:37:57 +0000 (04:37 +0000)] 
don't pass NUTAG_URL a display name.

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

19 years agorevert some useless differences from the official sofia-sip tree
Michael Jerris [Thu, 15 Feb 2007 02:53:37 +0000 (02:53 +0000)] 
revert some useless differences from the official sofia-sip tree

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

19 years agofix configure test failure if -Werror is in CFLAGS
Anthony Minessale [Wed, 14 Feb 2007 23:17:48 +0000 (23:17 +0000)] 
fix configure test failure if -Werror is in CFLAGS

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

19 years agoupdate
Anthony Minessale [Wed, 14 Feb 2007 23:08:10 +0000 (23:08 +0000)] 
update

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

19 years agodetect __func__ properly even if CFLAGS has -Werror in it
Anthony Minessale [Wed, 14 Feb 2007 22:48:54 +0000 (22:48 +0000)] 
detect __func__ properly even if CFLAGS has -Werror in it

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

19 years agoadd resets to a few places
Anthony Minessale [Wed, 14 Feb 2007 22:41:03 +0000 (22:41 +0000)] 
add resets to a few places

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

19 years agofix codec neg
Anthony Minessale [Wed, 14 Feb 2007 22:14:32 +0000 (22:14 +0000)] 
fix codec neg

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

19 years agofix js file object for good this time
Michael Jerris [Wed, 14 Feb 2007 21:57:13 +0000 (21:57 +0000)] 
fix js file object for good this time

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

19 years agoyet another attempt to properly build with the file object again
Anthony Minessale [Wed, 14 Feb 2007 20:48:15 +0000 (20:48 +0000)] 
yet another attempt to properly build with the file object again

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

19 years ago.update
Anthony Minessale [Wed, 14 Feb 2007 20:21:12 +0000 (20:21 +0000)] 
.update

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

19 years ago%d can't take the long long result.
Michael Jerris [Wed, 14 Feb 2007 20:15:51 +0000 (20:15 +0000)] 
%d can't take the long long result.

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

19 years agofix
Anthony Minessale [Wed, 14 Feb 2007 20:06:39 +0000 (20:06 +0000)] 
fix

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

19 years agoadd var that can set gmail greeting
Anthony Minessale [Wed, 14 Feb 2007 19:47:16 +0000 (19:47 +0000)] 
add var that can set gmail greeting

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

19 years agowarning: ISO C does not allow extra ; outside of a function
Michael Jerris [Wed, 14 Feb 2007 19:45:56 +0000 (19:45 +0000)] 
warning: ISO C does not allow extra ; outside of a function

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

19 years agofix file object support in spidermonkey build
Michael Jerris [Wed, 14 Feb 2007 19:42:45 +0000 (19:42 +0000)] 
fix file object support in spidermonkey build

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

19 years agothats not a real fd, it's a switch_socket_t *
Michael Jerris [Wed, 14 Feb 2007 19:31:58 +0000 (19:31 +0000)] 
thats not a real fd, it's a switch_socket_t *

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

19 years agowarning: ISO C does not allow extra ; outside of a function
Michael Jerris [Wed, 14 Feb 2007 19:22:42 +0000 (19:22 +0000)] 
warning: ISO C does not allow extra ; outside of a function

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

19 years agomore constification cleanups.
Michael Jerris [Wed, 14 Feb 2007 19:15:20 +0000 (19:15 +0000)] 
more constification cleanups.

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

19 years agoswitch_core_session_strdup now takes const char * arg.
Michael Jerris [Wed, 14 Feb 2007 19:14:53 +0000 (19:14 +0000)] 
switch_core_session_strdup now takes const char * arg.

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

19 years agotimeout bug pointed out by davidnicol
Anthony Minessale [Wed, 14 Feb 2007 18:47:22 +0000 (18:47 +0000)] 
timeout bug pointed out by davidnicol

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

19 years agofix typedef for switch_stream_handle_write_function_t to also use const char * fmt...
Michael Jerris [Wed, 14 Feb 2007 18:08:11 +0000 (18:08 +0000)] 
fix typedef for switch_stream_handle_write_function_t to also use const char * fmt and match other uses of that type.

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

19 years agofix potential xml handle leak from previous committ.
Michael Jerris [Wed, 14 Feb 2007 17:34:16 +0000 (17:34 +0000)] 
fix potential xml handle leak from previous committ.

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

19 years agofix missing strdup in switch_ivr_menu_bind_function
Michael Jerris [Wed, 14 Feb 2007 17:28:42 +0000 (17:28 +0000)] 
fix missing strdup in switch_ivr_menu_bind_function
change most char * values in ivr_menu functions to const char *
change switch_core_strdup to get passed const char * instead of char *
change switch_xml_find_child to get passed const char * instead of char *
change the ivr dialplan application to free the xml config as soon as it is done building the xml menu and not hold it until the menu is done being run, so that you can do a reloadxml while someone is in a menu without blocking.

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

19 years agoremove extra ;
Michael Jerris [Wed, 14 Feb 2007 17:22:34 +0000 (17:22 +0000)] 
remove extra ;

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

19 years agothe guy on the mailing list had a good idea, add a message in dingalaing announcing...
Anthony Minessale [Wed, 14 Feb 2007 15:32:02 +0000 (15:32 +0000)] 
the guy on the mailing list had a good idea, add a message in dingalaing announcing the caller id as a chat message, added, but not testesd...can someone test this?

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

19 years agoadd new xml call detail function to the core and a way to use it from javascript
Anthony Minessale [Wed, 14 Feb 2007 15:19:01 +0000 (15:19 +0000)] 
add new xml call detail function to the core and a way to use it from javascript

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

19 years agos.data is void *
Anthony Minessale [Wed, 14 Feb 2007 15:08:49 +0000 (15:08 +0000)] 
s.data is void *

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

19 years agoadd mod_say_en to load by default.
Michael Jerris [Wed, 14 Feb 2007 04:30:14 +0000 (04:30 +0000)] 
add mod_say_en to load by default.

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

19 years agopotential format string exploits (warning: format not a string literal and no format...
Michael Jerris [Wed, 14 Feb 2007 03:45:10 +0000 (03:45 +0000)] 
potential format string exploits (warning: format not a string literal and no format arguments)

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

19 years agopotential format string exploit
Michael Jerris [Wed, 14 Feb 2007 03:32:13 +0000 (03:32 +0000)] 
potential format string exploit

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