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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 25 15:03:01 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16969 
====================================================================== 
Reported By:                etn
Assigned To:                may213
====================================================================== 
Project:                    Asterisk
Issue ID:                   16969
Category:                   Addons/chan_ooh323
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-25 15:03 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 
====================================================================== 

---------------------------------------------------------------------- 
 (0119908) may213 (manager) - 2010-03-25 15:03
 https://issues.asterisk.org/view.php?id=16969#c119908 
---------------------------------------------------------------------- 
Hi,

i don't see any private numbers in log.

may at xxx:~> wget -q -O -
'https://issues.asterisk.org/file_download.php?file_id=25614&type=bug&download'
| egrep '(44232|40075)'
may at xxx:~>

I see 44232 in setup packet on h323_log as CallingPartyNumber and it's
right for this call, 44232 is originator. i don't see 40075 there also.

about H225PrivatePartyNumber. It's variant of H225PartyNumber which can be
part of sourceAddress, destinationAddress, destExtraCallInfo structures.
Only one found here destinationAddress which contain 5800.

If you are sure what there must be 40075 please reattach correct log. Best
way is to attach tcpdump file from "tcpdump -s1500 tcp and asterisk-ip -i
ethX". 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-25 15:03 may213         Note Added: 0119908                          
======================================================================




More information about the asterisk-bugs mailing list