Commit Graph

2030 Commits

Author SHA1 Message Date
Anthony Minessale 97cf339c7e minor tweaks in conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-08 17:19:59 +00:00
Michael Jerris 716a9fbd94 switch all libs and mods to use the dynamic instead of the static runtime so everything in freeswitch runs in a single instance of the runtime.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3929 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-08 13:48:41 +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 63d89577d6 switch all libs and mods to use the dynamic instead of the static runtime so everything in freeswitch runs in a single instance of the runtime.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-07 04:35: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
Michael Jerris e8f16d9929 add switch_time_exp_gmt_get for mishehu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3923 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 22:57:31 +00:00
Michael Jerris e84b6ee302 the runtime needs to match to core, or the realloc of memory malloc'd from another dll will cause heap corruption.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3922 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 21:56:28 +00:00
Michael Jerris abad48b320 fix segfault.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 20:57:30 +00:00
Michael Jerris e614e06545 datatype to match usage.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 20:24:37 +00:00
Mike Murdock 9ea9c80085 Added ability to spell digits too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 18:41:20 +00:00
Mike Murdock 8b51f17471 Move time and currency files into respective directories
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3918 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 17:45:50 +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
Anthony Minessale aa2d884df7 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3916 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 16:40:46 +00:00
Michael Jerris 26c18bb142 fix issues with speaking 1 or 0 amounts in time measurement
add fixes from mmurdock via irc, thanks mike


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 02:53:11 +00:00
Anthony Minessale 77c4a3da64 add fixes from mmurdock, thanks mike
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3914 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-06 00:57:54 +00:00
Michael Jerris 7752eac905 simplify en_say_money to not have to use math fuctions, as we have it in char already and need to keep it that way for later.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3913 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-05 17:09:29 +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 7fac72df6c move opts up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3911 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-05 15:52:23 +00:00
Anthony Minessale 9ef6b41064 fix names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3910 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-05 15:50:10 +00:00
Anthony Minessale 085b897198 fix seg from bad input
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3909 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 22:08:41 +00:00
Anthony Minessale 8f4a636fa1 trigger sofia rebuild
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 18:02:05 +00:00
Anthony Minessale 6d35d0c44f add dtmf function to conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3907 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 18:00:13 +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 73609f0478 fix uninit ints
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3904 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 01:18:06 +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 57c0d4bdc9 add strepoch api call and more say stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 00:50:11 +00:00
Anthony Minessale 6a2529748a some changes from mmurdock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3899 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-03 00:21:17 +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 8e84f70d59 fix conference stop bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3896 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 22:55:21 +00:00
Michael Jerris 552f315e2c revert previous change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3895 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 20:11:09 +00:00
Anthony Minessale d41a5a99d1 come down from acid trip there is no test_flag_locked
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 19:31:06 +00:00
Anthony Minessale 64bc419497 add hangup dp app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 18:56:39 +00:00
Anthony Minessale 6bc5a49b72 add continue_on_fail param to bridgecall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3892 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 18:48:30 +00:00
Michael Jerris 8a569060ba use the request uri instead of to for primary routing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 18:05:13 +00:00
Michael Jerris bfa7694c85 update windows build to use in tree sofia-sip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-02 15:20:18 +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 314ddb3e24 add break to iax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3872 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-30 17:22:17 +00:00
Anthony Minessale 0b8c737cfc add system to js
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 20:42:16 +00:00
Anthony Minessale c4717f9077 fix locking and add lock debugging as a define
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 16:39:56 +00:00
Anthony Minessale 3b998f7c91 tweak locks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 06:21:04 +00:00
Anthony Minessale 37632a1a9c nomedia stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3866 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-29 00:57:08 +00:00
Anthony Minessale 90ac85d947 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3862 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-28 20:05:54 +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
Michael Jerris 9b3b7ce0ab change case now fileDelete instead of FileDelete
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3855 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 23:03:54 +00:00
Michael Jerris 6e4ef8920d add FileDelete function to spidermonkey takes 1 param, the path of the file to delete, using / as the path seperator, regardless of unix vs. windows. returns true is it was successfull, otherwise false
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 22:47:46 +00:00
Anthony Minessale 2fc9b069d7 chop off resource in chat stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 18:42:32 +00:00
Anthony Minessale 2e23a95ffe tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-27 15:54:56 +00:00
Anthony Minessale 988dd68675 fix mod_perl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-26 18:13:43 +00:00
Michael Jerris 746948e05e get spidermonkey building again, we still have a build issue with the file object that is not quite right.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:36:45 +00:00
Michael Jerris a1c5f1c5f8 update mod_rss to match new switch_ivr_speak_text_handle api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:24:16 +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
Michael Jerris b04fb3984f change to match new prototype.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:03:44 +00:00
Michael Jerris d5753bf2ed remove unused variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-24 02:00:45 +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 fea601f454 update js
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 01:39:27 +00:00
Anthony Minessale acfe369ca4 fix small bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 00:30:42 +00:00
Anthony Minessale ba6f15cdb2 pickynes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 22:51:14 +00:00
Michael Jerris 7b749328ea datatypes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 22:46:08 +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 fdc28b5724 avoid namespace collision.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:37:13 +00:00
Michael Jerris 109b2cf3ec add uuid to session properties for spidermonkey
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:25:38 +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
Michael Jerris 1198931d48 fix windows build paths from moving libs in tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:02:52 +00:00
Michael Jerris 8761a73997 change around types for better c99 compliance, fixes windows srtp build and builds that do not default to 8 bit stuct alignment.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 19:02:10 +00:00
Michael Jerris 47343dcb87 api commands should not return false unless there is a fatal error warnings about no such command etc still considered sucess cos it has io
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 18:39:36 +00:00
Michael Jerris 9bf1884d47 refactor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 15:55:52 +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
Michael Jerris 643ef8cc84 fix var type and make sure all code paths return a value
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 03:00:43 +00:00
Anthony Minessale 1bc01598e6 refactor say api to try and develop a good working example template
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3791 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-22 02:13:56 +00:00
Michael Jerris f7ee2c8138 fix it to say thousand for the hundred thousands place.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 22:48:25 +00:00
Michael Jerris 431ae09c25 disable controls until there is security
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 22:01:20 +00:00
Michael Jerris 25131f4124 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3788 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 21:26:48 +00:00
Michael Jerris c539bab153 smaller func name so it prints nicer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:52:19 +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 f666a32d64 add knhor changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:27:51 +00:00
Michael Jerris fb19b48332 send right data type for break
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 20:24:04 +00:00
Michael Jerris ce3fd3fce4 merge changes to mod_python from jkr888 branch. Thanks Johny.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 17:11:43 +00:00
Anthony Minessale 346e529007 increase energy to go up in 200 unit increments instead of 100 and max out at 3000 instead of 1200
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 16:51:58 +00:00
Anthony Minessale 90440eaf1d add case for kill sigs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 16:46:11 +00:00
Michael Jerris 2ecac238f3 add sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3774 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 06:30:28 +00:00
Michael Jerris 6d9679b164 move mod_spidermonkey_etpan to use in tree lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 03:36:05 +00:00
Michael Jerris 3a43672e66 add mod_say_en to windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3770 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:59:37 +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
Michael Jerris 9db9fae8a2 Fix includes on spidermonkey modules for windows builds to point to the new in-tree locations.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 21:02:16 +00:00
Michael Jerris f210c27f43 add libsndifle 1.0.17 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 19:08:07 +00:00
Michael Jerris 2506451f8a move windows build to use the in tree speex
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 18:27:35 +00:00
Michael Jerris dced381e66 add speex 1.2beta1 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 18:13:27 +00:00
Michael Jerris 83f4a9dc2f add iksemel to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 15:45:14 +00:00
Anthony Minessale ae2aed9dff fix dialplan stack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:49:26 +00:00
Michael Jerris 5626cdd351 add curl 7.16.0 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 02:08:00 +00:00
Anthony Minessale a97672afa9 picky
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-20 00:53:13 +00:00
Anthony Minessale e594105972 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 20:24:07 +00:00
Michael Jerris f82b80b57c tweak ifdef for _MSC_VER instead of WIN32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 19:41:07 +00:00
Brian West d5acc6493c ctl-d crap (i still would not recommend doing it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 19:15:13 +00:00
Michael Jerris 2accfa888d used potentially uninitialized variable.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:54:06 +00:00
Anthony Minessale fed61140a2 xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3725 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:45:14 +00:00
Anthony Minessale 87bbe09645 xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:24:22 +00:00
Anthony Minessale a56e221e70 xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 18:04:07 +00:00
Anthony Minessale 375f1b38fd xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 17:51:36 +00:00
Anthony Minessale 55d0882f90 xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3720 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 17:48:50 +00:00
Anthony Minessale fc85d8aa21 xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 17:29:33 +00:00
Michael Jerris 5b6c0b97b6 cast, bit-field will always be within the boundaries of (switch_payload_t)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 14:28:41 +00:00
Anthony Minessale 81452c2679 autodroolz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:41:20 +00:00
Anthony Minessale c40aa9eec4 add break
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 21:40:04 +00:00
Brian West 5cad11b9c4 make it more obvious
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3700 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 20:08:45 +00:00
Anthony Minessale aeeaa8b3a8 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 18:31:38 +00:00
Brian West b9245b3fe4 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3696 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 18:10:31 +00:00
Michael Jerris 855c7b9a77 char * -> const char *
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3691 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 04:32:50 +00:00
Anthony Minessale d7400bf319 build changed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 00:48:34 +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 6bc48b7070 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3681 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-16 23:22:45 +00:00
Anthony Minessale 487cb888d0 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-16 22:47:41 +00:00
Anthony Minessale 3137cee530 fix printf macros
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3678 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-16 22:20:14 +00:00
Anthony Minessale 218b495bb3 fix probe presence stuff on conference, do a make sure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-16 03:00:56 +00:00
Anthony Minessale 095cb4b144 mirror fmtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 18:55:00 +00:00
Anthony Minessale 6e740d7d9d fix mem issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 18:02:54 +00:00
Anthony Minessale ae9c58f1dd make ilbc static
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:41:56 +00:00
Michael Jerris cb77ea07a6 typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3672 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:25:17 +00:00
Anthony Minessale 44e41159a0 fix makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:24:42 +00:00
Anthony Minessale d06a2c7e0a avoid potential div by zero
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 17:01:01 +00:00
Michael Jerris 44985f730b solaris build tweak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 15:33:43 +00:00
Anthony Minessale 8ccdcce193 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-15 03:07:44 +00:00
Anthony Minessale d48c40a350 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 23:01:07 +00:00
Anthony Minessale 66c0da3c0f cepstral issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 22:48:32 +00:00
Anthony Minessale 5f7de34604 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 21:18:20 +00:00
Anthony Minessale 2096e491a5 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 21:16:48 +00:00
Anthony Minessale 7c170893e4 add some events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 17:58:17 +00:00
Anthony Minessale 809284e703 add some events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 17:54:07 +00:00
Anthony Minessale ba6fb352a4 rm extra \n
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 15:48:25 +00:00
Anthony Minessale 169348bd70 add auth to xml_curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 15:08:23 +00:00
Anthony Minessale 9aab10e820 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 02:35:39 +00:00
Anthony Minessale 6a25dae421 mutiple transfers in conf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 02:02:04 +00:00
Anthony Minessale 1d53a51f9d let scripts continue to run after calls end. All session members will return false once the call is dead (not these 2 funcs)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 01:25:59 +00:00
Anthony Minessale ed76905326 let scripts continue to run after calls end. All session members will return false once the call is dead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-14 01:23:03 +00:00
Anthony Minessale 0a7b7ce3b0 WIP
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-13 22:58:32 +00:00
Anthony Minessale 10b1bd4a79 improve nat support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-13 22:18:27 +00:00
Anthony Minessale fcc8fef493 reset autoadj on reinvite
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-13 21:28:01 +00:00
Anthony Minessale 1551fc62fe fix authed inboud reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-13 20:10:00 +00:00
Anthony Minessale 322ecbbb9b tweak to jingle
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3624 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 17:44:59 +00:00
Anthony Minessale e3e3730cfa optimize
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-12 01:14:07 +00:00
Anthony Minessale 7ba8a350af doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-11 17:52:53 +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
Michael Jerris ea20e92e59 actually add the application. (thanks knhor)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-10 22:19:22 +00:00
Michael Jerris 56b475839e mod_xml_curl windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3593 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-10 08:07:20 +00:00
Anthony Minessale 01ddfdcba5 separate xml gateway code from mod_xml_rpc into it's own mod_xml_curl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-10 02:02:30 +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 d16297cc46 optimizations for conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 17:34:30 +00:00
Michael Jerris 660159dff1 add extra input checking for valid input on some api's and functions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 16:31:58 +00:00
Anthony Minessale ed298ed2db make the 'field' col expand vars and funcs the same way as the runtime so they are uniform
${variable}
$function(arg)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 15:15:54 +00:00
Anthony Minessale e7ca2cad19 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3576 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-08 04:08:47 +00:00
Anthony Minessale 6d50b0c7b5 improve gateway stuff and minor tweak to event serialize
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3570 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 22:56:17 +00:00
Michael Jerris e1dca08b03 change rpid to default to privacy=off instead of no.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 20:10:21 +00:00
Michael Jerris b1f298cf45 properly set rpid screen=
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 19:34:17 +00:00
Anthony Minessale efd277768f where did the read lock go in del_member
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 18:16:29 +00:00
Anthony Minessale 6fb36fcb2c lets send the event about the conference before we free the pool mmmkay
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3566 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 18:02:35 +00:00
Michael Jerris 8b87814097 Updated mod_cdr to match changes in core to switch_channel_t, added in some new API commands, added new functionality (depends on a define and patching apr_queue.c/h) changes merged from mishehu branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3564 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 04:15:38 +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 20bc2fde18 come down from the acid trip from the last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3561 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-07 00:36:00 +00:00
Anthony Minessale d48e3bafa8 let calls live on when nobody answers in mod_bridgecall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3560 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 21:37:29 +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
Anthony Minessale 9914dd71f5 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 17:19:07 +00:00
Anthony Minessale f7bcbb7216 avoiding nulls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3557 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 16:38:41 +00:00
Michael Jerris 500452fdc5 change function name switch_ivr_menu_stack_free
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 15:17:16 +00:00
Michael Jerris c8cdf81f1e make build again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 14:16:09 +00:00
Michael Jerris 07c3c5eda0 Fixes/tweaks to conference from Neal Horman
1. 3 retries for pin entry
2. don't require pin entry for outbound calls 
3. allow outbound calls to enter the conference when locked

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-06 07:21:12 +00:00
Anthony Minessale efa104e868 answer tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 23:08:14 +00:00
Michael Jerris efa2322670 initial bits of conference control changes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 22:58:26 +00:00
Michael Jerris aa926a5b86 cleanups in mod_conference from Neal Horman.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3547 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 22:28:30 +00:00
Anthony Minessale 906adea94d feeling lucky part 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 21:26:26 +00:00
Anthony Minessale 8fd300e992 feeling lucky
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3544 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 21:10:33 +00:00
Michael Jerris 2c4cd71f95 comment this out in the sample to avoid support issues when people use the default config.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3543 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 18:58:47 +00:00
Michael Jerris 99399ca28c don't clobber the ldflags
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-05 02:40:14 +00:00
Michael Jerris 52781647c7 initial work on mod_wanpipe for windows. This does not work yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3536 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 22:25:31 +00:00
Anthony Minessale e7d0fe5a63 update wanpipe
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 20:51:16 +00:00
Anthony Minessale c1553f1ca2 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 18:40:31 +00:00
Anthony Minessale 4b52830415 move include above declarations
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3533 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 16:18:39 +00:00
Anthony Minessale 2b1572c9c1 remove patch line that doesn't exist
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3532 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 15:53:57 +00:00
Michael Jerris b616b6ec2a add ivr application that uses the switch_ivr_menu functions, from Neal Horman.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3528 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-04 05:50:41 +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 176c3731ca put presence tags back
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-03 03:19:35 +00:00
Anthony Minessale 3f2ebf479d try adding the gc code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3515 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-02 05:40:58 +00:00
Anthony Minessale af5336563a add odbc support to javascript
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-02 02:41:24 +00:00
Anthony Minessale 81ee9b74d1 codec_string channel_var sets per-call codecs on outbound calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3511 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 21:24:54 +00:00
Michael Jerris 07a6c2e21d move email to etpan, cleanup the new stubs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 19:16:46 +00:00
Anthony Minessale 12ebe76bfe add some vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 18:27:45 +00:00
Michael Jerris c8b129df56 initial stubs for odbc and libetpan modules for spidermonkey. These do not do anything yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 17:59:58 +00:00
Anthony Minessale 5969fe801b prevent double load of modules
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 16:08:56 +00:00
Anthony Minessale b1c5e9e55b dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 16:00:16 +00:00
Anthony Minessale d138ed71b7 adjustments to the core do a make sure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 15:26:37 +00:00
Michael Jerris 92bd5358d0 fix mod_enum on windows, fix logic error in free function causing operations on freed memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-01 06:12:07 +00:00
Michael Jerris fb447028bc mod_enum doesn't crash windows now, still a bit to get it to work right.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 23:47:30 +00:00
Michael Jerris fadc1ccebe win32 build for mod_enum/libudns. Please note, this builds but still DOES NOT work on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3499 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 23:33:37 +00:00
Michael Jerris 1f8b1ee421 cast tweak to make compiler happy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:57:16 +00:00
Michael Jerris 693c80fb01 update to sofia release 1.12.4, many fixes including fix for assert(sip) on response to invite after an outbound register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:56:56 +00:00
Anthony Minessale 8c67ef2c5d mod_enum
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3495 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-30 22:02:49 +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
Michael Jerris 50d87f2c78 more ani2 -> aniii changes. Note, if you have mysql tables setup, you may need to alter them
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 14:32:11 +00:00
Paul Tinsley ea19c0e980 No reason to consider % dangerous twice...
Also i retract my pcre statement from before, i doubt a perl pack and hex call are going to work in pcre.  The regex should give plenty of idea what you need to do in your language of choice though, thats the point :)


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-29 05:46:12 +00:00
Paul Tinsley 0c1e83a43f Fix for event serialization, multi-ilne variables or crazy characters in a line could cause parsing errors in consumers of serialized events.
All values are now url encoded to ensure they don't have "dangerous" characters in them.  make sure you url_decode in your language of choice when consuming events in plain format from the event socket.

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



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


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Anthony Minessale 361dc67be2 no_media/ringback tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 21:52:38 +00:00
Anthony Minessale c08e943e44 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 17:12:40 +00:00
Anthony Minessale dd1f941744 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-26 20:06:04 +00:00
Anthony Minessale 57dd6da1fe add sip_authorized variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-25 16:52:35 +00:00
Anthony Minessale 2580c41f82 add vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-25 16:35:56 +00:00
Michael Jerris 757d26b382 use LF, not CRLF
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-24 15:44:10 +00:00
Michael Jerris 63aae494ac add "log" application to print log messages From Mike Murdock.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-24 15:43:46 +00:00
Anthony Minessale 74dee5f6ec update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:44:20 +00:00
Anthony Minessale fd16c8f245 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:42:21 +00:00
Anthony Minessale 5869b86676 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:32:28 +00:00
Anthony Minessale 251d8c45b4 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-23 19:13:54 +00:00
Anthony Minessale 3a7a5295af update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-22 17:48:53 +00:00
Anthony Minessale 69197e82df update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 19:30:39 +00:00
Anthony Minessale 6c0b467d75 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3432 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 19:01:54 +00:00
Anthony Minessale c7636b5f71 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 15:43:55 +00:00
Anthony Minessale 097d4a66f0 send 180 when there is no ringback specified on forked calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-21 00:29:51 +00:00
Michael Jerris cb24948735 update to new sofia snapshot. Fixes a memory leak on invite, a timer bug, and several other issues as follows:
Thu Nov 16 07:23:30 Eastern Standard Time 2006  Pekka.Pessi@nokia.com
  * nta.c: setting the local sequence number of nta_leg_t only when first reques
