Commit Graph

550 Commits

Author SHA1 Message Date
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
Anthony Minessale f6fd954631 api tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3485 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 17:10:40 +00:00
Anthony Minessale d288ae58a8 add timelimit to record
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3475 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-28 21:46:29 +00:00
Michael Jerris 44649c70b4 Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
/* For Emacs:
 * Local Variables:
 * mode:c
 * indent-tabs-mode:nil
 * tab-width:4
 * c-basic-offset:4
 * End:
 * For VIM:
 * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
 */


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale 361dc67be2 no_media/ringback tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 21:52:38 +00:00
Anthony Minessale c08e943e44 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 17:12:40 +00:00
Anthony Minessale fd16c8f245 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:42:21 +00:00
Anthony Minessale 5869b86676 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:32:28 +00:00
Anthony Minessale 251d8c45b4 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:13:54 +00:00
Anthony Minessale 097d4a66f0 send 180 when there is no ringback specified on forked calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 00:29:51 +00:00
Michael Jerris 3a57946bea parentheses for proper cast.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:11:07 +00:00
Michael Jerris 4d450eba16 code before declaration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:04 +00:00
Anthony Minessale d7baa16132 Ringback (sponsored by Front Logic)
This addition lets you set artifical ringback on a channel
that is waiting for an originated call to be answered.

the syntax is 

<action application="set" data="ringback=[data]"/>

where data is either the full path to an audio file
or a teletone generation script..


syntax of teletone scripts

LEGEND:

0-9,a-d,*,# (standard dtmf tones)

variables: c,r,d,v,>,<,+,w,l,L,%

c (channels)        - Sets the number of channels.
r (rate)            - Sets the sample rate.
d (duration)        - Sets the default tone duration.
v (volume)          - Sets the default volume.
> (decrease vol)    - factor to decrease volume by per frame (0 for even decrease across duration).
< (increase vol)    - factor to increase volume by per frame (0 for even increase across duration).
+ (step)            - factor to step by used by < and >.
w (wait)            - default silence after each tone.
l (loops)           - number of times to repeat each tone in the script.
L (LOOPS)           - number of times to repeat the the whole script.
% (manual tone)     - a generic tone specified by a duration, a wait and a list of frequencies.

standard tones can have custom duration per use with the () modifier
7(1000, 500) to generate DTMF 7 for 1 second then pause .5 seconds

EXAMPLES

UK Ring Tone [400+450 hz on for 400ms off for 200ms then 400+450 hz on for 400ms off for 2200ms]
%(400,200,400,450);%(400,2200,400,450)

US Ring Tone [440+480 hz on for 2000ms off for 4000ms]
%(2000,4000,440,480)

ATT BONG [volume level 4000, even decay, step by 2, # key for 60ms with no wait, volume level 2000, 350+440hz {us dialtone} for 940ms
v=4000;>=0;+=2;#(60,0);v=2000;%(940,0,350,440)

SIT Tone 913.8 hz for 274 ms with no wait, 1370.6 hz for 274 ms with no wait, 1776.7 hz for 380ms with no wait
%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)

ATTN TONE (phone's off the hook!) 1400+2060+2450+2600 hz for 100ms with 100ms wait
%(100,100,1400,2060,2450,2600)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:05:06 +00:00
Michael Jerris 28c875cfa9 add switch_ivr_digit_stream functions and switch_ivr_build_xml_menu_stack to switch ivr, merged from knhor branch. thanks neal!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 16:29:16 +00:00
Michael Jerris 4619302f8f don't user "new" as a variable name, so we can keep compatible with C++
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 21:16:46 +00:00
Michael Jerris b87df5bcd2 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3334 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-11-12 21:05:08 +00:00
Anthony Minessale a5f16da175 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 20:50:18 +00:00
Anthony Minessale 372c160c3f menu stuff: work in progress, look for bugs\!\!\!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 20:34:04 +00:00
Anthony Minessale c8733f2b8a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 00:38:31 +00:00
Anthony Minessale 8f8396d741 add ivr api not sure it works yet
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 00:32:18 +00:00
Anthony Minessale 8dc1556b95 fix gremlins in code that worked before then changed it's mind
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 08:13:01 +00:00
Anthony Minessale 44fc26f7d4 Finalization of speech detect interface and API
This changes the core to have the necessary tools to create
a speech detection interface.

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

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




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:39:04 +00:00
Anthony Minessale 0ce3f5b08b tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:13:59 +00:00
Michael Jerris 506f40b8f1 change local var to match return type of function.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:41:40 +00:00
Anthony Minessale 9ab2b1db57 Media Management (Sponsored By Front Logic)
This modification makes it possible to change the media path of session in the switch on-the-fly and from the dialplan.
It adds some API interface calls usable from a remote client such as mod_event_socket or the test console.

1) media [off] <uuid>

   Turns on/off the media on the call described by <uuid>
   The media will be redirected as desiered either into the switch or point to point.

2) hold [off] <uuid>

   Turns on/off endpoint specific hold state on the session described by <uuid>

3) broadcast <uuid> "<path>[ <timer_name>]" or "speak:<tts_engine>|<tts_voice>|<text>[|<timer_name>]" [both]

   A message will be sent to the call described by uuid instructing it to play the file or speak the text indicated.

   If the 'both' option is specified both ends of the call will hear the message otherwise just the uuid specified
   will hear the message.

   During playback when only one side is hearing the message the other end will hear silence.

   If media is not flowing across the switch when the message is broadcasted, the media will be directed to the
   switch for the duration of the call and then returned to it's previous state.


