[asterisk-bugs] [Asterisk 0016969]: Catch privateNumberDigits from h323 pdu

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 18 12:11:39 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16969 
====================================================================== 
Reported By:                etn
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16969
Category:                   Channels/chan_h323
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           Older 1.6.1 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-05 07:40 CST
Last Modified:              2010-03-18 12:11 CDT
====================================================================== 
Summary:                    Catch privateNumberDigits from h323 pdu
Description: 
I have an Avaya S8700 Gateway linked with an H323 trunk to my asterisk
1.6.11 with openh323-1.18-0.

I try to catch privateNumberDigits in my Asterisk from h323 pdu but i
can't find it.

In fact This information seems to be decoded by openh323: 

# grep -r "privateNumberDigits" openh323_v1_18_0/
openh323_v1_18_0/include/h225.h:    H225_NumberDigits
m_privateNumberDigits;
openh323_v1_18_0/src/h323pdu.cxx:        number.m_privateNumberDigits =
name.Mid(sizeof(PrivatePartyPrefix)-1);
openh323_v1_18_0/src/h323pdu.cxx:          return PrivatePartyPrefix +
(PString)number.m_privateNumberDigits;
openh323_v1_18_0/src/h225_2.cxx:  strm << setw(indent+22) <<
"privateNumberDigits = " << setprecision(indent) << m_privateNumberDigits
<< '\n';
openh323_v1_18_0/src/h225_2.cxx:  if ((result =
m_privateNumberDigits.Compare(other.m_privateNumberDigits)) != EqualTo)
openh323_v1_18_0/src/h225_2.cxx:  length +=
m_privateNumberDigits.GetObjectLength();
openh323_v1_18_0/src/h225_2.cxx:  if
(!m_privateNumberDigits.Decode(strm))
openh323_v1_18_0/src/h225_2.cxx:  m_privateNumberDigits.Encode(strm);
openh323_v1_18_0/src/h225.asn:  privateNumberDigits     NumberDigits

Is there a way to get back to asterisk this info?

Thanks 

Etienne
privateNumberDigits 
====================================================================== 

---------------------------------------------------------------------- 
 (0119556) etn (reporter) - 2010-03-18 12:11
 https://issues.asterisk.org/view.php?id=16969#c119556 
---------------------------------------------------------------------- 
I just make a model with the following version:
Asterisk 1.6.2.5
asterisk-addons 1.6.2.0
dahdi-linux 2.2.1

On the other side i have an Avaya Communication Manager 3.1

My test was:
1 Call an Avaya extension 40075 from a 2nd avaya extension 44232
2 forward 44232 to the asterisk extension

In parallel i made a tcpdump capture

Attached: 

- trace.log: h323 communication between avaya card and Asterisk
- h323_log: h323_log file generate by Asterisk

You will find in the trace.log " privateNumberDigits: 40075" info whereas
nothing appears in h323_log.

Etienne 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-18 12:11 etn            Note Added: 0119556                          
======================================================================




More information about the asterisk-bugs mailing list