| 1 |
/********************************************************************************************************* |
| 2 |
* Software License Agreement (BSD License) * |
| 3 |
* Author: Alexandre Westfahl <[email protected]> * |
| 4 |
* * |
| 5 |
* Copyright (c) 2010, Alexandre Westfahl, Teraoka Laboratory (Keio University), and the WIDE Project. * |
| 6 |
* * |
| 7 |
* All rights reserved. * |
| 8 |
* * |
| 9 |
* Redistribution and use of this software in source and binary forms, with or without modification, are * |
| 10 |
* permitted provided that the following conditions are met: * |
| 11 |
* * |
| 12 |
* * Redistributions of source code must retain the above * |
| 13 |
* copyright notice, this list of conditions and the * |
| 14 |
* following disclaimer. * |
| 15 |
* * |
| 16 |
* * Redistributions in binary form must reproduce the above * |
| 17 |
* copyright notice, this list of conditions and the * |
| 18 |
* following disclaimer in the documentation and/or other * |
| 19 |
* materials provided with the distribution. * |
| 20 |
* * |
| 21 |
* * Neither the name of the Teraoka Laboratory nor the * |
| 22 |
* names of its contributors may be used to endorse or * |
| 23 |
* promote products derived from this software without * |
| 24 |
* specific prior written permission of Teraoka Laboratory * |
| 25 |
* * |
| 26 |
* * |
| 27 |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED * |
| 28 |
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * |
| 29 |
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR * |
| 30 |
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * |
| 31 |
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * |
| 32 |
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * |
| 33 |
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * |
| 34 |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * |
| 35 |
*********************************************************************************************************/ |
| 36 |
|
| 37 |
Diameter-SIP implementation is still under development. |
| 38 |
|
| 39 |
TODO List |
| 40 |
* add in malloc the size of char |
| 41 |
* when getting results from mysql, check length |
| 42 |
* sort capabilities in LIR/LIA |
| 43 |
* make functions for database access in MAR/MAA |
| 44 |
* order diamsip.h because it's becoming a mess ^^ |
| 45 |
* replace password in MAR/MAA and libdiamsip from table to malloc char! |
| 46 |
* display errors of mysql |
| 47 |
* check that all user data inserted in requests are purified |
| 48 |
* add accounting server uri in database and diamsip |
| 49 |
* add mutex on mysql writing |
| 50 |
* check multithreading of mysql! |
| 51 |
* get destination host in database for RTR and PPR |
| 52 |
* libapp_sip.c: fix username_pure memory leaks |
| 53 |
* app_sip_MAR_cb: |
| 54 |
- too much mysql_real_escape_string() use, both within the function and functions it calls |
| 55 |
- on error, leaks allocated: sipuri, username, query. |
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
|