Also the no_media=true option in the dialplan before a bridge makes it possible to place a call while proxying the session
description from one endpoint to the other and establishing an immidiate point-to-point media connection with no media
on the switch.

<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/mydomain.com/myid@myhost.com"/>


*NOTE* when connecting two outbound legs by using the "originate" api command with an extension that has no_media=true enabled,
the media for the first leg will be engaged with the switch until the second leg has answered and the other session description
is available to establish a point to point connection at which time point-to-point mode will be enabled.

*NOTE* it is reccommended you rebuild FreeSWITCH with "make sure" as there have been some changes to the core.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:38:06 +00:00
Michael Jerris 6b457ddce3 Add new higher level ivr functions from Paul Tinsley. Thanks Paul.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-28 04:40:59 +00:00
Anthony Minessale 90297aa7ef update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 16:31:05 +00:00
Anthony Minessale 280daaf56c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 15:52:11 +00:00
Anthony Minessale a3839376f7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3210 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 15:00:46 +00:00
Michael Jerris 0be391132a datatype tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:47:08 +00:00
Anthony Minessale 08442ff2c4 signalling refactoring for media etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:28:49 +00:00
Anthony Minessale 252afb823f add some sanity code to originate and conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 01:00:26 +00:00
Anthony Minessale 70bfba5b63 Christmas Presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 22:57:35 +00:00
Brian West 614010db63 Rename ani2 to aniii and ANI2 to ANI-II where appropriate. Because its not ANI2 its ANI II (eye eye)
What is ANI II ?

Refer to:

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

Thanks,
/b



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 23:33:32 +00:00
Anthony Minessale 4933582aad update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 04:44:33 +00:00
Anthony Minessale ba46200539 refactoring and general improvement (do a make sure)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 00:59:09 +00:00
Anthony Minessale 6a96670267 refine code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 02:24:43 +00:00
Michael Jerris 3958734b85 switch_ivr_uuid_bridge make return SWITCH_STATUS_SUCESS on success.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:39:21 +00:00
Anthony Minessale bc7a378c4e Modify Originate input syntax
This adds the | to the originate syntax 
making it possible to put a list of urls to call and attempt
to call them one at a time until one of them is successful or there
are none of them left

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

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

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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 22:19:24 +00:00
Anthony Minessale 0d23976f2a Insane amounts of yucky satanic code to make transfer and that kind of thing work.
Transfers work better when both legs of the call live in thier own channel eg bridged calls
A -> B where you want a to make B -> C

when you route a call to an IVR or playback app you are not really bridging you have
A all alone executing the script so it's hard to transfer that.

I do have it aparently working but it's goofy and you are better off
putting your IVR on it's own switch so they are all inbound calls
then you have A -> B -> IVR
now A can happily transfer B who can stay on line with IVR without stopping
the execution.  You can also accomplish this by calling in a loop back to the same box
if you dont want to have 2 boxes.


Also the beginning effort at bridging calls with no media is here
set this magic variable in your dialplan to convince mod_sofia
to pass A's sdp as it's own to B and return B's sdp back to A on 200 or 183

<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/id@host.com"/>

You will need a new sofia tarball for this version


There is a bunch of other odds and ends added like a function or 2 etc
Oh,

And don't be suprised if it introduces all kinds of bugs!



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-06 22:39:49 +00:00
Anthony Minessale f993cd6791 more sofia stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-05 14:24:25 +00:00
Anthony Minessale 7de068b9ac sip work in progress changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2969 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-04 23:11:11 +00:00
Anthony Minessale 513d5dbbdd adding transfer part 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-03 04:08:30 +00:00
Michael Jerris 7b3284b3f5 code before declaration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2813 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-23 23:21:48 +00:00
Anthony Minessale a3ce0d36d3 experimental new native code file eg name a ulaw file .PCMU etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 19:50:54 +00:00
Anthony Minessale fa5767ebf7 fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 15:22:31 +00:00
Anthony Minessale 893c7210a2 more optimizationification
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-22 02:10:27 +00:00
Anthony Minessale 980d2d8aeb tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2757 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 20:04:35 +00:00
Anthony Minessale beb40aaa20 set default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 19:13:08 +00:00
Anthony Minessale e9cb681093 set default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 19:00:43 +00:00
Anthony Minessale 7045c12e3b fix a bunch of stuff you want this version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 15:33:02 +00:00
Anthony Minessale ccb32b0eb6 add uuid_bridge api call and ivr function Usage: uuid_bridge <uuid> <other_uuid> *should* take 2 existing channels and bridge them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-19 02:18:24 +00:00
Anthony Minessale 8a0e9ccf1f performance tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-14 00:15:03 +00:00
Anthony Minessale 0b1b9f981c a little more cause stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:41:42 +00:00
Anthony Minessale 06a0b2c0d5 cause code goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 23:20:40 +00:00
Anthony Minessale cb2da2328a pass cause from originate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 01:32:04 +00:00
Anthony Minessale ae9d56e288 Adding bugs to the core
This is the primary commit to add bugs to the core (media bugs that is)
Media bugs are kind of like what ChanSpy is in Asterisk only cooler (I wrote ChanSpy too so I can say that)

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

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

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

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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:39:28 +00:00
Michael Jerris 8b8a85db56 Add g729 passthrough for windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-08 16:52:18 +00:00