-
- Downloads
res_pjsip_endpoint_identifier_ip.c: Add port matching support
Adds source port matching support when IP matching is used: [example] type = identify match = 1.2.3.4:5060/32, 1.2.3.4:6000/32, asterisk.org:4444 If the IP matches but the source port does not, we reject and search for alternatives. SRV lookups are still performed if enabled (srv_lookups = yes), unless the configured FQDN includes a port number in which case just a host lookup is performed. ASTERISK-28639 #close Reported by: Mitch Claborn Change-Id: I256d5bd5d478b95f526e2f80ace31b690eebba92
Showing
- configs/samples/pjsip.conf.sample 1 addition, 0 deletionsconfigs/samples/pjsip.conf.sample
- doc/CHANGES-staging/res_pjsip_endpoint_identifier_ip_match_port.txt 8 additions, 0 deletions...S-staging/res_pjsip_endpoint_identifier_ip_match_port.txt
- include/asterisk/acl.h 23 additions, 0 deletionsinclude/asterisk/acl.h
- main/acl.c 45 additions, 4 deletionsmain/acl.c
- res/res_pjsip_endpoint_identifier_ip.c 44 additions, 21 deletionsres/res_pjsip_endpoint_identifier_ip.c
Loading