[asterisk-commits] pcadach: branch 1.4 r44283 -
/branches/1.4/channels/h323/ast_h323.cxx
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Oct 3 11:30:48 MST 2006
Author: pcadach
Date: Tue Oct 3 13:30:48 2006
New Revision: 44283
URL: http://svn.digium.com/view/asterisk?rev=44283&view=rev
Log:
Fix preparation of type and presentation of calling number
Modified:
branches/1.4/channels/h323/ast_h323.cxx
Modified: branches/1.4/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/h323/ast_h323.cxx?rev=44283&r1=44282&r2=44283&view=diff
==============================================================================
--- branches/1.4/channels/h323/ast_h323.cxx (original)
+++ branches/1.4/channels/h323/ast_h323.cxx Tue Oct 3 13:30:48 2006
@@ -758,9 +758,9 @@
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, 1)) {
/* 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 */
More information about the asterisk-commits
mailing list