Summary: | ASTERISK-24290: Endpoint identifier match value fails to parse when CIDR network format is specified | ||||
Reporter: | Ray Crumrine (proftech) | Labels: | |||
Date Opened: | 2014-08-29 19:11:13 | Date Closed: | 2014-09-18 11:45:41 | ||
Priority: | Major | Regression? | |||
Status: | Closed/Complete | Components: | Resources/res_pjsip_endpoint_identifier_ip | ||
Versions: | 12.4.0 | Frequency of Occurrence | Constant | ||
Related Issues: |
| ||||
Environment: | Debian Wheezy 7.5 ARMHF Linux arm 3.8.13-bone56 #1 SMP Wed Jun 4 23:59:23 UTC 2014 armv7l GNU/Linux Running pjsip 2.1.1 | Attachments: | |||
Description: | {code}
[Callcentric] type=identify match=204.11.192.0/24 endpoint=Callcentric {code} When match= is specified in CIDR format, Asterisk fails to parse the network address and "pjsip show endpoint" returns no "Identity" matches and as a result inbound calls fail with "not authorized". Also, if multiple addresses are given on the same line, i.e. "match=64.23.45.101,67.45.34.23" the parse fails as well. The Wiki says both should be acceptable and in fact when "match=123.45.67.89" is used, the function converts it to cdr format and returns [correctly] "Identity=123.45.67.89/32" | ||||
Comments: |