Added module to perform LNP queries via SS7.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4607 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
64120fa92e
commit
ad1ed74ad3
|
@ -0,0 +1,151 @@
|
|||
[general]
|
||||
|
||||
; priority for call.route message handler
|
||||
;call.route=50
|
||||
|
||||
; set prefix with which all encoded and decoded LNP parameter names are to be built
|
||||
; the format is prefix.LNPParam
|
||||
;prefix=lnp
|
||||
|
||||
; interval at which statistic counters are to be reset. Set in seconds
|
||||
; default is 5 minutes according to the Telcordia GR-533-CORE standard
|
||||
;count_time=300
|
||||
|
||||
; set to play an announcement if the response to the LNP query responds with CallerInteraction:Play Announcement or if the
|
||||
; number is under Automatic Code Gapping control.
|
||||
; NOTE: When this is set to true, call.route will always return true, except when a Routing number is returned (porting is done)
|
||||
;play_announcements=false
|
||||
|
||||
|
||||
[lnp]
|
||||
|
||||
; TCAP component to which LNP should attach itself. Must be configured in ysigchan.conf
|
||||
tcap=
|
||||
|
||||
;Determines if all parameters received on TCAP LNP query response are to be copied into the call.route message
|
||||
;copy_back_all=true
|
||||
|
||||
; Timeout interval after which a LNP query is canceled. Set in miliseconds, must be in interval 1000 - 30 000
|
||||
;timeout=3000
|
||||
|
||||
; called: string: Template for the called party number of the request
|
||||
; It should not be modified
|
||||
;called=${called}
|
||||
|
||||
; caller: string: Template for the caller party number of the request
|
||||
; It can be used to force anonymous requests
|
||||
;caller=${caller}
|
||||
|
||||
; LATA: integer: Assignment of LNP LATA parameter
|
||||
; It can be defined as ${lata$defvalue}
|
||||
;LATA=${lata}
|
||||
|
||||
; station_type: integer/string: Assign LNP Originating Station Type parameter
|
||||
; It can be defined as ${oli$defvalue}
|
||||
; Also these string values are admitted:
|
||||
; { "normal", 0 },
|
||||
; { "multiparty", 1 },
|
||||
; { "ani-failure", 2 },
|
||||
; { "hotel-room-id", 6 },
|
||||
; { "coinless", 7 },
|
||||
; { "restricted", 8 },
|
||||
; { "test-call-1", 10 },
|
||||
; { "aiod-listed-dn", 20 },
|
||||
; { "identified-line", 23 },
|
||||
; { "800-call", 24 },
|
||||
; { "coin-line", 27 },
|
||||
; { "restricted-hotel", 68 },
|
||||
; { "test-call-2", 95 },
|
||||
;station_type=${oli$normal}
|
||||
|
||||
; cic_expansion: boolean: Assignment of LNP CIC expansion parameter
|
||||
;cic_expansion=${cicexpansion$true}
|
||||
|
||||
; number_nature: string: The nature of the number
|
||||
; Values are:
|
||||
; {"national", LNPClient::NatureNational},
|
||||
; {"international", LNPClient::NatureInternational},
|
||||
; Default to national, according to GR-533-Core
|
||||
;number_nature=national
|
||||
|
||||
; presentatation_restrict: boolean: Presentation Restriction for numbers
|
||||
; Default to false, according to GR-533-Core
|
||||
;presentation_restrict=false
|
||||
|
||||
; numplan: string: Numbering plan for numbers
|
||||
; Permitted values:
|
||||
; {"isdn", LNPClient::NPISDN},
|
||||
; {"telephony", LNPClient::NPTelephony},
|
||||
; Defaults to ISDN
|
||||
;numplan=isdn
|
||||
|
||||
; number_encoding: string: Numbering encoding for numbers
|
||||
; The only supported values is bcd, do not change!
|
||||
;number_encoding=bcd
|
||||
|
||||
|
||||
[sccp_addr]
|
||||
|
||||
; route_on_gt: boolean: Enable building of SCCP CalledPartyAddress based on Global Title. Defaults to true.
|
||||
;route_on_gt=true
|
||||
|
||||
; gt.translation_type: integer: Translation type for Global Title
|
||||
; defaults to 11, which, according to ATIS 1000112.2005 is Number Portability Translation Type
|
||||
;gt.translation_type=11
|
||||
|
||||
; gt.numplan: string: Numbering plan for Global Title
|
||||
; Permitted values:
|
||||
; {"notused", LNPClient::NPNotUsed},
|
||||
; {"isdn", LNPClient::NPISDN},
|
||||
; {"telephony", LNPClient::NPTelephony},
|
||||
; {"data", LNPClient::NPData},
|
||||
; {"telex", LNPClient::NPTelex},
|
||||
; {"maritimemobile", LNPClient::NPMaritimeMobile},
|
||||
; {"landmobile", LNPClient::NPLandMobile},
|
||||
; {"private", LNPClient::NPPrivate},
|
||||
;gt.numplan=isdn
|
||||
|
||||
; remote_ssn : integer: Remote SSN of the LNP application.
|
||||
; NOTE: This parameter is used only when route_on_gt is false)
|
||||
;remote_SSN=
|
||||
|
||||
; remote_pointcode: string: Remote pointcode of the LNP application to be interrogated
|
||||
; The format is network-cluster-member or number
|
||||
; NOTE: This parameter is used only if route_on_gt is false
|
||||
;remote_pointcode=
|
||||
|
||||
;Type of pointcode: string
|
||||
; Allowed values:
|
||||
; ITU ITU-T Q.704
|
||||
; ANSI ANSI T1.111.4
|
||||
; ANSI8 8-bit SLS
|
||||
; China GF 001-9001
|
||||
; Japan T-Q704, NTT-Q704
|
||||
; Japan5 5-bit SLS
|
||||
;pointcodetype=
|
||||
|
||||
|
||||
[announcements]
|
||||
; This section allows configuration of messages to be played when the a network management request was received from the LNP database
|
||||
; application or the response to the query was an announcement
|
||||
|
||||
; Out of Band announcement
|
||||
;outofband=tone/busy
|
||||
|
||||
; Vacand Code announcement
|
||||
;vacantcode=tone/busy
|
||||
|
||||
; Number Disconnected announcement
|
||||
;disconnected=tone/busy
|
||||
|
||||
; ReorderBusy Announcement
|
||||
;reorderbusy=tone/busy
|
||||
|
||||
; Busy Announcement
|
||||
;busy=tone/busy
|
||||
|
||||
; No Circuit Announcement
|
||||
;nocircuit=tone/busy
|
||||
|
||||
; Reorder Announcement
|
||||
;reorder=tone/busy
|
|
@ -44,7 +44,7 @@ INCFILES := @top_srcdir@/yateclass.h @top_srcdir@/yatengine.h @top_srcdir@/yatep
|
|||
|
||||
JUSTSIG := server/ysigchan.yate server/analog.yate \
|
||||
server/ciscosm.yate server/sigtransport.yate \
|
||||
server/isupmangler.yate
|
||||
server/isupmangler.yate ysig/ss7_lnp_ansi.yate
|
||||
|
||||
SUBDIRS :=
|
||||
MKDEPS := ../config.status
|
||||
|
@ -277,6 +277,9 @@ server/wpcard.yate server/tdmcard.yate: LOCALFLAGS = -I@top_srcdir@/libs/ysig @W
|
|||
server/zapcard.yate: LOCALFLAGS = -I@top_srcdir@/libs/ysig @ZAP_FLAGS@
|
||||
$(JUSTSIG) server/wpcard.yate server/tdmcard.yate server/zapcard.yate: LOCALLIBS = -lyatesig
|
||||
|
||||
ysig/ss7_lnp_ansi.yate: LOCALFLAGS = -I@top_srcdir@/libs/ysig -I@top_srcdir@/libs/yasn
|
||||
ysig/ss7_lnp_ansi.yate: LOCALLIBS = -lyatesig -L../libs/yasn -lyasn
|
||||
|
||||
server/analogdetect.yate: ../libs/ymodem/libyatemodem.a
|
||||
server/analogdetect.yate: LOCALFLAGS = -I@top_srcdir@/libs/ymodem
|
||||
server/analogdetect.yate: LOCALLIBS = -L../libs/ymodem -lyatemodem
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue