Commit Graph

607 Commits

Author SHA1 Message Date
Anthony Minessale 303271f92a allow socket app to operate without pre_answer (please test)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-13 16:34:39 +00:00
Anthony Minessale 0b66681f10 add resume command to event socket and socket_resume variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 22:45:46 +00:00
Anthony Minessale 68b0359cfb FSCORE-349 add flag to denote if a codec is init or not
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 17:17:12 +00:00
Anthony Minessale 5b6b9f89ab fix xml code to dup the values instead of store direct pointers (scope issue)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12692 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-20 20:41:30 +00:00
Anthony Minessale 093d867d89 MODAPP-226
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 16:53:31 +00:00
Anthony Minessale 62a63cef2d double doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 19:58:45 +00:00
Anthony Minessale dfd3f28bdf doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 19:54:54 +00:00
Anthony Minessale 3dd6e878e7 MODAPP-221
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12262 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 18:36:45 +00:00
Anthony Minessale 99026e02e7 event socket / ESL improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 23:19:58 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West 7aa3a2e670 doh, thanks raulfragoso
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 04:24:22 +00:00
Anthony Minessale be25cc9631 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-10 19:09:06 +00:00
Michael Jerris ece81e6604 fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-06 23:49:22 +00:00
Anthony Minessale 6a405a2323 sound_test app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-05 19:53:13 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale 478efc5f71 tweaks to call setup code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-03 20:33:24 +00:00
Anthony Minessale 0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale 30e74fca2c FSCORE-272
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-19 16:00:11 +00:00
Anthony Minessale 6f8e06f087 fix disconnect issue in event socket and fix a few small bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 22:11:27 +00:00
Anthony Minessale ea5c385281 numerous fixes from regression testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-09 20:34:01 +00:00
Anthony Minessale abb2691bde ditto
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11082 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 23:26:49 +00:00
Anthony Minessale c576ef7a6e fix some media issues (shoud go into the 1.0 branch)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 22:39:48 +00:00
Anthony Minessale ea8ddfd4f2 fix some media issues (shoud go into the 1.0 branch)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 21:22:01 +00:00
Anthony Minessale 4cc1136433 fix some media issues (shoud go into the 1.0 branch)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11079 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-06 21:07:58 +00:00
Anthony Minessale ed100f44ea add group concept
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-23 17:36:50 +00:00
Anthony Minessale c2b1ce53bc MODAPP-182
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10861 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-17 21:50:34 +00:00
Anthony Minessale 71054917ac add sync param to sleep so you can choose to sync audio or not on sleep (reswig to follow)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-10 00:48:24 +00:00
Anthony Minessale 1136fcec4a a whole bunch of stuff just to avoid a sonus issue silence_when_idle=400 chanvar to send generated silence duing sleeps etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-09 00:32:51 +00:00
Anthony Minessale cb5096db71 FSCORE-240
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-01 16:21:27 +00:00
Anthony Minessale 7bc685dcca update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-27 04:02:57 +00:00
Michael Jerris 085771a4cc tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-26 18:56:37 +00:00
Michael Jerris 926bc917ed use switch_set_flag in a few places we were doing it manually before
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-25 18:21:44 +00:00
Anthony Minessale 8fb1e45e17 add some magic vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-19 20:42:28 +00:00
Anthony Minessale 2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale cc36e27286 It's time to play the music, It's time to light the lights
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 23:25:38 +00:00
Anthony Minessale 1d74ab745b more ref checking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 17:40:25 +00:00
Anthony Minessale 722b830652 look out below....(make current)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 19:28:05 +00:00
Anthony Minessale 09f7c7f660 fix typo thanks MichaelGG
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-30 15:18:07 +00:00
Anthony Minessale 050dcab0ad fix park flag
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-27 17:14:55 +00:00
Anthony Minessale 30c318b995 clean some old members and naming conventions in the codec structs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 17:48:42 +00:00
Brian West 1cda796da8 spelling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 23:05:55 +00:00
Anthony Minessale f3b413edf1 write cng frames during sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-03 18:14:11 +00:00
Anthony Minessale be3df211e3 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-19 20:59:23 +00:00
Anthony Minessale a6989de65c more crazy black magic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9603 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-19 19:58:01 +00:00
Anthony Minessale 0da29822ca fix some regression caused last week re: rtp and async timers on and off
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9491 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-09 16:31:53 +00:00
Anthony Minessale 9d1df9df42 insert variables from the domain tag in the set_user app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-02 16:38:45 +00:00
Brian West 0a1d9b0206 comment cleanup and such
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-02 10:39:39 +00:00
Anthony Minessale 8b4433720e _
| |                  
  ____ ____  ____| | ____ ____   ____ 
 / _  ) _  |/ ___) |/ _  |  _ \ / _  |
