Skip to content
Snippets Groups Projects
Commit 34c595be authored by Joshua Colp's avatar Joshua Colp
Browse files

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
parent f89ab798
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment