[asterisk-bugs] [LibPRI 0015604]: [patch] Support for called_party_subaddr, currently only calling_party_subaddr is supported

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 5 04:36:09 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15604 
====================================================================== 
Reported By:                alecdavis
Assigned To:                rmudgett
====================================================================== 
Project:                    LibPRI
Issue ID:                   15604
Category:                   NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-28 21:51 CDT
Last Modified:              2009-08-05 04:36 CDT
====================================================================== 
Summary:                    [patch] Support for called_party_subaddr, currently
only calling_party_subaddr is supported
Description: 
Looking at q931.c it only has dump_called_party_subaddr
it's missing receive_called_party_subaddr, transmit_called_party_subaddr,
and associated pri_call changes. Maybe more...

The Telecom Specs in NZ suggests that SUB ADDRESS is always on, so doing
"desk to desk" between offices each with an asterisk box over the ISDN
should then be possible, without a whole load of DDI numbers required.

Is there any work beinging done for this?


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001877 Useful enhancement to chan_zap would be...
====================================================================== 

---------------------------------------------------------------------- 
 (0108640) alecdavis (reporter) - 2009-08-05 04:36
 https://issues.asterisk.org/view.php?id=15604#c108640 
---------------------------------------------------------------------- 
Richard:
  asterisk-issue14068.callsubaddr.diff.txt
  libpri-issue14068.callsubaddr.diff.txt

Adds support for:
  Calling SubAddress transmit (receive was already supported)
  Called SubAddress transmit and receive
  Note: so far only NSAP, not user defined

dialplan code at caller end looks like:
;subaddress
exten => 8695,1,NoOp(${CALLERID(num):-4} callingsubaddr=${CALLINGSUBADDR}
calledsubaddr=${CALLEDSUBADDR})
exten => 8695,n,Set(__CALLINGSUBADDR=1234)
exten => 8695,n,Set(__CALLEDSUBADDR=5678)
exten => 8695,n,DIAL(DAHDI/1/0412345678)

Console output at called end:
< Calling Number (len=12) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
<                           Presentation: Presentation allowed of network
provided number (3)  '3XXXX052' ]
< [6d 05 80 31 32 33 34]
< Calling Sub-Address (len= 7) [ Ext: 1  Type: NSAP (X.213/ISO 8348 AD2)
(0)  O: 0  '1234' ]
< [70 08 c1 3X 3X 3X 3X 30 35 32]
< Called Number (len=10) [ Ext: 1  TON: Subscriber Number (4)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)  'XXXX052' ]
< [71 05 80 35 36 37 38]
< Called Sub-Address (len= 7) [ Ext: 1  Type: NSAP (X.213/ISO 8348 AD2)
(0)  O: 0  '5678' ] 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-05 04:36 alecdavis      Note Added: 0108640                          
======================================================================




More information about the asterisk-bugs mailing list