Commit Graph

655 Commits

Author SHA1 Message Date
Anthony Minessale 5478d18747 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-21 20:14:53 +00:00
Anthony Minessale 5df397eba7 fix obscure race condition
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7311 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-21 17:14:43 +00:00
Stefan Knoblich c762af71b7 Ouput a second line with tls_url and (TLS) in sofia status for tls enabled profiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-19 01:28:36 +00:00
Stefan Knoblich 5607d762d7 Show TLS urls in sofia status profile output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7293 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-19 01:12:48 +00:00
Anthony Minessale 4181b2bc87 tls interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-17 17:37:49 +00:00
Anthony Minessale 65668e7e6a RFC4568 support, you don't need the cone of silence anymore...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 06:01:53 +00:00
Anthony Minessale 0dab70f084 put a 5 packet pause between digits so you can hear the spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-14 21:52:38 +00:00
Anthony Minessale becfca3704 put a 5 packet pause between digits so you can hear the spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-14 21:51:31 +00:00
Michael Jerris f1bca1a83a fix info send/receive
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-13 20:08:12 +00:00
Anthony Minessale f7b54e56fb tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-12 04:00:21 +00:00
Anthony Minessale 79dc86658b refactor some more rtp stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-11 04:23:09 +00:00
Anthony Minessale 143bed09a3 try to use clock_gettime to make sure we don't care if the system time changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-11 00:43:49 +00:00
Anthony Minessale 9246a0abbf fix shutdown issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-08 16:35:20 +00:00
Anthony Minessale b3992a6eee fix bypass_media mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7128 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 18:02:01 +00:00
Anthony Minessale b1977f2e36 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 22:17:26 +00:00
Anthony Minessale 50fc2ffa0d update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7097 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 16:20:39 +00:00
Anthony Minessale 69120105ee support crazy transfer crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7083 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-05 01:03:08 +00:00
Anthony Minessale 021ab87f2b fix MODENDP-66
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-03 23:42:15 +00:00
Anthony Minessale 1bbeb4f706 cross t's and dot i's
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7075 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-03 21:34:44 +00:00
Anthony Minessale 8fdf9a7ff1 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-03 00:50:53 +00:00
Anthony Minessale 9868741717 sip updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-26 22:33:46 +00:00
Michael Jerris 2ce02469fd MODENDP-60 (reject calls for no remaining forwards in core)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6975 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-24 19:23:36 +00:00
Anthony Minessale d14909d41d update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6971 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-24 18:26:39 +00:00
Anthony Minessale 2931fc9109 dtmf overhaul testers wanted
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 00:32:20 +00:00
Michael Jerris 2daba4e513 a little error handling cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6928 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-21 04:29:41 +00:00
Anthony Minessale 8433c7e088 fix FSCORE-74
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 21:42:00 +00:00
Anthony Minessale 36d84006eb add more code to free rtp ports
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6913 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 15:41:45 +00:00
Anthony Minessale ef3fde4ddf more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 02:55:36 +00:00
Anthony Minessale 5355075c60 blinking lights for xmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-18 01:12:50 +00:00
Brian West da8d9bc20f wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-15 00:39:53 +00:00
Michael Jerris 750af968ec cleanup, null checks. etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 04:01:29 +00:00
Michael Jerris 16b3b77869 typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 03:01:39 +00:00
Michael Jerris d8786f35fd sofia log-level control improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6728 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 02:42:00 +00:00
Anthony Minessale 65a045e1db more rate stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6721 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 00:43:59 +00:00
Michael Jerris 89cb84c4d7 use switch_assert macro instead of just assert.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6714 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 23:21:45 +00:00
Michael Jerris 54ec86f6ce use switch_snprintf instead of snprintf becuase in insures null termination of strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris 0bce79d34a reject with 6xx codes too, MODENDP-57.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 02:50:03 +00:00
Anthony Minessale 836f55ba33 misc changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 22:26:37 +00:00
Anthony Minessale 2cf93afc1b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6489 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 13:48:20 +00:00
Anthony Minessale b2fab2c84f add some vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-30 21:02:41 +00:00
Michael Jerris 34addf8d26 remove grouchy debug message.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6372 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-22 02:42:42 +00:00
Anthony Minessale 482beb9d7c fix FSCORE-62
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6370 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-21 17:07:41 +00:00
Anthony Minessale 92b80765e6 will it never end?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-21 00:56:41 +00:00
Michael Jerris 73a01a0f75 re-factor, reduce indentation in some function, whitespace and comment cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-20 01:44:07 +00:00
Anthony Minessale b54e340b3c omgwtf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-19 17:09:46 +00:00
Anthony Minessale a30c635e2a fix MODENDP-35
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 16:55:46 +00:00
Anthony Minessale 90e8bef62d fix syntax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-08 02:20:48 +00:00
Anthony Minessale 126e9380c6 add flush_inbound_reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-07 19:39:24 +00:00
Anthony Minessale 8a6d9b5d88 fix obscure bug in late neg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6157 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-03 00:46:23 +00:00
Michael Jerris 622a2733dc use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:28:26 +00:00
Anthony Minessale 10d7d619f6 make channel hangup with media_timeout cause when rtp timeout occurs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 13:08:45 +00:00
Michael Jerris ae790526e4 fix scope of endpoint module structures
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-29 18:10:06 +00:00
Anthony Minessale d7bbf0c3c6 rem double contact
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-25 21:07:44 +00:00
Anthony Minessale 4a5d575623 xfer stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-25 18:36:40 +00:00
Anthony Minessale a93ddbd212 presence crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-24 23:20:47 +00:00
Anthony Minessale 3c1de519da sip is stupid
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6041 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-24 00:06:33 +00:00
Anthony Minessale cf87d918cf add some goodies to sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 21:06:09 +00:00
Anthony Minessale f2c02d65ee fix sql
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 03:27:03 +00:00
Anthony Minessale b6b5356148 fix late neg codec change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5976 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 19:33:48 +00:00
Anthony Minessale 7c93a4e4eb experimental multiple registrations
in sofia conf
<param name="multiple-registrations" value="true"/>

