5122 Commits

Author SHA1 Message Date
Michael Jerris
ac9741b579 don't leak xml string in dl_logger 2014-04-30 13:44:59 -04:00
William King
af32ca00e3 Correction to commit 0ba59aa6c2d252886eb4889c5d37fe114e07b4f4 using the correct variable in tel uri param parsing for mod_sofia 2014-04-29 15:23:24 -07:00
Michael Jerris
4828ecd7fd remove unused variable 2014-04-28 15:00:22 -04:00
Anthony Minessale
cc06d9181b FS-4779 FS-6467 the behaviour from 4479 is now masked behind the param 3pcc-reinvite-bridged-on-ack FS-6467 please test master 2014-04-28 22:10:14 +05:00
Michael Jerris
1affd78204 we only call this with values, and it would crash if you passed it null anyways, just assert to make it 100% clear 2014-04-26 15:41:34 -04:00
Michael Jerris
abd7882d18 contact->m_url is an array, don't check array for zero as its useless 2014-04-26 15:35:27 -04:00
Michael Jerris
96c6abbe69 Fix buffer overrun that could have been exploited with a crafted skinny packet designed to exploit this mistake in bounds checking. 2014-04-26 15:29:01 -04:00
Georgiewskiy Yuriy
2e45fc0619 fix memory leaks, tanks to Sharath from packetizer forum. 2014-04-26 04:49:35 +04:00
William King
0ba59aa6c2 Expanding on 052638186b2784c4142089008adf4289d40c80bc to support boolean tel url params in mod_sofia 2014-04-25 13:49:59 -07:00
Brian West
7e15c938e2 FS-6482 --resolve 2014-04-24 14:05:18 -05:00
Travis Cross
175c9eebca Remove extraneous abort(3) when sending chat
This appears to have been accidentally added in commit
79ebcb104b92fa37ed291e96ab2d611f297e6078 which sought to provide a
mechanism for disabling Sofia's chat interface.  The abort(3) here
achieved that a bit too well.
2014-04-19 19:26:27 +00:00
Anthony Minessale
79ebcb104b add enable-chat sofia profile param which defaults to true when not present, set to false to turn off the chat interface in sofia 2014-04-19 12:29:10 -05:00
Anthony Minessale
bce51017fb FS-6462 --resolve
I found a problem here but it may not completely match your expectations.
I reviewed the RFC 4028 and checked against the code and I discovered we should not be putting a Min-SE in any response at all besides a 422:

section 5:

   The Min-SE header field MUST NOT be used in responses except for
   those with a 422 response code.  It indicates the minimum value of
   the session interval that the server is willing to accept.

I corrected this problem and implemented the 422 response so if you request a value lower than the minimum specified for the profile.
If the value is equal or higher to the minimum, it will be reflected in the Session-Expires header in the response and no Min-SE will be present.
2014-04-17 04:26:43 +05:00
Anthony Minessale
a4a792488b add generic keepalive system and implement it in sofia to send MESSAGE or INFO packets in-dialog at specified interval.
Adds app: enable_keepalive 0|<seconds>
This app can be run in the dialplan or with execute_on_* type variables for B-legs.

