added reg.c-patch file
This commit is contained in:
@ -5,7 +5,9 @@ Currently includes TLS transport, PCMU/PCMA and opus codecs, as well as
|
|||||||
ZRTP and (DTLS) SRTP media encapsulation.
|
ZRTP and (DTLS) SRTP media encapsulation.
|
||||||
|
|
||||||
The static libraries and include files in distribution directory have
|
The static libraries and include files in distribution directory have
|
||||||
been produced using https://github.com/alfredh/baresip-android.
|
been produced using https://github.com/alfredh/baresip-android after
|
||||||
|
applying reg.c-patch to re/src/sipreg/reg.c. The patch is needed due to
|
||||||
|
re timer sometimes firing too late.
|
||||||
|
|
||||||
After cloning the project, in android-studio:
|
After cloning the project, in android-studio:
|
||||||
|
|
||||||
|
|||||||
19
reg.c-patch
Normal file
19
reg.c-patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
*** /usr/src/orig/re/src/sipreg/reg.c 2018-07-14 21:21:09.622850976 +0300
|
||||||
|
--- reg.c 2018-07-14 21:22:01.979133613 +0300
|
||||||
|
***************
|
||||||
|
*** 188,194 ****
|
||||||
|
reg->wait = reg->expires;
|
||||||
|
sip_msg_hdr_apply(msg, true, SIP_HDR_CONTACT, contact_handler,
|
||||||
|
reg);
|
||||||
|
! reg->wait *= 900;
|
||||||
|
reg->failc = 0;
|
||||||
|
|
||||||
|
if (reg->regid > 0 && !reg->terminated && !reg->ka)
|
||||||
|
--- 188,194 ----
|
||||||
|
reg->wait = reg->expires;
|
||||||
|
sip_msg_hdr_apply(msg, true, SIP_HDR_CONTACT, contact_handler,
|
||||||
|
reg);
|
||||||
|
! reg->wait *= 200;
|
||||||
|
reg->failc = 0;
|
||||||
|
|
||||||
|
if (reg->regid > 0 && !reg->terminated && !reg->ka)
|
||||||
Reference in New Issue
Block a user