Skip to content
Snippets Groups Projects
Commit d29f739d authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3619] Fixed max size of text inside a sip MESSAGE to 1560 character

parent a713ae92
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#define STR_TEXT pj_str((char*)"text") #define STR_TEXT pj_str((char*)"text")
#define STR_PLAIN pj_str((char*)"plain") #define STR_PLAIN pj_str((char*)"plain")
#define METHOD_NAME pj_str((char*)"MESSAGE") #define METHOD_NAME pj_str((char*)"MESSAGE")
#define MAXIMUM_MESSAGE_LENGTH 10 /* ~1300/8 */ #define MAXIMUM_MESSAGE_LENGTH 1560 /* PJSIP's sip message limit */
#define DELIMITER_CHAR "\n\n" #define DELIMITER_CHAR "\n\n"
#define MODE_APPEND std::ios::out || std::ios::app #define MODE_APPEND std::ios::out || std::ios::app
...@@ -43,8 +43,7 @@ namespace sfl { ...@@ -43,8 +43,7 @@ namespace sfl {
bool init (); bool init ();
/* /*
* Open an existing file if possible or create a new one. * Open an existing file if possible or create a new one. *
*
* @param id The current call * @param id The current call
* @return int The number of currently open file stream * @return int The number of currently open file stream
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment