This website works better with JavaScript.
Home
Explore
Help
Sign In
ruhnet
/
kazoo-configs-kamailio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
183
Wiki
Activity
Browse Source
use is_present_hf to check if Expires header is set
3.19
3.19.20
Brian Davis
11 years ago
committed by
Luis Azedo
parent
b75a1d9013
commit
c829766e7a
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
kamailio/registrar-role.cfg
+ 1
- 1
kamailio/registrar-role.cfg
View File
@ -117,7 +117,7 @@ route[ATTEMPT_AUTHORIZATION]
if(@contact.expires) {
$var(expires)
=
@contact.expires;
} else {
if(
$hdr(Expires
)) {
if(
is_present_hf("Expires"
)) {
$var(expires)
=
$hdr(Expires);
} else {
$var(expires)
=
REGISTRAR_MIN_EXPIRES;
Write
Preview
Loading…
Cancel
Save