Commit Graph

464 Commits

Author SHA1 Message Date
Anthony Minessale ba2e181292 expand per-thread db caching to odbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15453 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 19:54:50 +00:00
Brian West 7875eb6976 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 15:09:43 +00:00
Anthony Minessale 397ef741c1 solve problem from MODENDP-258 with an alternate approach, and make send-message-query-on-register=first-only and sql-in-transactions=true the defaults
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15441 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-12 03:52:07 +00:00
Anthony Minessale 6e0c9bfb08 experimental support for send-message-query-on-register=first-only
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-10 00:26:54 +00:00
Raymond Chandler 92896c6c36 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-09 22:26:28 +00:00
Anthony Minessale 287db73e08 fix some win32 issues in sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 17:22:15 +00:00
Anthony Minessale d03862cf3c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 07:06:19 +00:00
Anthony Minessale 92e5245f0f reset handle on bad reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 05:01:41 +00:00
Anthony Minessale 1329f30f03 make subscriptions time out discarding hack to make them last forever
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15364 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-05 04:21:08 +00:00
Anthony Minessale 42f22fb8c2 reversed the order by accident on new param
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-03 23:21:02 +00:00
Anthony Minessale 6b15429934 add distinct-to=true|false to be used with from-domain when you don't want to change the to
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-03 21:32:18 +00:00
Stefan Knoblich a7a909df2a Fix broken preprocessor #ifdef check
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 11:09:53 +00:00
Jeff Lenk 3aa5055bf1 windows compiler fixes and switch_mprintf overflow(32bit only)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-30 04:07:49 +00:00
Anthony Minessale 7041d7f412 remove unused code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 14:33:48 +00:00
Marc Olivier Chouinard 46064cf1ee mod_sofia: Fix memleak introduce in r15260
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-29 08:35:53 +00:00
Anthony Minessale e6bd4b2f55 use nonce count with registration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-28 16:55:29 +00:00
Marc Olivier Chouinard 8eeca9099f mod_sofia: Bad fix for memleak, I need to look else where
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15243 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 06:14:00 +00:00
Marc Olivier Chouinard 8923c299a8 mod_sofia: Fix memleaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-27 05:51:23 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale bdb8bd061b add sip-force-extension
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 23:09:41 +00:00
Brian West f87a53716e MODEVENT-58
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15117 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-08 15:29:06 +00:00
Michael Jerris 023c762c80 avoid initial segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-26 05:41:05 +00:00
Marc Olivier Chouinard ec6d528d4b mod_sofia: Override the MWI User@Domain used per user/group/domain (MODENDP-241)
To use this, set a PARAM named MWI-Account with the user@domain you want to monitor the MWI in the user directory.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-25 20:07:40 +00:00
Mathieu Rene 49e87ddfe8 MODENDP-242
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-21 00:59:09 +00:00
Mathieu Rene c2d5f970bc Per-call logging, part one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 20:35:02 +00:00
Mathieu Rene 2dae4c4cef MODENDP-233
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14484 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-11 01:26:51 +00:00
Brian West e2da0849e4 Mitel interop, thanks mitel for your assistance. (MODSOFIA-15)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-23 17:48:36 +00:00
Brian West 8857969948 Issue #2 of SFSIP-164, must set local-network-acl for this to work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14255 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 23:39:57 +00:00
Anthony Minessale 28f51bdd61 SFSIP-162 (part 2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14250 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 19:32:42 +00:00
Anthony Minessale 3d31195c11 SFSIP-162
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-14 18:25:38 +00:00
Michael Jerris ff44ec8482 fix debug message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 20:19:20 +00:00
Michael Jerris 6348359d95 change odbc handling in code to be runtime instead of build time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-24 16:02:43 +00:00
Brian West 809d30254e move this to debug and profile->debug so that its not on unless you enable the profile debug also.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13887 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-22 02:52:31 +00:00
Anthony Minessale bb4e586551 MODENDP-222
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 20:49:18 +00:00
Mathieu Rene a7794f13a8 MODENDP-221
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13865 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 15:48:23 +00:00
Andrew Thompson d03163bf5d Fix multicast replication of sofia registrations (OKed by anthm)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 18:46:28 +00:00
Michael Jerris 55bec0b6b2 sofia-sip: fix re-register after 423 w/ Min-Expires (SFSIP-143)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 20:00:53 +00:00
Brian West 8e264274f3 don't have contact str here either it'll result in double contact headers on unregister
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 14:53:23 +00:00
Brian West 4e6be5132c dont leak this in other cases.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 14:10:31 +00:00
Brian West 011ebe674b missed one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:50:16 +00:00
Brian West 32a1336d8a don't need contact here its already set on the nh .. this results on double contact headers on unregister
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:48:59 +00:00
Brian West ba32c8c4d5 check the nat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 05:43:34 +00:00
Brian West f0172523ca fix via for outbound sub and reg contacts are correct
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13596 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 22:00:49 +00:00
Michael Jerris 1dd780e697 merge sip nat improvements from branches/brian
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 21:08:34 +00:00
Anthony Minessale b82984fe97 add netmask detection for nat discovery work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:55:10 +00:00
Michael Jerris 123d724377 don't do this if its zero try one SFSIP-143
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 15:17:44 +00:00
Brian West 8b193a3039 remove mailbox and replace with number_alias
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-18 17:16:48 +00:00
Michael Jerris 2ac2fa8659 Allow to send the flush/reboot all the registration of a domain (MODENDP-187)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 19:36:43 +00:00
Anthony Minessale d548de40cc fix mem corruption on failed register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13229 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-04 21:41:42 +00:00
Anthony Minessale a4a82b2a15 MODENDP-217
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-04 14:36:11 +00:00
Anthony Minessale 7f49ba5c86 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 00:23:51 +00:00
Anthony Minessale 64309ce319 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 00:09:41 +00:00
Anthony Minessale 20ea922f73 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 23:27:24 +00:00
Anthony Minessale 40f422d1c6 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:56:19 +00:00
Anthony Minessale b7fe59d2f6 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:48:21 +00:00
Anthony Minessale 4b726da006 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:04:25 +00:00
Anthony Minessale fd4d83b7c2 add experimental NDLB-connectile-dysfunction-2.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-29 22:00:34 +00:00
Anthony Minessale d505cec790 send-message-query-on-register profile param, set it to false to disable default of true
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13139 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-24 14:33:54 +00:00
Mathieu Rene 7da470f67c Fix them all while we're at it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 01:02:45 +00:00
Michael Jerris bfd074ca1c tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12978 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-09 22:43:00 +00:00
Anthony Minessale d2df557566 don't unregister not registered gateways
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 13:14:26 +00:00
Anthony Minessale 216f1e1106 make nat options ping configurable and leave it off by default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-02 21:53:47 +00:00
Mathieu Rene fa9621b99b sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 02:27:20 +00:00
Michael Jerris 677b161647 hrm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 02:22:02 +00:00
Mathieu Rene 761be4c395 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 02:16:34 +00:00
Mathieu Rene 6d87e6321b Add sip_auth_username and sip_auth_password variables so mod_sofia can answer auth challenges without defining a full gateway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-28 01:50:36 +00:00
Anthony Minessale fa0998de5d reduce exponential mwi notifies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-27 00:27:07 +00:00
Anthony Minessale 82eb176f6f MODENDP-207
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-26 16:06:25 +00:00
Anthony Minessale 3c72e9f143 add username and realm to sip db
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-25 20:14:07 +00:00
Anthony Minessale dd19c3c2ec fix var events to not have stamp info
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 23:44:03 +00:00
Michael Jerris 4a48d3dd5a use nua_handle_home instead of using nua internals to get the nua handle home
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12757 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 17:57:00 +00:00
Anthony Minessale 34ac34f31b fix killgw
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-22 20:52:41 +00:00
Anthony Minessale cc80c0cefb fix reg issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12715 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-22 20:04:56 +00:00
Anthony Minessale 41944b7e6f clean up dialog stuff on presence for sla and other stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-22 05:15:17 +00:00
Anthony Minessale 20cb024f61 MODENDP-194
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 19:45:10 +00:00
Brian West 3e049e9309 move this debug line into profile debug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 18:15:50 +00:00
Brian West f5ade7cfc1 remove dirty hack to get around a bug in sofia which has now been fixed. And fix registering to pointers isn't allowed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-27 16:03:22 +00:00
Brian West f066da77dc fix challenge-realm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12113 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 20:36:21 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Mathieu Rene f0c05ca83c Cleanup missing flags hack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 14:46:14 +00:00
Brian West 98cb113cdd MODENDP-185 and SFSIP-121
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11729 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-10 18:30:49 +00:00
Michael Jerris bbf0159708 use sofia specific flag macros
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-09 17:56:38 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Brian West 8ba68ed14f MODENDP-179 - Support for SLA, works with Polycom and Snom(Sylantro mode). Thank you Matthew Kaufman. Might still need more work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-30 16:46:37 +00:00
Anthony Minessale 0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale 941052b656 allow <params> tag in gateways as well as <variables> with direction inbound/outbound (default both) and call counter
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11468 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-23 20:33:30 +00:00
Anthony Minessale d99296d08f MODENDP-176
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-21 22:57:58 +00:00
Michael Jerris a0435ed981 better error message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-02 19:58:36 +00:00
Brian West 0b8ec49dd8 add date header to 200OK on register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 16:23:24 +00:00
Anthony Minessale 772f957064 fix init issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-23 19:47:50 +00:00
Anthony Minessale ed100f44ea add group concept
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-23 17:36:50 +00:00
Anthony Minessale 590ccb5cbe The Grinch is trying to steal our presence!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-11 20:20:20 +00:00
Anthony Minessale f84a6df34c x-mas presence
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-10 20:54:24 +00:00
Anthony Minessale 1a598b6db3 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-25 20:54:58 +00:00
Anthony Minessale e077cbe18e improve gateway resilience
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10528 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-24 16:56:21 +00:00
Michael Jerris d16d7ffd7d MODENDP-77 Gateway event subscriptions.
Merged with minor modifications.
Still needs to add support for reload/rescan.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-24 15:52:55 +00:00
Anthony Minessale 0fa3280376 presence stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10512 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-22 01:34:19 +00:00
Brian West b8b248d911 MODENDP-150
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-21 16:15:29 +00:00
Anthony Minessale dbed41b4f7 use the same call-id on all registers from the same gateway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-15 02:38:40 +00:00
Anthony Minessale 25b2a61721 udpate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 18:22:36 +00:00
Brian West e3753e99ef cache auth_gateway_name in sofia for challenged bye
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10222 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-03 17:39:09 +00:00
Stefan Knoblich 2e9b22f39d Add quotation marks to clarify acl messages + indentation cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-02 20:14:12 +00:00
Anthony Minessale 561467d6a5 update to previous patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10116 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-22 18:33:12 +00:00
Anthony Minessale 40a050c6b7 setting profile option multiple-registrations=contact key multi reg off the contact string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-22 17:40:43 +00:00
Anthony Minessale 9c176dc203 Add optional <variables> and <params> tag to <gateway> tag.
current gateways are:
<gateway>
 <param name="foo" value="bar"/>
</gateway>

now can also be:
<gateway>
 <params>
  <param name="foo" value="bar"/>
 </params>
</gateway>

now can also be:
<gateway>
 <params>
  <param name="foo" value="bar"/>
 </params>
 <variables>
  <variable name="myvar" val="myval"/>
 </variables>
</gateway>

any variables will be set on all outgoing channels using that gateway.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-21 22:40:20 +00:00
Anthony Minessale 41a8efb579 add some params to request for xml_curl type stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-14 22:13:49 +00:00
Brian West b0c86f4553 move these messages into debug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9983 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-12 03:56:11 +00:00
Brian West ded09448aa clean up log printfs, my pickyness again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-11 05:42:52 +00:00
Michael Jerris 76b648036a (MODENDP-112) custom sofia::gateway_state event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9932 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-10 15:36:02 +00:00
Michael Jerris 40177f7255 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9886 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-07 22:18:40 +00:00
Michael Jerris 2a00a3f58b handle multi contact register responses and register timeout better
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-07 22:15:51 +00:00
Michael Jerris 7a9928f1c3 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-07 21:55:58 +00:00
Anthony Minessale 003847dd0d add some more specific events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9789 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-02 17:10:05 +00:00
Anthony Minessale f3390c0555 fix macro in sprintf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9621 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-23 00:10:19 +00:00
Anthony Minessale 718d783272 <param name="challenge-realm" value="auto_from|auto_to|<hardcoded_val>"/>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-22 19:14:54 +00:00
Anthony Minessale a5071efe6b close MODENDP-136
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9611 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-22 14:40:13 +00:00
Anthony Minessale cf14366e62 add profile civil unions warning will nuke your db table next time you update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9582 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-18 00:01:03 +00:00
Brian West f341d9c79a Add force-register-db-domain which works in conjunction with force-register-domain.
force-register-domain will only force auth to the domain specified.
force-register-db-domain will store it in the db with the forced domain.

Examples:

    <param name="force-register-db-domain" value="cluecon.com"/>
    <param name="force-register-domain" value="cluecon.com"/>

/b




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-08 22:38:37 +00:00
Brian West fdab19b277 I before e, except after c.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-02 03:46:27 +00:00
Michael Jerris 05b01a6c03 switch some usages of switch_event_add_header to switch_event_add_header_string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-16 02:19:43 +00:00
Anthony Minessale 5572f25a0f fix MODENDP-121
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-15 19:30:34 +00:00
Anthony Minessale ea5679f8f2 fix sqlite issue with select of the sip contact
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 20:54:51 +00:00
Anthony Minessale b60ff4d1cd add sip-forbid-register to user params to refuse to let a certian user register
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 18:28:13 +00:00
Anthony Minessale f5f9ddc5a1 make register-proxy preserve the url composed from proxy but target the packets to desired address MODENDP-121
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9219 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-01 18:18:35 +00:00
Ken Rice f3cea0b78e record the local servers ip not the domain so we can figure out the right server later
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9209 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-30 18:50:47 +00:00
Anthony Minessale 8e5a2d0e46 add clarification to warning message
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9131 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-22 15:07:16 +00:00
Brian West 60ab746d86 and eh? :)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-18 22:26:51 +00:00
Anthony Minessale edfef3fdca add reboot options to flush_inbound_reg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9077 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-17 20:47:42 +00:00
Anthony Minessale 75900accba use a variable, realm or to host to find gateway when it's not obvious
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-17 14:32:01 +00:00
Anthony Minessale f492bd4d08 wip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9068 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-17 13:36:02 +00:00
Michael Jerris 43a3b71153 add server registration fiels to sip_registration database (MODENDP-118)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-16 19:42:40 +00:00
Michael Jerris 4d2cbfe197 Disable multiple registrations on a per-device basis (MODENDP-117)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9042 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-15 18:04:17 +00:00
Anthony Minessale d95f4d13ed can of worms from ray's present
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-09 17:54:03 +00:00
Anthony Minessale ae5d9fbdbb present for ray
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 22:05:34 +00:00
Michael Jerris 64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Michael Jerris 1d46f922e2 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 18:50:15 +00:00
Anthony Minessale 60e352cb6e can't win with sip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8885 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 15:01:46 +00:00
Anthony Minessale eec83be1c9 tweak ping behaviour
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8881 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-02 17:18:34 +00:00
Anthony Minessale 978486d139 deal with some sips: contacts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8861 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-27 21:38:59 +00:00
Anthony Minessale 2cae9ae781 strip off our private params
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-27 16:01:40 +00:00
Anthony Minessale 0f16046103 add path support to sofia
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-26 20:19:09 +00:00
Anthony Minessale 1caea40855 blank username will trigger a lookup for user "nobody"
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-04 23:18:59 +00:00
Anthony Minessale f4160459a6 add per user acl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-04 16:13:15 +00:00
Anthony Minessale c1e369cbb9 add per user acl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-04 16:11:09 +00:00
Anthony Minessale 11267f3646 add per user acl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-04 16:04:08 +00:00
Anthony Minessale 2c732144dd presence but no presents
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-02 20:06:07 +00:00
Stefan Knoblich b9f72e0a61 update event callback after db schema changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-31 20:55:28 +00:00
Michael Jerris 8792d33889 don't free reason string passed to nua_respond before we are done using it. (nh scope instead of session)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-30 20:29:32 +00:00
Anthony Minessale cb12cecbec refactor to fix unregister event being skipped
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-29 13:25:53 +00:00
Anthony Minessale 0c93b9d1bf fix unregister with Contact: *
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8714 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-28 23:36:56 +00:00
Anthony Minessale 2ad910acc0 fix nat issue re: sofia_contact func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8713 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-28 22:24:47 +00:00
Anthony Minessale f930eaeec7 indent pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Anthony Minessale b9edb59e9f gcc warns about stupid things but lets you get away with murder elsewhere....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 18:18:45 +00:00
Anthony Minessale ba11f68428 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8537 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 12:23:06 +00:00
Anthony Minessale f2e8d44218 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-22 17:24:10 +00:00
Anthony Minessale 4909dc50ef tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8522 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-22 14:41:11 +00:00
Michael Jerris 3c2e987d47 var name scope masking and code before decl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-22 01:24:13 +00:00
Anthony Minessale 9972dc42ec swatting at NAT
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8511 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-21 21:49:27 +00:00
Anthony Minessale b02971fea7 next chapter in the never-ending nat saga
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8502 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-21 16:46:48 +00:00
Anthony Minessale f2c34550b5 remove useless code jus't erase it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-20 22:28:34 +00:00
Anthony Minessale 515e36f568 who sucks more NAT or cheap SIP device makers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-20 19:09:09 +00:00
Anthony Minessale db3f7207e0 add recieved param to contact ala MODENDP-104
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-20 17:44:55 +00:00
Anthony Minessale 2848cfdd18 more nat stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8488 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-20 16:41:57 +00:00
Anthony Minessale 6ccacdff83 add unregister event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 18:40:09 +00:00
Anthony Minessale dc757bc9cf fix many nat woes, see changes to default config for details
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 23:22:21 +00:00
Anthony Minessale 1ed11fdc00 fix sofia ping
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8365 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 16:18:38 +00:00
Anthony Minessale 1f8e6c96a6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8360 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 14:19:48 +00:00
Anthony Minessale 16f5637f9a test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 16:09:49 +00:00
Anthony Minessale 6c17e72694 use this one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8296 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 20:06:46 +00:00
Anthony Minessale 8da11c524e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 14:22:36 +00:00
Anthony Minessale 6e8cd63956 add options ping to gateway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-30 22:14:03 +00:00
Anthony Minessale 6eacfd9aca add options ping to gateway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-30 22:09:54 +00:00
Anthony Minessale 94e7ad44af update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 21:14:41 +00:00
Anthony Minessale 24fe76b85d doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 16:29:56 +00:00
Anthony Minessale 9c9fd03300 add sip: to nua_options call for nathack thing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 16:10:18 +00:00
Anthony Minessale d1a95e5aa7 execute sql inline to avoid race
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-14 15:07:43 +00:00
Anthony Minessale e43317f14c avoiding issuelock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-08 15:36:58 +00:00
Anthony Minessale dd11487727 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8041 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 14:03:10 +00:00
Michael Jerris 86cc41d646 Avoid deadlock, don't leak on duplicate gateway name, error on duplicate gateway name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 18:53:24 +00:00
Michael Jerris 2a98f0639b use the same type to avoid overflow (could we even cause this?)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-31 16:05:32 +00:00
Anthony Minessale bba65f4a1e add acl stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-26 22:14:09 +00:00
Anthony Minessale 9943975660 add optional call_id arg to sofia profile foo flush_inbound_reg [<call_id>]
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-25 22:06:48 +00:00
Michael Jerris 8b130b2ebd Bitwise operation on logical result: ! has higher precedence than &. Use && or (!(x & y)) instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7844 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-08 04:26:02 +00:00
Anthony Minessale 07e97a25d3 opposite day
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 18:55:47 +00:00
Anthony Minessale af26fa721b i picked the wrong day to stop sniffig glue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 15:21:09 +00:00
Anthony Minessale 939290fa8b add disable-transfer and disable-register params to sofia profiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 14:36:08 +00:00
Brian West 26d197cf16 support multiple subscriptions for sla goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-05 20:31:18 +00:00
Anthony Minessale 062c5ba230 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-22 15:02:16 +00:00
Brian West b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Anthony Minessale e54f420f6f mupdate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-31 22:40:48 +00:00
Anthony Minessale f039f5416c possible solution for MODENDP-80
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 21:56:36 +00:00
Michael Jerris 482badffca code analysis, clean up asserts related to switch_core_session_get_channel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 07:26:10 +00:00
Brian West 84161010ab cleanup and consistency.. blah rain @ PHX fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West aab6766ece more house keeping.. and one commit tony forgot to commit from my dev box
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 05:02:52 +00:00
Anthony Minessale 321e9a39a7 add lookup params to allow sip auth from remote authenticator (like radius)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-24 22:09:39 +00:00
Michael Jerris 8640657c4b use switch_event_add_header_string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-24 11:56:57 +00:00
Anthony Minessale 1424b6c73b change xml_lookups to take an event as params instead of url string this will break your xml_curl scripts please update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-23 20:59:25 +00:00
Anthony Minessale bd6be163e3 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7314 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-21 20:36:10 +00:00
Anthony Minessale d6a57e8ca2 add user_agent to sip lookups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-17 19:25:01 +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 2f6f99583f interop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-17 16:31:08 +00:00
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