[asterisk-commits] pcadach: branch 1.4 r44286 - /branches/1.4/channels/h323/ast_h323.cxx

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Oct 3 11:42:21 MST 2006


Author: pcadach
Date: Tue Oct  3 13:42:20 2006
New Revision: 44286

URL: http://svn.digium.com/view/asterisk?rev=44286&view=rev
Log:
Change default presentation indicator to "user provided not screened" if octet 3a missed in CallingPartyNumber IE

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=44286&r1=44285&r2=44286&view=diff
==============================================================================
--- branches/1.4/channels/h323/ast_h323.cxx (original)
+++ branches/1.4/channels/h323/ast_h323.cxx Tue Oct  3 13:42:20 2006
@@ -758,7 +758,7 @@
 		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;



More information about the asterisk-commits mailing list