mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_pjsip_acl: Fix another case of assuming a contact will always contain a URI.
........ Merged revisions 405034 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -138,7 +138,7 @@ static int extract_contact_addr(pjsip_contact_hdr *contact, struct ast_sockaddr
|
||||
pjsip_sip_uri *sip_uri;
|
||||
char host[256];
|
||||
|
||||
if (!contact) {
|
||||
if (!contact || contact->star) {
|
||||
return 0;
|
||||
}
|
||||
if (!PJSIP_URI_SCHEME_IS_SIP(contact->uri) && !PJSIP_URI_SCHEME_IS_SIPS(contact->uri)) {
|
||||
|
Reference in New Issue
Block a user