[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
Fri Jan 14 03:34:39 CST 2011


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:                     closed
Asterisk Version:           SVN 
JIRA:                        
libpri Version:             I did not set the version. :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-28 21:51 CDT
Last Modified:              2011-01-14 03:34 CST
====================================================================== 
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...
====================================================================== 

---------------------------------------------------------------------- 
 (0130485) alecdavis (manager) - 2011-01-14 03:34
 https://issues.asterisk.org/view.php?id=15604#c130485 
---------------------------------------------------------------------- 
Asterisk 1.8.2 implementation notes:

[call_remote_office_extensions]
;Office with extension numbers 8300-8399
exten => _83XX,1,Set(CALLBACKNUM=${CALLERID(num)})
exten => _83XX,n,Set(CALLERID(subaddr)=${CALLBACKNUM})
exten => _83XX,n,Set(CALLERID(subaddr-valid)=1)
exten => _83XX,n,Dial(${TRUNK}/031234567:${EXTEN},,r)

;Office with extension numbers 8800-8899
exten => _88XX,1,Set(CALLBACKNUM=${CALLERID(num)})
exten => _88XX,n,Set(CALLERID(subaddr)=${CALLBACKNUM})
exten => _88XX,n,Set(CALLERID(subaddr-valid)=1)
exten => _88XX,n,Dial(${TRUNK}/091234567:${EXTEN},,r)

[incoming]
;1). check if the called dnid-subaddr has been filled, if not assume
normal IVR route.
;2). Not included here, validate remote site callerid, if not valid assume
IVR route.
;3). Limit internal extensions to 4 digits, and set
CallbackExtensionNumber from subaddr.
;4). Jump to internal extension.

exten => s,1,NoOp(dnid-subaddr='${CALLERID(dnid-subaddr)}'
subaddr='${CALLERID(subaddr)}')
exten => s,n,GotoIf($["${CALLERID(dnid-subaddr)}"==""]?ivr-main,s,1)
exten => s,n,Set(CALLERID(num)=${CALLERID(subaddr):0:4})
exten => s,n,Goto(internal,${CALLERID(dnid-subaddr):0:4},1) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-14 03:34 alecdavis      Note Added: 0130485                          
======================================================================




More information about the asterisk-bugs mailing list