Browse Source

KAZOO-1846: do not send option pings if the user-agent is for a SPA8000, it causes the ATA to reboot when multiple lines are registered

3.17
karl anderson 12 years ago
parent
commit
e305fea6f4
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      kamailio/registrar-role.cfg

+ 7
- 2
kamailio/registrar-role.cfg View File

@ -51,8 +51,13 @@ route[HANDLE_REGISTER]
force_rport(); force_rport();
fix_nated_register(); fix_nated_register();
} }
setbflag(FLB_NATB);
setbflag(FLB_NATSIPPING);
## KAZOO-1846: Cisco SPA8000 freaks out on options pings
if (!($ua =~ "Linksys/SPA8000")) {
setbflag(FLB_NATB);
setbflag(FLB_NATSIPPING);
}
#!endif #!endif
if (is_present_hf("Authorization")) { if (is_present_hf("Authorization")) {


Loading…
Cancel
Save