aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323
diff options
context:
space:
mode:
authorpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-03 18:47:38 +0000
committerpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-03 18:47:38 +0000
commitba87ac90c2715f74221c09657eabe994511b53ad (patch)
tree9975c0d159fdfe0a94bdd19978ecacb3b19b3dac /channels/h323
parente90f41c59111efe2a4b603e0c4fa01e7b1b9a516 (diff)
Merged revisions 44283,44286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44283 | pcadach | 2006-10-04 00:30:48 +0600 (Срд, 04 Окт 2006) | 1 line Fix preparation of type and presentation of calling number ........ r44286 | pcadach | 2006-10-04 00:42:20 +0600 (Срд, 04 Окт 2006) | 1 line 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/trunk@44287 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rw-r--r--channels/h323/ast_h323.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx
index 21be3e648..f574482c6 100644
--- a/channels/h323/ast_h323.cxx
+++ b/channels/h323/ast_h323.cxx
@@ -770,9 +770,9 @@ 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, 2, 3)) {
+ if (setupPDU.GetQ931().GetCallingPartyNumber(sourceName, &plan, &type, &presentation, &screening, 0, 0)) {
/* Construct fields back */
- cd->type_of_number = (type << 4) | screening;
+ cd->type_of_number = (type << 4) | plan;
cd->presentation = (presentation << 5) | screening;
} else if (cd->call_source_e164[0]) {
cd->type_of_number = 0; /* UNKNOWN */