aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-03 18:42:20 +0000
committerpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-03 18:42:20 +0000
commit03714ea2b8f4ebc6890f5d484b1087120d4e9da0 (patch)
tree91c58eab739a861a22a16505b29f48b6a39e57ef
parent01920b77dae782565373347875ffcbc1cb7566e8 (diff)
Change default presentation indicator to "user provided not screened" if octet 3a missed in CallingPartyNumber IE
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44286 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/h323/ast_h323.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx
index 46ded04c8..ef7650650 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;