[asterisk-commits] file: trunk r405035 - in /trunk: ./ res/res_pjsip_acl.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jan 7 13:56:22 CST 2014
Author: file
Date: Tue Jan 7 13:56:18 2014
New Revision: 405035
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=405035
Log:
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
Modified:
trunk/ (props changed)
trunk/res/res_pjsip_acl.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/res/res_pjsip_acl.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip_acl.c?view=diff&rev=405035&r1=405034&r2=405035
==============================================================================
--- trunk/res/res_pjsip_acl.c (original)
+++ trunk/res/res_pjsip_acl.c Tue Jan 7 13:56:18 2014
@@ -138,7 +138,7 @@
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)) {
More information about the asterisk-commits
mailing list