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
Merge pull request
#44
from scratch-wireless/KAZOO-3585
use is_present_hf to check if Expires header is set
3.20
lazedo
11 years ago
parent
0a6eb5bd8d
10392a5baf
commit
0fcf05fe46
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
@ -136,7 +136,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