63 Commits

Author SHA1 Message Date
Anthony Minessale
d3e10179f9 return stale on invalid auth header
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-16 15:06:33 +00:00
Michael Jerris
daea564f9b Two ways for forcing SIP username to be the same as the auth username - i.e. locking a user to an extension (MODENDP-68)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-12 19:15:05 +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
ecffbdca4e christmas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-14 02:09:22 +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
e14bdfeac0 make log debug.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6730 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-13 02:55:23 +00:00
Anthony Minessale
7394f89da6 go ahead and umm auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 23:28:09 +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
Anthony Minessale
5c94cba800 make sofia use domain wide params when needed for reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-10 23:48:54 +00:00
Anthony Minessale
1bbb57a82c fix SFSIP-37
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6481 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 00:21:32 +00:00
Anthony Minessale
d79d8ba65c add some stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-29 02:48:44 +00:00
Michael Jerris
5083c78736 fix for MODAPP-51
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-17 04:10:35 +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
0ac9a16321 fix some stuff and add set_user func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 19:58:44 +00:00
Anthony Minessale
3bea231fed fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-02 19:19:19 +00:00
Anthony Minessale
40a45952f0 add a few vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-02 17:34:14 +00:00
Anthony Minessale
dbc7eb717f add lost code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-30 14:32:00 +00:00
Michael Jerris
990ea4a855 fix for MODENDP-34
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6079 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-29 05:03:28 +00:00
Michael Jerris
6b74f05af6 improve sofia_glue_get_url_from_contact and its usage. Should fix MODENDP-33.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6075 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-28 16:07:23 +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
76ae69ada4 whoever thought making SIP all text based was simply a genius, umm no, that was sarcasm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 14:22:53 +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
42644022e1 improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 16:17:42 +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
c8c6d97d9e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5881 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-15 21:03:56 +00:00
Anthony Minessale
8a8434e099 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 23:22:02 +00:00
Anthony Minessale
0a980a4ff9 minor adj
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 17:12:31 +00:00
Anthony Minessale
c4ae4e394d make xtra_params arg instead of just profile name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-10 23:38:48 +00:00
Traun Leyden
93b98b80ad patch which causes directory xml_curl requests to pass the sofia profile name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-20 20:09:04 +00:00
Anthony Minessale
9d51da6873 move code to only be executed on sucessful auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 18:39:46 +00:00
Anthony Minessale
1f3eabd15c add register-proxy option to gateways so you can send outbound reg to your local proxy dest for the outside
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 15:28:16 +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
Anthony Minessale
c441fc5b09 fix stupidity
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5671 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 17:08:32 +00:00
Anthony Minessale
b2c2465a2e free xml later in the code to avoid freeing used memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-27 20:53:48 +00:00
Anthony Minessale
075e80c368 fix reg var scope
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-27 20:43:34 +00:00
Anthony Minessale
6f68991cb4 add NDLB-broken-auth-hash option for interop with eyebeam and zoiper
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 14:48:16 +00:00
Michael Jerris
68f58ae927 fix registration bug when doing authed calls
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-16 17:19:27 +00:00
Michael Jerris
adba671928 fix for new switch_log_printf prototype
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 10:49:25 +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
Ken Rice
ec9d8688ee Change register function to use To: header instead of the From. See RFC3261 section 10.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-05 17:42:15 +00:00
Anthony Minessale
220390dffe update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5243 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-01 21:07:03 +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
dcd1d6423b improve connectile-dysfunction mode to send message packets from the server end to keep the connection open
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5210 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-22 15:03:21 +00:00
Anthony Minessale
3f9ae7d060 help cure connectile-dysfunction
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5207 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-21 19:11:37 +00:00
Anthony Minessale
3db8dd0e88 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 22:04:28 +00:00
Anthony Minessale
de37c2344f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 21:30:31 +00:00
Anthony Minessale
f00e36581f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-11 00:41:40 +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