From: Paul Cadach Date: Tue, 3 Oct 2006 18:42:20 +0000 (+0000) Subject: Change default presentation indicator to "user provided not screened" if octet 3a... X-Git-Tag: 1.4.0-beta3~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc3dee9d86906cc1fbf1016bf3f7599fc996c562;p=thirdparty%2Fasterisk.git Change default presentation indicator to "user provided not screened" if octet 3a missed in CallingPartyNumber IE git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44286 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx index 46ded04c83..ef76506509 100644 --- a/channels/h323/ast_h323.cxx +++ b/channels/h323/ast_h323.cxx @@ -758,7 +758,7 @@ void MyH323Connection::SetCallDetails(void *callDetails, const H323SignalPDU &se unsigned plan, type, screening, presentation; /* Fetch presentation and type information about calling party's number */ - if (setupPDU.GetQ931().GetCallingPartyNumber(sourceName, &plan, &type, &presentation, &screening, 0, 1)) { + if (setupPDU.GetQ931().GetCallingPartyNumber(sourceName, &plan, &type, &presentation, &screening, 0, 0)) { /* Construct fields back */ cd->type_of_number = (type << 4) | plan; cd->presentation = (presentation << 5) | screening;