5459 Commits

Author SHA1 Message Date
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
Michael Jerris
8ed1d4f1ea FS-6293: fix mod_rtmp srcdir build 2014-03-17 08:46:38 -04:00
Michael Jerris
3c95a52ff6 we are intentionally using a value outside of the enum here as a special value. The compiler will always make this an int anyways, so this is safe. cast to remove the warning 2014-03-15 22:47:55 -04:00
Anthony Minessale
8f703c7a78 FS-6353 regression from 7ba257ecd6c7ced584acbde9122479e885964795 2014-03-14 18:34:08 -04:00
Anthony Minessale
89f9490710 FS-6350 --resolve Parse params out of user portion of caller_id and save them to sip_name_params 2014-03-14 13:13:22 -05:00
Anthony Minessale
e37616e36d do not retry so fast on failed outbound subs 2014-03-14 12:55:50 -05:00
Brian West
7a6e8f4672 FS-6354 --resolve, add realm to sofia::expires event 2014-03-13 11:13:10 -05:00
Anthony Minessale
7ba257ecd6 FS-6353 --resolve 2014-03-13 10:23:13 -05:00
Michael Jerris
df8fbb60e8 FS-6352: --resolve don't override install target when using automake, make your own install target that will get depended upon instead 2014-03-13 09:13:56 -04:00
Giovanni Maruzzelli
40c56c621a FS-5078 gsmopen: adding ussd capabilities, thanks Boris 2014-03-12 17:51:58 +01:00
Anthony Minessale
70f2908976 more nat fix 2014-03-11 16:12:43 -05:00
Anthony Minessale
5c8a3b12fd Convert some behaviors to optional.
These all were set before but now are disabled by default because they are not proper to have enabled without a good reason.

tcp-unreg-on-socket-close

If registration is TCP or TLS and socket connection is interrupted, unregister the client.

tcp-always-nat

Treat all TCP connections as NATTED, this causes all traffic back to the phone to reuse the existing TCP socket but may
cause problems when not used with TCP keepalive.

tls-always-nat

Same as tcp-always-nat but only for TLS connections.
2014-03-11 15:17:02 -05:00
Simon Wunderlich
9f804d2d95 mod_skinny: remove unknown field from access_status
Cisco 7925g send access status message with just 8 byte of payload data.
Since we don't interpret the unknown 3rd field anyway, remove it. This
will prevent the first register to fail.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:17:50 -05:00
Simon Wunderlich
305543814d mod_skinny: wait up to 5 seconds for OpenRecvChannelAck
WiFi phones like the 7925g may take longer than just one second to
acknowledge the open receive message. Increase the timeout to 5 seconds.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-03-10 15:17:44 -05:00