t is sent.

  Application can now set the initial value of CSeq either in nta_leg_create()
  or in nta_outgoing_*create() (or nta_msg_request_complete()).

  * nua_session.c: fixed session timer negotiation when UAS does refreshing with
 INVITEs

  The session-expires header had "uac" even when uac did not support timer.
  The UAS failed to send re-INVITEs.

  Thanks for Chung Pak Lai for reporting this problem.

  * bnf: added host_cmp().

  * outbound.c: using host_cmp() to check if Via host and received parameter dif
fer

  Bug reported by Marc Blanchet.

  * nua_session.c: fixed leak in incomin INVITE processing.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 21:54:19 +00:00
Anthony Minessale fdd912f714 fix memory leak, don't need su_home_init after su_home new, and use su_home_unref instead of su_home_deinit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3424 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 21:45:00 +00:00
Anthony Minessale b2bc13dc7e Add signal handlers for SIGIO and SIGPOLL
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 21:43:44 +00:00
Michael Jerris 2f8197b38a disable registration probe and options keep-alive for now as there is a bug in the implementation of this on the sofia side, and it causes the registration to never happen, and for it to spin re-registering out of control forever in some situations with UA's that send 404's to OPTIONS packets, or when behind nat on either side. This will get fixed in sofia, then become a configurable option on our side.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 05:26:20 +00:00
Anthony Minessale 32e293d67f ampersand was being used to indicate a function and a double call change it to carrot ^ for functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-20 02:01:21 +00:00
Anthony Minessale 3a90756886 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:30:17 +00:00
Anthony Minessale 02ca948e7a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:08:58 +00:00
Anthony Minessale 24456954f7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 20:08:16 +00:00
Anthony Minessale da2397d006 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 19:51:40 +00:00
Anthony Minessale 9f9abf2ea1 stackable dialplans
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:21:41 +00:00
Michael Jerris 3a57946bea parentheses for proper cast.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:11:07 +00:00
Anthony Minessale dcc6c5ef82 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:10 +00:00
Michael Jerris 4d450eba16 code before declaration.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:09:04 +00:00
Anthony Minessale d7baa16132 Ringback (sponsored by Front Logic)
This addition lets you set artifical ringback on a channel
that is waiting for an originated call to be answered.