Adds sofia param: keepalive-method  : defaults to MESSAGE can also be "INFO"
This param sets which SIP method to use.
2014-04-16 06:10:25 +05:00
Raymond Chandler
052638186b add parsing of user params on invite 2014-04-15 12:48:07 -04:00
Nathan Neulinger
96523a9bef mod_skinny: fix leak 2014-04-14 15:04:06 -05:00
Nathan Neulinger
93a84cf130 FS-6460 --resolve fix leaked RTP ports that cause mod_skinny to fail after N calls 2014-04-14 13:23:05 -05:00
Travis Cross
12af80d6b2 Condense styling a bit 2014-04-12 05:06:51 +00:00
Travis Cross
3f8cf4a59d Fix memory leak in subscription handling
We were leaking one event (~539 bytes) for every subscribe packet
received with both an "event: as-feature-event" and an authorization
header.
2014-04-12 05:00:41 +00:00
Brian West
19e3175518 FS-6422: --resolve obvious copy and paste error 2014-04-03 07:20:41 -05:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Michael Jerris
0cc3a17072 FS-6408: fix passing of CPPFLAGS to spandsp build 2014-04-01 13:28:22 -04:00
Travis Cross
b9369f6d4e Remove stray executable bits 2014-03-31 20:38:09 +00:00
Anthony Minessale
c02a5e67b8 FS-6413 --resolve with this patch you will need to make sure the boxes have the clocks synced and both started inside the same occurence of the most recent new year. 2014-03-31 15:23:50 -05:00
Jeff Lenk
1cde5f01e0 FS-6386 --resolve 2014-03-23 16:15:49 -05:00
Michael Jerris
f3acb03dc0 S-6341:make sure to unlock too 2014-03-19 16:38:53 -04:00
Michael Jerris
496a6db5c4 cxx 2014-03-19 08:33:47 -04:00
Michael Jerris
f575dd6f05 this is a cxx mod 2014-03-19 08:32:25 -04:00
Travis Cross
1f76e88f15 Fix mod_opal build
...by separating out CPPFLAGS and CXXFLAGS.
2014-03-19 02:24:59 +00:00
Travis Cross
88e00e220c Use $(shell) make function in mod_opal 2014-03-19 02:24:59 +00:00
Travis Cross
bd4af28648 Reorder lines in mod_h323 build 2014-03-19 01:32:03 +00:00
Travis Cross
d95d4b5014 Move mod_h323 -fno-exceptions flag to CXXFLAGS 2014-03-19 01:32:03 +00:00
Travis Cross
ff3872432f Remove ptlib include in mod_h323
This doesn't seem needed, and the empty include was breaking the
build.
2014-03-19 01:32:03 +00:00
Travis Cross
3dce3d10a0 Move define to CPPFLAGS in mod_h323 2014-03-19 01:32:02 +00:00
Michael Jerris
8bc49da4ba use correct source file 2014-03-18 21:14:36 -04:00
Travis Cross
eb9041cdb0 Separate out CFLAGS and CPPFLAGS in mod_h323
CPPFLAGS should contain -I and -D flags.

This also has the effect of fixing the build of this module.
2014-03-19 01:13:51 +00:00
Seven Du
6e3f4d667c add missing break, please review 2014-03-19 07:58:13 +08:00
Michael Jerris
45303fdc93 use right var for -I includes 2014-03-18 19:36:26 -04:00
Michael Jerris
4bbea9664d add depends so these are built 2014-03-18 19:32:02 -04:00
Michael Jerris
af0ded1b63 some potential fixes for srcdir, need someone with deps to tell me what doesn't actually work here now 2014-03-18 19:28:16 -04:00
Michael Jerris
0092854513 fix source file 2014-03-18 19:22:37 -04:00
Michael Jerris
1b27ece6b8 fix source file 2014-03-18 19:21:41 -04:00
Michael Jerris
524c566e01 attempt at fixing mod_gsmopen build 2014-03-18 19:11:24 -04:00
Michael Jerris
46c7324da5 FS-6293: fix mod_skypopen srcdir build 2014-03-18 18:14:50 -04:00
Michael Jerris
0f4aedef53 lets just consistently use api for version 2014-03-18 17:59:31 -04:00
Michael Jerris
6f34441b9f fix clang type warnings 2014-03-18 15:39:33 -04:00
Michael Jerris
ea0d5be193 FS-6293: mod_dingaling srcdir build 2014-03-18 14:38:32 -04:00
Michael Jerris
65c58a7ceb FS-6341: fix compiler warning from set but unused var 2014-03-17 18:42:02 -04:00
Michael Jerris
340b697e1b FS-6341: --resolve add 3pcc invite w/o sdp support for 100rel/PRACK 2014-03-17 12:27:42 -04:00