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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 25 16:06:25 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 16:06 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 
====================================================================== 

---------------------------------------------------------------------- 
 (0119910) may213 (manager) - 2010-03-25 16:06
 https://issues.asterisk.org/view.php?id=16969#c119910 
---------------------------------------------------------------------- 
Ok, seen 40075 in setup packet. But it's in Q-SIG packet and there is
nothing for support q-sig in ooh323 stack. And i haven't idea where we can
put this info in control frame even if we could extract it from setup
packet. Source number is 44232, source name can and must be set from
sourceAlias.
It is interesting which number will be displayed on hardware IP phone if
you will transfer this call to him? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-25 16:06 may213         Note Added: 0119910                          
======================================================================




More information about the asterisk-bugs mailing list