( (/ ( ( | | |   | ( ( | | | | ( ( | |
 \____)_||_|_|   |_|\_||_|_| |_|\_|| |
                               (_____|




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-05 21:50:48 +00:00
Anthony Minessale 4722de507b add domain-based acl auth thingy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-16 17:44:54 +00:00
Anthony Minessale 1f830b03e9 fix outbound event_socket + late negotiation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 23:30:17 +00:00
Anthony Minessale 2a5b1a9a60 add another missing bit to sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 23:13:02 +00:00
Anthony Minessale 0606f993fd forgot some code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8933 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 19:26:44 +00:00
Anthony Minessale 32bbdb74a8 add args to sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 17:27:02 +00:00
Michael Jerris 64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale 3c349c274e indent pass 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Anthony Minessale 57117acdbc add -bleg to intercept
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 17:28:04 +00:00
Anthony Minessale 5605a69d7e typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 03:26:57 +00:00
Anthony Minessale 4cd75ebf39 fix seg when using unicast on socket when call has no read_codec (MODAPP-95)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 02:39:23 +00:00
Anthony Minessale d3616deb87 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 01:43:12 +00:00
Stefan Knoblich 088b842ced Add safety check for codec implementations with bytes_per_frames being larger than the recommended buffer size (Klocwork #1039)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-21 22:26:30 +00:00
Anthony Minessale 0ba45ead64 fix small att_xfer issue from mailing list
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 14:30:39 +00:00
Michael Jerris 0a766e14a0 check value before using. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 17:55:12 +00:00
Anthony Minessale 42a54d19ae update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 14:49:11 +00:00
Anthony Minessale 628e1b4c4c doh should probably expose say
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 22:16:08 +00:00
Anthony Minessale 7050c330b2 allow blind xfers on no-media calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 19:59:42 +00:00
Anthony Minessale c4a18a09c2 spring cleaning, lose some pointless code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 19:19:47 +00:00
Anthony Minessale 4b929592cc change names to protect the innocent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-05 15:30:55 +00:00
Anthony Minessale 580f545e26 tewaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-01 16:41:46 +00:00
Michael Jerris f095ef0645 try to avoid internal routing loops.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 15:55:37 +00:00
Anthony Minessale 730feae63e can't double park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 14:05:22 +00:00
Michael Jerris 98c5cd7d21 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8029 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 21:43:20 +00:00
Anthony Minessale 61f23283ec add some goodies to mod_fifo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 21:18:16 +00:00
Anthony Minessale 85b79c083a tweak fifo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 21:27:16 +00:00
Anthony Minessale 409e0da357 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-25 00:24:23 +00:00
Anthony Minessale 4d0b60ad16 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7955 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-24 20:58:44 +00:00
Anthony Minessale dc3a65388b the same guy who added att xfer to asterisk was nice enough to add it to freeswitch too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-13 01:08:42 +00:00
Anthony Minessale e76486968e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-12 16:40:01 +00:00
Anthony Minessale 5fae364cfd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-12 00:30:52 +00:00
Anthony Minessale 2afd0fed8f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-12 00:11:33 +00:00
Anthony Minessale 74a3d8ab95 fix a bunch of stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-11 03:45:16 +00:00
Anthony Minessale 2c8a689d8b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-10 16:19:55 +00:00
Anthony Minessale 747e0905d2 add read app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-04 18:55:16 +00:00
Michael Jerris bc2fd445ca fix for FSCORE-97 and add set_name app to rename channel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-26 23:29:58 +00:00
Anthony Minessale cb12f3cfd6 fix sdp pass-thru of 200 OK in proxy mode aka (bypass_media=true)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-21 17:48:41 +00:00
Brian West 22670165c1 if and only if
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 23:16:01 +00:00
Michael Jerris d6c105efe0 switch_bytes_per_frame -> switch_samples_per_frame rename
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 23:02:06 +00:00
Brian West b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Michael Jerris 284d03e5e1 code analysis, bounds checks, buffer overrun fixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 08:47:55 +00:00
Michael Jerris 482badffca code analysis, clean up asserts related to switch_core_session_get_channel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 07:26:10 +00:00
Brian West 84161010ab cleanup and consistency.. blah rain @ PHX fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West c815c0599e code formating cleanup, More when I land at PHX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 17:36:53 +00:00
Ken Rice ee328938aa on a transfer lets update the rdnis to the old number
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 22:13:36 +00:00
Anthony Minessale 58a8979c6e tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-13 18:39:51 +00:00
Anthony Minessale 143bed09a3 try to use clock_gettime to make sure we don't care if the system time changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-11 00:43:49 +00:00
Michael Jerris 31d0a1a02d don't set blank vars, and handle them in error cases.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7138 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-08 16:20:00 +00:00
Anthony Minessale df749a420f fix dtmf code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 16:49:46 +00:00
Stefan Knoblich 499e8af075 Spelling fixes #2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 10:55:15 +00:00
Anthony Minessale 698b1b1b56 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7099 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 17:32:13 +00:00
Anthony Minessale 69120105ee support crazy transfer crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 01:03:08 +00:00
Michael Jerris 0db0451306 fix msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 00:51:26 +00:00
Anthony Minessale 2931fc9109 dtmf overhaul testers wanted
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 00:32:20 +00:00
Anthony Minessale 613db6143f cdr update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6916 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 17:27:11 +00:00
Michael Jerris d4d9ae9832 whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 18:31:38 +00:00
Michael Jerris 0fe7efe735 cleanups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 17:50:39 +00:00
Anthony Minessale 73f501852c opts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 17:33:29 +00:00
Michael Jerris 304d5004a6 varname scope un-masking and fix a check
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-17 23:19:10 +00:00
Anthony Minessale 911db88a6e add park_state
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 22:17:20 +00:00
Michael Jerris 54ec86f6ce use switch_snprintf instead of snprintf becuase in insures null termination of strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris 55a194e54e use switch_assert macro
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Michael Jerris 952756ab28 reduce indentation / cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 04:21:54 +00:00
Anthony Minessale efe70a0857 fix transfer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6526 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 22:35:37 +00:00
Anthony Minessale 837e5349da fix tiny snafu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6148 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-02 18:34:26 +00:00
Michael Jerris 622a2733dc use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:28:26 +00:00
Anthony Minessale ec8d21a7db move set
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 23:19:30 +00:00
Anthony Minessale f4380aae7f fix names to match default style
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 21:44:49 +00:00
Anthony Minessale 6b1fa2191b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 15:31:02 +00:00
Michael Jerris e8f7c1b4fc fix windows build.. break other things.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 20:14:41 +00:00
Anthony Minessale 4fbcb206b0 fix echo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-05 00:05:41 +00:00
Michael Jerris 3cd6a49d8f fix warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 18:28:05 +00:00
Anthony Minessale 1418927007 add delay_echo application
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 15:09:44 +00:00
Anthony Minessale 50390a7083 improve mod-fifo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 19:58:06 +00:00
Anthony Minessale cbac77fa9f refactor xml cdr and some cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 16:38:15 +00:00
Anthony Minessale 6d2ff03bb1 add -bleg and -both flags to the transfer api command so you can transfer both sides or the opposite side of a call as well
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-01 14:57:15 +00:00
Anthony Minessale ffb989e435 tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Anthony Minessale d33b5670f0 fix some races and alter core (do a full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Michael Jerris 5bea2ea06c svn:eol-style properties, and make eol-style consistent in some files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 18:49:14 +00:00
Anthony Minessale 7e27f582b2 make the park function only pre-answer and not answer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 19:33:03 +00:00
Michael Jerris 2b3b300e4b fix for FSCORE-34
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 16:46:21 +00:00
Anthony Minessale 189802c555 add exec_after_bridge_app and exec_after_bridge_arg and fix the hangup command in event parse
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-26 00:49:02 +00:00
Anthony Minessale fdf9a8f052 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 21:25:33 +00:00
Anthony Minessale efca0c8087 hack up the core with a butcher knife
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-12 21:00:26 +00:00
Anthony Minessale dc4f3fd903 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-16 17:35:00 +00:00
Anthony Minessale 614177acd9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 23:50:38 +00:00
Anthony Minessale 139b505f91 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 20:38:18 +00:00
Anthony Minessale 7a8c84791f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 18:18:38 +00:00
Anthony Minessale d6efffd9bc these aren't the droids you're looking for....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-09 19:44:15 +00:00
Anthony Minessale 6a392d2577 add locking to vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-28 21:48:03 +00:00
Anthony Minessale 7da3873056 add app log
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 01:03:58 +00:00
Anthony Minessale ff44ce11cc let unicast mode operate on the native codec if desired
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 16:24:02 +00:00
Michael Jerris 0734faef39 use the right data types.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-10 21:18:33 +00:00
Michael Jerris 77121a3184 windows build var types.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4909 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-10 17:34:53 +00:00
Anthony Minessale 4b9afa2b36 unicast framework
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-09 18:38:47 +00:00
Anthony Minessale ad7a1b2e67 hold stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 22:13:19 +00:00
Anthony Minessale c15d7892c0 indent again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale debdfb1aab indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale 3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris a021945cef switch_malloc and switch_zmalloc macros that are fatal if malloc fails both in debug and release modes, switch_zmalloc includes a companion memset for the malloc'd block.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 17:37:42 +00:00
Anthony Minessale 8a4406ece2 Addition of scheduler engine and a few applications to use it.
This patch adds a scheduler thread to the core and moves the heartbeat
event to use the new scheduler as an example.

Also The following features are implemented that use this scheduler:

sched_hangup dialplan application:

<action application="sched_hangup" data="+10 normal_clearing bleg"/>

** The cause code is optional and the optional bleg keyword will only hangup the
   channel the current channel is bridged to if the call is in a bridge.

sched_transfer dialplan application:

<action application="sched_transfer" data="+10 1000 XML default"/>

** The last 2 args (dialplan and context) are optional

sched_broadcast dialplan application:

<action application="sched_broadcast" data="+10 playback:/tmp/foo.wav"/>
<action application="sched_broadcast" data="+10 playback!normal_clearing:/tmp/foo.wav"/>

** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.


sched_hangup api function:

sched_hangup +10 <uuid_string> normal_clearing

** The cause code is optional

sched_transfer api function:

sched_transfer +10 <uuid_string> 1000 XML default

** The last 2 args (dialplan and context) are optional

sched_broadcast api function:

sched_broadcast +10 <uuid_str> playback:/tmp/foo.wav
sched_broadcast +10 <uuid_str> playback!normal_clearing:/tmp/foo.wav

** The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.

The new C functions in the core are documented in the doxeygen.

*NOTE* This commit should satisfy at least 2 bounties on the wiki



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 23:37:12 +00:00
Anthony Minessale 4450a80bd8 This patch adds 2 important variables to the originate subsystem
originate_retries:
		This variable controls how many times the system should retry the
		entire dialstring before exiting on failure (default 1)

originate_retry_sleep_ms: 
		This variable controls how long in milliseconds to pause between 
		retries (default 1000)

*NOTE*	when using the , and & symbols to call sequential or simultaneous channels in conjunction with this feature,
	the *entire* dialstring will be repeated as many times as you specify in ${originate_retries}

Here is an example using the bridge application to originate the call. (The feature will also work anywhere else 
an origination can be made.)

<extension name="1000">
  <condition field="destination_number" expression="^1000$">
    <action application="set" data="originate_retries=10"/>
    <action application="set" data="originate_retry_sleep_ms=1000"/>
    <action application="bridge" data="sofia/$${domain}/1000@somehost.com"/>
  </condition>
</extension>





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4776 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-27 17:15:10 +00:00
Anthony Minessale 9bacb04df9 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-21 21:23:40 +00:00
Anthony Minessale 221bf43984 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 20:37:52 +00:00
Brian West ffde2ff0af update2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 01:58:41 +00:00
Anthony Minessale d69cde6367 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4598 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 00:36:14 +00:00
Anthony Minessale 78c058423b tweaks to file buffering
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 20:17:34 +00:00
Brian West 00a8f50871 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 03:07:58 +00:00
Brian West 9263ef1f72 add url syntax for playback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4501 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-10 02:36:55 +00:00
Anthony Minessale 2df583650f cleanup some stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 23:51:52 +00:00
Michael Jerris 42e78242a3 add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Michael Jerris b9885dabce windows build tweak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 15:22:46 +00:00
Michael Jerris ec3fcde87d change switch_core_timer_next to return switch_status_t, update all users to new usage, add some error checking to mod_conference so that it bails out of the loops more gracefully on shutdown.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 23:18:29 +00:00
Anthony Minessale 1b5fe10277 change a few things to allow timers to generate timestamps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 20:53:54 +00:00
Brian West 0ddffd3ef6 fix potential naughty bug you will need 'make sure'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 23:38:01 +00:00
Anthony Minessale c612d4226b add patch to fix stun issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-01 16:11:08 +00:00
Anthony Minessale f703658741 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
2007-02-21 06:35:55 +00:00
Brian West ad6cca6737 add channel data to event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 21:28:58 +00:00
Brian West 5e4396a46e making private events fire (please test)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 21:06:27 +00:00
Mike Murdock d0cda3c757 Fix indents to tabs in previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 17:00:29 +00:00
Mike Murdock 4e858fc38c 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
2007-02-19 16:57:14 +00:00
Anthony Minessale 962c8ba4f2 add rwlocks to bridge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-19 15:20:16 +00:00
Anthony Minessale 368ac20dc1 rearrange things to work better
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 18:40:42 +00:00
Anthony Minessale 4913ae24e1 move session-rest
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 17:30:49 +00:00
Michael Jerris 3f72839a65 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
2007-02-17 00:56:16 +00:00
Anthony Minessale a03f962174 add callbacks to park
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 21:32:49 +00:00
Mike Murdock 9af074316f 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
2007-02-16 01:57:54 +00:00
Mike Murdock f181b0ef9e 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
2007-02-15 22:23:33 +00:00
Mike Murdock a918bea9cf Add Phrase Macro support to ivr menu.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 21:59:59 +00:00
Anthony Minessale 700c115632 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 20:02:52 +00:00
Anthony Minessale 3b09790ba6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:58:25 +00:00
Anthony Minessale b82cf5683b xml formatting for call detail
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 19:20:14 +00:00
Anthony Minessale e96f7a118c add resets to a few places
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:41:03 +00:00
Michael Jerris 251723ba41 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
2007-02-14 17:28:42 +00:00
Anthony Minessale fdac4282b6 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
2007-02-14 15:19:01 +00:00
Michael Jerris 11a8218db0 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
2007-02-14 03:45:10 +00:00
Anthony Minessale ebdbebc246 my preacious...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4236 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:39:44 +00:00
Mike Murdock 3b66035129 Fix ivr_menu, no entry is considered invalid, keying digits during audio is not an error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4234 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 17:15:42 +00:00
Anthony Minessale 9a870c5fb6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 14:58:06 +00:00
Michael Jerris 07d6f12018 use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Anthony Minessale 07efd559d2 add ring ready flag to core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4221 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:32:10 +00:00
Anthony Minessale be118eb28a Sofia Behaviour Modification (please document)
1) This commit adds the ability to override the To: header so you
   can place an outbound SIP call to a paticular destination.

   For instance, if you have a user registered to your machine as 'gateway' and
   you want to call another extension at that machine 'foo' you can now call:

  sofia/mydomain.com/gateway:foo@anydomain.com

  or if you just want to call some SIP url and put an alternate To:
  so you can do forwarding:

  sofia/mydomain.com/1000@somwhere.com:12122551234@realdest.com


2) You can add headers to outbound SIP calls by
   prefixing the string 'SIP_h_' to any channel variable:

   <action application="set" data="SIP_h_X-Answer=42"/>
   <action application="bridge" data="sofia/mydomain.com/1000@somehost.com"/>

3) All inbound SIP calls will install any X- headers into local variables
   this means in conjunction with item 2, all X- headers will pass across 
   bridged calls auto-magicly.

4) The switch_ivr_transfer_variable function in switch_ivr.c has been modified so if the last arguement
   'var' starts with a ~ it will copy anything that is prefixed with that string rather than an exact match.

*NOTE* you are not required to put an X- prefix in the SIP_h_ vars but 
it is reccommended because most SIP devices will ignore any unknown headers that don't.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 01:22:17 +00:00
Anthony Minessale e360d6500c fix mod_native_file extension thingy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 22:56:08 +00:00
Michael Jerris 62a44e621f some more protection from passing around and printing null values, we are now initializing null's passed to switch_caller_profile_new as blank strings in the caller profile, if your using any caller profile values in if's, please use !switch_strlen_zero() in your check.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 18:13:14 +00:00
Anthony Minessale 4a02e80d5e fix dtmf bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:16:34 +00:00
Michael Jerris d1d9fd9a23 adding fail_on_single_reject dialplan option that can be set, which then immediately rejects the call even when sent to multiple destinations upon one party rejecting, useful if you are doing a ring all (, separated in the dial string for multiple calls at once) and you want a single rejection to make the call flow to the next action in the dialplan (in combination w/ continue_on_fail) for example to flow to voicemail. Thanks to George Shaw for this patch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 21:47:12 +00:00
Anthony Minessale 59d4d0b071 fix no_media mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 19:34:03 +00:00
Brian West 3b6d163b73 Update from Mike Murdock, Thanks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 17:26:40 +00:00
Michael Jerris 712976653d fix paramater checking on switch_ivr_phrase_macro and it's consumers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 22:55:48 +00:00
Anthony Minessale d1d6081d63 phrase update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 21:48:24 +00:00
Anthony Minessale cb17c45280 fix causes some more
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 20:36:01 +00:00
Anthony Minessale f03226debb update core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 20:03:07 +00:00
Michael Jerris f359f847f7 fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Anthony Minessale ed41805c17 improve core and basic flow
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 01:34:01 +00:00
Michael Jerris 0d35fb0308 Fix typo in several places. Patch from Matt Klein.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 13:50:28 +00:00
Anthony Minessale 27eed28376 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 21:10:39 +00:00
Anthony Minessale 96e32a8d4c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 17:56:09 +00:00
Michael Jerris ad494c1c29 small fix to dtmf handling in ivr menus
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:53:35 +00:00
Michael Jerris e8e851731e menu->inlen is allways max bound size +1 (for terminating null) so we need to pass -1 to play or say.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:38:13 +00:00
Michael Jerris 17bf41e158 Initial structure for generic inband dtmf detection. NOTE: This code does not currently remove the inband dtmf tones from the stream (as that is not supported using read media bugs) and it is also COMPLETELY untested and unused anywhere. This code is there for somone who wants to implement this feature in mod_sofia to test.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 04:09:43 +00:00
Anthony Minessale 6f9be6bf5a bug in the bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 21:01:13 +00:00
Anthony Minessale 59ed99a9a8 core framework for reverse media bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 23:09:33 +00:00
Anthony Minessale 9b474d2576 add success cause for originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 03:17:10 +00:00
Anthony Minessale 1ef78b928f fix sleep to work right on unanswered channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 03:17:12 +00:00
Anthony Minessale 00d7e70e2d fix cause code passthrough
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 20:39:45 +00:00
Anthony Minessale aed84d4179 ivr menu tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-18 14:48:31 +00:00
Michael Jerris 5bc71925a8 Make sure we pass early media after the pre-answer (thanks Mike Murdock for the report and troubleshooting assistance)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-08 01:55:16 +00:00
Michael Jerris 1dcfa50d76 potentially uninitialized vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3924 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-07 04:34:22 +00:00
Anthony Minessale 9d1e2e9167 don't call us we'll call you
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 17:06:18 +00:00
Michael Jerris 63bf54fee1 make build on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-05 16:49:36 +00:00
Anthony Minessale 102e735067 tidy up on top of last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3906 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 17:40:47 +00:00
Anthony Minessale 01541265ec add parameter parsing to dial string (leading name=val pairs sep by , inside {} such as {foo=bar} )
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3905 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 17:27:37 +00:00
Anthony Minessale 6aaedb918c update phrase interface
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 16:43:59 +00:00
Anthony Minessale f79ade4532 say update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 23:08:26 +00:00
Anthony Minessale c12438b06b fix hold issue reported by irate anonymous guy on irc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-31 21:06:03 +00:00
Anthony Minessale 18c3fe5cf9 fix messed up switch statement
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-31 19:54:16 +00:00
Anthony Minessale 968f4fccc3 fix sofia (part 2) you'd better 'make sure'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 19:38:35 +00:00
Anthony Minessale 905a48c85f fix sofia (part 1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 01:08:06 +00:00
Brian West 89414ed9b8 fix switch_ivr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:06:50 +00:00
Anthony Minessale 591c9b87aa ruin everything, sorry jamesdotcom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 16:40:37 +00:00
Anthony Minessale da7f28effb say related stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 22:33:48 +00:00
Michael Jerris 592c8348c2 use right type.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 21:35:03 +00:00
Michael Jerris e38a6e8ca7 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 21:31:47 +00:00
Michael Jerris db286703a6 default timeout on record to 3 seconds, reset timeout when we hear sound above the threshold, change terms of silence timeout to be seconds.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 21:10:20 +00:00
Anthony Minessale aae9da6464 cant memset
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 20:06:17 +00:00
Michael Jerris ef36df338d change types for len to uint32_t.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:03:25 +00:00
Anthony Minessale 302a768c9f make substitution dynamic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 14:50:48 +00:00
Anthony Minessale a8cf41acde expand vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:48:09 +00:00
Michael Jerris 7183562d7a to const or not to const, that is the question.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3769 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:46:18 +00:00
Anthony Minessale f564963282 linux #%^%$&
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:44:21 +00:00
Anthony Minessale bf08364e5f const
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3767 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:40:26 +00:00
Anthony Minessale b7dbea6407 add pelim say stuff, module framework, xml parser, dialplan app, and add new channel var called sound_prefix for audio files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:25:14 +00:00
Anthony Minessale 44cc7d5cfe build progress break everything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Michael Jerris 5b8cb3879a separate the stream context from the parser context
merged from knhor branch, thanks Neal.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3601 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-10 22:22:28 +00:00
Anthony Minessale d3dca0313b band aid, beware of sip transfers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-09 03:49:54 +00:00
Anthony Minessale 243a820dff tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3563 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 04:06:46 +00:00
Anthony Minessale baf0174ab6 change & to , in forked dial
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 17:24:14 +00:00
Michael Jerris 84c625d98f 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
2006-12-04 05:41:03 +00:00
Anthony Minessale ad63096f5c fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3524 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 00:04:20 +00:00
Anthony Minessale bd460fa547 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3523 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-03 23:58:01 +00:00
Anthony Minessale 60434decf5 ENUM Support
mod_enum can be used as a dialplan app, an api call from the console or as a dialplan interface.


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

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

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

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


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

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




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 21:28:32 +00:00
Michael Jerris f5e183cb48 cast for datatype of score.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 20:08:12 +00:00
Michael Jerris ec34d7bdaf playfile fixes for startpos from Matt Klein.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 20:07:13 +00:00