the syntax is 

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

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


syntax of teletone scripts

LEGEND:

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

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

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

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

EXAMPLES

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

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

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

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

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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-19 01:05:06 +00:00
Michael Jerris 814fefdfba check for null qrealm too.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:44:09 +00:00
Michael Jerris b0dde8deb9 need to add to the pointer, not the pointee
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:37:25 +00:00
Michael Jerris 4f2824e371 need to free the head pointer of malloc'd memory (form anthm's working copy)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 16:35:03 +00:00
Michael Jerris 9687f37f92 catch up with api, add option to switch_core_destroy call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-18 06:43:37 +00:00
Anthony Minessale 6dd370b007 reg realm stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 22:13:26 +00:00
Anthony Minessale 5af884576c return 404 when you cant find a user
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 21:57:47 +00:00
Anthony Minessale e2d6484493 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 18:22:32 +00:00
Anthony Minessale 715a6ac9ab update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3393 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-17 00:13:36 +00:00
Anthony Minessale 7fc62a3ff8 ignore options reply (nevermind)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 22:30:19 +00:00
Anthony Minessale 57515855fd ignore options reply
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 22:16:30 +00:00
Anthony Minessale 251453e254 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 21:20:00 +00:00
Anthony Minessale 89989bc34f vg mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 19:43:25 +00:00
Michael Jerris 7409f414f5 logic fix on rtp_common_read on a not ready session, init bytes to 0 so the checks outside of the while loop work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 18:48:53 +00:00
Anthony Minessale 9415cdcacb update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 16:10:39 +00:00
Anthony Minessale 594ccf8bb8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-16 15:50:17 +00:00
Anthony Minessale 6013035a6c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 20:21:29 +00:00
Michael Jerris ee4118ab86 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3378 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:59:40 +00:00
Anthony Minessale f8d3093f5c hack to fix udp sockets
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 03:17:28 +00:00
Anthony Minessale dd824bbf81 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-15 00:40:45 +00:00
Anthony Minessale 0f95796d07 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3371 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 19:51:29 +00:00
Anthony Minessale d31a1b25fe try to deal with contact bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 18:12:17 +00:00
Anthony Minessale 81ff111339 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 17:41:35 +00:00
Michael Jerris f3ffaff015 merge mod_python fixes from Johny Kadarisman <jkr888 at gmail.com>. mod_python actually works now, please report problems.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 06:13:04 +00:00
Michael Jerris 7ee6fcecd2 remove debugging message.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-14 06:08:49 +00:00
Anthony Minessale 534480be37 fix contact for snob phones
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 21:17:57 +00:00
Michael Jerris 73304d0ca8 move to sofia snapshot 1.12.3.10. This adds nua_i_mehtod support to allow receipt of non-standard methods as well as a number of other bugfixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 19:13:56 +00:00
Michael Jerris 04cec4b4e8 dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3345 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-13 17:41:45 +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 bfb6127d57 try it on 10 boxes and you are bound to find one that still complains about the same code yay for gcc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 00:42:51 +00:00
Anthony Minessale ddcb03c042 dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-12 00:40:00 +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 c834ba6a71 let's make sure realloc works
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3316 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 19:40:41 +00:00
Anthony Minessale 68bab16e37 make event_serialize dynamic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 19:32:45 +00:00
Anthony Minessale eb1bafe567 dox
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 17:36:44 +00:00
Michael Jerris 4fde6dd0c8 windows build for new spidermonkey modules.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-11 06:06:18 +00:00
Anthony Minessale 4e1d518c0e spidermonkey has it's own loadable modules now good luck
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 21:49:57 +00:00
Michael Jerris 964aec990c make logger handle a bit more bad input.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:30:02 +00:00
Michael Jerris 2a645dbc6c fix segfault when no filename is available to log.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 16:04:22 +00:00
Anthony Minessale 18998f3382 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 15:51:40 +00:00
Anthony Minessale bc3aceaf78 udpdate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3301 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 08:28:16 +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 964e2e9886 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 01:40:22 +00:00
Anthony Minessale 351480b99b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-10 00:01:22 +00:00
Anthony Minessale c85078efc9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 19:33:49 +00:00
Michael Jerris e061df2198 work around sofia bug where you need to set contact using tag on response to invite after you have done an outbound reg. This still needs to be fixed right in the sofia lib.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 17:19:15 +00:00
Anthony Minessale f727b16cb5 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 16:26:12 +00:00
Michael Jerris 855b312ae6 Initialize. Was not set in some codepaths.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 16:01:47 +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 b942d8e044 change resample quality
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:36:03 +00:00
Anthony Minessale 7872f795ea swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:34:42 +00:00
Anthony Minessale 8b6be74043 swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:33:30 +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
Brian West a3277badcd fix g722 with help from tony. Thanks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-08 21:33:03 +00:00
Michael Jerris 88a53a6b44 Fix segfault on registrations when we are not challenged for aut. can't match scheme and realm if there isn't one.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-08 19:12:28 +00:00
Michael Jerris 2824afcd64 parse params from the user directory properly on a register.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-06 16:35:23 +00:00
Michael Jerris 951186898c Comments and cleanup, clarify some variable names.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-05 19:41:03 +00:00
Michael Jerris e7dae8a9d9 add missing Member-ID header to a couple events, merged from knhor's branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-05 19:32:32 +00:00
Anthony Minessale 9caae3960c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-01 23:26:00 +00:00
Anthony Minessale 278a69a0e4 someone said 240k was a cool stack size
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:57:59 +00:00
Michael Jerris 0bf221111d msvc doesn't like = {}, and is a bit pickier on unreachable code.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3247 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:46:42 +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 1e4ad3c5ae Update to newest sofia snapshot. This includes many fixes mostly for sdp negotiation.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 20:48:16 +00:00
Michael Jerris 7a36a5d969 Update to new sofia tarball to tweak sdp behavior to use the correct c line on re-invite.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:43:53 +00:00
Michael Jerris 3146d99422 use switch_payload_t for the rtp payload numbers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:42:40 +00:00
Michael Jerris 051b623bb0 formatting whitespace changes from knhor branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:04:47 +00:00
Anthony Minessale d1fe31d8c3 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3237 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 20:54:24 +00:00
Anthony Minessale a4a79bcff1 let sofia have here way
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3236 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 15:27:05 +00:00
Michael Jerris 461295664f formatting and comments. More to come.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 01:36:51 +00:00
Anthony Minessale 003fb84e7c doh, thx CtRiX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 18:15:53 +00:00
Anthony Minessale 718ace8b83 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 17:57:55 +00:00
Anthony Minessale 082a5a03c0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 15:36:23 +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
Michael Jerris 18f51bee7b update to new sofia snapshot. This fixes several race conditions, ref count problems, and double frees that were happening in the sofia library and fixes segfaults under heavy load and a segfault on cancel when using 100rel while awaiting a prack. Sofia should be much more stable now, please beat it up and let us know.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 23:20:10 +00:00
Anthony Minessale 0532a56c7e sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 15:20:14 +00:00
Michael Jerris a203d22fe2 wrong version, can't make up my mind.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 15:05:41 +00:00
Michael Jerris 5432fbab75 wrong version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 14:51:47 +00:00
Anthony Minessale cbdcbcf87a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 20:02:57 +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 da76d9327b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 16:13:48 +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 08b2207573 make sofia a bit more stable after an outbound register. Please note, we are working on some issues in sofia, revisions after last weekend are currently not considered stable under some conditions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 11:47:22 +00:00
Anthony Minessale b22e11c36a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 20:05:16 +00:00
Anthony Minessale 6a6c57f0f6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 18:49:34 +00:00
Michael Jerris ee086006d5 why malloc?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 18:00:14 +00:00
Anthony Minessale d58c1d05b9 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:59:50 +00:00
Michael Jerris ac6f80b95d only need realm on auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:00:57 +00:00
Anthony Minessale 305bc19458 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:00:23 +00:00
Anthony Minessale 3b72da4213 add pause in tts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 16:17:54 +00:00
Anthony Minessale a592674795 sip signalling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 15:46:42 +00:00
Anthony Minessale 61f7148941 tidy up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 14:01:03 +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
Michael Jerris 1f2d19e28e update more sip cause code to qsig cause code mappings from rfc 4497 sections 8.4.1 and 8.4.4
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 03:45:20 +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
Michael Jerris 0fb5729590 add the start of DTMF INFO support from Paul Tinsley. thanks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 22:11:25 +00:00
Anthony Minessale 521e3b0a55 figure out when we are on hold
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 21:31:39 +00:00
Anthony Minessale 10ead46ffd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:50:52 +00:00
Anthony Minessale bfab0a6efc minor tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 18:23:23 +00:00
Anthony Minessale 04546b6b93 fix sillyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-24 01:29:04 +00:00
Anthony Minessale 2d3ab6b5d8 let you pick event type
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 22:32:50 +00:00
Michael Jerris 39df1481c2 move to new sofia tarball for windows build, this new tarball includes fix for build w/o glib on *nix, fix for segfault on cancel during early media, and proper implementation of handing subscribe and publish requests up to the application (removes our private hacks to enable this behavior).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:39:48 +00:00
Anthony Minessale b30eb82b84 new sofia rollout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 20:28:55 +00:00
Anthony Minessale 776919d5fd tweeks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3164 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-23 17:34:03 +00:00
Michael Jerris af23ce4853 whitespace cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:44:41 +00:00
Michael Jerris 1cd8709762 add "all" member target for vol and energy commands, fix init of len for record.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 17:07:28 +00:00
Michael Jerris 90fe19867c initialize to null so we can check for null before we free.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:23 +00:00
Michael Jerris 49a130962c code before declaration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3155 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 15:46:01 +00:00
Anthony Minessale aba9c77c35 your run-of-the mill nightmarish attempt at normalizing not one crazy protocol but many....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3151 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-22 04:37:19 +00:00
Michael Jerris 1bc0db0db6 clarify in mod_skel. (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:02:36 +00:00
Michael Jerris d0f877a32f Make record only end the application, and not hangup the call on * (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:58 +00:00
Michael Jerris dd5d73742a add ability to specify member "all" on conference api commands taking a member (thanks knhor).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 23:01:17 +00:00
Anthony Minessale f4b25c70b4 add viles patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 22:54:55 +00:00
Anthony Minessale b2f9fae6d1 conference recording
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 21:19:40 +00:00
Anthony Minessale 1f29ce2749 add some more nifty stuff and fix a bug or 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 04:58:15 +00:00
Anthony Minessale 7e61bcf9bb fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3133 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 03:19:48 +00:00
Michael Jerris beb4922646 fix typo, thanks knhor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:33:23 +00:00
Anthony Minessale 59f3204d61 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-21 01:20:46 +00:00
Anthony Minessale a67dc0aab6 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:26:06 +00:00
Anthony Minessale 343fd5cea5 refactor the presence stuff and add it to mod_conference
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 22:11:26 +00:00
Anthony Minessale db2753b78a this ascii 20 ' ' sponsored by Matt Klein aka Vile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 13:32:44 +00:00
Anthony Minessale 4943c5939f another step closer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3119 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:55:30 +00:00
Anthony Minessale 747ab41f78 bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:44:58 +00:00
Anthony Minessale 3a32d9e53c Presence and Chat Gateway Code
This is some brand new stuff to gateway chat/presence/audio from one protocol to another
So far it only works between google/jingle and SIP

All I had to test the SIP end was X-Lite and Eyebeam and GoogleTalk on the jingle end.

With this setup registered X-Lite's can chat with each other and call each other 
as well as X-Lite to GoogleTalk and GoogleTalk to X-Lite audio calls.

Chat May also be done between X-Lite and jabber 

You'll also need a jabber server configured for component login so you can interface.
We have only tested with jabberd2 so far.

Configure DNS so srv records for jabber for your subdomain (fs.mydomain.com in the example)
so the jabber records are pointed at your jabber server.

RELEVANT CONFIGS

<!-- Brian has no jingle support so send calls to him over to his iax url -->
<extension name="bkw">
  <condition field="destination_number" expression="^jingle\+brian@agents.cylynx.com$">
    <action application="bridge" data="iax/guest@brianwest.homeunix.org/9184290404"/>
  </condition>
</extension>

<!-- Assumption is made here that both sip and jingle have the same profile/domain name as documented below -->

<extension name="jingle2sip">
  <condition field="source" expression="mod_dingaling"/>
  <condition field="destination_number" expression="^sip\+([^\@]+)\@(.*)$">
    <action application="bridge" data="sofia/$2/$1%$2"/>
  </condition>
</extension>

<extension name="sip2jingle">
  <condition field="source" expression="mod_sofia"/>
  <condition field="destination_number" expression="^jingle\+([^\@]+)\@(.*)$">
    <action application="bridge" data="dingaling/sip+${sip_fromuser}@${sip_fromhost}/$1@$2"/>
  </condition>
</extension>


<configuration name="sofia.conf" description="sofia Endpoint">
  <global_settings>
    <param name="log-level" value="0"/>
  </global_settings>

  <profiles>
    <profile name="fs.mydomain.com">
      <registrations/>
      <settings>
	<param name="debug" value="1"/>
	<param name="rfc2833-pt" value="101"/>
	<param name="sip-port" value="5060"/>
	<param name="dialplan" value="XML"/>
	<param name="dtmf-duration" value="100"/>
	<param name="codec-prefs" value="PCMU"/>
	<param name="codec-ms" value="20"/>
	<param name="accept-blind-reg" value="true"/>
	<param name="manage-presence" value="true"/>
	<!--<param name="full-id-in-dialplan" value="true"/>-->
	<!--<param name="auth-calls" value="true"/>-->
	<!--<param name="auth-all-packets" value="true"/>-->
	<param name="use-rtp-timer" value="true"/>
	<param name="rtp-timer-name" value="soft"/>
	<param name="rtp-ip" value="100.200.100.200"/>
	<param name="sip-ip" value="fs.mydomain.com"/>
      </settings>
    </profile>
  </profiles>

</configuration>


<configuration name="dingaling.conf" description="XMPP Jingle Endpoint">
  <settings>
    <param name="debug" value="0"/>
    <param name="codec-prefs" value="PCMU"/>
  </settings>

  <profile type="component">
    <param name="name" value="fs.mydomain.com"/>
    <param name="password" value="secret"/>
    <param name="dialplan" value="XML"/>
    <param name="rtp-ip" value="208.64.200.42"/>
    <param name="server" value="jabber.freeswitch.org:5347"/>
    <!-- disable to trade async for more calls -->
    <param name="use-rtp-timer" value="true"/>
    <param name="exten" value="_auto_"/>
    <!--<param name="vad" value="both"/>-->
  </profile>

</configuration>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 06:17:00 +00:00
Michael Jerris e70a025a88 fix segfault?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 05:45:52 +00:00
Paul Tinsley eaf4409b45 Fix for broken trunk commit, setting contact_str size to the size of sql variable it's stored in [contact VARCHAR(1024)] + 1 for the null.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-20 03:33:49 +00:00
Anthony Minessale b9a215313d update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 19:39:18 +00:00
Anthony Minessale ce984a90fe present from tony
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3111 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 19:09:51 +00:00
Anthony Minessale 858cc7fa19 present from pdt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3110 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 18:52:46 +00:00
Michael Jerris e6b81ff14a remove useless comment.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 17:09:48 +00:00
Michael Jerris 87aaab80d5 Get Alert-Info from inbound invite and set to the channel variable so that it can be passed through to the other end of the call if it is a sip call.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3108 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 17:04:58 +00:00
Michael Jerris c1f346b99e change to switch_mprintf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:42:41 +00:00
Anthony Minessale 12243c194e tidy up, note yesterday's propagate_vars was changed to export_vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:33:54 +00:00
Michael Jerris 9d52ec2ae1 add Alert-Info: Thanks Ken.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 16:10:24 +00:00
Anthony Minessale 99e22d69bd refactor earlier junk from this eve and add ken's propagate variable thing
set this sometime before an origination (bridge etc).

<action application="set" data="propagate_vars=my_cool_var1,my_cool_var2,foo,bar"/>

and they should be cloned over to the new channel when it's substantiated



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 07:13:34 +00:00
Michael Jerris 80f91a5824 add xmlcdr to windows build of mod_cdr.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 06:30:15 +00:00
Michael Jerris 25273b6d9d add XmlCDR (like pddcdr, but xml format). Thanks ken for another great contribution.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 03:51:46 +00:00
Michael Jerris 3eb8ebd45c fix windows build from recent changes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:28:29 +00:00
Michael Jerris f64ae18ac6 add endian defines on MSVC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3088 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:21:17 +00:00
Anthony Minessale 930fc4dee4 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 00:26:00 +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
Michael Jerris 56c9608c4d finish ani-ii name change.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-18 18:29:29 +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
Michael Jerris 3b47c3e85c raise warning levels.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 03:45:51 +00:00
Michael Jerris 782725241f typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3068 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-17 03:41:05 +00:00
Anthony Minessale b01828b6a1 let * be end playback not hangup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3065 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 20:24:11 +00:00
Anthony Minessale 0e2a7c122c find missing ret = and put them back
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 19:56:42 +00:00
Michael Jerris 786cfc4557 Make error message more descriptive, and less antagonistic.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 16:06:44 +00:00
Michael Jerris b2ac3d1bdc add privacy application, thanks ken.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 15:04:54 +00:00
Anthony Minessale 438cf0327e rpid for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3058 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-16 04:39:00 +00:00
Michael Jerris d6f7158094 cast atoi returns.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:24:00 +00:00
Michael Jerris 4c795c3d1c update to new tarball for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:21:40 +00:00
Michael Jerris 7311675768 add tport_log redirect, fix typo.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3053 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:20:49 +00:00
Anthony Minessale 277ce65dca work in progress should not seem much different
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-15 05:10:34 +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 4c386b1959 dont write nulls in event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3045 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-13 14:32:38 +00:00
Anthony Minessale a2b11dd93d in the name of interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 20:37:08 +00:00
Anthony Minessale efd246babd add auto-reply option to dingaling to allow the gateway bot to auto-reply to chat msgs recieved outside the context of a call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3041 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 14:06:09 +00:00
Anthony Minessale e1125f336c udpate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-12 02:26:20 +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
Michael Jerris dfb9845d85 making the world a little less ugly, one commit at a time.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 12:00:22 +00:00
Anthony Minessale 691a8ac558 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 03:19:59 +00:00
Anthony Minessale ba984f35d7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3020 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 02:16:29 +00:00
Anthony Minessale b1b18faa04 improve dingaling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-10 00:11:41 +00:00
Anthony Minessale ed15d399a0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 23:00:11 +00:00
Anthony Minessale 672842361b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 22:46:51 +00:00
Michael Jerris 514a73bcb1 we don't need glib so disable it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 21:53:39 +00:00
Michael Jerris 8651542608 force sdp to allways be in 200 OK regardless of 100rel and SDP O/A state. Some devices demand it (Cisco 5300 at least).
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:40:46 +00:00
Michael Jerris 21bb1bd2b0 update to new sofia tarball.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:13:12 +00:00
Michael Jerris 42f8237ed1 fix checks in new logger function.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3013 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 20:04:38 +00:00
Anthony Minessale ab65dab071 update sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 19:30:54 +00:00
Anthony Minessale 8b4e110053 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3011 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:46:23 +00:00
Anthony Minessale 5efcd0d3ee update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3010 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:12:00 +00:00
Anthony Minessale 071e720f87 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 17:11:39 +00:00
Anthony Minessale dcdc0cdaac bug pointed out by stkn, thanks\!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-09 14:47:36 +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
Anthony Minessale d44c204f5b fix goofy 183 madness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 15:51:10 +00:00
Michael Jerris 3667da49b6 add description and syntax to interface database, add description and syntax headers to events for interface add for api and application interface, add appropriate output to show and help commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:35:27 +00:00
Michael Jerris e9af9e02fe make help an api command, still need to add syntax and descriptions to the db so we can output those as well.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3002 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 08:09:57 +00:00
Michael Jerris c822f94125 add syntax to api structures, use them for usage returns, do more checking on valid usage and cleanup some output of api commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 07:11:42 +00:00
Michael Jerris 2b53e80e34 add syntax field to the api interface struct.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 05:04:34 +00:00
Michael Jerris dd3cd99301 add more usage checking and return usage information on invalid usage of api commands.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:40:15 +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
Michael Jerris d95fdb0ccc type tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2997 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-08 04:37:03 +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
Michael Jerris b9a350a40d update windows build to new sofia tarball
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 20:09:46 +00:00
Anthony Minessale 741b8329b9 Modifying the behaviour of the dialplan engine
the 'data' field in action tags may now refer to variables and api functions
to be expanded at runtime.

Syntax:

$varname
${varname}
&func_name(func args)


Exception:
variables that are numeric are still expanded at dialplan compile time based on the regex eg $1 $2 etc

Example:

<extension name="1000">
  <condition field="destination_number" expression="^(1000)$">
    <action appplication="my_route_app" data="$1"/>
    <action appplication="bridge" data="$destination"/>
  </condition>
</extension>

Here the $1 is ecaluated before the call begins setting it to 1000 based on the regex ^(1000)$
$destination is evaluated on the fly in execution once the my_route_app has run and has had a 
chance to set the variable 'destination' to the correct value.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 19:54:04 +00:00
Anthony Minessale 4ede7f7593 Update to new sofia snapshot, includes fixes for 100 on notify, and for sdp not in 200 after 183 when not using 100rel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-07 18:54:29 +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