in dialplan

<action application="bridge" data="$sofia_contact(mysofia_profile_name/user@regtodomain.com)"/>
or
<action application="bridge" data="$sofia_contact(mysofia_profile_name_same_as_regto_domain.com/user)"/>
or
<action application="bridge" data="$sofia_contact(user@mysofia_profile_name_same_as_regto_domain.com)"/>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 01:02:01 +00:00
Anthony Minessale ffb989e435 tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Anthony Minessale d33b5670f0 fix some races and alter core (do a full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Anthony Minessale c03b9f4887 initial blind crack at passing reinvites across no-media bridges
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5718 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 18:24:47 +00:00
Anthony Minessale 16f584ef47 add register-gateway variable to directory users to allow inbound reg to trigger an outbound one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5710 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-18 17:31:36 +00:00
Michael Jerris 7953a010f5 whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 18:45:35 +00:00
Michael Jerris 008777e95e add more modules to new mod loader macros/api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 07:15:53 +00:00
Anthony Minessale 8c188005a0 wtf was that?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-19 16:29:59 +00:00
Anthony Minessale 95f007586f stage 1 of wrecking ball (duck!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:40:06 +00:00
Michael Jerris 14608093b1 add new macros and approach to module loader.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 14:35:55 +00:00
Anthony Minessale 724de2b52d add selective challenge to sofia via reject app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 22:28:32 +00:00
Anthony Minessale db5ab42c12 Enact the 'No device left behind' act. All stupid sip params that only help broken things *MUST* be prefixed with NDLB-
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-29 14:59:03 +00:00
Anthony Minessale dd30ae97fa make contact: match the to: in 200OK for the sake of interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-21 21:44:35 +00:00
Anthony Minessale 614177acd9 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 23:50:38 +00:00
Michael Jerris 1dcf86fa65 defintion in the header file causes duplicate instances at link time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 15:53:42 +00:00
Michael Jerris 521eac756e create macro to define api command prototypes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:36:15 +00:00
Michael Jerris a4ff7e88da adding const qualifiers across the api as appropriate.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +00:00
Anthony Minessale 36acdb9f52 props and sofia fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-10 18:17:34 +00:00
Anthony Minessale c07224852c fix sofia register stuff (update to this one if you use gateways)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-10 16:15:07 +00:00
Anthony Minessale 2f6798fdb8 change some log levels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-09 19:30:41 +00:00
Anthony Minessale 9c77125eac improvement towards stable mod_sofia that can start/stop profiles (see i told ya this kind of thing is a slippery slope)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-03 01:55:25 +00:00
Anthony Minessale e402c54c1e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-02 23:32:45 +00:00
Brian West f8409fe0ac update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5071 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-02 19:37:40 +00:00
Anthony Minessale 970b124909 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-02 00:36:15 +00:00
Anthony Minessale a6a5dd0cd7 add mod_esf (extra sip functionality)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-01 21:21:35 +00:00
Anthony Minessale d99b4bb86f misc fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5053 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-01 16:12:02 +00:00
Anthony Minessale 578e2cd389 add srat stop reload and detail api command for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-01 15:22:57 +00:00
Anthony Minessale d79d33c72d fix some oversights from earlier sip patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-01 00:26:41 +00:00
Anthony Minessale 01f9b3f1c8 more changes to sofia to make better use of the directories
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-30 20:35:35 +00:00
Anthony Minessale ffb254ad49 either break everything or make it cooler ... ?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5036 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-29 01:16:49 +00:00
Anthony Minessale b7606ea4ea add reject app to do custom sip rejects
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4997 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 15:04:01 +00:00
Anthony Minessale 500a6c9ad3 change flow and name of new paramater
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-20 16:05:37 +00:00
Anthony Minessale a1725ad334 modest core framework for video stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-19 21:40:50 +00:00
Michael Jerris 1ab860da40 merge patch from http://jira.freeswitch.org/browse/SFSIP-11 . Please note, when registering to a UA that requires the from header to match the auth username, you must now use the new setting force-fromuser. See sample configuration file for more details. Thanks Marcel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4970 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-18 20:21:53 +00:00
Anthony Minessale 376d177b3c cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-17 18:53:18 +00:00
Anthony Minessale 4a88a732ef cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-17 14:44:22 +00:00
Anthony Minessale cf3c9b8889 </refactor>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4955 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-17 06:08:39 +00:00
Anthony Minessale f40f87ebca <refactor>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-16 16:53:30 +00:00
Anthony Minessale 98af688d7d fix shutdown
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 23:19:51 +00:00
Anthony Minessale eb2124ae32 refactor to avoid some potential issues with channels that are hungup instantly after being answered
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4926 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 22:15:58 +00:00
Anthony Minessale d2944fef15 fix rpid on gateways
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4907 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-10 02:25:29 +00:00
Anthony Minessale af4ac7adbc make invites use the same contact as the gateway when using a gateway to make calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 16:44:08 +00:00
Anthony Minessale 2b76e3e72f cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 19:54:25 +00:00
Anthony Minessale bba24931de make name more specific to avoid namespace bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 01:16:16 +00:00
Michael Jerris 41d9cf2989 breaking up is hard to do
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-31 19:01:33 +00:00
Anthony Minessale ad7a1b2e67 hold stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 22:13:19 +00:00
Anthony Minessale c15d7892c0 indent again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale debdfb1aab indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale 3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Anthony Minessale 6e2b76eb75 finishing touch on nomedia with mutiple bridges
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 15:21:42 +00:00
Anthony Minessale e6718b876c fix null pointer issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 15:15:01 +00:00
Michael Jerris 593030162b msvc build tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4706 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-21 02:48:47 +00:00
Anthony Minessale 24f15aa9ba rfc3551 sucks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4703 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 23:11:20 +00:00
Anthony Minessale a4cdac1d78 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 23:09:35 +00:00
Anthony Minessale 9ff33bd8fd update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4680 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 16:26:12 +00:00
Anthony Minessale f52c431c8e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 16:03:09 +00:00
Anthony Minessale 31656e019d retool the sofia outbound registration syntax and dialstring syntax for said registrations ***ATTENTION*** syntax has heavily changed and the former syntax removed completely
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 21:09:53 +00:00
Michael Jerris 0bab5fe86a dont return value on void function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 16:03:49 +00:00
Anthony Minessale ab74b1d307 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-19 15:01:38 +00:00
Brian West 2b3951f11c format string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 07:04:40 +00:00
Anthony Minessale 31a71a49b0 blind guess on 3pcc support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-15 18:46:16 +00:00
Anthony Minessale 2df583650f cleanup some stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 23:51:52 +00:00
Michael Jerris 42e78242a3 add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Anthony Minessale 2d78da120a avoid races in super high volume of no media calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:37:30 +00:00
Anthony Minessale 66b2dac75e send 503 reply on failed alloc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4491 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 17:38:58 +00:00
Anthony Minessale aaf747641a tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 01:15:54 +00:00
Michael Jerris 9d84542d39 windows build fix.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 22:58:16 +00:00
Anthony Minessale 5ccdfc78f0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4485 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 22:18:33 +00:00
Michael Jerris 0cbd3555b6 add some very basic stun support to ext-sip-ip. please consider this support as testing only, may change syntax or be removed in the future.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4484 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 20:05:09 +00:00
Michael Jerris 74717fcbd0 msvc build tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 16:43:16 +00:00
Anthony Minessale 5a166b4ba3 test patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 16:09:57 +00:00
Anthony Minessale 752a51915e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4479 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 02:52:31 +00:00
Michael Jerris cc0ea39446 fix msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4478 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-08 02:31:34 +00:00
Anthony Minessale 70db8abf67 update contd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4474 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 23:48:02 +00:00
Anthony Minessale 13c9b4779a wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4473 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 23:24:09 +00:00
Anthony Minessale e5251932fd you can't handle the truth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4472 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 22:30:29 +00:00
Anthony Minessale c8dfa63c82 update wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4470 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 21:21:42 +00:00
Anthony Minessale 3ba066029c a need a drink
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4469 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 20:23:14 +00:00
Anthony Minessale 7bae5bcfb9 wtf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 20:06:47 +00:00
Anthony Minessale e678896404 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 20:06:15 +00:00
Anthony Minessale 5131ee1cae add management interface and some rtp goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-07 18:34:22 +00:00
Anthony Minessale 8f0580cd73 now with rollover
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-06 01:19:41 +00:00
Anthony Minessale 1b5fe10277 change a few things to allow timers to generate timestamps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4452 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 20:53:54 +00:00
Michael Jerris 20fdbff0ba constification
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 06:56:13 +00:00
Michael Jerris 366b341be4 add a bit more null handling in mod_sofia.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-05 06:04:37 +00:00
Brian West bd6720df94 Please besure to do "make sure" this should fix the assert people were getting on ALL channel drivers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-03 21:02:02 +00:00
Michael Jerris 30e17bbb18 this appears to make more compilers happy.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 09:11:50 +00:00
Michael Jerris 9b43057b29 when using ext-sip-ip, bind to the internal address, but still have the external address in the contact and via headers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 01:44:36 +00:00
Michael Jerris efab82eb23 tokenizing is much better than stringizing any day. oh, and those quotes don't belong.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-02 00:36:05 +00:00
Anthony Minessale c612d4226b add patch to fix stun issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-01 16:11:08 +00:00
Anthony Minessale 3aa23ada21 move string to constant
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-28 15:48:17 +00:00
Michael Jerris 9c3d336223 more properly handle sdp c lines inside of the audio m line.Resolves jira bug MODENDP-2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-25 21:37:02 +00:00
Michael Jerris 20ffa32772 Detect proper telephone-event id to use. fix to http://jira.freeswitch.org/browse/MODENDP-4 . using pt.diff.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-25 21:00:26 +00:00
Michael Jerris 093dc6b4ef refactor of sip_i_invite. Much more error handling of different missing data on the inbound invite. Some minor changes in behavior. Chanvars are now not set for vars we don't have. the channel name will now include :port (the full uri as we create it from the data available), display name is now unknown not service if there is not one available. Added contact uri as a chan var like all the others, the channel name if there is no user portion of the from will not have a from part of service, it will have no user part or @. The contact will now be used for the channel name if there is no from header in the invite.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-25 16:53:17 +00:00
Anthony Minessale f69b1aefb6 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-23 20:03:30 +00:00
Anthony Minessale 6c0152ca2f try to pass 2833-pt across calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 21:46:32 +00:00
Brian West ddd613eefd change the override to header symbol from : to ^ (beware)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-21 03:37:17 +00:00
Anthony Minessale 9e8a2b3e07 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-20 17:50:50 +00:00
Michael Jerris 3f72839a65 constify switch_channel_set_variable and remove some incorrect casts in it's consumers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 00:56:16 +00:00
Anthony Minessale c78bd99d80 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-16 19:43:00 +00:00
Michael Jerris 604f7a0ed5 don't pass NUTAG_URL a display name.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 04:37:57 +00:00
Anthony Minessale 3cfc19fd4c fix codec neg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 22:14:32 +00:00
Michael Jerris 9dbba11035 more constification cleanups.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 19:15:20 +00:00
Michael Jerris 11a8218db0 potential format string exploits (warning: format not a string literal and no format arguments)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:45:10 +00:00
Michael Jerris 2cf3ad1c6f cleanups: duplicate declarations, shadowed global names, extra paramaters, and constifications.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 03:24:20 +00:00
Michael Jerris a7cf447f93 eliminate shadowing of function level variables (functionally equivalent but redundant in this case)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-14 02:56:31 +00:00
Michael Jerris 5694445ae2 potentially uninitialized variable.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4243 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 21:52:33 +00:00
Anthony Minessale a62d9fd951 lord of the rings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4230 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 15:47:15 +00:00
Anthony Minessale 9a870c5fb6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 14:58:06 +00:00
Michael Jerris 07d6f12018 use "%s" format specifier for uses of switch_event_add_header that just pass a string to avoid potential issues/exploits"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 04:43:49 +00:00
Anthony Minessale 07efd559d2 add ring ready flag to core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4221 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 02:32:10 +00:00
Anthony Minessale be118eb28a Sofia Behaviour Modification (please document)
1) This commit adds the ability to override the To: header so you
   can place an outbound SIP call to a paticular destination.

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

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

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

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


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

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

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

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

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




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 01:22:17 +00:00
Michael Jerris 400372666d add some better returns to invite failures.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4195 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 23:16:43 +00:00
Anthony Minessale 59d4d0b071 fix no_media mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-10 19:34:03 +00:00
Anthony Minessale f03226debb update core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 20:03:07 +00:00
Michael Jerris f359f847f7 fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Anthony Minessale ed41805c17 improve core and basic flow
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 01:34:01 +00:00
Michael Jerris 58310a9272 make sofia set network_addr as the address the packet was actually received from, not the address from the uri.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 20:16:08 +00:00
Michael Jerris 0d35fb0308 Fix typo in several places. Patch from Matt Klein.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4163 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-08 13:50:28 +00:00
Michael Jerris d44d8510db some more protection against printing null.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4137 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 18:37:01 +00:00
Michael Jerris abcfd13c9f don't log NULL sdp string.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4136 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 18:27:02 +00:00
Michael Jerris 608fac923a pass and decrement max_forwards across the bridge for sip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4135 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-06 18:11:25 +00:00
Michael Jerris 2cc47e0a85 make from use the external sip ip when it is set instead of the bind ip.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4127 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 23:48:12 +00:00
Anthony Minessale 7d27962689 add absolute_codec_string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-05 19:42:02 +00:00
Michael Jerris 7258d587e4 don't depend on a session c= line in the sdp and use the one from the media if it's there. Patch via jira from Mikael Magnusson
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 23:04:16 +00:00
Michael Jerris 3215ebfd2c use same signedness var type for ptime.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-04 19:12:48 +00:00
Anthony Minessale fa53d0aded I...HATES...PTIME
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-03 19:47:21 +00:00
Anthony Minessale 9c2332830c fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4107 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-02 00:42:20 +00:00
Anthony Minessale 6fbea03dd8 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-31 16:32:59 +00:00
Anthony Minessale ae8d2e924f ummm.... yeah...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-30 16:37:03 +00:00
Anthony Minessale e02299f8f6 add tag to sipfrag notify packets re: pekka's advice
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4080 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:54:42 +00:00
Anthony Minessale d783fc10c1 make sofia try harder to match the packet interval on codecs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4079 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 16:44:44 +00:00
Anthony Minessale 943105b06f few sofia cleanups complements of CtRiX (thanks for pointing them out)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-29 15:51:38 +00:00
Anthony Minessale 0ed9ebe492 CODEC TWEAK
mod_sofia will now examine a variable in the channel to
see what the channel's originator was using for a codec and 
try to put that to the top of the list in the sdp.

if this new sofia profile param is set:
<param name="disable-transcoding" value="true"/>

All outbound calls will use *only* the codec that thier originator 
is using to ensure no transcoding.
(of course that could lead to a failed call where there is no way to do this, so use sparingly)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 17:37:51 +00:00
Anthony Minessale 781c74fc8e add stupid 2833 crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-28 02:38:52 +00:00
Anthony Minessale e887d1a543 fix (part2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 18:26:17 +00:00
Anthony Minessale 4162f0e98f fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4068 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 18:23:30 +00:00
Michael Jerris f17eece9e3 fail the call when the best match is a codec with no name.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4065 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-27 04:45:54 +00:00
Anthony Minessale f11f120a05 add sip_call_id variable to sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 21:12:19 +00:00
Anthony Minessale 00d7e70e2d fix cause code passthrough
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 20:39:45 +00:00
Anthony Minessale a5bec02bea modest rearranging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-26 15:42:38 +00:00
Anthony Minessale 4e75aa0b52 make conference_local_play_file honor the sound-prefix param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 17:26:23 +00:00
Anthony Minessale 86bbb55e40 make reg freq 2 sec less than you actually say to avoid crossfire and make the minimum setting be 5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-25 14:56:32 +00:00
Anthony Minessale 8662ab4882 add some more dispositions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-24 20:52:42 +00:00
Anthony Minessale 644131d0a2 add nonce TTL option to sofia to decide when nonce is stale
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-23 22:04:05 +00:00
Michael Jerris 204b8d2474 make r_sdp char * due to function w/ diff const qualifer.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-20 22:32:20 +00:00
Anthony Minessale a4dd01a0ee add late negotiation mode for sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-20 18:51:57 +00:00
Anthony Minessale c845cf2839 auto ip stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 19:11:44 +00:00
Anthony Minessale 832c48cb9b allow storage of a1 hash in user directory field 'a1-hash' trumps password field
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 22:42:52 +00:00
Michael Jerris 44a3909e79 fix seg with register w/ no contact.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3968 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 22:12:15 +00:00
Michael Jerris 5db9b9d0b7 better error message/don't print null when no sip-ip is specified.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 19:00:47 +00:00
Anthony Minessale fec8895d62 heed the advice of tech_choose_port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 16:59:42 +00:00
Michael Jerris 61dfa852ca can't set max forwards if it's not there.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 15:40:35 +00:00
Michael Jerris c2b78628ee bind to the right address when using ext-sip-ip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 04:32:21 +00:00
Michael Jerris d2099ef174 if we define ext-sip-ip in the profile for config, use it for the profile url. This does not yet use stun, or have any method for determining on a call by call basis if a call needs to use the internal or external.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-15 03:52:39 +00:00
Anthony Minessale 0edea416cc Avoiding Segfaults from buggy depend libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-13 03:28:08 +00:00
Michael Jerris d933d5fe2f add max_forwards chanvar, maybe we should put this in caller profile and allways pass it across and decrement it to avoid loops across the switch, at least for protocols that support loop detection.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3947 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 23:44:18 +00:00
Michael Jerris f703a303f0 use blank instead of null if no username
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 23:04:54 +00:00
Michael Jerris 0c97a56956 use the request uri instead of to for primary routing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-11 18:25:35 +00:00
Michael Jerris d83b399d96 completely untested redirect support, need to try this from a machine that can take sip calls.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-10 21:26:10 +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 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
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
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 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 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 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
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
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
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 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
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
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
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 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 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
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 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
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
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 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 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
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
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
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 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
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 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 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
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 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
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
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 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
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
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
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 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
Anthony Minessale 0ce3f5b08b tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:13:59 +00:00
Michael Jerris 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
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
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
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 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
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
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 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
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
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