3548 Commits

Author SHA1 Message Date
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
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
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