<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://docs.telcobridges.com/mediawiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs.telcobridges.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Manon+B%C3%A9langer</id>
		<title>TBwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://docs.telcobridges.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Manon+B%C3%A9langer"/>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Special:Contributions/Manon_B%C3%A9langer"/>
		<updated>2026-04-05T11:54:06Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Text_Call_Detail_Records</id>
		<title>Text Call Detail Records</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Text_Call_Detail_Records"/>
				<updated>2018-03-27T12:52:37Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Information related to signaling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Text [[call detail record|call detail records]] (CDR) can be used on the [[TMG800]], [[TMG3200]] or [[TMG7800]]. The Call Detail Records are saved in a log file on a local disk. There is an entry done for each call leg, at the start of a call and at the end of the call. In addition, the system can be configured to update the CDRs periodically.&lt;br /&gt;
&lt;br /&gt;
The format of the CDR traces is defined by configuration, using variables that are replaced by the Gateway application when writing to the log.&lt;br /&gt;
&lt;br /&gt;
For example, the following variable will be replaced by the called number:&lt;br /&gt;
@{CalledNumber}&lt;br /&gt;
&lt;br /&gt;
In order to save disk space and simplify the archiving and backup of CDR log files, this log file is automatically archived (gzipped) and rotated every N seconds, as specified by the system configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
'''Refer to the appropriate Toolpack release:'''&lt;br /&gt;
*[[Toolpack:Enabling_CDR_C|Web Portal v2.9, 2.10, 3.0: CDR configuration]]&lt;br /&gt;
*[[Toolpack:Enabling_CDR_B|Web Portal v2.8: CDR configuration]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;other versions&amp;quot; data-expandtext=&amp;quot;Click here for other versions&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
*[[Toolpack:Enabling_CDR_A|Web Portal v2.7: CDR configuration]]&lt;br /&gt;
*[[Toolpack:Enabling_RADIUS_A|Web Portal v2.6: CDR configuration]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CDR Text Variables ==&lt;br /&gt;
The following variables can be used to define the CDR log format in [[Parameter: CDR format (start)|CDR format (start)]], [[Parameter: CDR format (update)|CDR format (update)]] and [[Parameter: CDR format (end)|CDR format (end)]] configuration fields.&lt;br /&gt;
&lt;br /&gt;
=== Variables used for identifying call (or call leg) in general ===&lt;br /&gt;
 @{StatusType}:             Indicates the type of record (&amp;quot;Start&amp;quot;, &amp;quot;Update&amp;quot; or &amp;quot;End&amp;quot;).&lt;br /&gt;
 @{LegId}:                  Unique Id for this leg (32 bits value).&lt;br /&gt;
 @{OtherLegId}:             Id of the other call leg joined with current call leg.&lt;br /&gt;
 @{SessionId}:              Unique call identifier for two joined and answered call legs, including failed outgoing call attempts (route retry)&lt;br /&gt;
                             Formatted as 4 values of 32 bits, printed as 4 blocks of 8 hexadecimal characters separated by a space&lt;br /&gt;
                             Ex: a939d169 299ffcd0 00000000 00000000&lt;br /&gt;
                             Note: Call Transfer Target legs have separate SessionId. If you need an id to correlate a transferred call&lt;br /&gt;
                                   to the original call, use @{OriginalSessionId}.&lt;br /&gt;
                             Note: Toolpack 2.9 and above support globally unique SessionId (unique across separate TMedia systems)&lt;br /&gt;
 @{OriginalSessionId}:      Refers to @{SessionId} of the original legs for this call, in case of call transfer.&lt;br /&gt;
                             In fact, Transfer Target leg has a different value for @{SessionId}, but can be linked with the original call&lt;br /&gt;
                             legs through @{OriginalSessionId}.&lt;br /&gt;
 @{LinkId}:                 Same meaning as @{OriginalSessionId}, but presented as a 32 bits integer value.&lt;br /&gt;
For all Ids above, please see [[Text_Call_Detail_Records_(CDR)#Known_limitations|Known Limitations]] below for notes about uniqueness of these values.&lt;br /&gt;
&lt;br /&gt;
=== Timestamps ===&lt;br /&gt;
 @{AlertTime}:              Time where the call has started ringing.&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{ConnectedTime}:          Time where the call was answered (and connected with another leg) (in number of seconds since epoch)&lt;br /&gt;
 @{ConnectedTime:format}:   Same as @{ConnectedTime} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 @{ConnectedTimeUtc:format}:Same as @{ConnectedTime:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
 @{CallDuration}:           Call duration in seconds (not available in the &amp;quot;start&amp;quot; CDR log)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{CallDurationMs}:         Call duration in milliseconds (end - connected time) (not available in the &amp;quot;start&amp;quot; CDR log)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{EndTime}:                Time where the call has started terminating (in number of seconds since epoch).&lt;br /&gt;
                             Note that slightly differs from the @{Timestamp}, since the 'End' CDR trace is printed once the call has&lt;br /&gt;
                             finished terminating,&lt;br /&gt;
                             while @{EndTime} reports the time where the call has started terminating (upon hangup for example).&lt;br /&gt;
 @{EndTime:format}:         Same as @{EndTime} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 @{EndTimeUtc:format}:      Same as @{EndTime:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
 @{RingingDuration}:        Ringing duration in seconds (connected - start time)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{RingingDurationMs}:      Ringing duration in milliseconds (connected - start time)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{StartTime}:              Time where the call was created (in number of seconds since epoch)&lt;br /&gt;
 @{StartTime:format}:       Same as @{StartTime} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 @{StartTimeUtc:format}:    Same as @{StartTime:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
 @{Timestamp}:              Time where this CDR log entry was written.&lt;br /&gt;
                             Should not be used for billing purposes. Use @{EndTime} for billing @{EndTime} reports the time where&lt;br /&gt;
                             the call has started terminating (hangup), while @{Timestamp} the time where signaling confirmed the termination.&lt;br /&gt;
 @{Timestamp:format}:       Same as @{Timestamp} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 @{TimestampUtc:format}:    Same as @{Timestamp:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
&lt;br /&gt;
=== Information related to signaling ===&lt;br /&gt;
 @{CalledNumber}:           Called number&lt;br /&gt;
 @{CallingNumber}:          Calling number&lt;br /&gt;
 @{CallingPresentation}:    Calling presentation: &amp;quot;Unspecified&amp;quot;, &amp;quot;NotAvailable&amp;quot;, &amp;quot;Allowed&amp;quot;, &amp;quot;Restricted&amp;quot;, &amp;quot;AddressRestricted&amp;quot; or &amp;quot;NameRestricted&amp;quot;&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{CallingSubscriberNumber}: Second calling number (ISDN) or Generic number of type &amp;quot;additional calling party number&amp;quot; (SS7) &lt;br /&gt;
                             Note: Supported on release 2.7.43 and up only.&lt;br /&gt;
 @{CallType}:               Call type (&amp;quot;Telephony&amp;quot; or &amp;quot;VOIP&amp;quot;)&lt;br /&gt;
 @{IncomingNAP}:            Name of the NAP that originated this call (incoming call leg's NAP name).&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{NAP}:                    Name of the NAP this call leg is from&lt;br /&gt;
 @{OriginatorName}:         Direction of the call:&lt;br /&gt;
                              - &amp;quot;answer&amp;quot; (incoming call leg) - &amp;quot;originate&amp;quot; (outgoing call leg)&lt;br /&gt;
                             Note: In release 2.6 and earlier, the direction of the call is as follows:&lt;br /&gt;
                              - &amp;quot;originate&amp;quot; (incoming call leg) - &amp;quot;answer&amp;quot; (outgoing call leg)&lt;br /&gt;
                             In release 2.7, the CDR option &amp;quot;Reverse CDR call origin&amp;quot; in Gateway configuration provide the same values as in release 2.6.&lt;br /&gt;
 @{OriginalCalledNumber}:   Original called number&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{Protocol}:               Type of protocol used (&amp;quot;SS7&amp;quot;, &amp;quot;ISDN&amp;quot;, or &amp;quot;SIP&amp;quot;)&lt;br /&gt;
 @{RedirectingNumber}:      Redirecting number&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 @{TerminationCause}:       Cause of the call termination, printed as an integer value (refering enum TBCMC_CALL_REASON_CODE)&lt;br /&gt;
 @{TerminationCauseString}: Cause of the call termination, printed as a string value&lt;br /&gt;
 @{OriginalCause}:          Original cause of the call termination (before it was converted to protocol-specific cause for current call leg), printed as a string value (refering enum TBCMC_CALL_REASON_CODE)&lt;br /&gt;
 @{TerminationSource}:      Identifies the cause of the leg termination:&lt;br /&gt;
                               - &amp;quot;TermInd&amp;quot;:       Terminating indication has been received on this leg&lt;br /&gt;
                               - &amp;quot;JoinedTermInd&amp;quot;: Terminating indication has been received on the leg joined to current leg,&lt;br /&gt;
                                                  and has been forwarded to current leg&lt;br /&gt;
                               - &amp;quot;App&amp;quot;:           Call control application has asked to drop the call&lt;br /&gt;
                               - &amp;quot;Engine&amp;quot;:        Toolpack engine has decided to terminate this call&lt;br /&gt;
                                                  (generally due to local errors like disconnected TMedia)&lt;br /&gt;
 @{UserName}:               Static value: 100.&lt;br /&gt;
 @{SipCallId}:              Content of the &amp;quot;call-id&amp;quot; SIP header&lt;br /&gt;
 @{ChargeIndicator}:        For TDM (SS7 and CAS R2); received charge indicator in Alert message.&lt;br /&gt;
 @{LocalSipIP}:             For SIP calls, IP address locally used for this call leg.&lt;br /&gt;
                             Note: Supported on release 3.0.70 and up only.&lt;br /&gt;
 @{LocalSipPort}:           For SIP calls, UDP port locally used for this call leg.&lt;br /&gt;
                             Note: Supported on release 3.0.70 and up only.&lt;br /&gt;
 @{RemoteSipIP}:            For SIP calls, IP address of the remote peer for this call leg.&lt;br /&gt;
                             Note: Supported on release 3.0.70 and up only.&lt;br /&gt;
 @{RemoteSipPort}:          For SIP calls, UDP port of the remote peer for this call leg.&lt;br /&gt;
                             Note: Supported on release 3.0.70 and up only.&lt;br /&gt;
&lt;br /&gt;
=== Information related to media ===&lt;br /&gt;
 @{Codec}:                  Codec used for this call (&amp;quot;G711&amp;quot; for example)&lt;br /&gt;
 @{LocalMediaInfo}:         Protocol type dependent information on the call leg (local information for SIP calls).&lt;br /&gt;
                             For TDM (Telephony) calls (SS7 or ISDN): &amp;quot;trunk_name:timeslot_nb&amp;quot;.&lt;br /&gt;
                             For VOIP calls (SIP): &amp;quot;codec@ip:port&amp;quot;  (IP and Port locally used for receiving RTP)&lt;br /&gt;
 @{LocalMediaIP}:           For VOIP calls, RTP IP address locally used for this call leg.&lt;br /&gt;
 @{LocalMediaPort}:         For VOIP calls, RTP UDP port locally used for this call leg.&lt;br /&gt;
 @{RemoteMediaInfo}:        Protocol type dependent information on the call leg (remote information SIP calls).&lt;br /&gt;
                             For TDM (Telephony) calls (SS7 or ISDN): &amp;quot;trunk_name:timeslot_nb&amp;quot;.&lt;br /&gt;
                             For VOIP calls (SIP): &amp;quot;codec@ip:port&amp;quot;  (IP and Port TMedia is sending RTP to)&lt;br /&gt;
 @{RemoteMediaIP}:          For VOIP calls, RTP IP address of the remote peer for this call leg.&lt;br /&gt;
 @{RemoteMediaPort}:        For VOIP calls, RTP UDP port of the remote peer for this call leg.&lt;br /&gt;
 @{TimeslotNumber}:         For TDM (Telephony) calls, timeslot number that this call was using for audio.&lt;br /&gt;
 @{TrunkName}:              For TDM (Telephony) calls, name of the trunk that this call was using for audio.&lt;br /&gt;
&lt;br /&gt;
=== Statistics ===&lt;br /&gt;
The call statistics variable allow to print RTP, RTCP and T38 statistics in the text CDR logs.&lt;br /&gt;
* Available '''only in the &amp;quot;end&amp;quot; CDR entry'''&lt;br /&gt;
* Available in release '''2.7.103''' and above only&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
* Pkt=@{Stat:Rtp:Rx:Packets}/@{Stat:Rtp:Tx:Packets}, Err=@{Stat:Rtp:Rx:Errors}/@{Stat:Rtp:Tx:Errors}&lt;br /&gt;
&lt;br /&gt;
Refer to the following pages for the list of statistics:&lt;br /&gt;
* [[Call_statistics_format_C|Call statistics format for Toolpack 3.0 or later]]&lt;br /&gt;
* [[Call_statistics_format_B|Call statistics format for Toolpack 2.9 or 2.10]]&lt;br /&gt;
* [[Call_statistics_format_A|Call statistics format for Toolpack 2.8]]&lt;br /&gt;
* [[Call_statistics_format_A|Call statistics format for Toolpack 2.7.103 or later]]&lt;br /&gt;
&lt;br /&gt;
===  Information related to routing ===&lt;br /&gt;
 @{ApplicationName}:        Name of the application that has written this log (&amp;quot;Gateway&amp;quot;)&lt;br /&gt;
 @{RouteAttribute:attr}:    Replaced by the value of a custom route attribute, for the selected&lt;br /&gt;
                             route. This will apply only to outgoing call legs that were made from routing.&lt;br /&gt;
                             Eligible route attributes are:&lt;br /&gt;
                                Route name:                    Use attribute &amp;quot;route_name&amp;quot;. Ex: @{RouteAttribute:route_name}&lt;br /&gt;
                                Route set name:                Use attribute &amp;quot;routeset_name&amp;quot;. Ex: @{RouteAttribute:routeset_name}&lt;br /&gt;
                                Custom route attribute column: Use the custom attribute name. Ex: @{RouteAttribute:priority}&lt;br /&gt;
                                Routing script parameters:     Use the route attribute name provided by routing script.&lt;br /&gt;
                                                               Ex: If script provides: route[:my_param]=&amp;quot;myval&amp;quot;&lt;br /&gt;
                                                                   Then it's included in CDR with @{RouteAttribute:my_param}]&lt;br /&gt;
                             ***** Important note:   This parameter cannot be retrieved after a switchover of the active to&lt;br /&gt;
                                                     the standby Toolpack host.&lt;br /&gt;
                                                     It's thus recommended to insert this information in the &amp;quot;Start&amp;quot; CDR entry,&lt;br /&gt;
                                                     rather than the &amp;quot;End&amp;quot; CDR entry.&lt;br /&gt;
 @{ScriptAttribute:attr}:   Replaced by the value of a routing script attribute stored in params[:bridge].&lt;br /&gt;
                             This will apply for incoming and outgoing call legs.&lt;br /&gt;
                             Eligible script attributes are:&lt;br /&gt;
                                Custom CDR value:              Use attribute &amp;quot;CustomCdrValue&amp;quot;. Ex: @{ScriptAttribute:CustomCdrValue}&lt;br /&gt;
                                Script parameters:             Use the attribute name provided by routing script.&lt;br /&gt;
                                                               Ex: If script provides: params[:bridge][:my_param]=&amp;quot;myval&amp;quot;&lt;br /&gt;
                                                                   Then it's included in CDR with @{ScriptAttribute:my_param}&lt;br /&gt;
                             ***** Important note:   This parameter cannot be retrieved after a switchover of the active to&lt;br /&gt;
                                                     the standby Toolpack host.&lt;br /&gt;
                                                     It's thus recommended to insert this information in the &amp;quot;Start&amp;quot; CDR entry,&lt;br /&gt;
                                                     rather than the &amp;quot;End&amp;quot; CDR entry.&lt;br /&gt;
&lt;br /&gt;
=== Deprecated values: ===&lt;br /&gt;
 @{MediaInfo}:              Same as @{RemoteMediaInfo}&lt;br /&gt;
 @{RemoteIP}:               Same as @{RemoteMediaIP}&lt;br /&gt;
 @{RemotePort}:             Same as @{RemoteMediaPort}&lt;br /&gt;
&lt;br /&gt;
== CDR sample ==&lt;br /&gt;
=== Call sample with Start and End records ===&lt;br /&gt;
  2013-02-07 10:19:04.640-0500,BEG,SessionId='f2685706 00000000 00000000 00000000',LegId='0xF2685706',StartTime='1360250341',ConnectedTime='1360250344',Calling='',Called='123',NAP='NAP_SIP',Protocol='SIP',Direction='answer' &lt;br /&gt;
  2013-02-07 10:19:04.640-0500,BEG,SessionId='f2685706 00000000 00000000 00000000',LegId='0x72685C1F',StartTime='1360250344',ConnectedTime='1360250344',Calling='',Called='123',NAP='NAP_SIP2',Protocol='SIP',Direction='originate' &lt;br /&gt;
  2013-02-07 10:19:07.562-0500,END,SessionId='f2685706 00000000 00000000 00000000',LegId='0x72685C1F',StartTime='1360250344',ConnectedTime='1360250344',EndTime='1360250347',FreedTime='1360250347',TerminationCause='TOOLPACK_NORMAL',TerminationSource='App',Calling='',Called='123',NAP='NAP_SIP2',Direction='originate' &lt;br /&gt;
  2013-02-07 10:19:07.656-0500,END,SessionId='f2685706 00000000 00000000 00000000',LegId='0xF2685706',StartTime='1360250341',ConnectedTime='1360250344',EndTime='1360250347',FreedTime='1360250347',TerminationCause='TOOLPACK_NORMAL',Termination Source='App',Calling='',Called='123',NAP='NAP_SIP',Direction='answer'&lt;br /&gt;
&lt;br /&gt;
== Redundancy ==&lt;br /&gt;
&lt;br /&gt;
In a [[TMG7800]] configuration, with redundant TMG-Control servers, or [[TMG3200]]/[[TMG800]] in 1+1 configuration, only the active server writes the CDR logs. Since the active server may change over time, CDR parsing must take into account that CDR logs may be found in files from the two servers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The analysis of the logs for the purpose of extracting billing information must be done after combining the two logs, from both TMG-Control servers, sorting the entries by timestamp for example. See how to [[TMG:Retrieve_Text_CDR|Retrieve Text CDR here]].&lt;br /&gt;
&lt;br /&gt;
== CDR entry loss due to switchover ==&lt;br /&gt;
In some situations (during HA switchover for example), some CDR entries may be lost.&lt;br /&gt;
&lt;br /&gt;
The following guide lines provide information on how to deal with these corner cases:&lt;br /&gt;
&lt;br /&gt;
[[Call_Detail_Records_Entry_Loss|Deal with CDR entries loss]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Retrieving Text CDRs  ==&lt;br /&gt;
&lt;br /&gt;
There are 2 ways to retrieve the text CDR manually or automatically. The procedures are described in [[TMG:Retrieve_Text_CDR|Retrieve Text CDR]].&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
*This mode of operation is not recommended for [[TMG800]] or [[TMG3200]] with a flash disk (last shipment January 2011). However, the [[TMG800]] or [[TMG3200]] with SATA or SSD disk option is OK (use command [[Get Product Type|tbinfo]]: if the command can be executed, the disk is SATA or SSD).&lt;br /&gt;
*TelcoBridges does not recommend storing CDR logs via network file systems (NFS or other). We highly recommend writing to a local hard drive and have developed a background script that moves the gzipped log segments for backup or analysis.&lt;br /&gt;
&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/SIP_session_timers</id>
		<title>SIP session timers</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/SIP_session_timers"/>
				<updated>2018-01-18T20:33:40Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding explanation about session refresh timer.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:SIP Session timers}}&lt;br /&gt;
&lt;br /&gt;
== SIP Session Timer Support ==&lt;br /&gt;
SIP provides a mechanism by which both user agents and proxies can determine whether a given SIP session is still active. This mechanism is referred to as a Session Timer and is described in RFC 4028 “Session Timers in SIP”. This specification defines a keep alive mechanism for SIP sessions.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
The SIP Session Timer Support feature adds the capability to periodically refresh Session Initiation Protocol (SIP) sessions by sending repeated INVITE requests. The repeated INVITE requests, or re-INVITEs, are sent during an active call leg to allow user agents (UAs) or proxies to determine the status of a SIP session. Without this keep alive mechanism, proxies that remember incoming and outgoing requests (stateful proxies) may continue to retain the call state needlessly. If a UA fails to send a BYE message at the end of a session or if the BYE message is lost because of network problems, a stateful proxy does not know that the session has ended. The re-INVITES ensure that active sessions stay active and completed sessions are terminated. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites for SIP Session Timer Support ==&lt;br /&gt;
No special prerequisites, SIP Session Timer is available for all TMedia Toolpack versions that released.&lt;br /&gt;
&lt;br /&gt;
== Role of the User Agents ==&lt;br /&gt;
The initial INVITE request establishes the duration of the session and may include a Session-Expires header and a Min-SE header. These headers indicate the session timer value required by the user agent client (UAC). A receiving user agent server (UAS) or proxy can lower the session timer value, but not lower than the value of the Min-SE header. If the session timer duration is lower than the configured minimum, the proxy or UAS can also send out a 422 response message. If the UAS or proxy finds that the session timer value is acceptable, it copies the Session-Expires header into the 2xx class response. &lt;br /&gt;
A UAS or proxy can insert a Session-Expires header in the INVITE if the UAC did not include one. Thus a UAC can receive a Session-Expires header in a response even if none was present in the request. &lt;br /&gt;
In the 2xx response, the refresher parameter in the Session-Expires header indicates who performs the re-INVITES. For example, if the parameter contains the value UAC, the UAC performs the refreshes. For compatibility issues, only one of the two user agents needs to support the session timer feature, and in that case, the UA that supports the feature performs the refreshes. The other UA interprets the refreshes as repetitive INVITEs and ignores them. &lt;br /&gt;
Re-INVITEs are processed identically to INVITE requests, but go out in predetermined session intervals. Re-INVITEs carry the new session expiration time. The UA responsible for generating re-INVITE requests sends a re-INVITE out before the session expires. If there is no response, the UA sends a BYE request to terminate the call before session expiration. If a re-INVITE is not sent before the session expiration, either the UAC or the UAS can send a BYE. &lt;br /&gt;
If the 2xx response does not contain a Session-Expires header, there is no session expiration and re-INVITES do not need to be sent. &lt;br /&gt;
&lt;br /&gt;
== Session-Expires Header== &lt;br /&gt;
&lt;br /&gt;
   The Session-Expires header field conveys the session interval for a SIP session.  It is placed only in INVITE or UPDATE requests, as well  as in any 2xx response to an INVITE or UPDATE. The absolute minimum for the Session-Expires header field is 90 seconds.  This value represents a bit more than twice the duration that a SIP transaction can take in the event of a timeout.  This allows sufficient time for a UA to attempt a refresh at the halfpoint of the session interval, and for that transaction to complete    normally before the session expires.  However, 1800 seconds (30 minutes) is RECOMMENDED as the value for the Session-Expires header field.  In other words, SIP entities MUST be prepared to handle    Session-Expires header field values of any duration greater than 90 seconds, but entities that insert the Session-Expires header field SHOULD NOT choose values of less than 30 minutes.&lt;br /&gt;
The syntax of the Session-Expires header field is as follows:&lt;br /&gt;
   Session-Expires  = (&amp;quot;Session-Expires&amp;quot; / &amp;quot;x&amp;quot;) HCOLON delta-seconds&lt;br /&gt;
                        *(SEMI se-params)&lt;br /&gt;
   se-params        = refresher-param / generic-param&lt;br /&gt;
   refresher-param  = &amp;quot;refresher&amp;quot; EQUAL  (&amp;quot;uas&amp;quot; / &amp;quot;uac&amp;quot;)&lt;br /&gt;
The refresher parameter is optional in the initial INVITE, although the UAC can set it to UAC to indicate that it will do the refreshes. The 200 OK response must have the refresher parameter set.&lt;br /&gt;
Min-SE Header &lt;br /&gt;
Because of the processing load of INVITE requests you can configure a minimum timer value that the proxy, UAC, and UAS can accept. The proxy, UAC, and UAS. The Min-SE command sets the minimum timer, and it is conveyed in the Min-SE header in the initial INVITE request. &lt;br /&gt;
When making a call, the presence of the Min-SE header informs the UAS and any proxies of the minimum value that the UAC accepts for the session timer duration, in seconds. The default value is 1800 seconds (30 minutes). By not reducing the session timer below the value set, the UAS and proxies prevent the UAC from having to reject a call with a 422 error. Once set, the Min-SE command value affects all calls originated by the router. If the Min-SE header is not present, the UA accepts any value. &lt;br /&gt;
The syntax of the Min-SE header is: &lt;br /&gt;
Min-SE  =  &amp;quot;Min-SE&amp;quot; &amp;quot;:&amp;quot; delta-seconds&lt;br /&gt;
422 Response Message &lt;br /&gt;
If the value of the Session-Expires header is too small, the UAS or proxy rejects the call with a 422 Session Timer Too Small response message. With the 422 response message, the proxy or UAS includes a Min-SE header indicating the minimum session value it can accept. The UAC may then retry the call with a larger session timer value. &lt;br /&gt;
If a 422 response message is received after an INVITE request, the UAC can retry the INVITE. &lt;br /&gt;
&lt;br /&gt;
== How to configure ==&lt;br /&gt;
Session Timer Configurable under: &lt;br /&gt;
  SIP -&amp;gt; SIP Stack -&amp;gt; Session Timer&lt;br /&gt;
Please visit toolpack configuration for each toolpack version for detail: [[Toolpack:Creating_a_SIP_Stack_D|Web Portal SIP Configuration]]&lt;br /&gt;
&lt;br /&gt;
Note: The recommended value for “Default session timer” is not less than 30 Mins (1800 Sec) and for Min-SE it is recommended value is not less than 90 sec.&lt;br /&gt;
To make new configuration take effect:&lt;br /&gt;
* Validate the configuration from the system&lt;br /&gt;
* Activate the new configuration. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SIP Session Timer Call Flows Example ==&lt;br /&gt;
==== General SIP Session Timer call flow ====&lt;br /&gt;
TMG/TSBC requests session timer by including Session-Expires: 1800 and Min SE: 256 header on the INVITE. TMG/TSBC receives 200 OK that set session timer to 1800 seconds and TMG/TSBC as the refresher. TMG/TSBC starts a 900 seconds session refresh timer, which is half of the 1800 seconds of the session timer to make sure the refresh is processed before the session expires. After refresh timer expires, TMG/TSBC sends out refresh request with Session-Expires value set to current value 1800 seconds and refresher to UAC. TMG/TSBC receives 200 OK and resets the timer. Once again TMG/TSBC sends out refresh request after session refresh timer expire. Finally, call ended in clear manner and Bye send to remote proxy, TMG/TSBC receives 200 OK. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_example_1.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Sip Session Expire too Small ==== &lt;br /&gt;
&lt;br /&gt;
SIP Proxy send invite to TMG/TSBC by including Min SE: 50 SIP header on the INVITE message.&lt;br /&gt;
TMG/TSBC reply with 422, Session timer too small as Min-SE value is set to 90 in TMG/TSBC and SIP Proxy send acknowledge to TMG/TSBC and call terminated.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_too_small.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== TMG/TSBC is UAS and does the refresh ==== &lt;br /&gt;
&lt;br /&gt;
TMG/TSBC receives INVITE that has supported header with option tag ‘timer’ and Session-Expires header with 1800 seconds value with refresher=uas. TMG/TSBC starts 900 seconds session refresh timer. After refresh timer expires, TMG/TSBC sends out refresh request with Session-Expires value set to current value 1800 seconds, refresher is set to UAC so that ensure TMG/TSBC will always perform refresh. TMG/TSBC receives 200 OK and resets the timer.  Once again TMG/TSBC sends out refresh request after session refresh timer expires, but now the SIP Proxy crashed so that TMG/TSBC receives 408 Request Timeout. TMG/TSBC sends out BYE and the call is terminated.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_uas_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== TMG or SBC is UAS and SIP Proxy does the refresh ==== &lt;br /&gt;
&lt;br /&gt;
TMG/TSBC receives INVITE that has supported header with option tag ‘timer’. TMG/TSBC sends 200 OK and requests session timer by including require header with tag ‘timer’ and Session-Expires header. The session interval is set to 1800 seconds and refresher is the SIP Proxy. TMG/TSBC receives session refresh request before the session end timer expires. TMG/TSBC sends 200 OK back and set refresher to UAC so that the role of refresher doesn’ t change. TMG/TSBC restarts 1800 seconds session end timer. Now the Sip Proxy crashes and no refresh request sent. 1800 seconds later the session end timer expires, TMG/TSBC sends out BYE and terminates the call.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_proxy_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== TMG/TSBC is UAC and Requests Session Timer ==== &lt;br /&gt;
&lt;br /&gt;
TMG/TSBC invite by including Session-Expires header and Min SE on the INVITE. TMG/TSBC receives 200 OK that set session timer to 1800 seconds and TMG/TSBC as the refresher. TMG/TSBC starts 900 seconds session refresh timer. After refresh timer expires, TMG/TSBC sends out refresh request with Session-Expires value set to current value 1800 seconds and refresher to UAC. TMG/TSBC receives 200 OK and resets the timer. Once again TMG/TSBC sends out refresh request after session refresh timer expires, but now the (SIP) Proxy crashed so that TMG/TSBC receives 408 Request Timeout. TMG/TSBC sends out BYE and the call is terminated.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_uac_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
==== TMG/TSBC is UAC and (SIP) Proxy does the refresh ==== &lt;br /&gt;
TMG/TSBC sends INVITE that has supported header with option tag ‘timer’ and Session-Expires to request session timer. The remote gateway accepts it. The session interval is set to 1800 seconds and refresher is the remote gateway. TMG/TSBC starts 1800 seconds session end timer. TMG/TSBC receives session refresh request before the session end timer expires. TMG/TSBC sends 200 OK back and set refresher to UAC so that the role of refresher doesn’t change. TMG/TSBC restarts 1800 seconds session end timer. Now the remote gateway crashes and no refresh request sent. 1800 seconds later the session end timer expires, TMG/TSBC sends out BYE and terminates the call.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_proxy_uac_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Reference: https://tools.ietf.org/html/rfc4028#section-4&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/SIP_session_timers</id>
		<title>SIP session timers</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/SIP_session_timers"/>
				<updated>2018-01-18T19:33:18Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Replaced IMG by TMG/TSBC&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:SIP Session timers}}&lt;br /&gt;
&lt;br /&gt;
== SIP Session Timer Support ==&lt;br /&gt;
SIP provides a mechanism by which both user agents and proxies can determine whether a given SIP session is still active. This mechanism is referred to as a Session Timer and is described in RFC 4028 “Session Timers in SIP”. This specification defines a keep alive mechanism for SIP sessions.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
The SIP Session Timer Support feature adds the capability to periodically refresh Session Initiation Protocol (SIP) sessions by sending repeated INVITE requests. The repeated INVITE requests, or re-INVITEs, are sent during an active call leg to allow user agents (UAs) or proxies to determine the status of a SIP session. Without this keep alive mechanism, proxies that remember incoming and outgoing requests (stateful proxies) may continue to retain the call state needlessly. If a UA fails to send a BYE message at the end of a session or if the BYE message is lost because of network problems, a stateful proxy does not know that the session has ended. The re-INVITES ensure that active sessions stay active and completed sessions are terminated. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites for SIP Session Timer Support ==&lt;br /&gt;
No special prerequisites, SIP Session Timer is available for all TMedia Toolpack versions that released.&lt;br /&gt;
&lt;br /&gt;
== Role of the User Agents ==&lt;br /&gt;
The initial INVITE request establishes the duration of the session and may include a Session-Expires header and a Min-SE header. These headers indicate the session timer value required by the user agent client (UAC). A receiving user agent server (UAS) or proxy can lower the session timer value, but not lower than the value of the Min-SE header. If the session timer duration is lower than the configured minimum, the proxy or UAS can also send out a 422 response message. If the UAS or proxy finds that the session timer value is acceptable, it copies the Session-Expires header into the 2xx class response. &lt;br /&gt;
A UAS or proxy can insert a Session-Expires header in the INVITE if the UAC did not include one. Thus a UAC can receive a Session-Expires header in a response even if none was present in the request. &lt;br /&gt;
In the 2xx response, the refresher parameter in the Session-Expires header indicates who performs the re-INVITES. For example, if the parameter contains the value UAC, the UAC performs the refreshes. For compatibility issues, only one of the two user agents needs to support the session timer feature, and in that case, the UA that supports the feature performs the refreshes. The other UA interprets the refreshes as repetitive INVITEs and ignores them. &lt;br /&gt;
Re-INVITEs are processed identically to INVITE requests, but go out in predetermined session intervals. Re-INVITEs carry the new session expiration time. The UA responsible for generating re-INVITE requests sends a re-INVITE out before the session expires. If there is no response, the UA sends a BYE request to terminate the call before session expiration. If a re-INVITE is not sent before the session expiration, either the UAC or the UAS can send a BYE. &lt;br /&gt;
If the 2xx response does not contain a Session-Expires header, there is no session expiration and re-INVITES do not need to be sent. &lt;br /&gt;
&lt;br /&gt;
== Session-Expires Header== &lt;br /&gt;
&lt;br /&gt;
   The Session-Expires header field conveys the session interval for a SIP session.  It is placed only in INVITE or UPDATE requests, as well  as in any 2xx response to an INVITE or UPDATE. The absolute minimum for the Session-Expires header field is 90 seconds.  This value represents a bit more than twice the duration that a SIP transaction can take in the event of a timeout.  This allows sufficient time for a UA to attempt a refresh at the halfpoint of the session interval, and for that transaction to complete    normally before the session expires.  However, 1800 seconds (30 minutes) is RECOMMENDED as the value for the Session-Expires header field.  In other words, SIP entities MUST be prepared to handle    Session-Expires header field values of any duration greater than 90 seconds, but entities that insert the Session-Expires header field SHOULD NOT choose values of less than 30 minutes.&lt;br /&gt;
The syntax of the Session-Expires header field is as follows:&lt;br /&gt;
   Session-Expires  = (&amp;quot;Session-Expires&amp;quot; / &amp;quot;x&amp;quot;) HCOLON delta-seconds&lt;br /&gt;
                        *(SEMI se-params)&lt;br /&gt;
   se-params        = refresher-param / generic-param&lt;br /&gt;
   refresher-param  = &amp;quot;refresher&amp;quot; EQUAL  (&amp;quot;uas&amp;quot; / &amp;quot;uac&amp;quot;)&lt;br /&gt;
The refresher parameter is optional in the initial INVITE, although the UAC can set it to UAC to indicate that it will do the refreshes. The 200 OK response must have the refresher parameter set.&lt;br /&gt;
Min-SE Header &lt;br /&gt;
Because of the processing load of INVITE requests you can configure a minimum timer value that the proxy, UAC, and UAS can accept. The proxy, UAC, and UAS. The Min-SE command sets the minimum timer, and it is conveyed in the Min-SE header in the initial INVITE request. &lt;br /&gt;
When making a call, the presence of the Min-SE header informs the UAS and any proxies of the minimum value that the UAC accepts for the session timer duration, in seconds. The default value is 1800 seconds (30 minutes). By not reducing the session timer below the value set, the UAS and proxies prevent the UAC from having to reject a call with a 422 error. Once set, the Min-SE command value affects all calls originated by the router. If the Min-SE header is not present, the UA accepts any value. &lt;br /&gt;
The syntax of the Min-SE header is: &lt;br /&gt;
Min-SE  =  &amp;quot;Min-SE&amp;quot; &amp;quot;:&amp;quot; delta-seconds&lt;br /&gt;
422 Response Message &lt;br /&gt;
If the value of the Session-Expires header is too small, the UAS or proxy rejects the call with a 422 Session Timer Too Small response message. With the 422 response message, the proxy or UAS includes a Min-SE header indicating the minimum session value it can accept. The UAC may then retry the call with a larger session timer value. &lt;br /&gt;
If a 422 response message is received after an INVITE request, the UAC can retry the INVITE. &lt;br /&gt;
&lt;br /&gt;
== How to configure ==&lt;br /&gt;
Session Timer Configurable under: &lt;br /&gt;
  SIP -&amp;gt; SIP Stack -&amp;gt; Session Timer&lt;br /&gt;
Please visit toolpack configuration for each toolpack version for detail: [[Toolpack:Creating_a_SIP_Stack_D|Web Portal SIP Configuration]]&lt;br /&gt;
&lt;br /&gt;
Note: The recommended value for “Default session timer” is not less than 30 Mins (1800 Sec) and for Min-SE it is recommended value is not less than 90 sec.&lt;br /&gt;
To make new configuration take effect:&lt;br /&gt;
* Validate the configuration from the system&lt;br /&gt;
* Activate the new configuration. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== SIP Session Timer Call Flows Example ==&lt;br /&gt;
==== General SIP Session Timer call flow ====&lt;br /&gt;
TMG/TSBC requests session timer by including Session-Expires: 1800 and Min SE: 256 header on the INVITE. TMG/TSBC receives 200 OK that set session timer to 1800 seconds and TMG/TSBC as the refresher. TMG/TSBC starts 900 seconds session refresh timer. After refresh timer expires, TMG/TSBC sends out refresh request with Session-Expires value set to current value 1800 seconds and refresher to UAC. TMG/TSBC receives 200 OK and resets the timer. Once again TMG/TSBC sends out refresh request after session refresh timer expire. Finally, call ended in clear manner and Bye send to remote proxy, TMG/TSBC receives 200 OK. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_example_1.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Sip Session Expire too Small ==== &lt;br /&gt;
&lt;br /&gt;
SIP Proxy send invite to TMG/TSBC by including Min SE: 50 SIP header on the INVITE message.&lt;br /&gt;
TMG/TSBC reply with 422, Session timer too small as Min-SE value is set to 90 in TMG/TSBC and SIP Proxy send acknowledge to TMG/TSBC and call terminated.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_too_small.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== TMG/TSBC is UAS and does the refresh ==== &lt;br /&gt;
&lt;br /&gt;
TMG/TSBC receives INVITE that has supported header with option tag ‘timer’ and Session-Expires header with 1800 seconds value with refresher=uas. TMG/TSBC starts 900 seconds session refresh timer. After refresh timer expires, TMG/TSBC sends out refresh request with Session-Expires value set to current value 1800 seconds, refresher is set to UAC so that ensure TMG/TSBC will always perform refresh. TMG/TSBC receives 200 OK and resets the timer.  Once again TMG/TSBC sends out refresh request after session refresh timer expires, but now the SIP Proxy crashed so that TMG/TSBC receives 408 Request Timeout. TMG/TSBC sends out BYE and the call is terminated.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_uas_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== TMG or SBC is UAS and SIP Proxy does the refresh ==== &lt;br /&gt;
&lt;br /&gt;
TMG/TSBC receives INVITE that has supported header with option tag ‘timer’. TMG/TSBC sends 200 OK and requests session timer by including require header with tag ‘timer’ and Session-Expires header. The session interval is set to 1800 seconds and refresher is the SIP Proxy. TMG/TSBC receives session refresh request before the session end timer expires. TMG/TSBC sends 200 OK back and set refresher to UAC so that the role of refresher doesn’ t change. TMG/TSBC restarts 1800 seconds session end timer. Now the Sip Proxy crashes and no refresh request sent. 1800 seconds later the session end timer expires, TMG/TSBC sends out BYE and terminates the call.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_proxy_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== TMG/TSBC is UAC and Requests Session Timer ==== &lt;br /&gt;
&lt;br /&gt;
TMG/TSBC invite by including Session-Expires header and Min SE on the INVITE. TMG/TSBC receives 200 OK that set session timer to 1800 seconds and TMG/TSBC as the refresher. TMG/TSBC starts 900 seconds session refresh timer. After refresh timer expires, TMG/TSBC sends out refresh request with Session-Expires value set to current value 1800 seconds and refresher to UAC. TMG/TSBC receives 200 OK and resets the timer. Once again TMG/TSBC sends out refresh request after session refresh timer expires, but now the (SIP) Proxy crashed so that TMG/TSBC receives 408 Request Timeout. TMG/TSBC sends out BYE and the call is terminated.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_uac_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
==== TMG/TSBC is UAC and (SIP) Proxy does the refresh ==== &lt;br /&gt;
TMG/TSBC sends INVITE that has supported header with option tag ‘timer’ and Session-Expires to request session timer. The remote gateway accepts it. The session interval is set to 1800 seconds and refresher is the remote gateway. TMG/TSBC starts 1800 seconds session end timer. TMG/TSBC receives session refresh request before the session end timer expires. TMG/TSBC sends 200 OK back and set refresher to UAC so that the role of refresher doesn’t change. TMG/TSBC restarts 1800 seconds session end timer. Now the remote gateway crashes and no refresh request sent. 1800 seconds later the session end timer expires, TMG/TSBC sends out BYE and terminates the call.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[[File:SIP_session_timer_proxy_uac_refresher.png|350px]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Reference: https://tools.ietf.org/html/rfc4028#section-4&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Retrieving_Call_Trace_C</id>
		<title>Toolpack:Retrieving Call Trace C</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Retrieving_Call_Trace_C"/>
				<updated>2017-11-08T15:38:48Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version of the page with an added section for fraud call removal&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s) v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Retrieving Call Trace}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Retrieving calls from memory====&lt;br /&gt;
&lt;br /&gt;
1- Click '''Call Trace''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
[[Image:RetrievingCallTrace_0.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Set various parameters for call trace, such as&lt;br /&gt;
*Time and date range &lt;br /&gt;
*Called or calling number &lt;br /&gt;
*Network Access Point (NAP) &lt;br /&gt;
*Incoming or outgoing calls &lt;br /&gt;
*Call Duration, Reason Code&lt;br /&gt;
*Active call&lt;br /&gt;
[[Image:RetrievingCallTrace_1.png]]&lt;br /&gt;
&lt;br /&gt;
Once you are satisfied with the filter criteria, click '''Apply'''&lt;br /&gt;
&lt;br /&gt;
The filter results are displayed.&lt;br /&gt;
&lt;br /&gt;
[[Image:FileAccessingCallTrace_2.png]]&lt;br /&gt;
&lt;br /&gt;
====Dropping an active call====&lt;br /&gt;
&lt;br /&gt;
1- Select the call to drop in the results window. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====View detailed call traces for a call====&lt;br /&gt;
&lt;br /&gt;
1- Select a call in the results window to display further information about the call. &lt;br /&gt;
&lt;br /&gt;
2- Choose the concerned call entry to view the details.&lt;br /&gt;
* Click '''Download Audio File'''&lt;br /&gt;
&lt;br /&gt;
[[Image:FileAccessingCallTrace_3.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- You can choose to export the call trace file as an HTML file.&lt;br /&gt;
* Click '''Export'''&lt;br /&gt;
&lt;br /&gt;
[[Image:FileAccessingCallTrace_4.png]]&lt;br /&gt;
&lt;br /&gt;
4- For active calls, you can also choose to drop the call.&lt;br /&gt;
* Click '''Drop call'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Retrieving calls from files ====&lt;br /&gt;
By default, the system stores up to 10,000 call legs in memory. If the call is no longer in memory, it may be retrieved by using information from the uctdata log files. &lt;br /&gt;
To search for calls that are no longer in memory, do the following:&lt;br /&gt;
&lt;br /&gt;
1- Start [[How_to_use_tbx_cli_tools_remote_program|tbx_cli_tools_remote]] &amp;lt;br/&amp;gt;&lt;br /&gt;
2- Select tbuctwriter &amp;lt;br/&amp;gt;&lt;br /&gt;
3- To know which files are available, as well as the start and end time of each file, use the following options: &lt;br /&gt;
* 'p' to print all uctdata files on disk&lt;br /&gt;
&lt;br /&gt;
To load a file into memory for viewing with the Web Portal: &amp;lt;br&amp;gt; &lt;br /&gt;
* Option 'o' followed by the data filename (uctdata*)&lt;br /&gt;
&lt;br /&gt;
Use the Web Portal to search for calls using the appropriate filter criteria. The memory will not be overwritten until you restore normal process. &lt;br /&gt;
&lt;br /&gt;
To restore normal process:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Option ‘c’ to clear memory &lt;br /&gt;
*Option ‘l’ to have calls put in memory again&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default the file is located in the following path: &lt;br /&gt;
&amp;lt;pre&amp;gt;/lib/tb/toolpack/setup/12358/2.8/apps/tbuctwriter/uctdata*&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Tctrl_Version_3.0</id>
		<title>Tctrl Version 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Tctrl_Version_3.0"/>
				<updated>2017-11-07T21:44:46Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Fixing link for sip registration forwarding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Features  ==&lt;br /&gt;
&lt;br /&gt;
The [[Tctrl]] provides the following [[:category:Tsbc Features|''T''sbc features]]. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot; style=&amp;quot;width: 820px; height: 383px; text-align: center;&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; | Features &lt;br /&gt;
! width=&amp;quot;150&amp;quot; | Enhancement'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;''' &lt;br /&gt;
! width=&amp;quot;150&amp;quot; | Release&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | SBC Product&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[TSBC-SW|New Session Border Controller (SBC) product called TSBC-SW]]&lt;br /&gt;
| &lt;br /&gt;
| 3.0&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | SIP&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align:left;&amp;quot; | [[Sip_registration_forwarding|SIP registration forwarding]]&lt;br /&gt;
| &lt;br /&gt;
| 3.0&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-25T13:47:16Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Add link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add VLAN&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Vlan_SBC_A|Configuring a VLAN]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show_Hardware_Units_A|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Adding_a_Transcoding_Unit_A|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_F|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_1%2B1_Group_C|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Show_Hardware_Units_A</id>
		<title>Toolpack:Show Hardware Units A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Show_Hardware_Units_A"/>
				<updated>2017-04-25T13:46:39Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Show Hardware Units menu}}&lt;br /&gt;
&lt;br /&gt;
'''To show Hardware Units menu:'''&lt;br /&gt;
&lt;br /&gt;
1- Click '''Configurations''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Select the desired configuration in the '''Configurations List'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[New image needed - only one active configuration]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Click '''Web Profiles''' to modify the web portal profile.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:WebProfile_Select_B.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Check '''Hardware Unit'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5- Click '''Save'''.&lt;br /&gt;
The Hardware Units menu will appear for the selected configuration&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-25T13:33:12Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add VLAN&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Vlan_SBC_A|Configuring a VLAN]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Adding_a_Transcoding_Unit_A|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_F|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_1%2B1_Group_C|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-25T13:32:49Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding links for transcoding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Vlan_SBC_A|Configuring a VLAN]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Adding_a_Transcoding_Unit_A|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_F|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_1%2B1_Group_C|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-25T13:30:46Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding link to VLAN&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Vlan_SBC_A|Configuring a VLAN]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Adding_a_Transcoding_Unit_A|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_F|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_1%2B1_Group_C|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Vlan_SBC_A</id>
		<title>Toolpack:Configuring Vlan SBC A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Vlan_SBC_A"/>
				<updated>2017-04-25T13:29:56Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version of the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring a VLAN}}&lt;br /&gt;
&lt;br /&gt;
After you create a virtual port, you must create a new VLAN.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a VLAN  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hosts]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Select a Virtual Port&lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the new VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
*If the port is to be used untagged, make sure '''Untagged''' is checked. &lt;br /&gt;
*If the port is to be used with a 802.1Q tag, uncheck '''Untagged''' and enter a VLAN ID. &lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[new image needed]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Name|Name]]&lt;br /&gt;
* [[Parameter: Untagged|Untagged]]&lt;br /&gt;
* [[Parameter: VLAN id|VLAN id]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_C</id>
		<title>Toolpack:Configuring Virtual Port SBC C</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_C"/>
				<updated>2017-04-25T13:25:04Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Remove VLAN, moved to another page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring a Virtual Port}}&lt;br /&gt;
&lt;br /&gt;
One or more virtual ports can be created to manage IP traffic.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a virtual port  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hosts]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[new image needed]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Name|Name]]&lt;br /&gt;
* [[Parameter: Hosts|Hosts]]&lt;br /&gt;
* [[Parameter: Physical ports|Physical Ports]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_C</id>
		<title>Toolpack:Configuring Virtual Port SBC C</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_C"/>
				<updated>2017-04-25T13:04:09Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding vlan configuration to virtual port configuration&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring a Virtual Port}}&lt;br /&gt;
&lt;br /&gt;
One or more virtual ports can be created to manage IP traffic.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a virtual port  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hosts]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[new image needed]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
4. Create a VLAN that uses this virtual port&lt;br /&gt;
*Click '''Create new Host VLAN'''&lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Configure the VLAN&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the VLAN&lt;br /&gt;
&lt;br /&gt;
[[new image needed]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Name|Name]]&lt;br /&gt;
* [[Parameter: Hosts|Hosts]]&lt;br /&gt;
* [[Parameter: Physical ports|Physical Ports]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_VoIP_Interfaces_E</id>
		<title>Toolpack:Configuring VoIP Interfaces E</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_VoIP_Interfaces_E"/>
				<updated>2017-04-25T12:49:14Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Fix comment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring VoIP Interfaces}}&lt;br /&gt;
&lt;br /&gt;
The IP interface of the VoIP0 and VoIP1 ports can be configured by setting the following: &lt;br /&gt;
&lt;br /&gt;
*IP Address &lt;br /&gt;
*Netmask &lt;br /&gt;
*Gateway&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a VoIP0 or VoIP1 port  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hardware Units]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface''' &lt;br /&gt;
&lt;br /&gt;
[[Image:Voip_Interface_1a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 3. Configure the IP port: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select a service to use for the IP inteface&lt;br /&gt;
*Select a '''Virtual port''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
'''Note:''' IP addresses using different virtual ports must be on different subnets. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[New image needed]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
4. The changes are displayed in the IP interfaces information panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
5. Activate the configuration&lt;br /&gt;
&lt;br /&gt;
Systems -&amp;amp;gt; Edit -&amp;amp;gt;&amp;amp;nbsp;Activate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. It is necessary to reboot the adapters if you are using the vlan from 3441 to 3450 only.&lt;br /&gt;
&lt;br /&gt;
Status -&amp;amp;gt;&amp;amp;nbsp;Adapters -&amp;amp;gt; Click on the adapter Serial Number -&amp;amp;gt; Reboot adapter&lt;br /&gt;
&lt;br /&gt;
It will take about 1.5 minutes to restart the unit.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' in a 1+1 system, both units must be restarted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== List of Parameters ==&lt;br /&gt;
&lt;br /&gt;
*[[Parameter: Interface name|Interface name]] &lt;br /&gt;
*[[Parameter: Services to use|Services to use]] &lt;br /&gt;
*[[Parameter: Virtual port|Virtual port]] &lt;br /&gt;
*[[Parameter: Use DHCP|Use dynamic IP]] &lt;br /&gt;
*[[Parameter: IP Address|IP Address]] &lt;br /&gt;
*[[Parameter: Netmask|Netmask]] &lt;br /&gt;
*[[Parameter: Gateway|Gateway]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T14:45:22Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding link for transcoding unit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Adding_a_Transcoding_Unit_A|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_F|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_1%2B1_Group_C|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_Transcoding_Unit_A</id>
		<title>Toolpack:Adding a Transcoding Unit A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_Transcoding_Unit_A"/>
				<updated>2017-04-20T14:44:49Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Adding Transcoding Unit}}&lt;br /&gt;
&lt;br /&gt;
'''To add a transcoding unit:'''&lt;br /&gt;
&lt;br /&gt;
1- Click '''Hardware Units''' in the navigation panel&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[New image needed - after adding it to the web profile]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- Click '''Create New Unit''', to add a new hardware device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Hardware_1_A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Enter information for the following parameters:&lt;br /&gt;
* Enter a '''name''' for the hardware device&lt;br /&gt;
* Enter the '''serial number''' of the new hardware device (filling in the Serial Number field will cause auto-completion of the field to occur).&lt;br /&gt;
* Select '''TDM and/or IP''' from the Type field. &lt;br /&gt;
* Enter the location in which the hardware device is installed.&lt;br /&gt;
* Enter a meaningful description about the use or purpose of the hardware device.&lt;br /&gt;
* Select '''Enabled''' from the Target State field.&lt;br /&gt;
* Select the type of TDM lines that the hardware device will support.&lt;br /&gt;
* Leave the Is N+1 Backup field empty.&lt;br /&gt;
* Provide the amount of time in seconds, that the system will wait for calls to complete before shutting down for an upgrade.&lt;br /&gt;
* Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''Unit was successfully created''' message appears, and that the newly added hardware device appears in the '''Hardware List'''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Hardware_4_A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Name|Name]]&lt;br /&gt;
* [[Parameter: Serial|Serial]]&lt;br /&gt;
* [[Parameter: Adapter Type|Type]]&lt;br /&gt;
* [[Parameter: Location|Location]]&lt;br /&gt;
* [[Parameter: Description|Description]]&lt;br /&gt;
* [[Parameter: Target State|Target State]]&lt;br /&gt;
* [[Parameter: TDM Lines Type|TDM Lines Type]]&lt;br /&gt;
* [[Parameter: Is N+1 Backup|Is N+1 Backup]]&lt;br /&gt;
* [[Parameter: Graceful Upgrade Timeout|Graceful Upgrade Timeout]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Advanced Parameters&amp;quot; data-expandtext=&amp;quot;Advanced Parameters&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
* [[Parameter: Enable management port redundancy|Enable management port redundancy]]&lt;br /&gt;
* [[Parameter: Enable HTTP access|Enable HTTP access]]&lt;br /&gt;
* [[Parameter: Enable Telnet access|Enable Telnet access]]&lt;br /&gt;
* [[Parameter: Enable V.34 FAX|Enable V.34 FAX]]&lt;br /&gt;
* [[Parameter: Enable V.152 VBD|Enable V.152 VBD]]&lt;br /&gt;
* [[Parameter: ISDN primary CPU load|ISDN primary CPU load]]&lt;br /&gt;
* [[Parameter: Load CAS on secondary CPU|Load CAS on secondary CPU]]&lt;br /&gt;
* [[Parameter: Load ISUP on secondary CPU|Load ISUP on secondary CPU]]&lt;br /&gt;
* [[Parameter: Load M2PA on secondary CPU|Load M2PA on secondary CPU]]&lt;br /&gt;
* [[Parameter: Load M2UA on secondary CPU|Load M2UA on secondary CPU]]&lt;br /&gt;
* [[Parameter: Load M3UA on secondary CPU|Load M3UA on secondary CPU]]&lt;br /&gt;
* [[Parameter: Load SIP on secondary CPU|Load SIP on secondary CPU]]&lt;br /&gt;
* [[Parameter: Load IUA on secondary CPU|Load IUA on secondary CPU]]&lt;br /&gt;
* [[Parameter: Load LAPD on secondary CPU|Load LAPD on secondary CPU]]&lt;br /&gt;
* [[Parameter: Increase SIP Stack Allowed RAM|Increase SIP Stack Allowed RAM]]&lt;br /&gt;
* [[Parameter: SIP Dynamic memory size|SIP Dynamic memory size]]&lt;br /&gt;
* [[Parameter: SIP Event memory size|SIP Event memory size]]&lt;br /&gt;
* [[Parameter: SIP Signal memory size|SIP Signal memory size]]&lt;br /&gt;
* [[Parameter: SIP Signal pool sizes|SIP Signal pool sizes]]&lt;br /&gt;
&lt;br /&gt;
* Reduced Timer&lt;br /&gt;
** [[Parameter: Timer Start Threshold|Start Threshold]]&lt;br /&gt;
** [[Parameter: Timer Stop Threshold|Stop Threshold]]&lt;br /&gt;
&lt;br /&gt;
* Congestion&lt;br /&gt;
** [[Parameter: Congestion Start Threshold|Start Threshold]]&lt;br /&gt;
** [[Parameter: Congestion Stop Threshold|Stop Threshold]]&lt;br /&gt;
&lt;br /&gt;
* Critical Congestion&lt;br /&gt;
** [[Parameter: Critical Congestion Start Threshold|Start Threshold]]&lt;br /&gt;
** [[Parameter: Critical Congestion Stop Threshold|Stop Threshold]]&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: TDM Companding|TDM Companding]]&lt;br /&gt;
* [[Parameter: VOIP Codec Mode|VOIP Codec Mode]]&lt;br /&gt;
* [[Parameter: Fixed density for G711 (20 ms packets)|Fixed density for G711 (20 ms packets)]]&lt;br /&gt;
* [[Parameter: Fixed density for G711 (10 ms packets)|Fixed density for G711 (10 ms packets)]]&lt;br /&gt;
* [[Parameter: Fixed density for G711 (5 ms packets)|Fixed density for G711 (5 ms packets)]]&lt;br /&gt;
* [[Parameter: Fixed density for G726 (20 ms packets)|Fixed density for G726 (20 ms packets)]]&lt;br /&gt;
* [[Parameter: Fixed density for G726 (10 ms packets)|Fixed density for G726 (10 ms packets)]]&lt;br /&gt;
* [[Parameter: Fixed density for G729A|Fixed density for G729A]]&lt;br /&gt;
* [[Parameter: Fixed density for G723|Fixed density for G723]]&lt;br /&gt;
* [[Parameter: Fixed density for G728|Fixed density for G728]]&lt;br /&gt;
* [[Parameter: Fixed density for G729EG 8 Kbps|Fixed density for G729EG 8 Kbps]]&lt;br /&gt;
* [[Parameter: Fixed density for G729EG 11.8 Kbps|Fixed density for G729EG 11.8 Kbps]]&lt;br /&gt;
* [[Parameter: Fixed density for AMR|Fixed density for AMR]]&lt;br /&gt;
* [[Parameter: Fixed density for EVRC|Fixed density for EVRC]]&lt;br /&gt;
* [[Parameter: Fixed density for QCELP8|Fixed density for QCELP8]]&lt;br /&gt;
* [[Parameter: Fixed density for QCELP13|Fixed density for QCELP13]]&lt;br /&gt;
* [[Parameter: Fixed density for SMV|Fixed density for SMV]]&lt;br /&gt;
* [[Parameter: Fixed density for EFR|Fixed density for EFR]]&lt;br /&gt;
* [[Parameter: Fixed density for T38|Fixed density for T38]]&lt;br /&gt;
* [[Parameter: Fixed density for ECHO high-latency|Fixed density for ECHO high-latency]]&lt;br /&gt;
* [[Parameter: Fixed density for ECHO medium-latency|Fixed density for ECHO medium-latency]]&lt;br /&gt;
* [[Parameter: Fixed density for ECHO low-latency|Fixed density for ECHO low-latency]]&lt;br /&gt;
* [[Parameter: Fixed density for FR|Fixed density for FR]]&lt;br /&gt;
* [[Parameter: Fixed density for ILBC 13 Kbps|Fixed density for ILBC 13 Kbps]]&lt;br /&gt;
* [[Parameter: Fixed density for ILBC 15 Kbps|Fixed density for ILBC 15 Kbps]]&lt;br /&gt;
* [[Parameter: Fixed density for G722.2|Fixed density for G722.2]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Call Rate Limiting Parameters&amp;quot; data-expandtext=&amp;quot;Call Rate Limiting Parameters&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
* [[Parameter: Maximum SS7 calls per second|Maximum SS7 calls per second]]&lt;br /&gt;
* [[Parameter: Maximum SS7 call burst|Maximum SS7 call burst]]&lt;br /&gt;
* [[Parameter: Maximum ISDN calls per second|Maximum ISDN calls per second]]&lt;br /&gt;
* [[Parameter: Maximum ISDN call burst|Maximum ISDN call burst]]&lt;br /&gt;
* [[Parameter: Maximum CAS calls per second|Maximum CAS calls per second]]&lt;br /&gt;
* [[Parameter: Maximum CAS call burst|Maximum CAS call burst]]&lt;br /&gt;
* [[Parameter: Maximum SIP calls per second|Maximum SIP calls per second]]&lt;br /&gt;
* [[Parameter: Maximum SIP call burst|Maximum SIP call burst]]&lt;br /&gt;
* [[Parameter: Maximum total calls per second|Maximum total calls per second]]&lt;br /&gt;
* [[Parameter: Maximum total call burst|Maximum total call burst]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Congestion Threshold&amp;quot; data-expandtext=&amp;quot;Congestion Threshold&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
* [[Parameter: Number of calls per period|Number of calls per period]]&lt;br /&gt;
* [[Parameter: Period Duration|Period Duration]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T14:18:28Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Add link for 1+1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_F|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_1%2B1_Group_C|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T14:17:47Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Add link for adapter&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_F|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add 1+1 group|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T14:08:40Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding link for virtual port&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_C|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add telecom hardware|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add 1+1 group|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_C</id>
		<title>Toolpack:Configuring Virtual Port SBC C</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_C"/>
				<updated>2017-04-20T14:05:32Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring a Virtual Port}}&lt;br /&gt;
&lt;br /&gt;
One or more virtual ports can be created to manage IP traffic.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a virtual port  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hosts]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the host(s) to which the virtual port is assigned&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[new image needed]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Name|Name]]&lt;br /&gt;
* [[Parameter: Hosts|Hosts]]&lt;br /&gt;
* [[Parameter: Physical ports|Physical Ports]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T13:56:55Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Add link for nat traversal&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add telecom hardware|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add 1+1 group|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Create_NAT_Traversal_C|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Create_NAT_Traversal_C</id>
		<title>Create NAT Traversal C</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Create_NAT_Traversal_C"/>
				<updated>2017-04-20T13:55:44Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Create a NAT Traversal}}&lt;br /&gt;
&lt;br /&gt;
One or more NAT traversals can be configured to manage the IP connections traversing network address translation (NAT) gateways.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== To configure a NAT traversal  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''NATs''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click '''Create New NAT Traversal''' &lt;br /&gt;
&lt;br /&gt;
[[Image:CreateNatTraversal_1.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Configure the following fields: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the NAT Traversal.&lt;br /&gt;
*Set the local Nat traversal method to '''Force public IP'''.&lt;br /&gt;
*Enter the public IP address of the unit.&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateNatTraversal_2.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Verfiy that the '''NAT Configuration was successfully created''' message is displayed&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateNatTraversal_3.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Name|Name]]&lt;br /&gt;
* [[Parameter: Method|Method]]&lt;br /&gt;
* [[Parameter: Public Interface|Public Interface]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T13:49:20Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding link for IP interfaces&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_IP_Interface_SBC_A|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add telecom hardware|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add 1+1 group|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Sandbox:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_IP_Interface_SBC_A</id>
		<title>Toolpack:Configuring IP Interface SBC A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_IP_Interface_SBC_A"/>
				<updated>2017-04-20T13:48:46Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring IP Interfaces}}&lt;br /&gt;
&lt;br /&gt;
The IP interface of the LAN/WAN ports can be configured by setting the following: &lt;br /&gt;
&lt;br /&gt;
*IP Address &lt;br /&gt;
*Netmask &lt;br /&gt;
*Gateway&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a LAN/WAN IP interface  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hosts]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface''' &lt;br /&gt;
&lt;br /&gt;
[[New image needed]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 3. Configure the IP interface: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select a service to use for the IP interface&lt;br /&gt;
*Select the '''Host VLAN''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
[[New image needed]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
4. The changes are displayed in the IP interfaces information panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
5. Activate the configuration&lt;br /&gt;
&lt;br /&gt;
Systems -&amp;amp;gt; Edit -&amp;amp;gt;&amp;amp;nbsp;Activate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== List of Parameters ==&lt;br /&gt;
&lt;br /&gt;
*[[Parameter: Interface name|Interface name]] &lt;br /&gt;
*[[Parameter: Services to use|Services to use]] &lt;br /&gt;
*[[Parameter: Host VLAN|Host VLAN]] &lt;br /&gt;
*[[Parameter: Use DHCP|Use DHCP]] &lt;br /&gt;
*[[Parameter: IP Address|IP Address]] &lt;br /&gt;
*[[Parameter: Netmask|Netmask]] &lt;br /&gt;
*[[Parameter: Gateway|Gateway]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T13:39:27Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding link for IP interfaces&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add telecom hardware|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add 1+1 group|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces_E|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Sandbox:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_VoIP_Interfaces_E</id>
		<title>Toolpack:Configuring VoIP Interfaces E</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_VoIP_Interfaces_E"/>
				<updated>2017-04-20T13:38:50Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring VoIP Interfaces}}&lt;br /&gt;
&lt;br /&gt;
The IP interface of the VoIP0 and VoIP1 ports can be configured by setting the following: &lt;br /&gt;
&lt;br /&gt;
*IP Address &lt;br /&gt;
*Netmask &lt;br /&gt;
*Gateway&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a VoIP0 or VoIP1 port  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hardware Units]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 2. Click the '''IP Interfaces''' tab.&lt;br /&gt;
*Click '''Create New IP Interface''' &lt;br /&gt;
&lt;br /&gt;
[[Image:Voip_Interface_1a.png]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 3. Configure the IP port: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the interface&lt;br /&gt;
*Select a service to use for the IP inteface&lt;br /&gt;
*Select a '''Virtual port''' from which IP packets will exit.&lt;br /&gt;
*Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)&lt;br /&gt;
*Enter an '''IP address''' &lt;br /&gt;
*Enter a '''Netmask''' &lt;br /&gt;
*Enter a '''gateway address''' &lt;br /&gt;
*Click '''Save'''&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The IP addresses of ETH0, ETH1, VOIP0 and VOIP1 must be on different subnets. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[New image needed]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
4. The changes are displayed in the IP interfaces information panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
5. Activate the configuration&lt;br /&gt;
&lt;br /&gt;
Systems -&amp;amp;gt; Edit -&amp;amp;gt;&amp;amp;nbsp;Activate&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. It is necessary to reboot the adapters if you are using the vlan from 3441 to 3450 only.&lt;br /&gt;
&lt;br /&gt;
Status -&amp;amp;gt;&amp;amp;nbsp;Adapters -&amp;amp;gt; Click on the adapter Serial Number -&amp;amp;gt; Reboot adapter&lt;br /&gt;
&lt;br /&gt;
It will take about 1.5 minutes to restart the unit.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' in a 1+1 system, both units must be restarted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== List of Parameters ==&lt;br /&gt;
&lt;br /&gt;
*[[Parameter: Interface name|Interface name]] &lt;br /&gt;
*[[Parameter: Services to use|Services to use]] &lt;br /&gt;
*[[Parameter: Virtual port|Virtual port]] &lt;br /&gt;
*[[Parameter: Use DHCP|Use dynamic IP]] &lt;br /&gt;
*[[Parameter: IP Address|IP Address]] &lt;br /&gt;
*[[Parameter: Netmask|Netmask]] &lt;br /&gt;
*[[Parameter: Gateway|Gateway]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T13:30:54Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Add link for virtual port&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add telecom hardware|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add 1+1 group|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_Virtual_Port_SBC_B|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Sandbox:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0</id>
		<title>Toolpack:Tsbc IP Network Settings 3.0</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Tsbc_IP_Network_Settings_3.0"/>
				<updated>2017-04-20T13:23:36Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Add links for port range&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==TSBC-HW-SRV / Customer supplied hardware / Virtual Machines==&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Vlan&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring a Vlan|Configuring a Vlan]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_F|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:TSBC-SW Network Configuration|TSBC-SW Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Transcoding Units===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add transcoding units&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Configure transcoding network&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Show Hardware units menu|Show Hardware units menu]]&lt;br /&gt;
*[[Toolpack:Add transcoding units|Add transcoding units]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TSBC-HW-0/TSBC-HW-680/TSBC-HW-2700==&lt;br /&gt;
&lt;br /&gt;
===New Hardware===&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add telecom hardware &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add 1+1 group &lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add telecom hardware|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Add 1+1 group|Add 1+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===IP Network===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add Virtual Port &lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Interface&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Add IP Port Range&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring an IP Virtual Port|Configuring an IP Virtual Port]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring IP Interfaces|Configuring IP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range_E|Create an IP port range]]&lt;br /&gt;
|}&lt;br /&gt;
|STYLE=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Use Cases&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Network Configuration|Network Configuration]] &lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===NAT===&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Sandbox:Create NAT Traversal|Create NAT Traversal]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_B</id>
		<title>Toolpack:Configuring Virtual Port SBC B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_Virtual_Port_SBC_B"/>
				<updated>2017-04-19T21:04:07Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version of the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring a Virtual Port}}&lt;br /&gt;
&lt;br /&gt;
One or more virtual ports can be created to manage IP traffic.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure a virtual port  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under Hardware units]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Click the '''Virtual Ports''' tab. &lt;br /&gt;
*Click '''Create New Virtual Port''' &lt;br /&gt;
&lt;br /&gt;
[[Image:VirtualPort_0.png]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
3. Configure the virtual port.&lt;br /&gt;
&lt;br /&gt;
*Enter a name for the virtual port&lt;br /&gt;
*Select the hardware device to which the virtual port is assigned&lt;br /&gt;
*Enter a VLAN ID&lt;br /&gt;
*Select a physical port to which the virtual port is assigned&lt;br /&gt;
&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
[[new image needed]] &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Name|Name]]&lt;br /&gt;
* [[Parameter: Unit to create for|Unit to create for]]&lt;br /&gt;
* [[Parameter: Untagged|Untagged]]&lt;br /&gt;
* [[Parameter: VlAN ID|VLAN ID]]&lt;br /&gt;
* [[Parameter: Used by SBC|Used by SBC]]&lt;br /&gt;
* [[Parameter: Allow PING|Allow PING]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Creating_an_IP_Port_Range_E</id>
		<title>Toolpack:Creating an IP Port Range E</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Creating_an_IP_Port_Range_E"/>
				<updated>2017-04-19T20:26:12Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding precision&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring an IP Port Range}}&lt;br /&gt;
&lt;br /&gt;
A range of IP ports can be configured.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure an RTP port range  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed - under hardware units]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 2. Click the '''RTP Port Ranges''' tab:&lt;br /&gt;
*Click '''Create New RTP Port Ranges''' &lt;br /&gt;
&lt;br /&gt;
[[Image:CreateIP_PortRange_0.png]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 3. Configure the range of ports: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the port range&lt;br /&gt;
*Select one or more IP interfaces&lt;br /&gt;
*Enter a minimum port number for the port range&lt;br /&gt;
*Enter a maximum port number for the port range&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateIP_PortRange_1.png]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/rtp_port_ranges/Default&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Parameters (text)'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/rtp_port_ranges/Default&lt;br /&gt;
ip_interface = &amp;quot;@[hardware_name]&amp;quot;.&amp;quot;@[port_name]&amp;quot;&lt;br /&gt;
name         = &amp;quot;Default&amp;quot;&lt;br /&gt;
port_max     = 60000&lt;br /&gt;
port_min     = 10000&lt;br /&gt;
unique_name  = &amp;quot;@[name]&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Parameters (json)'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;ip_interface&amp;quot; : &amp;quot;@[hardware_name]&amp;quot;.&amp;quot;@[port_name]&amp;quot;,&lt;br /&gt;
  &amp;quot;name&amp;quot; : &amp;quot;Default&amp;quot;,&lt;br /&gt;
  &amp;quot;port_max&amp;quot; : 60000,&lt;br /&gt;
  &amp;quot;port_min&amp;quot; : 10000,&lt;br /&gt;
  &amp;quot;unique_name&amp;quot; : &amp;quot;@[name]&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of Parameters ==&lt;br /&gt;
&lt;br /&gt;
*[[Parameter: Name|Name]] &lt;br /&gt;
*[[Parameter: RTP Port min|RTP Port min]]&lt;br /&gt;
*[[Parameter: RTP Port max|RTP Port max]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Creating_an_IP_Port_Range_E</id>
		<title>Toolpack:Creating an IP Port Range E</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Creating_an_IP_Port_Range_E"/>
				<updated>2017-04-19T20:24:56Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Create page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v3.0''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Configuring an IP Port Range}}&lt;br /&gt;
&lt;br /&gt;
A range of IP ports can be configured.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== To configure an RTP port range  ==&lt;br /&gt;
&lt;br /&gt;
1. Select '''IP Interfaces''' from the navigation panel: &lt;br /&gt;
&lt;br /&gt;
[[New image needed]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 2. Click the '''RTP Port Ranges''' tab:&lt;br /&gt;
*Click '''Create New RTP Port Ranges''' &lt;br /&gt;
&lt;br /&gt;
[[Image:CreateIP_PortRange_0.png]] &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; 3. Configure the range of ports: &lt;br /&gt;
&lt;br /&gt;
*Enter a name for the port range&lt;br /&gt;
*Select one or more IP interfaces&lt;br /&gt;
*Enter a minimum port number for the port range&lt;br /&gt;
*Enter a maximum port number for the port range&lt;br /&gt;
*Click '''Create'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:CreateIP_PortRange_1.png]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;Northbound Interface&amp;quot; data-expandtext=&amp;quot;Northbound Interface&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Path'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/rtp_port_ranges/Default&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Parameters (text)'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/rtp_port_ranges/Default&lt;br /&gt;
ip_interface = &amp;quot;@[hardware_name]&amp;quot;.&amp;quot;@[port_name]&amp;quot;&lt;br /&gt;
name         = &amp;quot;Default&amp;quot;&lt;br /&gt;
port_max     = 60000&lt;br /&gt;
port_min     = 10000&lt;br /&gt;
unique_name  = &amp;quot;@[name]&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Parameters (json)'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;ip_interface&amp;quot; : &amp;quot;@[hardware_name]&amp;quot;.&amp;quot;@[port_name]&amp;quot;,&lt;br /&gt;
  &amp;quot;name&amp;quot; : &amp;quot;Default&amp;quot;,&lt;br /&gt;
  &amp;quot;port_max&amp;quot; : 60000,&lt;br /&gt;
  &amp;quot;port_min&amp;quot; : 10000,&lt;br /&gt;
  &amp;quot;unique_name&amp;quot; : &amp;quot;@[name]&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of Parameters ==&lt;br /&gt;
&lt;br /&gt;
*[[Parameter: Name|Name]] &lt;br /&gt;
*[[Parameter: RTP Port min|RTP Port min]]&lt;br /&gt;
*[[Parameter: RTP Port max|RTP Port max]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/How_to_change_host_password_on_Linux</id>
		<title>How to change host password on Linux</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/How_to_change_host_password_on_Linux"/>
				<updated>2016-08-29T18:30:06Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Fixed typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To better protect your system, it is '''required''' to change the default password. Please see this page http://www.usewisdom.com/computer/passwords.html for guidelines on how to choose a good password. Additionally it is always more secure to keep passwords in as less hands/heads as possible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Change the password ==&lt;br /&gt;
&lt;br /&gt;
* Connect to your unit through [[TMG:Accessing_Device#SSH|SSH]]&lt;br /&gt;
&lt;br /&gt;
* Enter the passwd command&lt;br /&gt;
&lt;br /&gt;
:Example:&lt;br /&gt;
    [root@TB003540 ~]# passwd&lt;br /&gt;
&lt;br /&gt;
* The system will ask you to enter your new password twice&lt;br /&gt;
&lt;br /&gt;
* For more information&lt;br /&gt;
    man passwd&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_monitoring_sip_simulator</id>
		<title>Toolpack monitoring sip simulator</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_monitoring_sip_simulator"/>
				<updated>2016-04-22T13:02:18Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Fixed typos. Also specified that RTP generation is optional.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Monitoring_generator_overview.png|thumb|300px]]&lt;br /&gt;
The Toolpack Monitoring &amp;quot;SIP Generator&amp;quot; is a behavior that can be attached to a call flow, and that will send simulated SIP messages to a destination host, simulating that a SIP call is being monitored.&lt;br /&gt;
&lt;br /&gt;
The SIP simulator sends SIP messages, but does not expect any reply from the destination.&lt;br /&gt;
It simulates both sides of the SIP call (simulating a sip &amp;quot;Invite&amp;quot; from one side, then &amp;quot;100-Trying&amp;quot; from the other side, etc.)&lt;br /&gt;
&lt;br /&gt;
It can also send a copy of the monitored legs audio using RTP packets, as indicated in the SDP of the simulated SIP message (Invite, 183-Progress and 200-OK).&lt;br /&gt;
&lt;br /&gt;
== SIP simulator call flow ==&lt;br /&gt;
Once attached to a call flow, the &amp;quot;SIP simulator&amp;quot; behavior will identify the &amp;quot;main&amp;quot; legs of the attached call flow (one incoming and one outgoing), and watch for call state changes of these legs.&lt;br /&gt;
Corresponding SIP messages are generated.&lt;br /&gt;
&lt;br /&gt;
[[Image:SIP_simulator_call_flow.png|560px]]&lt;br /&gt;
&lt;br /&gt;
=== Attaching to a monitoring call flow ===&lt;br /&gt;
The SIP simulator behavior can be attached to a standard call flow (CTBCAFBrige for example, which deals with a bridge between one incoming and one outgoing call legs).&lt;br /&gt;
&lt;br /&gt;
It can also be attached to a &amp;quot;monitoring&amp;quot; call flow that receives call state change events from an analyzer (like an [[Toolpack_monitoring_isdn_analyzer|ISDN Analyzer]]).&lt;br /&gt;
&lt;br /&gt;
In both cases, it will generate SIP messages based on the call state changes event received (call accepted, alerting, answered, etc...)&lt;br /&gt;
&lt;br /&gt;
== SIP simulator configuration ==&lt;br /&gt;
The SIP simulator has multiple options that can be configured (from it's &amp;quot;parameters&amp;quot; class for developers, or from the Web Portal for Toolpack Gateway users).&lt;br /&gt;
&lt;br /&gt;
=== RTP generation options ===&lt;br /&gt;
The SIP simulator can send RTP packets that contain a copy of the audio of the monitored call. These RTP packets are sent by a VOIP resource on the [[TMedia]] unit.&lt;br /&gt;
&lt;br /&gt;
RTP generation options are:&lt;br /&gt;
* The VOIP Media NAP to generate RTP from. &amp;quot;None&amp;quot; will disable RTP generation. This NAP defines:&lt;br /&gt;
** The source IP interface, and port range to use&lt;br /&gt;
** A default &amp;quot;profile&amp;quot;&lt;br /&gt;
* A &amp;quot;profile&amp;quot; to use instead of the NAP's default profile. The profile will define:&lt;br /&gt;
** The codec to use (the SDP)&lt;br /&gt;
** The DTMF relay scheme ('''Note:''' only &amp;quot;in-band&amp;quot; and &amp;quot;RFC-2833&amp;quot; being available with the &amp;quot;SIP simulator&amp;quot;)&lt;br /&gt;
** '''Note''': The &amp;quot;SIP&amp;quot; options available in the &amp;quot;profile&amp;quot; page in the web portal are ignored here&lt;br /&gt;
** Audio options (volume control, voice activity detection)&lt;br /&gt;
** RTCP options&lt;br /&gt;
** IP header &amp;quot;TOS&amp;quot; field&lt;br /&gt;
&lt;br /&gt;
=== SIP generation options ===&lt;br /&gt;
The &amp;quot;SIP Simulator&amp;quot; will send SIP packets from the application using the following &amp;quot;source&amp;quot; options:&lt;br /&gt;
* Source &amp;quot;host&amp;quot; IP interface (or &amp;quot;ANY&amp;quot; to choose by subnet matching or default gateway)&lt;br /&gt;
* Source UDP port&lt;br /&gt;
* IP header &amp;quot;TOS&amp;quot; field for SIP packets&lt;br /&gt;
&lt;br /&gt;
=== SIP messages formatting ===&lt;br /&gt;
The &amp;quot;SIP Simulator&amp;quot; offers configurable SIP messages content, which will be used when necessary by the &amp;quot;SIP Simulator&amp;quot;&lt;br /&gt;
* The simulated &amp;quot;from&amp;quot; IP address and port (can be &amp;quot;fictive&amp;quot; IP address representing one &amp;quot;side&amp;quot; of the call)&lt;br /&gt;
* The simulated &amp;quot;to&amp;quot; IP address and port (can be &amp;quot;fictive&amp;quot; IP address representing one &amp;quot;side&amp;quot; of the call)&lt;br /&gt;
* The SIP message text of each SIP message, built using [[toolpack_monitoring_sip_simulator_variables|well-known variables]], and user-defined variables.&lt;br /&gt;
** From caller:&lt;br /&gt;
*** SIP INVITE&lt;br /&gt;
*** SIP ACK (after the INVITE 200 OK)&lt;br /&gt;
*** SIP BYE&lt;br /&gt;
*** SIP CANCEL&lt;br /&gt;
*** SIP 200 OK (after BYE)&lt;br /&gt;
*** SIP ACK (after 487)&lt;br /&gt;
** From callee:&lt;br /&gt;
*** SIP 100 Trying&lt;br /&gt;
*** SIP 183 Session Progress&lt;br /&gt;
*** SIP 200 OK&lt;br /&gt;
*** SIP Decline&lt;br /&gt;
*** SIP BYE&lt;br /&gt;
*** SIP 200 OK (after BYE or CANCEL)&lt;br /&gt;
*** SIP 487 Request Terminated&lt;br /&gt;
&lt;br /&gt;
=== Example SIP message configuration ===&lt;br /&gt;
  INVITE sip:#{called}@#{callee_sip_ip}:#{callee_sip_port} SIP/2.0&lt;br /&gt;
  Call-ID:#{call_id}&lt;br /&gt;
  X-Monitored-Sender:#{sender_label}:#{sender}&lt;br /&gt;
  X-Isdn-Info:interface-id:#{isdn_interface_id};channel-number:#{isdn_channel_number}&lt;br /&gt;
  X-Example-Var:#{example_var}&lt;br /&gt;
  To:&amp;lt;sip:#{sip_to}&amp;gt;&lt;br /&gt;
  From:#{calling_display}&amp;lt;sip:#{sip_from}&amp;gt;;tag=#{caller_tag}&lt;br /&gt;
  Remote-Party-ID:#{calling_private_display}&amp;lt;sip:#{calling_private}@#{caller_sip_ip}:#{caller_sip_port}&amp;gt;;party=calling;screen=#{calling_screening};privacy=#{calling_presentation};noa=#{calling_noa}&lt;br /&gt;
  Privacy:#{calling_privacy}&lt;br /&gt;
  Contact:sip:#{calling}@#{caller_sip_ip}:#{caller_sip_port}&lt;br /&gt;
  Via:SIP/2.0/UDP #{caller_sip_ip}:#{caller_sip_port};branch=#{branch};rport&lt;br /&gt;
  User-to-User:#{uui};encoding=text;purpose=isdn-interwork;content=isdn-uui&lt;br /&gt;
  Date:#{date}&lt;br /&gt;
  Timestamp:#{timestamp}&lt;br /&gt;
  CSeq:#{cseq}&lt;br /&gt;
  Max-Forwards:70&lt;br /&gt;
  #{caller_content}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more information about available variables used to generate the SIP messages (SIP headers and body), read the following article:&lt;br /&gt;
[[toolpack_monitoring_sip_simulator_variables|SIP Simulator messages formatting variables]]&lt;br /&gt;
&lt;br /&gt;
=== SIP and RTP destination ===&lt;br /&gt;
The generated SIP messages are sent to the specified IP address and port.&lt;br /&gt;
&lt;br /&gt;
The generated RTP packets are sent to the specified IP address (can be different from SIP destination IP address), using a port chosen from the NAP's port ranges, and indicated to the remote equipment through the SDP in the SIP messages (&amp;quot;INVITE&amp;quot;, &amp;quot;183-Progress&amp;quot; and &amp;quot;200-OK&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
== Using multiple destinations ==&lt;br /&gt;
If necessary, multiple redundant destinations can be configured. Each destination includes:&lt;br /&gt;
* SIP destination IP and port&lt;br /&gt;
* RTP destination IP&lt;br /&gt;
* Optional destination &amp;quot;TCP&amp;quot; polling IP and port&lt;br /&gt;
* A priority&lt;br /&gt;
&lt;br /&gt;
=== Destination polling ===&lt;br /&gt;
To determine which destination is available, a &amp;quot;ping&amp;quot; will be made toward the destination SIP IP address.&lt;br /&gt;
&lt;br /&gt;
In addition to the &amp;quot;ping&amp;quot;, a &amp;quot;TCP&amp;quot; polling can be performed, by attempting a TCP connection to the given IP address and port.&lt;br /&gt;
&lt;br /&gt;
A destination is considered available if the &amp;quot;ping&amp;quot; and the &amp;quot;TCP connection polling&amp;quot; (if used) both succeed.&lt;br /&gt;
&lt;br /&gt;
The available destination with the highest priority will be chosen.&lt;br /&gt;
&lt;br /&gt;
== Configuring SIP Simulators in Toolpack Web Portal ==&lt;br /&gt;
Developers can use SIP Simulators in their application by using class CTBCAFSipSimulator to define SIP simulator parameters and allocate SIP sender socket, and attach behavior CTBCAFCallBehaviorSipSimulator to their call flow.&lt;br /&gt;
&lt;br /&gt;
Non-developers that use Toolpack system with built-in Gateway application can also use SIP Simulators and attach them to ISDN analyzers.&lt;br /&gt;
&lt;br /&gt;
In the Web Portal, configuring SIP Simulators is done by:&lt;br /&gt;
* [[Toolpack_monitoring_isdn_analyzer#Configuring_ISDN_analyzers_in_Toolpack_Web_Portal|Creating Line Service Pairs, and ISDN analyzers]]&lt;br /&gt;
* Create IP interfaces (from the &amp;quot;IP Interfaces&amp;quot; section in the left menu)&lt;br /&gt;
** IP Interface(s) with RTP service (default &amp;quot;voip0&amp;quot; IP interface can be used here)&lt;br /&gt;
** Optional &amp;quot;Host&amp;quot; IP interface for service &amp;quot;H248/Radius&amp;quot;, used as source IP interface for SIP messages generation&lt;br /&gt;
* Create a VOIP Media-only NAP (from the &amp;quot;NAPs&amp;quot; section in the left menu)&lt;br /&gt;
** Assign a &amp;quot;Port range&amp;quot; from the &amp;quot;RTP&amp;quot; IP interface created above&lt;br /&gt;
* Create SIP simulator&lt;br /&gt;
** Click on &amp;quot;Sip Simulators&amp;quot; section in the left menu&lt;br /&gt;
** Fill-out the required information in the page&lt;br /&gt;
** Create one or multiple SIP Simulator destinations (from the SIP Simulators configuration page)&lt;br /&gt;
* Associate this &amp;quot;SIP Simulator&amp;quot; to one or multiple [[Toolpack_monitoring_isdn_analyzer|ISDN Analyzer(s)]] (from the ISDN Analysers' configuration page)&lt;br /&gt;
&lt;br /&gt;
For more information and step-by-step screen shots of the configuration of SIP Simulators, please refer to the [[Web Portal Tutorial Guide v2.9]].&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_monitoring_isdn_analyzer</id>
		<title>Toolpack monitoring isdn analyzer</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_monitoring_isdn_analyzer"/>
				<updated>2016-04-22T12:46:18Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Minor corrections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Monitoring_isdn_analyzer.png|thumb|300px]]&lt;br /&gt;
Toolpack ISDN Analyzer is a class that uses Media-only legs and monitoring API to capture HDLC frames from ISDN D-channel timeslot.&lt;br /&gt;
&lt;br /&gt;
The captured ISDN HDLC frames are analyzed, to identify Q.921 and Q.931 frames from the HDLC frames.&lt;br /&gt;
&lt;br /&gt;
Then, ISDN calls are identified from the analyzed Q.931 packets.&lt;br /&gt;
&lt;br /&gt;
== Capturing each direction of each D-Channel ==&lt;br /&gt;
The ISDN analyzer will allocate a pair of TDM media-only call legs for each Line service of the ISDN stack that has a D-Channel (primary D-Channel, and backup D-Channel if appropriate).&lt;br /&gt;
&lt;br /&gt;
* The primary Line service of the ISDN stack holds the primary D-channel (timeslot 16 for E1, timeslot 24 for T1/J1).&lt;br /&gt;
* For NFAS ISDN stacks, multiple Line services are used. An optional backup D-channel may be present among these line services.&lt;br /&gt;
&lt;br /&gt;
== Typical ISDN analyzer call flow ==&lt;br /&gt;
A typical ISDN analyzer call goes as follows:&lt;br /&gt;
* ISDN Q.931 &amp;quot;SETUP&amp;quot; message is detected&lt;br /&gt;
** ISDN IEs are analyzed to extract relevant information&lt;br /&gt;
*** Call id&lt;br /&gt;
*** Channel identification&lt;br /&gt;
*** Calling/called numbers&lt;br /&gt;
*** And others...&lt;br /&gt;
** A new &amp;quot;analyzed&amp;quot; call context is created, bound with the call id&lt;br /&gt;
* ISDN Q.931 &amp;quot;PROCEEDING&amp;quot; is detected&lt;br /&gt;
** The call changes to &amp;quot;accepted&amp;quot; state&lt;br /&gt;
* ISDN Q.931 &amp;quot;ALERTING&amp;quot; is detected&lt;br /&gt;
** The call changes to &amp;quot;alerting&amp;quot; state&lt;br /&gt;
* ISDN Q.931 &amp;quot;CONNECT&amp;quot; is detected&lt;br /&gt;
** The call changes to &amp;quot;answered&amp;quot; state&lt;br /&gt;
* ISDN Q.931 &amp;quot;DISCONNECT&amp;quot; is detected&lt;br /&gt;
** The call changes to &amp;quot;terminating&amp;quot; state&lt;br /&gt;
* ISDN Q.931 &amp;quot;RELEASE&amp;quot; is detected&lt;br /&gt;
** The call changes to &amp;quot;terminated&amp;quot; state&lt;br /&gt;
* ISDN Q.931 &amp;quot;RELEASE_COMPLETE&amp;quot; is detected&lt;br /&gt;
** The call context is destroyed&lt;br /&gt;
&lt;br /&gt;
=== Forwarding analyzed call states to application ===&lt;br /&gt;
Each analyzer has been provided a pointer to a &amp;quot;parent&amp;quot; application (a &amp;quot;user&amp;quot;) to inform of call state changes.&lt;br /&gt;
&lt;br /&gt;
This &amp;quot;user&amp;quot; is a class that implement the interface ITBCAFAnalyzerUser.&lt;br /&gt;
&lt;br /&gt;
This interface will provide the &amp;quot;user&amp;quot; with the following callbacks from the analyzer, to report new calls and state changes:&lt;br /&gt;
* OnAnalyzerCallLegPresent: A new ISDN call was detected&lt;br /&gt;
* OnAnalyzerCallLegAccepted: A ISDN call is now &amp;quot;accepted&amp;quot;&lt;br /&gt;
* OnAnalyzerCallLegAlerting: A ISDN call is now &amp;quot;alerting&amp;quot; (ringing)&lt;br /&gt;
* OnAnalyzerCallLegAnswered: A ISDN call is now &amp;quot;answered&amp;quot;&lt;br /&gt;
* OnAnalyzerCallLegTerminating: A ISDN call is now &amp;quot;terminating&amp;quot;&lt;br /&gt;
* OnAnalyzerCallLegTerminated: A ISDN call is now terminated&lt;br /&gt;
* OnAnalyzerCallLegSuppInfo: Other ISDN message (non call-state affecting) was received&lt;br /&gt;
&lt;br /&gt;
It's up to the user application to decide what should be done with analyzed calls and state changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Line Service Pairs ==&lt;br /&gt;
ISDN analyzer is configured using &amp;quot;Line Service Pairs&amp;quot;. In fact, in a monitoring environment, a monitored trunk is &amp;quot;tapped&amp;quot;, and each direction of the trunk is &amp;quot;forked&amp;quot; and connected to the monitoring equipment (this is done by using a &amp;quot;Monitoring Patch Panel&amp;quot;, provided by TelcoBridges).&lt;br /&gt;
&lt;br /&gt;
Thus, each monitored trunk will be received twice on the monitoring equipment (one for each direction).&lt;br /&gt;
&lt;br /&gt;
A &amp;quot;Line Service Pair&amp;quot; is indicating which Line services, on the monitoring equipment, correspond to the two directions of the same monitored trunk.&lt;br /&gt;
&lt;br /&gt;
The ISDN analyzer is then configured using these &amp;quot;Line Service Pairs&amp;quot;, and so it knows which line service to monitor for each direction of each monitored trunk.&lt;br /&gt;
&lt;br /&gt;
== Configuring ISDN analyzers in Toolpack Web Portal ==&lt;br /&gt;
Developers can use ISDN analzyers in their application by using the class CTBCAFAnalyzerIsdn (which uses parameters defined by CTBCAFAnalyzerIsdnParams).&lt;br /&gt;
&lt;br /&gt;
Non-developers that use Toolpack system with built-in Gateway application can also use ISDN analyzers to generate CDR logs or generate corresponding &amp;quot;monitoring&amp;quot; SIP calls to an external monitoring equipment.&lt;br /&gt;
&lt;br /&gt;
In the Web Portal, using ISDN analyzers is done by:&lt;br /&gt;
* Enabling &amp;quot;Monitoring&amp;quot; in the &amp;quot;Web Profile&amp;quot;&lt;br /&gt;
** Click Configurations on the left menu&lt;br /&gt;
** Select the current configuration for editing&lt;br /&gt;
** Expand &amp;quot;Web Profile&amp;quot;&lt;br /&gt;
** Enable &amp;quot;Gateway Application&amp;quot; if not already done&lt;br /&gt;
** Enable &amp;quot;Monitoring&amp;quot;&lt;br /&gt;
* Create TDM Line Interfaces and Line Services (by using the &amp;quot;TDM Line Interfaces&amp;quot; section from the left menu)&lt;br /&gt;
** Make sure the line services &amp;quot;Length&amp;quot; is set to &amp;quot;Monitoring&amp;quot;&lt;br /&gt;
* Assign the TDM Line Services to a TDM Media NAP (by using the &amp;quot;NAPs&amp;quot; section from the left menu)&lt;br /&gt;
* Creating &amp;quot;Line Service Pairs&amp;quot;&lt;br /&gt;
** Click &amp;quot;Line Service Pairs&amp;quot; Section in the left menu&lt;br /&gt;
** Use &amp;quot;Create Line Service Pair&amp;quot; link to create one or multiple &amp;quot;line service pairs&amp;quot;&lt;br /&gt;
* Create a &amp;quot;ISDN Analyzer&amp;quot;&lt;br /&gt;
** Click &amp;quot;Create new ISDN Analyzer&amp;quot; link&lt;br /&gt;
** Fill-out the required information in the page&lt;br /&gt;
&lt;br /&gt;
For more information and step-by-step screen shots of the configuration of ISDN analyzers, please refer to the [[Web Portal Tutorial Guide v2.9]].&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_monitoring</id>
		<title>Toolpack monitoring</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_monitoring"/>
				<updated>2016-04-22T12:39:44Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Minor syntax corrections&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The [[Tmonitor]] and [[Tmedia]] products both support [[Network_monitoring]].&lt;br /&gt;
&lt;br /&gt;
Monitoring features can be controlled with the [[Toolpack API]].&lt;br /&gt;
&lt;br /&gt;
Using these APIs, the Toolpack Gateway application supports built-in protocol analyzers that allow to monitor a TDM network, generate CDR logs and notify external applications of monitored TDM calls.&lt;br /&gt;
&lt;br /&gt;
=== The Toolpack Monitoring API ===&lt;br /&gt;
[[Image:Monitoring_API_overview.png|thumb|300px]]&lt;br /&gt;
The Toolpack monitoring API consists of function calls on the call leg class:&lt;br /&gt;
* StartMonitoring&lt;br /&gt;
* StopMonitoring&lt;br /&gt;
Corresponding events notify the call flow of monitoring state&lt;br /&gt;
* OnMonitoringStarted&lt;br /&gt;
* OnMonitoringDataReceived&lt;br /&gt;
&lt;br /&gt;
An application that need to do monitoring will first allocate media legs on the appropriate Line Service and Timeslot, then use the StartMonitoring function call to configure the monitoring parameters.&lt;br /&gt;
Among parameters, will be chosen:&lt;br /&gt;
* Mode (HDLC, SS7, CAS, RAW)&lt;br /&gt;
* Rate (64Kbps, 56Kbps, 48Kbps, 32Kbps, 16Kbps or 8Kbps)&lt;br /&gt;
* Timeslot sub-index (for rates of 32Kbps or less)&lt;br /&gt;
&lt;br /&gt;
Once monitoring is started, the application (call flow) will be notified of captured data through OnMonitoringDataReceived.&lt;br /&gt;
&lt;br /&gt;
For more information on this API, please refer to the following article, which covers the monitoring APIs:&lt;br /&gt;
[[CAF:_Working_With_Cmc_Call_Legs|Working with CMC Call Legs]]&lt;br /&gt;
&lt;br /&gt;
For more general information about using call legs in your application, please refer to this article:&lt;br /&gt;
[[CAF:_Working_With_Call_Legs|Working with Call Legs]]&lt;br /&gt;
&lt;br /&gt;
=== Built-in monitoring analyzers ===&lt;br /&gt;
[[Image:Monitoring_analyzer_overview.png|thumb|300px]]&lt;br /&gt;
The Toolpack framework include &amp;quot;analyzer&amp;quot; classes, that use the monitoring API to capture signaling messages on TDM links.&lt;br /&gt;
&lt;br /&gt;
The [[Toolpack_monitoring_isdn_analyzer|ISDN Analyzer]] will capture HDLC messages on the IDSN D-Channel, and analyze them to rebuild the call state of monitored ISDN calls.&lt;br /&gt;
&lt;br /&gt;
The user application can then be notified of a detected ISDN calls, and of any state change of this call (accepted, alerting, answered, terminating, terminated...).&lt;br /&gt;
&lt;br /&gt;
For more information about the analyzer API, refer to appropriate header files in Toolpack source code.&lt;br /&gt;
&lt;br /&gt;
=== Integration of monitoring analyzers in Toolpack Gateway ===&lt;br /&gt;
The analyzers are integrated into Toolpack's own Gateway application.&lt;br /&gt;
The Gateway application can be configured to monitor ISDN calls on the specified Line Services.&lt;br /&gt;
&lt;br /&gt;
Upon detection of ISDN calls, the Gateway application can generate CDR logs, and also forward the information to &amp;quot;generators&amp;quot; that will generate message toward an external application that needs to be notified of monitored ISDN calls.&lt;br /&gt;
&lt;br /&gt;
For information about the configuration of ISDN analyzers in Toolpack, please refer to the following article:&lt;br /&gt;
[[Toolpack_monitoring_isdn_analyzer|Toolpack ISDN Analyzer]]&lt;br /&gt;
&lt;br /&gt;
=== Toolpack monitoring generators ===&lt;br /&gt;
[[Image:Monitoring_generator_overview.png|thumb|300px]]&lt;br /&gt;
The Gateway application can attach &amp;quot;generators&amp;quot; to analyzers. A &amp;quot;generator&amp;quot; is receiving the analyzer's detected calls state changes, and generates corresponding events toward an external application.&lt;br /&gt;
&lt;br /&gt;
==== Toolpack SIP simulator ====&lt;br /&gt;
One of the &amp;quot;generators&amp;quot; provided with Toolpack is the &amp;quot;SIP Simulator&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This monitoring generator is &lt;br /&gt;
* simulating SIP messages that correspond to the ISDN state changes&lt;br /&gt;
* Forwarding captured TDM audio through RTP streams&lt;br /&gt;
&lt;br /&gt;
Using this SIP simulator with a monitoring analyzer allows any SIP monitoring software to be able to monitor a TDM link (ISDN for example).&lt;br /&gt;
&lt;br /&gt;
For information about the configuration of &amp;quot;SIP Simulators&amp;quot; in Toolpack, please refer to the following article:&lt;br /&gt;
[[Toolpack_monitoring_sip_simulator|Toolpack SIP Simulator]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Northbound_interface:RESTful</id>
		<title>Northbound interface:RESTful</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Northbound_interface:RESTful"/>
				<updated>2016-01-13T14:29:14Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* TelcoBridges RESTful Northbound Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= TelcoBridges RESTful Northbound Interface =&lt;br /&gt;
Introduced in version 2.9, the [http://en.wikipedia.org/wiki/Representational_state_transfer RESTful API] allows the provisioning of a [[Tmedia]] VoIP gateway or a [[Tdev]] development platforman. The configuration of the device is seen as collections of resources than can be queried/modified through this interface. &lt;br /&gt;
&lt;br /&gt;
HTTP requests are sent to the [[Toolpack_Application:web_server|web server]] using standard HTTP methods(e.g., GET, PUT, POST, or DELETE). Data exchanged in requests and responses is in [http://en.wikipedia.org/wiki/JSON JSON] format.&lt;br /&gt;
&lt;br /&gt;
== Supported RFCs  ==&lt;br /&gt;
&lt;br /&gt;
TelcoBridges supports the following RFCs for RESTful API: &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Specification &lt;br /&gt;
! Supported&lt;br /&gt;
|-&lt;br /&gt;
| RFC 7159 The JavaScript Object Notation (JSON) Data Interchange Format &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes &lt;br /&gt;
|-&lt;br /&gt;
| Extensible Markup Language (XML) 1.0 (Fifth Edition)&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
|-&lt;br /&gt;
| RFC 2617 HTTP Authentication: Basic and Digest Access Authentication&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Basic Scheme Only&lt;br /&gt;
|-&lt;br /&gt;
| RFC 2109 HTTP State Management Mechanism&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== REST API overview ==&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | &amp;lt;br&amp;gt;Resource&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | &amp;lt;br&amp;gt;GET&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | &amp;lt;br&amp;gt;PUT&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | &amp;lt;br&amp;gt;POST&lt;br /&gt;
! width=&amp;quot;200&amp;quot; style=&amp;quot;background: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; | &amp;lt;br&amp;gt;DELETE&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
Collection URI&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://host:port/@[collection_name]/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| '''List''' the resources that are part of the collection.&lt;br /&gt;
| Not used.&lt;br /&gt;
| '''Create''' a new element in the collection.&lt;br /&gt;
| Not used.&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
Element URI&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://host:port/@[collection_name]/@[resource_name]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| '''Retrieve''' a JSON representation of the specified member of the collection.&lt;br /&gt;
| '''Modify''' the specified member of the collection according to the JSON data in the HTTP request.&lt;br /&gt;
| Not used.&lt;br /&gt;
| '''Delete''' the specified member of the collection&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
New Element URI&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://host:port/@[collection_name]/new&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| '''Retrieve''' a JSON representation of a new element of the collection with default values. This new element is not saved until a POST request is sent to create the element in the collection.&lt;br /&gt;
| N/A&lt;br /&gt;
| N/A&lt;br /&gt;
| N/A&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
Status Element URI&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://host:port/@[collection_name]/@[resource_name]/status&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| '''Retrieve''' a JSON representation of the status of an element. This is only valid for elements in the active configuration, and it is not available for all element types.&lt;br /&gt;
| N/A&lt;br /&gt;
| N/A&lt;br /&gt;
| N/A&lt;br /&gt;
|}&lt;br /&gt;
=== Supported Methods ===&lt;br /&gt;
&lt;br /&gt;
==== GET ====&lt;br /&gt;
List elements of a collection&lt;br /&gt;
  GET /users&lt;br /&gt;
  &amp;lt;- Content : {&amp;quot;root&amp;quot;:{}}&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
Read a specific element&lt;br /&gt;
  GET /users/root&lt;br /&gt;
  &amp;lt;- Content : {&amp;quot;name&amp;quot;:&amp;quot;root&amp;quot;,&amp;quot;user_group&amp;quot;:&amp;quot;Admin&amp;quot;,&amp;quot;pass&amp;quot;:&amp;quot;Not Shown&amp;quot;}&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
==== PUT ====&lt;br /&gt;
Update a configuration element&lt;br /&gt;
  PUT /users/root&lt;br /&gt;
  -&amp;gt; Content : {&amp;quot;pass&amp;quot;:&amp;quot;MyNewSecret&amp;quot;}&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
Omitted attributes in a PUT are left unchanged on the server.&lt;br /&gt;
==== POST ====&lt;br /&gt;
Create a configuration element into a collection&lt;br /&gt;
  POST /users&lt;br /&gt;
  -&amp;gt; Content : { &amp;quot;name&amp;quot; : &amp;quot;RogerFluffy&amp;quot;, &amp;quot;user_group&amp;quot; : &amp;quot;nobody&amp;quot; , &amp;quot;pass&amp;quot; : &amp;quot;xyz&amp;quot; }&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
Omitted attributes in a POST are being set to the 'default' value.&lt;br /&gt;
==== DELETE ====&lt;br /&gt;
Delete a configuration element from a collection&lt;br /&gt;
  DELETE /users/RogerFluffy&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
=== Elements ===&lt;br /&gt;
Elements are found under collection URIs.  A collection is generally composed of multiple elements, with a different name for each element.  &lt;br /&gt;
The element name must be provided during the '''POST''':&lt;br /&gt;
  POST /users&lt;br /&gt;
  -&amp;gt; Content : { &amp;quot;name&amp;quot; : &amp;quot;RogerFluffy&amp;quot;, ... }&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
&lt;br /&gt;
Elements generally have attributes, and can also include collections.  For example, for the configuration element ''MyCFG'', we can find the ''routes'' collection using the following URI:&lt;br /&gt;
  /configurations/MyCFG/routes&lt;br /&gt;
&lt;br /&gt;
=== Collections ===&lt;br /&gt;
URI with the plural form generally represent a collection of elements.&lt;br /&gt;
A collection can be composed of mutiple elements, or limited to 1.&lt;br /&gt;
&lt;br /&gt;
For example, configuration are found under the following collection URI  &lt;br /&gt;
  /users&lt;br /&gt;
Likewise, the list of routes can be found on&lt;br /&gt;
  /configurations/MyCFG/routes&lt;br /&gt;
&lt;br /&gt;
When the collection is limited to 1 element, the element name is fixed.&lt;br /&gt;
For example, only one H.248 stack can be defined, therefore the name is fixed to ''gateway_h248''&lt;br /&gt;
The element name must be NOT be provided during the '''POST''':&lt;br /&gt;
  POST /configurations/MyCFG/h248_stacks&lt;br /&gt;
  -&amp;gt; Content : { &amp;quot;enabled&amp;quot; : true, &amp;quot;naps&amp;quot; : [ &amp;quot;NAP_TDM&amp;quot;, &amp;quot;RTP_NAP&amp;quot;], ... }&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
&lt;br /&gt;
=== Recursivity ===&lt;br /&gt;
==== Non-recursive GET requests (default) ====&lt;br /&gt;
By default, requests are non-recursive.  This means that when a GET request is made on a URI, only objects on that element will be returned. &lt;br /&gt;
  GET /configurations/NewCFG&lt;br /&gt;
  &amp;lt;- Content : {&amp;quot;name&amp;quot;:&amp;quot;NewCFG&amp;quot;, &amp;quot;notes&amp;quot;:&amp;quot;This is a new demo configuration&amp;quot;, &amp;quot;routes&amp;quot;:{}, ... }&lt;br /&gt;
In the response, we see two attribute value pairs : '''name''' and '''notes''', along with another object named '''routes'''.  &lt;br /&gt;
The later is a collection, and should be queried individually to get its sub-elements.&lt;br /&gt;
  GET /configurations/NewCFG/routes&lt;br /&gt;
  &amp;lt;- Content : {&amp;quot;Route1&amp;quot;:{}, ...}&lt;br /&gt;
  GET /configurations/NewCFG/routes/Routes1&lt;br /&gt;
  &amp;lt;- Content : {&amp;quot;name&amp;quot;:&amp;quot;Route1&amp;quot;, &amp;quot;called&amp;quot;:&amp;quot;5551212&amp;quot;,&amp;quot;calling&amp;quot;:&amp;quot;&amp;quot;, ...}&lt;br /&gt;
==== Recursive GET requests ====&lt;br /&gt;
It is possible to get all sub-elements from a GET by using the '''recursive=yes''' attribute on the URI.&lt;br /&gt;
  GET /configurations/NewCFG?recursive=yes&lt;br /&gt;
  &amp;lt;- Content : { &lt;br /&gt;
       &amp;quot;name&amp;quot;:&amp;quot;NewCFG&amp;quot;, &lt;br /&gt;
       &amp;quot;notes&amp;quot;:&amp;quot;This is a new demo configuration&amp;quot;, &lt;br /&gt;
       &amp;quot;routes&amp;quot;: { &lt;br /&gt;
         &amp;quot;Route1&amp;quot;: {&lt;br /&gt;
           &amp;quot;name&amp;quot;:&amp;quot;Route1&amp;quot;, &lt;br /&gt;
           &amp;quot;called&amp;quot;:&amp;quot;5551212&amp;quot;,&lt;br /&gt;
           &amp;quot;calling&amp;quot;:&amp;quot;&amp;quot;, ...&lt;br /&gt;
         },&lt;br /&gt;
         &amp;quot;Route2&amp;quot;: {&lt;br /&gt;
           &amp;quot;name&amp;quot;:&amp;quot;Route2&amp;quot;, &lt;br /&gt;
           &amp;quot;called&amp;quot;:&amp;quot;5551314&amp;quot;,&lt;br /&gt;
           &amp;quot;calling&amp;quot;:&amp;quot;&amp;quot;, ...&lt;br /&gt;
         }, ...&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
This is also true to get the content of all elements of a collection&lt;br /&gt;
  GET /users?recursive=yes&lt;br /&gt;
  &amp;lt;- Content : {&lt;br /&gt;
       &amp;quot;RogerFluffy&amp;quot;:{&lt;br /&gt;
         &amp;quot;name&amp;quot;:&amp;quot;RogerFluffy&amp;quot;,&lt;br /&gt;
         &amp;quot;user_group&amp;quot;:&amp;quot;nobody&amp;quot;,&lt;br /&gt;
         &amp;quot;pass&amp;quot;:&amp;quot;Not Shown&amp;quot;&lt;br /&gt;
       },&lt;br /&gt;
       &amp;quot;root&amp;quot;:{&lt;br /&gt;
         &amp;quot;name&amp;quot;:&amp;quot;root&amp;quot;,&lt;br /&gt;
         &amp;quot;user_group&amp;quot;:&amp;quot;Admin&amp;quot;,&lt;br /&gt;
         &amp;quot;pass&amp;quot;:&amp;quot;Not Shown&amp;quot;&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
Note : recursive GET does not apply to status elements.&lt;br /&gt;
==== Recursive PUT/POST requests ====&lt;br /&gt;
The recursivity of a PUT/POST depends on the content.  It is possible to specify the content of all sub-elements under a URI.&lt;br /&gt;
For example, to change the complete routing table, we could do something like:&lt;br /&gt;
  PUT /configurations/NewCFG/routes&lt;br /&gt;
  -&amp;gt; Content : {&lt;br /&gt;
         &amp;quot;Route1&amp;quot;: {&lt;br /&gt;
           &amp;quot;name&amp;quot;:&amp;quot;Route1&amp;quot;, &lt;br /&gt;
           &amp;quot;called&amp;quot;:&amp;quot;5551212&amp;quot;,&lt;br /&gt;
           &amp;quot;calling&amp;quot;:&amp;quot;&amp;quot;, ...&lt;br /&gt;
         },&lt;br /&gt;
         &amp;quot;Route2&amp;quot;: {&lt;br /&gt;
           &amp;quot;name&amp;quot;:&amp;quot;Route2&amp;quot;, &lt;br /&gt;
           &amp;quot;called&amp;quot;:&amp;quot;5551314&amp;quot;,&lt;br /&gt;
           &amp;quot;calling&amp;quot;:&amp;quot;&amp;quot;, ...&lt;br /&gt;
         }, ...&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
Or even change a complete configuration in a single PUT&lt;br /&gt;
  PUT /configurations/NewCFG&lt;br /&gt;
  -&amp;gt; Content : { &lt;br /&gt;
       &amp;quot;name&amp;quot;:&amp;quot;NewCFG&amp;quot;, &lt;br /&gt;
       &amp;quot;notes&amp;quot;:&amp;quot;This is a new demo configuration&amp;quot;, &lt;br /&gt;
       &amp;quot;routes&amp;quot;: { &lt;br /&gt;
         &amp;quot;Route1&amp;quot;: {&lt;br /&gt;
           &amp;quot;name&amp;quot;:&amp;quot;Route1&amp;quot;, &lt;br /&gt;
           &amp;quot;called&amp;quot;:&amp;quot;6661212&amp;quot;,&lt;br /&gt;
           &amp;quot;calling&amp;quot;:&amp;quot;&amp;quot;, ...&lt;br /&gt;
         },&lt;br /&gt;
         &amp;quot;Route2&amp;quot;: {&lt;br /&gt;
           &amp;quot;name&amp;quot;:&amp;quot;Route2&amp;quot;, &lt;br /&gt;
           &amp;quot;called&amp;quot;:&amp;quot;6661314&amp;quot;,&lt;br /&gt;
           &amp;quot;calling&amp;quot;:&amp;quot;&amp;quot;, ...&lt;br /&gt;
         }, ...&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
It is possible to get the documentation for the attributes of an element from a GET by using the '''documentation=true''' attribute on the URI, either for the collection, an element or a new element.&lt;br /&gt;
  GET /configurations?documentation=true&lt;br /&gt;
  GET /configurations/NewCFG?documentation=true&lt;br /&gt;
  GET /configurations/new?documentation=true&lt;br /&gt;
  -&amp;gt; Content : {&lt;br /&gt;
         &amp;quot;name&amp;quot;: {&lt;br /&gt;
           &amp;quot;description&amp;quot; : &amp;quot;Name of this configuration.&amp;quot;, &lt;br /&gt;
           &amp;quot;type&amp;quot; : &amp;quot;text&amp;quot;,&lt;br /&gt;
         },&lt;br /&gt;
         &amp;quot;notes&amp;quot;: {&lt;br /&gt;
           &amp;quot;description&amp;quot; : &amp;quot;Free text field available to add any system/configuration information (this field is ignored by the system)&amp;quot;, &lt;br /&gt;
           &amp;quot;type&amp;quot; : &amp;quot;text&amp;quot;,&lt;br /&gt;
         }, ...&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
==== Recursive Documentation ====&lt;br /&gt;
It is possible to get documentation recursively by using both the '''documentation=true''' and the '''recursive=yes''' attributes on the URI.&lt;br /&gt;
  GET /configurations?documentation=true&amp;amp;recursive=yes&lt;br /&gt;
  -&amp;gt; Content : { &lt;br /&gt;
       &amp;quot;name&amp;quot;: {&lt;br /&gt;
           &amp;quot;description&amp;quot; : &amp;quot;Name of this configuration.&amp;quot;, &lt;br /&gt;
           &amp;quot;type&amp;quot; : &amp;quot;text&amp;quot;,&lt;br /&gt;
       }, &lt;br /&gt;
       &amp;quot;notes&amp;quot;: {&lt;br /&gt;
           &amp;quot;description&amp;quot; : &amp;quot;Free text field available to add any system/configuration information (this field is ignored by the system)&amp;quot;, &lt;br /&gt;
           &amp;quot;type&amp;quot; : &amp;quot;text&amp;quot;,&lt;br /&gt;
       }, &lt;br /&gt;
       &amp;quot;routes&amp;quot;: { &lt;br /&gt;
         &amp;quot;called&amp;quot;: {&lt;br /&gt;
           &amp;quot;description&amp;quot; : &amp;quot;Called number to match this route. Leave empty to match any called number.&amp;quot;, &lt;br /&gt;
           &amp;quot;type&amp;quot; : &amp;quot;text&amp;quot;,&lt;br /&gt;
         },&lt;br /&gt;
         &amp;quot;calling&amp;quot;: {&lt;br /&gt;
           &amp;quot;description&amp;quot; : &amp;quot;Calling number to match this route. Leave empty to match any calling number.&amp;quot;, &lt;br /&gt;
           &amp;quot;type&amp;quot; : &amp;quot;6661314&amp;quot;,&lt;br /&gt;
         }, ...&lt;br /&gt;
       }, ...&lt;br /&gt;
     }&lt;br /&gt;
=== Request Status code ===&lt;br /&gt;
The following result class are used to as HTTP status code to indicate the result of request.  &lt;br /&gt;
 * 2XX - success&lt;br /&gt;
 * 3XX - redirection (304 Not Modified)&lt;br /&gt;
 * 4XX - client error&lt;br /&gt;
 * 5XX - server error&lt;br /&gt;
&lt;br /&gt;
In Addition to HTTP status code, every HTTP response also inlcudes a JSON payload with a verbose message.&lt;br /&gt;
  POST /configurations/MyCFG/h248_stacks&lt;br /&gt;
  -&amp;gt; Content : { ... }&lt;br /&gt;
  &amp;lt;- Code    : HTTP/1.0 200 OK&lt;br /&gt;
  &amp;lt;- Content : { &amp;quot;message&amp;quot; : &amp;quot;Tbgw h248 cfg creation failed: Public ip address can't be blank, Public ip address is invalid, Local ip address is invalid, Local ip address When not using virtual ip, an ip address must be entered&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
This ''message'' can be used to find the exact reason why a RESTful API call failed.&lt;br /&gt;
&lt;br /&gt;
=== HTTP headers ===&lt;br /&gt;
The following HTTP header should be used in requests:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! HTTP Header&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| Host&lt;br /&gt;
| Mandatory&lt;br /&gt;
|- &lt;br /&gt;
| Authorization&lt;br /&gt;
| RFC2617 WWW Authentication, basic mode.  Can be used on each requests, or first request only by using Cookie/Set-Cookie headers&lt;br /&gt;
|- &lt;br /&gt;
| Cookie&lt;br /&gt;
| RFC2109 HTTP Session management&lt;br /&gt;
|- &lt;br /&gt;
| Content-Type&lt;br /&gt;
|&amp;quot;application/json; charset=utf-8&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| Content-Length&lt;br /&gt;
| Length of content for PUT and POST requests&lt;br /&gt;
|- &lt;br /&gt;
| User-Agent&lt;br /&gt;
| Optional&lt;br /&gt;
|-&lt;br /&gt;
| If-None-Match&lt;br /&gt;
| Optional (HTTP ETag/If-None-Match caching mechanism)&lt;br /&gt;
|-&lt;br /&gt;
| Cache-Control&lt;br /&gt;
| HTTP Cache control, use is optional&lt;br /&gt;
|- &lt;br /&gt;
| Connection&lt;br /&gt;
| &amp;quot;keep-alive&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The following HTTP header are to be expected for a server response:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!HTTP Header&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
| Authorization&lt;br /&gt;
| RFC2617 WWW Authentication&lt;br /&gt;
|-&lt;br /&gt;
| Set-Cookie&lt;br /&gt;
| RFC2109 HTTP Session management&lt;br /&gt;
|-&lt;br /&gt;
| Content-Type&lt;br /&gt;
| &amp;quot;application/json; charset=utf-8&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Content-Length&lt;br /&gt;
| Length of content&lt;br /&gt;
|-&lt;br /&gt;
| E-Tag&lt;br /&gt;
| Optional (HTTP ETag/If-None-Match caching mechanism)&lt;br /&gt;
|-&lt;br /&gt;
| Cache-Control&lt;br /&gt;
| Optional&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
| Can be ignored&lt;br /&gt;
|-&lt;br /&gt;
| X-Runtime&lt;br /&gt;
| Can be ignored&lt;br /&gt;
|-&lt;br /&gt;
| X-Frame-Option&lt;br /&gt;
| To be ignored&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== API Access ==&lt;br /&gt;
=== HTTP port ===&lt;br /&gt;
The HTTP port for RESTful access is the same as for the Web interface.  By default, HTTP port is 12358. &lt;br /&gt;
Therefore the RESTful URIs should looks something like: '''&amp;lt;br&amp;gt;&amp;lt;nowiki&amp;gt;http://TMG_IP_ADDR:12358/@[collection_name]/@[resource_name]&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
=== Credentials ===&lt;br /&gt;
The credentials (user/password) used to authenticate a RESTful client application are the same as for the WebPortal.  &lt;br /&gt;
Users can be managed from the Web interface under /users.  The same path is used to manage users by the RESTful interface.&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Application:tbconfig</id>
		<title>Toolpack Application:tbconfig</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Application:tbconfig"/>
				<updated>2016-01-13T13:32:43Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Additional arguments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Role ==&lt;br /&gt;
tbconfig is used to provision the system using the RESTful API. It supports three different modes of operations : interactive mode, shell mode and command line mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Interactive mode ==&lt;br /&gt;
This mode allows to explore and modify the configurations using arrow keys and simple commands. Multiple modifications can be made before they are applied to the unit. While inside the interactive mode, type the question mark (?) key to get a more detailed help.&lt;br /&gt;
*'''To launch the tool in interactive mode :'''&lt;br /&gt;
 tbconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shell mode ==&lt;br /&gt;
This mode allows to explore and modify the configurations using cd (change directory), ls (list files) and other simple commands. Multiple modifications can be made before they are applied to the unit. While inside the shell mode, type &amp;quot;help&amp;quot; key to get a more detailed help.&lt;br /&gt;
*'''To launch the tool in shell mode :'''&lt;br /&gt;
 tbconfig --shell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Command line mode ==&lt;br /&gt;
This mode allows to export or import configurations to/from files. It also allows to instantly modify values.&lt;br /&gt;
*'''To use the tool in command line mode :'''&lt;br /&gt;
 tbconfig [args]&lt;br /&gt;
*'''To get detailed commands examples :'''&lt;br /&gt;
 tbconfig --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Additional arguments ==&lt;br /&gt;
By default, tbconfig sends HTTP requests to the [[Toolpack_Application:web_server|web server]] using 127.0.0.1:12358 with root/root as the username and password. &lt;br /&gt;
&amp;lt;br&amp;gt;This can be changed using the following arguments:&lt;br /&gt;
 -h       : [host] Host to connect to (IP address or domain name)&lt;br /&gt;
 --port    : [port] Port to use for connecting to HTTP server &lt;br /&gt;
 -u       : [user] User name to use for connecting to HTTP server&lt;br /&gt;
 -p       : [pass] Password to use for connecting to HTTP server&lt;br /&gt;
&lt;br /&gt;
For example, if the TMG’s web server has been reconfigured to use port 80 and you want to log with user my_username and password my_secret_password, tbconfig should be invoked using the following parameters:&lt;br /&gt;
 tbconfig --port 80 -u my_username -p my_secret_password&lt;br /&gt;
&lt;br /&gt;
Unix environment variables can be set to avoid adding those parameters every time.&lt;br /&gt;
 TBCONFIG_HOST	: Replaces -h&lt;br /&gt;
 TBCONFIG_PORT	: Replaces --port&lt;br /&gt;
 TBCONFIG_USER	: Replaces -u  &lt;br /&gt;
 TBCONFIG_PASS	: Replaces –p&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
* [[RESTful_API:_Exporting_a_configuration|Exporting a configuration]]&lt;br /&gt;
* [[RESTful_API:_Importing_a_configuration|Importing a configuration]]&lt;br /&gt;
* [[RESTful_API:_Activating_a_configuration|Activating a configuration]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Northbound_interface</id>
		<title>Northbound interface</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Northbound_interface"/>
				<updated>2016-01-13T13:31:26Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Integration with EMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Northbound interface allows a higher-level component to configure. This is particularly useful for deployment of large number of units in the field.&lt;br /&gt;
&lt;br /&gt;
== TelcoBridges and Northbound interface ==&lt;br /&gt;
Starting with v2.9, EMS or the tbconfig tool can now configure the ''T''media through its Northbound interface.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
The Northbound interface offers multiple ways to configure your system:&lt;br /&gt;
&lt;br /&gt;
=== tbconfig ===&lt;br /&gt;
The [[Toolpack_Application:tbconfig|tbconfig]] tools allows user to directly modify your system's configuration through multiple modes:&lt;br /&gt;
&lt;br /&gt;
* cli&lt;br /&gt;
* shell &lt;br /&gt;
* command line&lt;br /&gt;
&lt;br /&gt;
More information about tbconfig [[Toolpack_Application:tbconfig|here]]&lt;br /&gt;
&lt;br /&gt;
=== Integration with EMS ===&lt;br /&gt;
Introduced in version 2.9, the [http://en.wikipedia.org/wiki/Representational_state_transfer RESTful API] allows the provisioning of a [[Tmedia]] VoIP gateway or a [[Tdev]] development platform. The configuration of the device is seen as collections of resources than can be queried/modified through this interface. &lt;br /&gt;
&lt;br /&gt;
HTTP requests are sent to the [[Toolpack_Application:web_server|web server]] using standard HTTP methods(e.g., GET, PUT, POST, or DELETE). Data exchanged in requests and responses is in [http://en.wikipedia.org/wiki/JSON JSON] format.&lt;br /&gt;
&lt;br /&gt;
More information [[Northbound_interface:RESTful|here]]&lt;br /&gt;
&lt;br /&gt;
== Dictionary ==&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.9|Dictionary v2.9]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Northbound_interface</id>
		<title>Northbound interface</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Northbound_interface"/>
				<updated>2016-01-13T13:31:01Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* tbconfig */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Northbound interface allows a higher-level component to configure. This is particularly useful for deployment of large number of units in the field.&lt;br /&gt;
&lt;br /&gt;
== TelcoBridges and Northbound interface ==&lt;br /&gt;
Starting with v2.9, EMS or the tbconfig tool can now configure the ''T''media through its Northbound interface.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
The Northbound interface offers multiple ways to configure your system:&lt;br /&gt;
&lt;br /&gt;
=== tbconfig ===&lt;br /&gt;
The [[Toolpack_Application:tbconfig|tbconfig]] tools allows user to directly modify your system's configuration through multiple modes:&lt;br /&gt;
&lt;br /&gt;
* cli&lt;br /&gt;
* shell &lt;br /&gt;
* command line&lt;br /&gt;
&lt;br /&gt;
More information about tbconfig [[Toolpack_Application:tbconfig|here]]&lt;br /&gt;
&lt;br /&gt;
=== Integration with EMS ===&lt;br /&gt;
Introduced in version 2.9, the [http://en.wikipedia.org/wiki/Representational_state_transfer RESTful API] allows the provisioning of a [[Tmedia]] VoIP gateway or a [[Tdev]] development platforman. The configuration of the device is seen as collections of resources than can be queried/modified through this interface. &lt;br /&gt;
&lt;br /&gt;
HTTP requests are sent to the [[Toolpack_Application:web_server|web server]] using standard HTTP methods(e.g., GET, PUT, POST, or DELETE). Data exchanged in requests and responses is in [http://en.wikipedia.org/wiki/JSON JSON] format.&lt;br /&gt;
&lt;br /&gt;
More information [[Northbound_interface:RESTful|here]]&lt;br /&gt;
&lt;br /&gt;
== Dictionary ==&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.9|Dictionary v2.9]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Northbound_interface</id>
		<title>Northbound interface</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Northbound_interface"/>
				<updated>2016-01-13T13:30:43Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* TelcoBridges and Northbound interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Northbound interface allows a higher-level component to configure. This is particularly useful for deployment of large number of units in the field.&lt;br /&gt;
&lt;br /&gt;
== TelcoBridges and Northbound interface ==&lt;br /&gt;
Starting with v2.9, EMS or the tbconfig tool can now configure the ''T''media through its Northbound interface.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
The Northbound interface offers multiple ways to configure your system:&lt;br /&gt;
&lt;br /&gt;
=== tbconfig ===&lt;br /&gt;
The [[Toolpack_Application:tbconfig|tbconfig]] tools allows user to directly modify your system's configuration trough multiple modes:&lt;br /&gt;
&lt;br /&gt;
* cli&lt;br /&gt;
* shell &lt;br /&gt;
* command line&lt;br /&gt;
&lt;br /&gt;
More information about tbconfig [[Toolpack_Application:tbconfig|here]]&lt;br /&gt;
&lt;br /&gt;
=== Integration with EMS ===&lt;br /&gt;
Introduced in version 2.9, the [http://en.wikipedia.org/wiki/Representational_state_transfer RESTful API] allows the provisioning of a [[Tmedia]] VoIP gateway or a [[Tdev]] development platforman. The configuration of the device is seen as collections of resources than can be queried/modified through this interface. &lt;br /&gt;
&lt;br /&gt;
HTTP requests are sent to the [[Toolpack_Application:web_server|web server]] using standard HTTP methods(e.g., GET, PUT, POST, or DELETE). Data exchanged in requests and responses is in [http://en.wikipedia.org/wiki/JSON JSON] format.&lt;br /&gt;
&lt;br /&gt;
More information [[Northbound_interface:RESTful|here]]&lt;br /&gt;
&lt;br /&gt;
== Dictionary ==&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.9|Dictionary v2.9]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;br /&gt;
[[Category:Revise on Major]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Application:tbconfig</id>
		<title>Toolpack Application:tbconfig</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Application:tbconfig"/>
				<updated>2015-10-13T19:35:16Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Adding arguments and links to use cases&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Role ==&lt;br /&gt;
tbconfig is used to provision the system using the RESTful API. It supports three different modes of operations : interactive mode, shell mode and command line mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Interactive mode ==&lt;br /&gt;
This mode allows to explore and modify the configurations using arrow keys and simple commands. Multiple modifications can be made before they are applied to the unit. While inside the interactive mode, type the question mark (?) key to get a more detailed help.&lt;br /&gt;
*'''To launch the tool in interactive mode :'''&lt;br /&gt;
 tbconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shell mode ==&lt;br /&gt;
This mode allows to explore and modify the configurations using cd (change directory), ls (list files) and other simple commands. Multiple modifications can be made before they are applied to the unit. While inside the shell mode, type &amp;quot;help&amp;quot; key to get a more detailed help.&lt;br /&gt;
*'''To launch the tool in shell mode :'''&lt;br /&gt;
 tbconfig --shell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Command line mode ==&lt;br /&gt;
This mode allows to export or import configurations to/from files. It also allows to instantly modify values.&lt;br /&gt;
*'''To use the tool in command line mode :'''&lt;br /&gt;
 tbconfig [args]&lt;br /&gt;
*'''To get detailed commands examples :'''&lt;br /&gt;
 tbconfig --help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Additional arguments ==&lt;br /&gt;
By default, tbconfig sends HTTP requests to the [[Toolpack_Application:web_server|web server]] using 127.0.0.1:12358 with root/root as the username and password. &lt;br /&gt;
&amp;lt;br&amp;gt;This can be changed using the following arguments:&lt;br /&gt;
 -h       : [host] Host to connect to (IP address or domain name)&lt;br /&gt;
 -port    : [port] Port to use for connecting to HTTP server &lt;br /&gt;
 -u       : [user] User name to use for connecting to HTTP server&lt;br /&gt;
 -p       : [pass] Password to use for connecting to HTTP server&lt;br /&gt;
&lt;br /&gt;
For example, if the TMG’s web server has been reconfigured to use port 80 and you want to log with user my_username and password my_secret_password, tbconfig should be invoked using the following parameters:&lt;br /&gt;
 tbconfig -port 80 -u my_username -p my_secret_password&lt;br /&gt;
&lt;br /&gt;
Unix environment variables can be set to avoid adding those parameters every time.&lt;br /&gt;
 TBCONFIG_HOST	: Replaces -h&lt;br /&gt;
 TBCONFIG_PORT	: Replaces -port&lt;br /&gt;
 TBCONFIG_USER	: Replaces -u  &lt;br /&gt;
 TBCONFIG_PASS	: Replaces –p&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use cases ==&lt;br /&gt;
* [[RESTful_API:_Exporting_a_configuration|Exporting a configuration]]&lt;br /&gt;
* [[RESTful_API:_Importing_a_configuration|Importing a configuration]]&lt;br /&gt;
* [[RESTful_API:_Activating_a_configuration|Activating a configuration]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Application:tbconfig</id>
		<title>Toolpack Application:tbconfig</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Application:tbconfig"/>
				<updated>2015-10-13T14:57:23Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: First version of the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Role ==&lt;br /&gt;
tbconfig is used to provision the system using the RESTful API. It supports three different modes of operations : interactive mode, shell mode and command line mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Interactive mode ==&lt;br /&gt;
This mode allows to explore and modify the configurations using arrow keys and simple commands. Multiple modifications can be made before they are applied to the unit. While inside the interactive mode, type the question mark (?) key to get a more detailed help.&lt;br /&gt;
*'''To launch the tool in interactive mode :'''&lt;br /&gt;
 tbconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Shell mode ==&lt;br /&gt;
This mode allows to explore and modify the configurations using cd (change directory), ls (list files) and other simple commands. Multiple modifications can be made before they are applied to the unit. While inside the shell mode, type &amp;quot;help&amp;quot; key to get a more detailed help.&lt;br /&gt;
*'''To launch the tool in shell mode :'''&lt;br /&gt;
 tbconfig --shell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Command line mode ==&lt;br /&gt;
This mode allows to export or import configurations to/from files. It also allows to instantly modify values.&lt;br /&gt;
*'''To use the tool in command line mode :'''&lt;br /&gt;
 tbconfig [args]&lt;br /&gt;
*'''To get detailed commands examples :'''&lt;br /&gt;
 tbconfig --help&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide</id>
		<title>Routing script tutorial:Mini Development Guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide"/>
				<updated>2014-11-11T20:44:08Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Script parameters protocol mapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call object  ==&lt;br /&gt;
&lt;br /&gt;
=== Get  ===&lt;br /&gt;
&lt;br /&gt;
Those function are used to get the call parameters. The possible parameters are described in the section &amp;quot;Call parameters&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  called_number = caf_call.get&amp;amp;nbsp;:called&lt;br /&gt;
&lt;br /&gt;
=== List_params  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to retrieve the list of supported call parameters. For example to extract all the possible call params from the the call object and put it in hash. &lt;br /&gt;
&lt;br /&gt;
  caf_call.list_params.each {|param| call[param] = caf_call.get param }&lt;br /&gt;
&lt;br /&gt;
=== Accept  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to accept a call.  It actually creates one outgoing route that gateway application will use to bridge the incoming call leg.  If more than one outgoing route is &amp;quot;accepted&amp;quot;, gateway will try them one by one in the same order they were accepted.   If an outgoing call leg fails (according to 'route retry' parameters), the next route in line will be used.  &lt;br /&gt;
&lt;br /&gt;
This method takes 2 arguments, the call parameters (hash) and the route parameters (hash).  Note that calling this method does NOT stop the flow of the script.&lt;br /&gt;
&lt;br /&gt;
Apply route remapping rules &lt;br /&gt;
&lt;br /&gt;
  caf_call.accept out_call, route&lt;br /&gt;
&lt;br /&gt;
=== Refuse  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to set the reason code for the incoming call leg refusal.  However, this function does NOT stop the flow of the script. &lt;br /&gt;
&lt;br /&gt;
  caf_call.refuse&amp;amp;nbsp;:reason =&amp;amp;gt;&amp;amp;nbsp;:temporary_failure&lt;br /&gt;
&lt;br /&gt;
To immediately refuse the incoming call leg and stop processing the script, the script must raise an exception.  Exiting the script by raising the exception overwrites any reason cause previously stored using refuse().&lt;br /&gt;
&lt;br /&gt;
  raise RoutingException, :no_route&lt;br /&gt;
&lt;br /&gt;
The supported refusal cause values for both refuse() and raise() are described in the section &amp;quot;[[Routing_script_tutorial:Mini_Development_Guide#Reason_values|Reason values]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Script parameters protocol mapping  ===&lt;br /&gt;
&lt;br /&gt;
The following call parameters are available in the call object: &lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;width: 921px; height: 805px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Script parameter name''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''ISDN&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''R2 CAS'''&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SS7&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SIP&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Comment&amp;lt;br&amp;gt;'''&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Toolpack version&amp;lt;br&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| leg_id&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Leg ID&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| session_id&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Session ID&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| ANI (Group B)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address signals (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - nature of address indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - numbering plan indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used&amp;amp;nbsp;(when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information&amp;lt;br&amp;gt; &lt;br /&gt;
Q931: 'Facility CNAM' IE when presentation is allowed for DMS/NI2 variants&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - display information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information (present and/or first byte)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - present or not&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - display-name (displays 'anonymous' or not) &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - privacy&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_screening&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Remote-party-id - screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_category&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Call party category (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party's category' IE - calling party's category&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - cpc &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - cpc&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber &lt;br /&gt;
(Generic Number / NDS)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Number digits &amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - Number digits&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'support 2 calling number IE' in the profile.  This variable has priority over 'private_address' in the outgoing direction.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Facility CNAM' IE when presentation is restricted for DMS/NI2 variants&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display_type &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Indicate presence or not of the private calling information&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_address&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| DNIS (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - user-info and host&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_npi&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default redirecting number and original called number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number'&amp;amp;nbsp;1st IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp;(2nd header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirection counter&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number &lt;br /&gt;
(OCN) &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp; (1st header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - original redirection reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:RequestURI - rn&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| oli&lt;br /&gt;
(Originating line information) &amp;lt;br&amp;gt; &lt;br /&gt;
| 5ESS Codeset 6 OLI - Value&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Originating line information' IE - OLI&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - oli &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - oli&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Complete Request URI string&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default URI&amp;amp;nbsp;forwarding behavior from incoming to outgoing leg&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_header&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Any header&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'Forward custom headers' in Profiles-&amp;gt;SIP &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7.63&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| nap&lt;br /&gt;
(Network Access Point) &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg NAP name (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| type_of_network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| SIP: Request-Line - cic&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification_plan&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default location number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| A script needs to set this to true if it wants to overwrite MLPP information in the outgoing leg.  Otherwise, profile relay 'outgoing mode' applies automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_look_for_busy &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - look ahead for busy&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_precedence_level &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - precedence level&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Resource-Priority - q735&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_network_identity &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - network identity&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_service_domain&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - MLPP service domain&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_isub &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Called party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - isub parameter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_isub_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Called party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - isub-encoding parameter&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_isub &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Calling party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - isub&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_isub_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Callinf party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Calling party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - isub-encoding&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_fci_default &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Default forward call indicator (FCI) value.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Toolpack will overwrite FCI bits A, D, F, I and M with appropriate values according to call conditions&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_fci_force_mask &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Mask to select bits from ss7_fci_default that must be forced.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Bits from ss7_fci_default which corresponding bit in ss7_fci_force_mask is set will be forced, and no more controlled by Toolpack&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_bci_default &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Default backward call indicator (BCI) value.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Toolpack will overwrite BCI bits AB, I, K, M and N with appropriate values according to call conditions&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_bci_force_mask &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Mask to select bits from ss7_bci_default that must be forced.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Bits from ss7_bci_default which corresponding bit in ss7_bci_force_mask is set will be forced, and no more controlled by Toolpack&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| tdm_ls_name&lt;br /&gt;
(Line Service or T1/E1 trunk) &amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg line service name&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg line service name&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg line service name&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| tdm_timeslot_nb&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg timeslot number&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg timeslot number&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg timeslot number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_local_addr&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg local SDP IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_local_port&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg local SDP IP port&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_remote_addr&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg remote SDP IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_remote_port&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg remote SDP IP port&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_cot_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Requests SS7 in-call continuity test for this outgoing SS7 call&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Toolpack will request continuity test on the timeslot before making the outgoing call. If COT fails, the call will be dropped (then another route may be attempted)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| reverse_charging_indication&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg Reverse charging indication IE present&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| If set in routing script, will add Reverse charging indication IE in outgoing leg (also use reverse_charging_indication_forward_enabled)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8.12&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| reverse_charging_indication_forward_enabled&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Enable forwarding of reverse charging indication from incoming to outgoing leg&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8.12&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_local_addr&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg local SIP IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8.13&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_local_port&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg local SIP UDP port&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8.13&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_remote_addr&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg remote SIP IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8.13&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_remote_port&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg remote SIP UDP port&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8.13&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' All values are documented in the '''noa_npi_remap.rb''' script and may change between major release.&lt;br /&gt;
&lt;br /&gt;
=== Noa values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number (0x4)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number (0x3)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_specific (0x5)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_national_format (0x7)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_international_format (0x8)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;abbreviated_number (0x6)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number_operator_requested (0x71)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_operator_requested (0x72)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_operator_requested (0x73)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_operator_requested (0x74)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_cut_through_call_to_carrier (0x75)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;test_line_test_code (0x77)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_subscriber_number (0x71)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_national_number (0x73)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_international_number (0x74)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_950_numbe (0x76)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;special_number (0x73)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_with_transit_network_selection (0x74)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_with_transit_network_selection (0x75)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific NOA value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 0x70&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 112&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Npi values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;isdn&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telephony&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;private&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telex&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display Type values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is unspecified. &lt;br /&gt;
*&amp;lt;tt&amp;gt;calling_party_name&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is 0xB1.&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific Display Information Type value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 0xB1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 177&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display value  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display] = &amp;quot;Roger Fluffy&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Presentation values for Calling number, Calling Subscriber (Generic Number), Redirecting Number, Original Called Number (OCN) and Location Number ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;not_available (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;allowed (0x0)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;restricted (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;addr_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;name_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Party Category  ===&lt;br /&gt;
values for calling_category&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x0)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_french&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x1)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_english&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x2)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_german&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_russian&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x4)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_spanish&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x5)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_with_priority&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xb)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;test&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xd)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;payphone&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xf)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Screening values for Calling number, Calling Subscriber (Generic Number), and Location Number  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no (0x0)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;pass (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;fail (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_provided (0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting indicator values  ===&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;no_redirection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted_all_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted_all_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;spare&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting number, Original Called Number and Diversion Reason ===&lt;br /&gt;
&lt;br /&gt;
ISDN: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;dte_out_of_order&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;forwarding_by_called_dte&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy      (SIP: user-busy)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply  (SIP: no-answer)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection_immediate&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;mobile_not_reachable&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OLI (originating line information) values  ===&lt;br /&gt;
&lt;br /&gt;
The OLI parameter is a string that represents an integer value from 0 to 255. &lt;br /&gt;
&lt;br /&gt;
=== Information Transfer Capability values  ===&lt;br /&gt;
&lt;br /&gt;
information_transfer_capability: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;digital&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;restricted_digital&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;digital_with_tones&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;speech&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;3_1_khz_audio&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== redirecting_number_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of redirecting number (SIP: diversion header) to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: Redirecting number (and original called number) is not forwarded to outgoing call leg 1/true: Redirecting number (and original called number) is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward redirecting number&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration. &lt;br /&gt;
&lt;br /&gt;
=== request_uri  ===&lt;br /&gt;
&lt;br /&gt;
Enables access to the Request-Line URI.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For example, if the Request-Line is: &lt;br /&gt;
&amp;lt;pre&amp;gt;Request-Line: INVITE sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;lt;/pre&amp;gt; &lt;br /&gt;
Then the retrieved request_uri will be &amp;quot;sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;quot;. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the routing scripts, to retrieve only the called number, this script can be used:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;    if call_params[:request_uri] &amp;amp;amp;&amp;amp;amp; call_params[:request_uri] =~ /sip:(.*)@.*/&lt;br /&gt;
       call_params[:called] = $1&lt;br /&gt;
    end&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
=== request_uri_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of request uri to outgoing call leg.The request uri is the information in the &amp;quot;Request-Line:&amp;quot; of the SIP INVITE message.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
0/false: Request uri is not forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1/true: Request uri is forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The value for this parameter at input of routing script is always false. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== sip_header values  ===&lt;br /&gt;
Contains a hash table of custom sip headers from the inbound call leg. Any custom sip header can be added to an outgoing call leg:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;call[ :sip_header ] = {&amp;quot;P-my-custom-header&amp;quot;=&amp;gt;&amp;quot;value1&amp;quot;, &amp;quot;P-my-custom-header2&amp;quot;=&amp;gt;&amp;quot;value2&amp;quot;, &amp;quot;P-my-custom-header3&amp;quot;=&amp;gt;&amp;quot;value3&amp;quot;}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* PCAP sample: [[File:TB_Custom_SIP_Headers.pcap]]&lt;br /&gt;
&lt;br /&gt;
List of sip headers that will not appear in call[:sip_header] since they are already processed by the SIP stack:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accept               Error-Info             Remote-Party-ID      &lt;br /&gt;
Accept-Contact       Event                  Replaces                        &lt;br /&gt;
Accept-Encoding      Expires                Reply-To               &lt;br /&gt;
Accept-Language      From                   Request-Disposition    &lt;br /&gt;
Alert-Info           In-Reply-To            Subject          &lt;br /&gt;
Allow                Max-Forwards           Subscription-State  &lt;br /&gt;
Allow-Events         MIME-version           Supported           &lt;br /&gt;
Also                 Min-Expires            Timestamp           &lt;br /&gt;
Anonymity            Min-SE                 To             &lt;br /&gt;
Authorization        Organization           Unsupported  &lt;br /&gt;
Authentication-Info  Path                   User-Agent  &lt;br /&gt;
Call-ID              Priority               Via  &lt;br /&gt;
Call-Info            Privacy                Warning  &lt;br /&gt;
Contact              Proxy-Authenticate     WWW-Authenticate  &lt;br /&gt;
Content-Disposition  Proxy-Authorization    Require  &lt;br /&gt;
Content-Encoding     Proxy-Require          Response-Key  &lt;br /&gt;
Content-Language     P-Media-Authorization  Retry-After  &lt;br /&gt;
Content-Length       P-Preferred-Identity   RPID-Privacy  &lt;br /&gt;
Content-Type         P-Asserted-Identity    Route  &lt;br /&gt;
CSeq                 RAck                   RSeq  &lt;br /&gt;
RAck                 Reason                 Security-Client  &lt;br /&gt;
Reason               Record-Route           Security-Server  &lt;br /&gt;
Date                 Refer-To               Security-Verify&lt;br /&gt;
Diversion            Referred-By            Server&lt;br /&gt;
Encryption           Reject-Contact         Service-Route             &lt;br /&gt;
                                            Session-Expires&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MLPP Precedence values  ===&lt;br /&gt;
&lt;br /&gt;
mlpp_look_for_busy: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;allowed&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;path_reserved&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;not_allowed&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mlpp_precedence_level: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;flash_override&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;flash&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;immediate&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;priority&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;routine&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mlpp_network_identity:&lt;br /&gt;
&lt;br /&gt;
3 digits value from 0 to 999&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mlpp_service_domain:&lt;br /&gt;
&lt;br /&gt;
24 bits value from 0 to 16777215&lt;br /&gt;
&lt;br /&gt;
=== ISUB subaddress information values  ===&lt;br /&gt;
&lt;br /&gt;
called_isub_type: &lt;br /&gt;
calling_isub_type: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;nsap&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;nsap_ia5&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;nsap_bcd&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;user&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
called_isub: &lt;br /&gt;
calling_isub: &lt;br /&gt;
&lt;br /&gt;
Digits for the subaddress information.&lt;br /&gt;
&lt;br /&gt;
== Route parameters  ==&lt;br /&gt;
&lt;br /&gt;
All route may have these parameters: &lt;br /&gt;
&lt;br /&gt;
*calling &lt;br /&gt;
*called &lt;br /&gt;
*nap &lt;br /&gt;
*remapped_calling &lt;br /&gt;
*remapped_called &lt;br /&gt;
*remapped_nap &lt;br /&gt;
*remapped_profile&lt;br /&gt;
*remapped_incoming_profile&lt;br /&gt;
&lt;br /&gt;
Additionally it is possible to add dynamic route attributes in the web portal. These can be referenced by their name.&lt;br /&gt;
&lt;br /&gt;
== Playing prompts announcements or tones  ==&lt;br /&gt;
&lt;br /&gt;
New feature in release 2.6, all bridges may have these parameters. These can be used to play IVR prompts or wav files in different states of the call flow, like playing an announcement when the caller dials in. You can also manage the User to User information element. &lt;br /&gt;
&lt;br /&gt;
*announcement_tone &lt;br /&gt;
*call_progress_tone &lt;br /&gt;
*ring_tone &lt;br /&gt;
*max_call_duration &lt;br /&gt;
*call_duration_reason &lt;br /&gt;
*disconnect_tone &lt;br /&gt;
*uui &lt;br /&gt;
*uui_forward_enabled&lt;br /&gt;
&lt;br /&gt;
The following sections show how to access those different parameters from '''inside''' a filter.  The 'params' hash is the sole argument passed to a filter function and contains call, nap, route and bridge parameters.   This hash is created by the base_routing.rb scripts to regroup all relevant information just before calling the filter functions.&lt;br /&gt;
&lt;br /&gt;
=== Tone string format  ===&lt;br /&gt;
&lt;br /&gt;
All tone strings (:announcement_tone,&amp;amp;nbsp;:call_progress_tone,&amp;amp;nbsp;:ring_tone,&amp;amp;nbsp;:disconnect_tone) inside bridge parameters are using this format. &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;file1.wav:repeat:start_off:end_off,file2.wav:repeat:start_off:end_off,file3.wav:repeat:start_off:end_off&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
optional repeat parameter: number of times to play the file (0 and 1 have the same result) &amp;lt;br&amp;gt;optional start_off parameter&amp;amp;nbsp;: Start offset in milliseconds &amp;lt;br&amp;gt;optional end_off parameter: End offset in milliseconds &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav,file2.wav:-1&amp;quot; will play file1.wav one time and then play file2.wav in loop. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:1000:3000,file2.wav:2:5000:10000&amp;quot; will play file1.wav from second 1 to second 3 then file2.wav from second 5 to second 10 two times. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:0:30000&amp;quot; will play file1.wav one time for a max duration of 30 seconds. &lt;br /&gt;
&lt;br /&gt;
=== announcement_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:announcement_tone] = &amp;quot;announcement.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played on the incoming leg with the stream_server before any outgoing call is placed. The outgoing call occurs when the wav file is completed or when the &amp;quot;profile:Busy Tone max duration&amp;quot; is reached.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
==== announcement_tone_answer ====&lt;br /&gt;
params[:bridge][:announcement_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the announcement. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== call_progress_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_progress_tone] = &amp;quot;no_route.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played after &amp;quot;announcement_tone&amp;quot; when reason is not &amp;quot;ok&amp;quot; or when outgoing call disconnect before answer state. &amp;lt;br&amp;gt;&amp;quot;none&amp;quot; value is used to bypass &amp;quot;profile:Generate Busy (Congestion) Tone&amp;quot; and to play no audio prompt.&lt;br /&gt;
&lt;br /&gt;
==== call_progress_tone_answer ====&lt;br /&gt;
params[:bridge][:call_progress_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the call progress tone. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== ring_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:ring_tone] = &amp;quot;ringing.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played between alerting state and answer state. Bypass any other ring back tone (RBT) configured in profile. &lt;br /&gt;
&lt;br /&gt;
=== max_call_duration  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:max_call_duration] = &amp;quot;60000&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Maximum call duration in millisecond for the current bridge. This timer is started when entering answer state. &lt;br /&gt;
&lt;br /&gt;
=== call_duration_reason  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_duration_reason] =&amp;amp;nbsp;:resource_unavailable &lt;br /&gt;
&lt;br /&gt;
Drop both legs with this reason when call duration (:max_call_duration) is reached. &lt;br /&gt;
&lt;br /&gt;
=== disconnect_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:disconnect_tone] = &amp;quot;max_duration.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played (on the incoming leg only) when call duration (:max_call_duration) is reached. Then the leg will be terminated with specified reason (:call_duration_reason).&lt;br /&gt;
&lt;br /&gt;
==== disconnect_tone_answer ====&lt;br /&gt;
params[:bridge][:disconnect_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the disconnect tone. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== UUI (user-to-user indication) values  ===&lt;br /&gt;
&lt;br /&gt;
Byte array represented as ruby String. Use ''bridge=params[:bridge]'', then ''bridge[:uui]'' to access the data.&lt;br /&gt;
&lt;br /&gt;
To access the bytes in Ruby, use ruby String operator []. For example:  bridge[:uui][0] will return the binary value of the first UUI byte.&lt;br /&gt;
&lt;br /&gt;
Function each_byte can also be useful to iterate through all bytes of the UUI.&lt;br /&gt;
&lt;br /&gt;
=== uui_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of UUI to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: UUI is not forwarded to outgoing call leg 1/true: UUI is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward UUI&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration.&lt;br /&gt;
&lt;br /&gt;
=== Managing audio prompts through Web Portal ===&lt;br /&gt;
Audio prompts can be uploaded or deleted from the TMedia unit through the Web Portal:&lt;br /&gt;
[[Toolpack:Configuring_Audio_Prompts_A|Managing audio prompts]]&lt;br /&gt;
&lt;br /&gt;
Prompts management must be done using the Web Portal of the primary server (in systems with redundant TMedia units or redundant host servers).&lt;br /&gt;
The file will automatically get replicated to the secondary server.&lt;br /&gt;
&lt;br /&gt;
=== Managing audio prompts manually ===&lt;br /&gt;
Any file on the TMedia host file system can be played. This means it's possible to manage prompts through ssh/scp.&lt;br /&gt;
&lt;br /&gt;
Provided paths are always relative to the &amp;quot;current working directory&amp;quot; of the tbstreamserver application:&lt;br /&gt;
 /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
(Where &amp;quot;2.7&amp;quot; may be replaced by the current major version of your system)&lt;br /&gt;
&lt;br /&gt;
Absolute paths can also be provided.&lt;br /&gt;
&lt;br /&gt;
== Recording call legs  ==&lt;br /&gt;
Introduced in release 2.6.44, it's now possible to use routing scripts to ask for recording incoming and/or outgoing call legs.&lt;br /&gt;
&lt;br /&gt;
See example filter script &amp;quot;call_recording&amp;quot; (created by default in Web Portal routing scripts starting with 2.6.44) for an example.&lt;br /&gt;
&lt;br /&gt;
=== Recording the incoming call leg  ===&lt;br /&gt;
To record the incoming call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter:&lt;br /&gt;
&lt;br /&gt;
  bridge[ :record_incoming ]  = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Recording the outgoing call leg  ===&lt;br /&gt;
To record the outgoing call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter, per route (the decision to record or not, or the file name to record to, can be set per matching route):&lt;br /&gt;
&lt;br /&gt;
  # Need to clone the routes in order to have the right to modify them&lt;br /&gt;
  routes = clone_routes params[:routes]&lt;br /&gt;
  routes.each do |route|&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  # Store modified routes back to the parameters for this outgoing call&lt;br /&gt;
  params[:routes] = routes&lt;br /&gt;
&lt;br /&gt;
=== Record the outgoing call leg within incoming leg's recorded file (mixing)  ===&lt;br /&gt;
  [...]&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;@{MixWithIncoming}&amp;quot;&lt;br /&gt;
  [...]&lt;br /&gt;
&lt;br /&gt;
=== Choosing file path to record to  ===&lt;br /&gt;
The value assigned to &amp;quot;:record_incoming&amp;quot; or &amp;quot;:record_outgoing&amp;quot; is the path to record the file to.&lt;br /&gt;
&lt;br /&gt;
The paths can be absolute, or relative. When relative, they are relative to the &amp;quot;tbstreamserver&amp;quot; application working directory, for example:&lt;br /&gt;
  /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
&lt;br /&gt;
* Empty file name will default to a name that contains various information about the call:&lt;br /&gt;
** ''LinkId'':     Id common between all legs of this call bridge&lt;br /&gt;
** ''LegId'':      Unique Id for this leg&lt;br /&gt;
** ''Nap'':        Current NAP name this call leg is from&lt;br /&gt;
** ''Direction'':  &amp;quot;IN&amp;quot; or &amp;quot;OUT&amp;quot; (depends if call leg is incoming or outgoing leg)&lt;br /&gt;
** ''Calling'':    The calling number of this call leg&lt;br /&gt;
** ''Called'':     The called number of this call leg&lt;br /&gt;
** ''Protocol'':   The signaling protocol of this call leg (SS7, ISDN, CAS, SIP)&lt;br /&gt;
** ''Media info'': Codec + IP/Port for SIP calls, Trunk/Timeslot for TDM calls&lt;br /&gt;
* To record outgoing call leg in the same audio file as incoming call leg (mixing), use the following:&lt;br /&gt;
** @{MixWithIncoming}: Record outgoing legs in same file as incoming legs&lt;br /&gt;
* Variables can be used to insert in the recording path information that's not already available from routing scripts:&lt;br /&gt;
** @{DefaultName}: Same file name (without parent folder path) as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{DefaultPath}: Same path as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/setup/12358/recorded_calls/73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/setup/12358/recorded_calls/73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{LinkId}: Current LinkId (Id common between all legs of this call bridge)&lt;br /&gt;
*** Example: &amp;quot;73EBA698&amp;quot;&lt;br /&gt;
** And all variables listed here: [[Customer_application_framework:play_audio_files#Helpful_variables_to_build_play_or_record_file_paths|Building play or record file path]]&lt;br /&gt;
&lt;br /&gt;
== Authorization ==&lt;br /&gt;
Starting with release 2.7, it is possible to issue RADIUS authorization requests from routing scripts. To do so, the params[:authorization] object must be filled with the required RADIUS attributes and [[#Refuse|an exception must be raised]] with reason :authorization_required.&lt;br /&gt;
&lt;br /&gt;
When the authorization is completed, the routing script is called again with the result. The params[:authorization] object will be filled with the RADIUS attributes from the response. The params[:authorization][:result] field will also contain a string indicating the result of the authorization:&lt;br /&gt;
&lt;br /&gt;
* ''accept'': The authorization was successful.&lt;br /&gt;
* ''reject'': The authorization was refused.&lt;br /&gt;
* ''challenge'': The authorization was challenged.&lt;br /&gt;
* ''timeout'': The authorization was not answered.&lt;br /&gt;
&lt;br /&gt;
== Call diversion options ==&lt;br /&gt;
It's possible to control the call flow when a call diversion information is received in the alerting state.&lt;br /&gt;
&lt;br /&gt;
Two fields are available: bridge[ :diversion ] and bridge[ :diversion_reason ]&lt;br /&gt;
&lt;br /&gt;
The internal release cause TOOLPACK_DIVERT_NOT_ALLOWED is used by gateway application to terminate both legs.&lt;br /&gt;
&lt;br /&gt;
  bridge[ :diversion ] = :allowed&lt;br /&gt;
The alert message will not be analyzed and the call will be progressed. Default behavior.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed&lt;br /&gt;
If the alert message indicates that the call is diverted, the call will be released no matter the In-band information to allow&lt;br /&gt;
early media.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed_w_early_media&lt;br /&gt;
The call will be released If the alert message indicates that the call is diverted with in-band information to allow early media.&lt;br /&gt;
  bridge[ :diversion_reason ] = &amp;quot;*&amp;quot;&lt;br /&gt;
If the diversion is not allowed, the gateway will drop the call for any redirecting reason. &lt;br /&gt;
  bridge[ :diversion_reason ] = []&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :busy&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :unconditional&lt;br /&gt;
If the diversion is not allowed, the redirecting reason will be analyzed and the call will only be dropped for the configured cases.&lt;br /&gt;
&lt;br /&gt;
See section [[Routing_script_tutorial:Mini_Development_Guide#Redirecting_number_reason_values|Redirecting number reason values]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Call transfer requests ==&lt;br /&gt;
Toolpack allows to relay [[Call transfer]] requests from one leg to the other, or to process them locally (making another outgoing call to replace the call that requested the call transfer).&lt;br /&gt;
&lt;br /&gt;
If the chosen [[Call transfer]] mode is to process requests locally, upon reception of a call transfer request (SIP REFER or ISDN Facility), routing script will be called once again, to select the routes for the new outgoing call (call transfer target).&lt;br /&gt;
&lt;br /&gt;
=== How to route call transfer request ===&lt;br /&gt;
Routing of a call transfer request is done exactly like routing of a normal incoming call.&lt;br /&gt;
The routing script generally does not need any modification to support that.&lt;br /&gt;
&lt;br /&gt;
In some cases, the routing script may want to use information related to the transfer request to perform routing, or to insert information in the outgoing call leg.&lt;br /&gt;
Additional information is provided to the routing script, allowing routing decisions using information from the call transfer request (SIP REFER or ISDN Facility).&lt;br /&gt;
See below...&lt;br /&gt;
&lt;br /&gt;
=== params[ :call ] content during transfer request ===&lt;br /&gt;
When processing a call transfer request, the params[ :call ] hash contains the information from the inbound call (same as was passed to the routing script upon arrival of the inbound call)&lt;br /&gt;
 call = params[ :call ]          -&amp;gt; Information from original inbound call, with exception of call[ :called ]&lt;br /&gt;
&lt;br /&gt;
One exception (convenient because it allows a unmodified routing script to process call transfer request the same way as any other routing request):&lt;br /&gt;
 call[ :called ]                 -&amp;gt; Replaced by the called number from the call transfer request (also called &amp;quot;redirection number&amp;quot;)&lt;br /&gt;
Complementary information:&lt;br /&gt;
 call[ :original_called_number ] -&amp;gt; Contains the called number that was initially received from the incoming call, prior to call transfer request&lt;br /&gt;
 call[ :redirecting_number ]     -&amp;gt; Number of the call from which the call transfer request was received (generally equals to original_called_number)&lt;br /&gt;
&lt;br /&gt;
These fields will also be included in the outgoing call made after routing:&lt;br /&gt;
* original called number and redirecting number are existing fields on SS7 and ISDN calls&lt;br /&gt;
* SIP &amp;quot;diversion&amp;quot; header is used for SIP calls&lt;br /&gt;
&lt;br /&gt;
=== params[ :transfer ] content ===&lt;br /&gt;
(this if valid only for release 2.7.102 and above)&amp;lt;br&amp;gt;&lt;br /&gt;
When processing a call transfer request, information from the call transfer request message (SIP REFER, ISDN Facility) is provided in params[ :transfer ]:&lt;br /&gt;
  transfer = params[ :transfer ]&lt;br /&gt;
The following field is always present:&lt;br /&gt;
  transfer[ :original_nap ]      -&amp;gt; Contains the NAP of the first call from which a call transfer request was received&lt;br /&gt;
  transfer[ :redirecting_nap ]   -&amp;gt; Contains the NAP of the call from which the current call transfer request was received&lt;br /&gt;
                                    (same as :original_nap for the first call transfer, different for subsequent transfers)&lt;br /&gt;
Examples of other fields that may be present, when appropriate:&lt;br /&gt;
  transfer[ :uui ]               -&amp;gt; The UUI (user-to-user information) found in the call transfer request&lt;br /&gt;
  transfer[ :sip_header ]        -&amp;gt; Contains custom SIP headers from the call transfer request&lt;br /&gt;
  transfer[ :request_uri ]       -&amp;gt; Contains the SIP Request URI&lt;br /&gt;
&lt;br /&gt;
These field are 'read-only'. They won't be included in the outgoing call, as they represent the content of the call transfer request, not the outgoing call to make.&lt;br /&gt;
&lt;br /&gt;
To insert/modify attributes of the outgoing call, the parameters from params[ :call ] must be edited instead.&lt;br /&gt;
&lt;br /&gt;
== Reason values  ==&lt;br /&gt;
&lt;br /&gt;
Check here for Termination Reason Cause codes:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Termination_cause_codes|Termination Reason Cause codes]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example to refuse an incoming call leg.&lt;br /&gt;
  raise RoutingException, :no_route&lt;br /&gt;
&lt;br /&gt;
Reason cause strings available inside routing scripts:&lt;br /&gt;
&lt;br /&gt;
List of Q.850 reason causes:&lt;br /&gt;
  :unallocated_number&lt;br /&gt;
  :no_route_to_network&lt;br /&gt;
  :no_route_to_destination&lt;br /&gt;
  :send_special_tone&lt;br /&gt;
  :misdialled_trunk_prefix&lt;br /&gt;
  :channel_unacceptable&lt;br /&gt;
  :call_awarded_in_established_channel&lt;br /&gt;
  :preemption&lt;br /&gt;
  :reattempt&lt;br /&gt;
  :ported_number&lt;br /&gt;
  :normal_call_clearing&lt;br /&gt;
  :user_busy&lt;br /&gt;
  :no_user_responding&lt;br /&gt;
  :no_answer_from_user&lt;br /&gt;
  :subscriber_absent&lt;br /&gt;
  :call_rejected&lt;br /&gt;
  :number_changed&lt;br /&gt;
  :redirection&lt;br /&gt;
  :exchange_routing_error&lt;br /&gt;
  :non_selected_user_clearing&lt;br /&gt;
  :destination_out_of_order&lt;br /&gt;
  :address_incomplete&lt;br /&gt;
  :facility_rejected&lt;br /&gt;
  :response_to_status_enquiry&lt;br /&gt;
  :normal_unspecified&lt;br /&gt;
  :no_circuit_available&lt;br /&gt;
  :network_out_of_order&lt;br /&gt;
  :frame_mode_out_of_service&lt;br /&gt;
  :frame_mode_connection_operational&lt;br /&gt;
  :temporary_failure&lt;br /&gt;
  :switching_equipment_congestion&lt;br /&gt;
  :access_information_discarded&lt;br /&gt;
  :requested_circuit_not_available&lt;br /&gt;
  :precedence_call_blocked&lt;br /&gt;
  :resource_unavailable&lt;br /&gt;
  :quality_of_service_not_available&lt;br /&gt;
  :requested_facility_not_subscribed&lt;br /&gt;
  :outgoing_calls_barred&lt;br /&gt;
  :outgoing_calls_barred_within_cug&lt;br /&gt;
  :incoming_calls_barred&lt;br /&gt;
  :incoming_calls_barred_within_cug&lt;br /&gt;
  :bearer_cap_not_authorized&lt;br /&gt;
  :bearer_cap_not_available&lt;br /&gt;
  :inconsistency_access_info&lt;br /&gt;
  :service_not_available&lt;br /&gt;
  :bearer_cap_not_implemented&lt;br /&gt;
  :channel_type_not_implemented&lt;br /&gt;
  :requested_facility_not_implemented&lt;br /&gt;
  :only_restricted_digital_info&lt;br /&gt;
  :service_not_implemented&lt;br /&gt;
  :invalid_call_reference&lt;br /&gt;
  :channel_does_not_exist&lt;br /&gt;
  :call_identity_does_not_exist&lt;br /&gt;
  :call_identity_in_use&lt;br /&gt;
  :no_call_suspended&lt;br /&gt;
  :call_has_been_cleared&lt;br /&gt;
  :user_not_member_of_cug&lt;br /&gt;
  :incompatible_destination&lt;br /&gt;
  :non_existant_cug&lt;br /&gt;
  :invalid_transit_network&lt;br /&gt;
  :invalid_message_unspecified&lt;br /&gt;
  :mandatory_ie_missing&lt;br /&gt;
  :message_type_non_existent&lt;br /&gt;
  :not_compatible_with_call_state&lt;br /&gt;
  :ie_non_existent&lt;br /&gt;
  :invalid_ie_content&lt;br /&gt;
  :message_not_compatible&lt;br /&gt;
  :recovery_on_timer_expiry&lt;br /&gt;
  :parameter_non_existent_passed_on&lt;br /&gt;
  :msg_with_non_recognized_param_discarded&lt;br /&gt;
  :protocol_error&lt;br /&gt;
  :interworking_unspecified&lt;br /&gt;
&lt;br /&gt;
List of toolpack reason causes:&lt;br /&gt;
&lt;br /&gt;
  :toolpack_normal                       or :normal&lt;br /&gt;
  :toolpack_resource_error               or :resource_error&lt;br /&gt;
  :toolpack_timeout                      or :timeout&lt;br /&gt;
  :toolpack_no_route                     or :no_route&lt;br /&gt;
  :toolpack_call_collision               or :call_collision&lt;br /&gt;
  :toolpack_sync_drop                    or :sync_drop&lt;br /&gt;
  :toolpack_signaling_error              or :signaling_error&lt;br /&gt;
  :toolpack_locally_rejected             or :locally_rejected&lt;br /&gt;
  :toolpack_interface_not_available      or :interface_not_available&lt;br /&gt;
  :toolpack_reset_in_progress            or :reset_in_progress&lt;br /&gt;
  :toolpack_adapter_reject               or :adapter_reject&lt;br /&gt;
  :toolpack_missing_or_invalid_ie        or :missing_or_invalid_ie&lt;br /&gt;
  :toolpack_incoming_only                or :incoming_only&lt;br /&gt;
  :toolpack_system_configuration_changed or :system_configuration_changed&lt;br /&gt;
  :toolpack_resource_no_more_available   or :resource_no_more_available&lt;br /&gt;
  :toolpack_incompatible_media           or :incompatible_media&lt;br /&gt;
  :toolpack_resource_allocation_failed   or :resource_allocation_failed&lt;br /&gt;
  :toolpack_data_path_not_available      or :data_path_not_available&lt;br /&gt;
  :toolpack_local_congestion             or :local_congestion&lt;br /&gt;
  :toolpack_authorization_required       or :authorization_required&lt;br /&gt;
  :toolpack_call_divert_is_not_allowed   or :call_divert_is_not_allowed&lt;br /&gt;
&lt;br /&gt;
List of SIP reason causes:&lt;br /&gt;
&lt;br /&gt;
  :400_bad_request&lt;br /&gt;
  :401_unauthorized&lt;br /&gt;
  :402_payment_required&lt;br /&gt;
  :403_forbidden&lt;br /&gt;
  :404_not_found&lt;br /&gt;
  :405_method_not_allowed&lt;br /&gt;
  :406_not_acceptable&lt;br /&gt;
  :407_proxy_authentication_required&lt;br /&gt;
  :408_request_timeout&lt;br /&gt;
  :409_conflict&lt;br /&gt;
  :410_gone&lt;br /&gt;
  :413_request_entity_too_large&lt;br /&gt;
  :414_request_URI_too_long&lt;br /&gt;
  :415_unsupported_media&lt;br /&gt;
  :416_unsupported_URI_scheme&lt;br /&gt;
  :420_bad_extension&lt;br /&gt;
  :421_extension_required&lt;br /&gt;
  :422_session_timer_too_small&lt;br /&gt;
  :423_interval_too_brief&lt;br /&gt;
  :429_referrer_identity_error&lt;br /&gt;
  :480_temporary_unavailable&lt;br /&gt;
  :481_call_or_transaction_does_not_exist&lt;br /&gt;
  :482_loop_detected&lt;br /&gt;
  :483_too_many_hops&lt;br /&gt;
  :484_address_incomplete&lt;br /&gt;
  :485_ambiguous&lt;br /&gt;
  :486_busy_here&lt;br /&gt;
  :487_request_terminated&lt;br /&gt;
  :488_not_acceptable_here&lt;br /&gt;
  :489_bad_event&lt;br /&gt;
  :491_retry_after&lt;br /&gt;
  :500_server_internal_error&lt;br /&gt;
  :501_not_implemented&lt;br /&gt;
  :502_bad_gateway&lt;br /&gt;
  :503_service_unavailable&lt;br /&gt;
  :504_server_timeout&lt;br /&gt;
  :505_version_unsupported&lt;br /&gt;
  :513_message_too_large&lt;br /&gt;
  :600_busy_everywhere&lt;br /&gt;
  :603_decline&lt;br /&gt;
  :604_not_exist_anywhere&lt;br /&gt;
  :606_not_acceptable&lt;br /&gt;
&lt;br /&gt;
== Nap status  ==&lt;br /&gt;
&lt;br /&gt;
All the status fields of the NAPs are provided for use by the routing scripts. See the nap status provider for more details on which fields are available in the CEngineStatTransNap.hpp file. &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' These values may change between major release. &lt;br /&gt;
&lt;br /&gt;
  Routing script call attribute name    Description&lt;br /&gt;
  --------------------------------------------------------------------------------------------&lt;br /&gt;
  &amp;quot;signaling_type&amp;quot;                      Signaling type.&lt;br /&gt;
  &amp;quot;inst_incoming_call_cnt&amp;quot;              Instantaneous Count of incoming calls.&lt;br /&gt;
  &amp;quot;inst_outgoing_call_cnt&amp;quot;              Instantaneous Count of outgoing calls.&lt;br /&gt;
  &amp;quot;available_cnt&amp;quot;                       Number of available circuits or channels.&lt;br /&gt;
  &amp;quot;unavailable_cnt&amp;quot;                     Number of unavailable circuits or channels.&lt;br /&gt;
  &amp;quot;availability_percent&amp;quot;                Percentage of available circuits or channels.&lt;br /&gt;
  &amp;quot;usage_percent&amp;quot;                       Percentage of used circuits or channels.&lt;br /&gt;
  &amp;quot;unused_shared_percent&amp;quot;               Percentage of used circuits or channels of this NAP available to make new calls with (taking into account shared with other NAPs)&lt;br /&gt;
  &amp;quot;total_incoming_call_cnt&amp;quot;             Total Count of incoming calls.&lt;br /&gt;
  &amp;quot;asr_statistics_struct&amp;quot;               Detailed Answer-Seizure Rate Statistics.&lt;br /&gt;
  &amp;quot;global_asr_percent&amp;quot;                  Global calculated ASR percentage.&lt;br /&gt;
  &amp;quot;total_outgoing_call_cnt&amp;quot;             Total Count of outgoing calls.&lt;br /&gt;
  &amp;quot;last_24h_asr_percent&amp;quot;                Last 24 hours calculated ASR percentage.&lt;br /&gt;
  &amp;quot;last_24h_outgoing_call_cnt&amp;quot;          Last 24 hours outgoing calls.&lt;br /&gt;
  &amp;quot;current_hour_asr_percent&amp;quot;            Current hour calculated ASR percentage.&lt;br /&gt;
  &amp;quot;current_hour_outgoing_call_cnt&amp;quot;      Current hour outgoing calls.&lt;br /&gt;
  &amp;quot;last_hour_asr_percent&amp;quot;               Last hour calculated ASR percentage.&lt;br /&gt;
  &amp;quot;last_hour_outgoing_call_cnt&amp;quot;         Last hour outgoing calls.&lt;br /&gt;
  &amp;quot;availability_detection_struct&amp;quot;       Detailed availibility detection Statistics&lt;br /&gt;
  &amp;quot;poll_remote_proxy&amp;quot;                   Remote proxy polling enabled&lt;br /&gt;
  &amp;quot;is_available&amp;quot;                        Remote proxy actually available or not&lt;br /&gt;
  &amp;quot;time_since_polling&amp;quot;                  Time since the last availibility polling&lt;br /&gt;
  &amp;quot;time_available_seconds&amp;quot;              Number of seconds since the NAP is available&lt;br /&gt;
  &amp;quot;time_unavailable_seconds&amp;quot;            Number of seconds since the NAP is unavailable&lt;br /&gt;
  &amp;quot;registration_struct&amp;quot;                 Detailed registration Statistics&lt;br /&gt;
  &amp;quot;register_to_proxy&amp;quot;                   Register to proxy enabled&lt;br /&gt;
  &amp;quot;registered&amp;quot;                          Actually registered or not&lt;br /&gt;
  &amp;quot;time_since_refresh&amp;quot;                  Time since the last refresh&lt;br /&gt;
  &amp;quot;time_registered_seconds&amp;quot;             Number of seconds since the NAP is registered&lt;br /&gt;
  &amp;quot;time_not_registered_seconds&amp;quot;         Number of seconds since the NAP is not registered&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; If the nap status is part of a substructure, it's name in the routing scripts must be composed of the structure name appended by an underscore and the field name. &lt;br /&gt;
&lt;br /&gt;
For example the name to use for the global [[ASR]] percentage is: &lt;br /&gt;
&lt;br /&gt;
  asr_statistics_struct_global_asr_percent&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; It is also possible to add dynamic nap attributes in the web portal. These can be referenced by their name.&lt;br /&gt;
&lt;br /&gt;
== Routing Script Tests ==&lt;br /&gt;
The Web portal features a tool for Testing Scripts. The user must enter parameters to simulate the incoming call and after pressing the Test button, will output selected routes and numbers.  You do not need to activate the new routes, or the new scripts to use this test tool: It can be used to test the routing scripts and routing table before activating it.&lt;br /&gt;
This is available in the Routing Scripts section of the Web portal.&lt;br /&gt;
&lt;br /&gt;
=== Test parameters ===&lt;br /&gt;
==== @call_params  ====&lt;br /&gt;
&lt;br /&gt;
That variable should contain a hash of call parameters that will passed to the routing script. This is equivalent to the incoming call parameters. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== @nap_list  ====&lt;br /&gt;
&lt;br /&gt;
A list of hash containing the nap statuses. This is equivalent to the nap statuses at the time the call is to be routed. &lt;br /&gt;
&lt;br /&gt;
'''The nap list is hashed by the nap names in UPPERCASE.''' It is important to consider this when creating new dynamic route or nap attributes that may nap names that will be used to fetch a status. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== @params  ====&lt;br /&gt;
&lt;br /&gt;
A hash of hashes containing parameters. This hash contains bridge parameters and other kind of parameter groups may be added in the future. &lt;br /&gt;
&lt;br /&gt;
Example: @params = {:bridge =&amp;gt; {:announcement_tone, &amp;quot;announcement.wav&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; Back to [[Routing script tutorial|Routing Script Tutorial]].&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide</id>
		<title>Routing script tutorial:Mini Development Guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide"/>
				<updated>2014-11-06T16:49:43Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Script parameters protocol mapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call object  ==&lt;br /&gt;
&lt;br /&gt;
=== Get  ===&lt;br /&gt;
&lt;br /&gt;
Those function are used to get the call parameters. The possible parameters are described in the section &amp;quot;Call parameters&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  called_number = caf_call.get&amp;amp;nbsp;:called&lt;br /&gt;
&lt;br /&gt;
=== List_params  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to retrieve the list of supported call parameters. For example to extract all the possible call params from the the call object and put it in hash. &lt;br /&gt;
&lt;br /&gt;
  caf_call.list_params.each {|param| call[param] = caf_call.get param }&lt;br /&gt;
&lt;br /&gt;
=== Accept  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to accept a call.  It actually creates one outgoing route that gateway application will use to bridge the incoming call leg.  If more than one outgoing route is &amp;quot;accepted&amp;quot;, gateway will try them one by one in the same order they were accepted.   If an outgoing call leg fails (according to 'route retry' parameters), the next route in line will be used.  &lt;br /&gt;
&lt;br /&gt;
This method takes 2 arguments, the call parameters (hash) and the route parameters (hash).  Note that calling this method does NOT stop the flow of the script.&lt;br /&gt;
&lt;br /&gt;
Apply route remapping rules &lt;br /&gt;
&lt;br /&gt;
  caf_call.accept out_call, route&lt;br /&gt;
&lt;br /&gt;
=== Refuse  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to set the reason code for the incoming call leg refusal.  However, this function does NOT stop the flow of the script. &lt;br /&gt;
&lt;br /&gt;
  caf_call.refuse&amp;amp;nbsp;:reason =&amp;amp;gt;&amp;amp;nbsp;:temporary_failure&lt;br /&gt;
&lt;br /&gt;
To immediately refuse the incoming call leg and stop processing the script, the script must raise an exception.  Exiting the script by raising the exception overwrites any reason cause previously stored using refuse().&lt;br /&gt;
&lt;br /&gt;
  raise RoutingException, :no_route&lt;br /&gt;
&lt;br /&gt;
The supported refusal cause values for both refuse() and raise() are described in the section &amp;quot;[[Routing_script_tutorial:Mini_Development_Guide#Reason_values|Reason values]]&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Script parameters protocol mapping  ===&lt;br /&gt;
&lt;br /&gt;
The following call parameters are available in the call object: &lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;width: 921px; height: 805px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Script parameter name''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''ISDN&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''R2 CAS'''&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SS7&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SIP&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Comment&amp;lt;br&amp;gt;'''&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Toolpack version&amp;lt;br&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| leg_id&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Leg ID&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| session_id&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Session ID&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| ANI (Group B)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address signals (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - nature of address indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - numbering plan indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used&amp;amp;nbsp;(when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information&amp;lt;br&amp;gt; &lt;br /&gt;
Q931: 'Facility CNAM' IE when presentation is allowed for DMS/NI2 variants&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - display information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information (present and/or first byte)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - present or not&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - display-name (displays 'anonymous' or not) &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - privacy&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_screening&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Remote-party-id - screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_category&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Call party category (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party's category' IE - calling party's category&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - cpc &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - cpc&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber &lt;br /&gt;
(Generic Number / NDS)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Number digits &amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - Number digits&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'support 2 calling number IE' in the profile.  This variable has priority over 'private_address' in the outgoing direction.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Facility CNAM' IE when presentation is restricted for DMS/NI2 variants&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display_type &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Indicate presence or not of the private calling information&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_address&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| DNIS (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - user-info and host&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_npi&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default redirecting number and original called number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number'&amp;amp;nbsp;1st IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp;(2nd header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirection counter&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number &lt;br /&gt;
(OCN) &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp; (1st header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - original redirection reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:RequestURI - rn&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| oli&lt;br /&gt;
(Originating line information) &amp;lt;br&amp;gt; &lt;br /&gt;
| 5ESS Codeset 6 OLI - Value&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Originating line information' IE - OLI&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - oli &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - oli&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Complete Request URI string&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default URI&amp;amp;nbsp;forwarding behavior from incoming to outgoing leg&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_header&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Any header&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'Forward custom headers' in Profiles-&amp;gt;SIP &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7.63&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| nap&lt;br /&gt;
(Network Access Point) &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg NAP name (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| type_of_network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| SIP: Request-Line - cic&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification_plan&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default location number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| A script needs to set this to true if it wants to overwrite MLPP information in the outgoing leg.  Otherwise, profile relay 'outgoing mode' applies automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_look_for_busy &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - look ahead for busy&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_precedence_level &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - precedence level&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Resource-Priority - q735&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_network_identity &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - network identity&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| mlpp_service_domain&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'MLPP precedence' IE - MLPP service domain&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_isub &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Called party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - isub parameter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_isub_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Called party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - isub-encoding parameter&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_isub &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Calling party subaddress' IE - subaddress information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - isub&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_isub_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Callinf party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Access transport' IE - Q931: 'Calling party subaddress' IE - type of subaddress&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - isub-encoding&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_fci_default &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Default forward call indicator (FCI) value.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Toolpack will overwrite FCI bits A, D, F, I and M with appropriate values according to call conditions&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_fci_force_mask &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Mask to select bits from ss7_fci_default that must be forced.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Bits from ss7_fci_default which corresponding bit in ss7_fci_force_mask is set will be forced, and no more controlled by Toolpack&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_bci_default &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Default backward call indicator (BCI) value.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Toolpack will overwrite BCI bits AB, I, K, M and N with appropriate values according to call conditions&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_bci_force_mask &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Mask to select bits from ss7_bci_default that must be forced.&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Bits from ss7_bci_default which corresponding bit in ss7_bci_force_mask is set will be forced, and no more controlled by Toolpack&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| tdm_ls_name&lt;br /&gt;
(Line Service or T1/E1 trunk) &amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg line service name&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg line service name&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg line service name&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| tdm_timeslot_nb&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg timeslot number&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg timeslot number&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg timeslot number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_local_addr&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg local SDP IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_local_port&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg local SDP IP port&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_remote_addr&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg remote SDP IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| rtp_remote_port&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg remote SDP IP port&amp;lt;br&amp;gt; &lt;br /&gt;
| (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ss7_cot_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Requests SS7 in-call continuity test for this outgoing SS7 call&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Toolpack will request continuity test on the timeslot before making the outgoing call. If COT fails, the call will be dropped (then another route may be attempted)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| reverse_charging_indication&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg Reverse charging indication IE present&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| If set in routing script, will add Reverse charging indication IE in outgoing leg (also use reverse_charging_indication_forward_enabled)&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| reverse_charging_indication_forward_enabled&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Enable forwarding of reverse charging indication from incoming to outgoing leg&amp;lt;br&amp;gt;&lt;br /&gt;
| 2.8&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' All values are documented in the '''noa_npi_remap.rb''' script and may change between major release.&lt;br /&gt;
&lt;br /&gt;
=== Noa values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number (0x4)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number (0x3)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_specific (0x5)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_national_format (0x7)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_international_format (0x8)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;abbreviated_number (0x6)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number_operator_requested (0x71)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_operator_requested (0x72)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_operator_requested (0x73)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_operator_requested (0x74)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_cut_through_call_to_carrier (0x75)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;test_line_test_code (0x77)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_subscriber_number (0x71)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_national_number (0x73)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_international_number (0x74)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_950_numbe (0x76)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;special_number (0x73)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_with_transit_network_selection (0x74)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_with_transit_network_selection (0x75)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific NOA value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 0x70&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 112&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Npi values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;isdn&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telephony&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;private&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telex&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display Type values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is unspecified. &lt;br /&gt;
*&amp;lt;tt&amp;gt;calling_party_name&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is 0xB1.&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific Display Information Type value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 0xB1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 177&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display value  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display] = &amp;quot;Roger Fluffy&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Presentation values for Calling number, Calling Subscriber (Generic Number), Redirecting Number, Original Called Number (OCN) and Location Number ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;not_available (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;allowed (0x0)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;restricted (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;addr_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;name_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Party Category  ===&lt;br /&gt;
values for calling_category&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x0)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_french&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x1)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_english&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x2)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_german&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_russian&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x4)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_spanish&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x5)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_with_priority&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xb)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;test&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xd)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;payphone&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xf)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Screening values for Calling number, Calling Subscriber (Generic Number), and Location Number  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no (0x0)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;pass (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;fail (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_provided (0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting indicator values  ===&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;no_redirection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted_all_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted_all_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;spare&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting number, Original Called Number and Diversion Reason ===&lt;br /&gt;
&lt;br /&gt;
ISDN: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;dte_out_of_order&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;forwarding_by_called_dte&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy      (SIP: user-busy)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply  (SIP: no-answer)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection_immediate&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;mobile_not_reachable&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OLI (originating line information) values  ===&lt;br /&gt;
&lt;br /&gt;
The OLI parameter is a string that represents an integer value from 0 to 255. &lt;br /&gt;
&lt;br /&gt;
=== Information Transfer Capability values  ===&lt;br /&gt;
&lt;br /&gt;
information_transfer_capability: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;digital&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;restricted_digital&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;digital_with_tones&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;speech&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;3_1_khz_audio&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== redirecting_number_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of redirecting number (SIP: diversion header) to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: Redirecting number (and original called number) is not forwarded to outgoing call leg 1/true: Redirecting number (and original called number) is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward redirecting number&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration. &lt;br /&gt;
&lt;br /&gt;
=== request_uri  ===&lt;br /&gt;
&lt;br /&gt;
Enables access to the Request-Line URI.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For example, if the Request-Line is: &lt;br /&gt;
&amp;lt;pre&amp;gt;Request-Line: INVITE sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;lt;/pre&amp;gt; &lt;br /&gt;
Then the retrieved request_uri will be &amp;quot;sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;quot;. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the routing scripts, to retrieve only the called number, this script can be used:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;    if call_params[:request_uri] &amp;amp;amp;&amp;amp;amp; call_params[:request_uri] =~ /sip:(.*)@.*/&lt;br /&gt;
       call_params[:called] = $1&lt;br /&gt;
    end&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
=== request_uri_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of request uri to outgoing call leg.The request uri is the information in the &amp;quot;Request-Line:&amp;quot; of the SIP INVITE message.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
0/false: Request uri is not forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1/true: Request uri is forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The value for this parameter at input of routing script is always false. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== sip_header values  ===&lt;br /&gt;
Contains a hash table of custom sip headers from the inbound call leg. Any custom sip header can be added to an outgoing call leg:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;call[ :sip_header ] = {&amp;quot;P-my-custom-header&amp;quot;=&amp;gt;&amp;quot;value1&amp;quot;, &amp;quot;P-my-custom-header2&amp;quot;=&amp;gt;&amp;quot;value2&amp;quot;, &amp;quot;P-my-custom-header3&amp;quot;=&amp;gt;&amp;quot;value3&amp;quot;}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* PCAP sample: [[File:TB_Custom_SIP_Headers.pcap]]&lt;br /&gt;
&lt;br /&gt;
List of sip headers that will not appear in call[:sip_header] since they are already processed by the SIP stack:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accept               Error-Info             Remote-Party-ID      &lt;br /&gt;
Accept-Contact       Event                  Replaces                        &lt;br /&gt;
Accept-Encoding      Expires                Reply-To               &lt;br /&gt;
Accept-Language      From                   Request-Disposition    &lt;br /&gt;
Alert-Info           In-Reply-To            Subject          &lt;br /&gt;
Allow                Max-Forwards           Subscription-State  &lt;br /&gt;
Allow-Events         MIME-version           Supported           &lt;br /&gt;
Also                 Min-Expires            Timestamp           &lt;br /&gt;
Anonymity            Min-SE                 To             &lt;br /&gt;
Authorization        Organization           Unsupported  &lt;br /&gt;
Authentication-Info  Path                   User-Agent  &lt;br /&gt;
Call-ID              Priority               Via  &lt;br /&gt;
Call-Info            Privacy                Warning  &lt;br /&gt;
Contact              Proxy-Authenticate     WWW-Authenticate  &lt;br /&gt;
Content-Disposition  Proxy-Authorization    Require  &lt;br /&gt;
Content-Encoding     Proxy-Require          Response-Key  &lt;br /&gt;
Content-Language     P-Media-Authorization  Retry-After  &lt;br /&gt;
Content-Length       P-Preferred-Identity   RPID-Privacy  &lt;br /&gt;
Content-Type         P-Asserted-Identity    Route  &lt;br /&gt;
CSeq                 RAck                   RSeq  &lt;br /&gt;
RAck                 Reason                 Security-Client  &lt;br /&gt;
Reason               Record-Route           Security-Server  &lt;br /&gt;
Date                 Refer-To               Security-Verify&lt;br /&gt;
Diversion            Referred-By            Server&lt;br /&gt;
Encryption           Reject-Contact         Service-Route             &lt;br /&gt;
                                            Session-Expires&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== MLPP Precedence values  ===&lt;br /&gt;
&lt;br /&gt;
mlpp_look_for_busy: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;allowed&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;path_reserved&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;not_allowed&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mlpp_precedence_level: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;flash_override&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;flash&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;immediate&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;priority&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;routine&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mlpp_network_identity:&lt;br /&gt;
&lt;br /&gt;
3 digits value from 0 to 999&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mlpp_service_domain:&lt;br /&gt;
&lt;br /&gt;
24 bits value from 0 to 16777215&lt;br /&gt;
&lt;br /&gt;
=== ISUB subaddress information values  ===&lt;br /&gt;
&lt;br /&gt;
called_isub_type: &lt;br /&gt;
calling_isub_type: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;nsap&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;nsap_ia5&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;nsap_bcd&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;user&amp;lt;/tt&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
called_isub: &lt;br /&gt;
calling_isub: &lt;br /&gt;
&lt;br /&gt;
Digits for the subaddress information.&lt;br /&gt;
&lt;br /&gt;
== Route parameters  ==&lt;br /&gt;
&lt;br /&gt;
All route may have these parameters: &lt;br /&gt;
&lt;br /&gt;
*calling &lt;br /&gt;
*called &lt;br /&gt;
*nap &lt;br /&gt;
*remapped_calling &lt;br /&gt;
*remapped_called &lt;br /&gt;
*remapped_nap &lt;br /&gt;
*remapped_profile&lt;br /&gt;
*remapped_incoming_profile&lt;br /&gt;
&lt;br /&gt;
Additionally it is possible to add dynamic route attributes in the web portal. These can be referenced by their name.&lt;br /&gt;
&lt;br /&gt;
== Playing prompts announcements or tones  ==&lt;br /&gt;
&lt;br /&gt;
New feature in release 2.6, all bridges may have these parameters. These can be used to play IVR prompts or wav files in different states of the call flow, like playing an announcement when the caller dials in. You can also manage the User to User information element. &lt;br /&gt;
&lt;br /&gt;
*announcement_tone &lt;br /&gt;
*call_progress_tone &lt;br /&gt;
*ring_tone &lt;br /&gt;
*max_call_duration &lt;br /&gt;
*call_duration_reason &lt;br /&gt;
*disconnect_tone &lt;br /&gt;
*uui &lt;br /&gt;
*uui_forward_enabled&lt;br /&gt;
&lt;br /&gt;
The following sections show how to access those different parameters from '''inside''' a filter.  The 'params' hash is the sole argument passed to a filter function and contains call, nap, route and bridge parameters.   This hash is created by the base_routing.rb scripts to regroup all relevant information just before calling the filter functions.&lt;br /&gt;
&lt;br /&gt;
=== Tone string format  ===&lt;br /&gt;
&lt;br /&gt;
All tone strings (:announcement_tone,&amp;amp;nbsp;:call_progress_tone,&amp;amp;nbsp;:ring_tone,&amp;amp;nbsp;:disconnect_tone) inside bridge parameters are using this format. &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;file1.wav:repeat:start_off:end_off,file2.wav:repeat:start_off:end_off,file3.wav:repeat:start_off:end_off&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
optional repeat parameter: number of times to play the file (0 and 1 have the same result) &amp;lt;br&amp;gt;optional start_off parameter&amp;amp;nbsp;: Start offset in milliseconds &amp;lt;br&amp;gt;optional end_off parameter: End offset in milliseconds &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav,file2.wav:-1&amp;quot; will play file1.wav one time and then play file2.wav in loop. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:1000:3000,file2.wav:2:5000:10000&amp;quot; will play file1.wav from second 1 to second 3 then file2.wav from second 5 to second 10 two times. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:0:30000&amp;quot; will play file1.wav one time for a max duration of 30 seconds. &lt;br /&gt;
&lt;br /&gt;
=== announcement_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:announcement_tone] = &amp;quot;announcement.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played on the incoming leg with the stream_server before any outgoing call is placed. The outgoing call occurs when the wav file is completed or when the &amp;quot;profile:Busy Tone max duration&amp;quot; is reached.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
==== announcement_tone_answer ====&lt;br /&gt;
params[:bridge][:announcement_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the announcement. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== call_progress_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_progress_tone] = &amp;quot;no_route.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played after &amp;quot;announcement_tone&amp;quot; when reason is not &amp;quot;ok&amp;quot; or when outgoing call disconnect before answer state. &amp;lt;br&amp;gt;&amp;quot;none&amp;quot; value is used to bypass &amp;quot;profile:Generate Busy (Congestion) Tone&amp;quot; and to play no audio prompt.&lt;br /&gt;
&lt;br /&gt;
==== call_progress_tone_answer ====&lt;br /&gt;
params[:bridge][:call_progress_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the call progress tone. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== ring_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:ring_tone] = &amp;quot;ringing.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played between alerting state and answer state. Bypass any other ring back tone (RBT) configured in profile. &lt;br /&gt;
&lt;br /&gt;
=== max_call_duration  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:max_call_duration] = &amp;quot;60000&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Maximum call duration in millisecond for the current bridge. This timer is started when entering answer state. &lt;br /&gt;
&lt;br /&gt;
=== call_duration_reason  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_duration_reason] =&amp;amp;nbsp;:resource_unavailable &lt;br /&gt;
&lt;br /&gt;
Drop both legs with this reason when call duration (:max_call_duration) is reached. &lt;br /&gt;
&lt;br /&gt;
=== disconnect_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:disconnect_tone] = &amp;quot;max_duration.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played (on the incoming leg only) when call duration (:max_call_duration) is reached. Then the leg will be terminated with specified reason (:call_duration_reason).&lt;br /&gt;
&lt;br /&gt;
==== disconnect_tone_answer ====&lt;br /&gt;
params[:bridge][:disconnect_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the disconnect tone. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== UUI (user-to-user indication) values  ===&lt;br /&gt;
&lt;br /&gt;
Byte array represented as ruby String. Use ''bridge=params[:bridge]'', then ''bridge[:uui]'' to access the data.&lt;br /&gt;
&lt;br /&gt;
To access the bytes in Ruby, use ruby String operator []. For example:  bridge[:uui][0] will return the binary value of the first UUI byte.&lt;br /&gt;
&lt;br /&gt;
Function each_byte can also be useful to iterate through all bytes of the UUI.&lt;br /&gt;
&lt;br /&gt;
=== uui_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of UUI to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: UUI is not forwarded to outgoing call leg 1/true: UUI is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward UUI&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration.&lt;br /&gt;
&lt;br /&gt;
=== Managing audio prompts through Web Portal ===&lt;br /&gt;
Audio prompts can be uploaded or deleted from the TMedia unit through the Web Portal:&lt;br /&gt;
[[Toolpack:Configuring_Audio_Prompts_A|Managing audio prompts]]&lt;br /&gt;
&lt;br /&gt;
Prompts management must be done using the Web Portal of the primary server (in systems with redundant TMedia units or redundant host servers).&lt;br /&gt;
The file will automatically get replicated to the secondary server.&lt;br /&gt;
&lt;br /&gt;
=== Managing audio prompts manually ===&lt;br /&gt;
Any file on the TMedia host file system can be played. This means it's possible to manage prompts through ssh/scp.&lt;br /&gt;
&lt;br /&gt;
Provided paths are always relative to the &amp;quot;current working directory&amp;quot; of the tbstreamserver application:&lt;br /&gt;
 /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
(Where &amp;quot;2.7&amp;quot; may be replaced by the current major version of your system)&lt;br /&gt;
&lt;br /&gt;
Absolute paths can also be provided.&lt;br /&gt;
&lt;br /&gt;
== Recording call legs  ==&lt;br /&gt;
Introduced in release 2.6.44, it's now possible to use routing scripts to ask for recording incoming and/or outgoing call legs.&lt;br /&gt;
&lt;br /&gt;
See example filter script &amp;quot;call_recording&amp;quot; (created by default in Web Portal routing scripts starting with 2.6.44) for an example.&lt;br /&gt;
&lt;br /&gt;
=== Recording the incoming call leg  ===&lt;br /&gt;
To record the incoming call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter:&lt;br /&gt;
&lt;br /&gt;
  bridge[ :record_incoming ]  = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Recording the outgoing call leg  ===&lt;br /&gt;
To record the outgoing call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter, per route (the decision to record or not, or the file name to record to, can be set per matching route):&lt;br /&gt;
&lt;br /&gt;
  # Need to clone the routes in order to have the right to modify them&lt;br /&gt;
  routes = clone_routes params[:routes]&lt;br /&gt;
  routes.each do |route|&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  # Store modified routes back to the parameters for this outgoing call&lt;br /&gt;
  params[:routes] = routes&lt;br /&gt;
&lt;br /&gt;
=== Record the outgoing call leg within incoming leg's recorded file (mixing)  ===&lt;br /&gt;
  [...]&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;@{MixWithIncoming}&amp;quot;&lt;br /&gt;
  [...]&lt;br /&gt;
&lt;br /&gt;
=== Choosing file path to record to  ===&lt;br /&gt;
The value assigned to &amp;quot;:record_incoming&amp;quot; or &amp;quot;:record_outgoing&amp;quot; is the path to record the file to.&lt;br /&gt;
&lt;br /&gt;
The paths can be absolute, or relative. When relative, they are relative to the &amp;quot;tbstreamserver&amp;quot; application working directory, for example:&lt;br /&gt;
  /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
&lt;br /&gt;
* Empty file name will default to a name that contains various information about the call:&lt;br /&gt;
** ''LinkId'':     Id common between all legs of this call bridge&lt;br /&gt;
** ''LegId'':      Unique Id for this leg&lt;br /&gt;
** ''Nap'':        Current NAP name this call leg is from&lt;br /&gt;
** ''Direction'':  &amp;quot;IN&amp;quot; or &amp;quot;OUT&amp;quot; (depends if call leg is incoming or outgoing leg)&lt;br /&gt;
** ''Calling'':    The calling number of this call leg&lt;br /&gt;
** ''Called'':     The called number of this call leg&lt;br /&gt;
** ''Protocol'':   The signaling protocol of this call leg (SS7, ISDN, CAS, SIP)&lt;br /&gt;
** ''Media info'': Codec + IP/Port for SIP calls, Trunk/Timeslot for TDM calls&lt;br /&gt;
* To record outgoing call leg in the same audio file as incoming call leg (mixing), use the following:&lt;br /&gt;
** @{MixWithIncoming}: Record outgoing legs in same file as incoming legs&lt;br /&gt;
* Variables can be used to insert in the recording path information that's not already available from routing scripts:&lt;br /&gt;
** @{DefaultName}: Same file name (without parent folder path) as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{DefaultPath}: Same path as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/setup/12358/recorded_calls/73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/setup/12358/recorded_calls/73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{LinkId}: Current LinkId (Id common between all legs of this call bridge)&lt;br /&gt;
*** Example: &amp;quot;73EBA698&amp;quot;&lt;br /&gt;
** And all variables listed here: [[Customer_application_framework:play_audio_files#Helpful_variables_to_build_play_or_record_file_paths|Building play or record file path]]&lt;br /&gt;
&lt;br /&gt;
== Authorization ==&lt;br /&gt;
Starting with release 2.7, it is possible to issue RADIUS authorization requests from routing scripts. To do so, the params[:authorization] object must be filled with the required RADIUS attributes and [[#Refuse|an exception must be raised]] with reason :authorization_required.&lt;br /&gt;
&lt;br /&gt;
When the authorization is completed, the routing script is called again with the result. The params[:authorization] object will be filled with the RADIUS attributes from the response. The params[:authorization][:result] field will also contain a string indicating the result of the authorization:&lt;br /&gt;
&lt;br /&gt;
* ''accept'': The authorization was successful.&lt;br /&gt;
* ''reject'': The authorization was refused.&lt;br /&gt;
* ''challenge'': The authorization was challenged.&lt;br /&gt;
* ''timeout'': The authorization was not answered.&lt;br /&gt;
&lt;br /&gt;
== Call diversion options ==&lt;br /&gt;
It's possible to control the call flow when a call diversion information is received in the alerting state.&lt;br /&gt;
&lt;br /&gt;
Two fields are available: bridge[ :diversion ] and bridge[ :diversion_reason ]&lt;br /&gt;
&lt;br /&gt;
The internal release cause TOOLPACK_DIVERT_NOT_ALLOWED is used by gateway application to terminate both legs.&lt;br /&gt;
&lt;br /&gt;
  bridge[ :diversion ] = :allowed&lt;br /&gt;
The alert message will not be analyzed and the call will be progressed. Default behavior.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed&lt;br /&gt;
If the alert message indicates that the call is diverted, the call will be released no matter the In-band information to allow&lt;br /&gt;
early media.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed_w_early_media&lt;br /&gt;
The call will be released If the alert message indicates that the call is diverted with in-band information to allow early media.&lt;br /&gt;
  bridge[ :diversion_reason ] = &amp;quot;*&amp;quot;&lt;br /&gt;
If the diversion is not allowed, the gateway will drop the call for any redirecting reason. &lt;br /&gt;
  bridge[ :diversion_reason ] = []&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :busy&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :unconditional&lt;br /&gt;
If the diversion is not allowed, the redirecting reason will be analyzed and the call will only be dropped for the configured cases.&lt;br /&gt;
&lt;br /&gt;
See section [[Routing_script_tutorial:Mini_Development_Guide#Redirecting_number_reason_values|Redirecting number reason values]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Call transfer requests ==&lt;br /&gt;
Toolpack allows to relay [[Call transfer]] requests from one leg to the other, or to process them locally (making another outgoing call to replace the call that requested the call transfer).&lt;br /&gt;
&lt;br /&gt;
If the chosen [[Call transfer]] mode is to process requests locally, upon reception of a call transfer request (SIP REFER or ISDN Facility), routing script will be called once again, to select the routes for the new outgoing call (call transfer target).&lt;br /&gt;
&lt;br /&gt;
=== How to route call transfer request ===&lt;br /&gt;
Routing of a call transfer request is done exactly like routing of a normal incoming call.&lt;br /&gt;
The routing script generally does not need any modification to support that.&lt;br /&gt;
&lt;br /&gt;
In some cases, the routing script may want to use information related to the transfer request to perform routing, or to insert information in the outgoing call leg.&lt;br /&gt;
Additional information is provided to the routing script, allowing routing decisions using information from the call transfer request (SIP REFER or ISDN Facility).&lt;br /&gt;
See below...&lt;br /&gt;
&lt;br /&gt;
=== params[ :call ] content during transfer request ===&lt;br /&gt;
When processing a call transfer request, the params[ :call ] hash contains the information from the inbound call (same as was passed to the routing script upon arrival of the inbound call)&lt;br /&gt;
 call = params[ :call ]          -&amp;gt; Information from original inbound call, with exception of call[ :called ]&lt;br /&gt;
&lt;br /&gt;
One exception (convenient because it allows a unmodified routing script to process call transfer request the same way as any other routing request):&lt;br /&gt;
 call[ :called ]                 -&amp;gt; Replaced by the called number from the call transfer request (also called &amp;quot;redirection number&amp;quot;)&lt;br /&gt;
Complementary information:&lt;br /&gt;
 call[ :original_called_number ] -&amp;gt; Contains the called number that was initially received from the incoming call, prior to call transfer request&lt;br /&gt;
 call[ :redirecting_number ]     -&amp;gt; Number of the call from which the call transfer request was received (generally equals to original_called_number)&lt;br /&gt;
&lt;br /&gt;
These fields will also be included in the outgoing call made after routing:&lt;br /&gt;
* original called number and redirecting number are existing fields on SS7 and ISDN calls&lt;br /&gt;
* SIP &amp;quot;diversion&amp;quot; header is used for SIP calls&lt;br /&gt;
&lt;br /&gt;
=== params[ :transfer ] content ===&lt;br /&gt;
(this if valid only for release 2.7.102 and above)&amp;lt;br&amp;gt;&lt;br /&gt;
When processing a call transfer request, information from the call transfer request message (SIP REFER, ISDN Facility) is provided in params[ :transfer ]:&lt;br /&gt;
  transfer = params[ :transfer ]&lt;br /&gt;
The following field is always present:&lt;br /&gt;
  transfer[ :original_nap ]      -&amp;gt; Contains the NAP of the first call from which a call transfer request was received&lt;br /&gt;
  transfer[ :redirecting_nap ]   -&amp;gt; Contains the NAP of the call from which the current call transfer request was received&lt;br /&gt;
                                    (same as :original_nap for the first call transfer, different for subsequent transfers)&lt;br /&gt;
Examples of other fields that may be present, when appropriate:&lt;br /&gt;
  transfer[ :uui ]               -&amp;gt; The UUI (user-to-user information) found in the call transfer request&lt;br /&gt;
  transfer[ :sip_header ]        -&amp;gt; Contains custom SIP headers from the call transfer request&lt;br /&gt;
  transfer[ :request_uri ]       -&amp;gt; Contains the SIP Request URI&lt;br /&gt;
&lt;br /&gt;
These field are 'read-only'. They won't be included in the outgoing call, as they represent the content of the call transfer request, not the outgoing call to make.&lt;br /&gt;
&lt;br /&gt;
To insert/modify attributes of the outgoing call, the parameters from params[ :call ] must be edited instead.&lt;br /&gt;
&lt;br /&gt;
== Reason values  ==&lt;br /&gt;
&lt;br /&gt;
Check here for Termination Reason Cause codes:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Termination_cause_codes|Termination Reason Cause codes]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example to refuse an incoming call leg.&lt;br /&gt;
  raise RoutingException, :no_route&lt;br /&gt;
&lt;br /&gt;
Reason cause strings available inside routing scripts:&lt;br /&gt;
&lt;br /&gt;
List of Q.850 reason causes:&lt;br /&gt;
  :unallocated_number&lt;br /&gt;
  :no_route_to_network&lt;br /&gt;
  :no_route_to_destination&lt;br /&gt;
  :send_special_tone&lt;br /&gt;
  :misdialled_trunk_prefix&lt;br /&gt;
  :channel_unacceptable&lt;br /&gt;
  :call_awarded_in_established_channel&lt;br /&gt;
  :preemption&lt;br /&gt;
  :reattempt&lt;br /&gt;
  :ported_number&lt;br /&gt;
  :normal_call_clearing&lt;br /&gt;
  :user_busy&lt;br /&gt;
  :no_user_responding&lt;br /&gt;
  :no_answer_from_user&lt;br /&gt;
  :subscriber_absent&lt;br /&gt;
  :call_rejected&lt;br /&gt;
  :number_changed&lt;br /&gt;
  :redirection&lt;br /&gt;
  :exchange_routing_error&lt;br /&gt;
  :non_selected_user_clearing&lt;br /&gt;
  :destination_out_of_order&lt;br /&gt;
  :address_incomplete&lt;br /&gt;
  :facility_rejected&lt;br /&gt;
  :response_to_status_enquiry&lt;br /&gt;
  :normal_unspecified&lt;br /&gt;
  :no_circuit_available&lt;br /&gt;
  :network_out_of_order&lt;br /&gt;
  :frame_mode_out_of_service&lt;br /&gt;
  :frame_mode_connection_operational&lt;br /&gt;
  :temporary_failure&lt;br /&gt;
  :switching_equipment_congestion&lt;br /&gt;
  :access_information_discarded&lt;br /&gt;
  :requested_circuit_not_available&lt;br /&gt;
  :precedence_call_blocked&lt;br /&gt;
  :resource_unavailable&lt;br /&gt;
  :quality_of_service_not_available&lt;br /&gt;
  :requested_facility_not_subscribed&lt;br /&gt;
  :outgoing_calls_barred&lt;br /&gt;
  :outgoing_calls_barred_within_cug&lt;br /&gt;
  :incoming_calls_barred&lt;br /&gt;
  :incoming_calls_barred_within_cug&lt;br /&gt;
  :bearer_cap_not_authorized&lt;br /&gt;
  :bearer_cap_not_available&lt;br /&gt;
  :inconsistency_access_info&lt;br /&gt;
  :service_not_available&lt;br /&gt;
  :bearer_cap_not_implemented&lt;br /&gt;
  :channel_type_not_implemented&lt;br /&gt;
  :requested_facility_not_implemented&lt;br /&gt;
  :only_restricted_digital_info&lt;br /&gt;
  :service_not_implemented&lt;br /&gt;
  :invalid_call_reference&lt;br /&gt;
  :channel_does_not_exist&lt;br /&gt;
  :call_identity_does_not_exist&lt;br /&gt;
  :call_identity_in_use&lt;br /&gt;
  :no_call_suspended&lt;br /&gt;
  :call_has_been_cleared&lt;br /&gt;
  :user_not_member_of_cug&lt;br /&gt;
  :incompatible_destination&lt;br /&gt;
  :non_existant_cug&lt;br /&gt;
  :invalid_transit_network&lt;br /&gt;
  :invalid_message_unspecified&lt;br /&gt;
  :mandatory_ie_missing&lt;br /&gt;
  :message_type_non_existent&lt;br /&gt;
  :not_compatible_with_call_state&lt;br /&gt;
  :ie_non_existent&lt;br /&gt;
  :invalid_ie_content&lt;br /&gt;
  :message_not_compatible&lt;br /&gt;
  :recovery_on_timer_expiry&lt;br /&gt;
  :parameter_non_existent_passed_on&lt;br /&gt;
  :msg_with_non_recognized_param_discarded&lt;br /&gt;
  :protocol_error&lt;br /&gt;
  :interworking_unspecified&lt;br /&gt;
&lt;br /&gt;
List of toolpack reason causes:&lt;br /&gt;
&lt;br /&gt;
  :toolpack_normal                       or :normal&lt;br /&gt;
  :toolpack_resource_error               or :resource_error&lt;br /&gt;
  :toolpack_timeout                      or :timeout&lt;br /&gt;
  :toolpack_no_route                     or :no_route&lt;br /&gt;
  :toolpack_call_collision               or :call_collision&lt;br /&gt;
  :toolpack_sync_drop                    or :sync_drop&lt;br /&gt;
  :toolpack_signaling_error              or :signaling_error&lt;br /&gt;
  :toolpack_locally_rejected             or :locally_rejected&lt;br /&gt;
  :toolpack_interface_not_available      or :interface_not_available&lt;br /&gt;
  :toolpack_reset_in_progress            or :reset_in_progress&lt;br /&gt;
  :toolpack_adapter_reject               or :adapter_reject&lt;br /&gt;
  :toolpack_missing_or_invalid_ie        or :missing_or_invalid_ie&lt;br /&gt;
  :toolpack_incoming_only                or :incoming_only&lt;br /&gt;
  :toolpack_system_configuration_changed or :system_configuration_changed&lt;br /&gt;
  :toolpack_resource_no_more_available   or :resource_no_more_available&lt;br /&gt;
  :toolpack_incompatible_media           or :incompatible_media&lt;br /&gt;
  :toolpack_resource_allocation_failed   or :resource_allocation_failed&lt;br /&gt;
  :toolpack_data_path_not_available      or :data_path_not_available&lt;br /&gt;
  :toolpack_local_congestion             or :local_congestion&lt;br /&gt;
  :toolpack_authorization_required       or :authorization_required&lt;br /&gt;
  :toolpack_call_divert_is_not_allowed   or :call_divert_is_not_allowed&lt;br /&gt;
&lt;br /&gt;
List of SIP reason causes:&lt;br /&gt;
&lt;br /&gt;
  :400_bad_request&lt;br /&gt;
  :401_unauthorized&lt;br /&gt;
  :402_payment_required&lt;br /&gt;
  :403_forbidden&lt;br /&gt;
  :404_not_found&lt;br /&gt;
  :405_method_not_allowed&lt;br /&gt;
  :406_not_acceptable&lt;br /&gt;
  :407_proxy_authentication_required&lt;br /&gt;
  :408_request_timeout&lt;br /&gt;
  :409_conflict&lt;br /&gt;
  :410_gone&lt;br /&gt;
  :413_request_entity_too_large&lt;br /&gt;
  :414_request_URI_too_long&lt;br /&gt;
  :415_unsupported_media&lt;br /&gt;
  :416_unsupported_URI_scheme&lt;br /&gt;
  :420_bad_extension&lt;br /&gt;
  :421_extension_required&lt;br /&gt;
  :422_session_timer_too_small&lt;br /&gt;
  :423_interval_too_brief&lt;br /&gt;
  :429_referrer_identity_error&lt;br /&gt;
  :480_temporary_unavailable&lt;br /&gt;
  :481_call_or_transaction_does_not_exist&lt;br /&gt;
  :482_loop_detected&lt;br /&gt;
  :483_too_many_hops&lt;br /&gt;
  :484_address_incomplete&lt;br /&gt;
  :485_ambiguous&lt;br /&gt;
  :486_busy_here&lt;br /&gt;
  :487_request_terminated&lt;br /&gt;
  :488_not_acceptable_here&lt;br /&gt;
  :489_bad_event&lt;br /&gt;
  :491_retry_after&lt;br /&gt;
  :500_server_internal_error&lt;br /&gt;
  :501_not_implemented&lt;br /&gt;
  :502_bad_gateway&lt;br /&gt;
  :503_service_unavailable&lt;br /&gt;
  :504_server_timeout&lt;br /&gt;
  :505_version_unsupported&lt;br /&gt;
  :513_message_too_large&lt;br /&gt;
  :600_busy_everywhere&lt;br /&gt;
  :603_decline&lt;br /&gt;
  :604_not_exist_anywhere&lt;br /&gt;
  :606_not_acceptable&lt;br /&gt;
&lt;br /&gt;
== Nap status  ==&lt;br /&gt;
&lt;br /&gt;
All the status fields of the NAPs are provided for use by the routing scripts. See the nap status provider for more details on which fields are available in the CEngineStatTransNap.hpp file. &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' These values may change between major release. &lt;br /&gt;
&lt;br /&gt;
  Routing script call attribute name    Description&lt;br /&gt;
  --------------------------------------------------------------------------------------------&lt;br /&gt;
  &amp;quot;signaling_type&amp;quot;                      Signaling type.&lt;br /&gt;
  &amp;quot;inst_incoming_call_cnt&amp;quot;              Instantaneous Count of incoming calls.&lt;br /&gt;
  &amp;quot;inst_outgoing_call_cnt&amp;quot;              Instantaneous Count of outgoing calls.&lt;br /&gt;
  &amp;quot;available_cnt&amp;quot;                       Number of available circuits or channels.&lt;br /&gt;
  &amp;quot;unavailable_cnt&amp;quot;                     Number of unavailable circuits or channels.&lt;br /&gt;
  &amp;quot;availability_percent&amp;quot;                Percentage of available circuits or channels.&lt;br /&gt;
  &amp;quot;usage_percent&amp;quot;                       Percentage of used circuits or channels.&lt;br /&gt;
  &amp;quot;unused_shared_percent&amp;quot;               Percentage of used circuits or channels of this NAP available to make new calls with (taking into account shared with other NAPs)&lt;br /&gt;
  &amp;quot;total_incoming_call_cnt&amp;quot;             Total Count of incoming calls.&lt;br /&gt;
  &amp;quot;asr_statistics_struct&amp;quot;               Detailed Answer-Seizure Rate Statistics.&lt;br /&gt;
  &amp;quot;global_asr_percent&amp;quot;                  Global calculated ASR percentage.&lt;br /&gt;
  &amp;quot;total_outgoing_call_cnt&amp;quot;             Total Count of outgoing calls.&lt;br /&gt;
  &amp;quot;last_24h_asr_percent&amp;quot;                Last 24 hours calculated ASR percentage.&lt;br /&gt;
  &amp;quot;last_24h_outgoing_call_cnt&amp;quot;          Last 24 hours outgoing calls.&lt;br /&gt;
  &amp;quot;current_hour_asr_percent&amp;quot;            Current hour calculated ASR percentage.&lt;br /&gt;
  &amp;quot;current_hour_outgoing_call_cnt&amp;quot;      Current hour outgoing calls.&lt;br /&gt;
  &amp;quot;last_hour_asr_percent&amp;quot;               Last hour calculated ASR percentage.&lt;br /&gt;
  &amp;quot;last_hour_outgoing_call_cnt&amp;quot;         Last hour outgoing calls.&lt;br /&gt;
  &amp;quot;availability_detection_struct&amp;quot;       Detailed availibility detection Statistics&lt;br /&gt;
  &amp;quot;poll_remote_proxy&amp;quot;                   Remote proxy polling enabled&lt;br /&gt;
  &amp;quot;is_available&amp;quot;                        Remote proxy actually available or not&lt;br /&gt;
  &amp;quot;time_since_polling&amp;quot;                  Time since the last availibility polling&lt;br /&gt;
  &amp;quot;time_available_seconds&amp;quot;              Number of seconds since the NAP is available&lt;br /&gt;
  &amp;quot;time_unavailable_seconds&amp;quot;            Number of seconds since the NAP is unavailable&lt;br /&gt;
  &amp;quot;registration_struct&amp;quot;                 Detailed registration Statistics&lt;br /&gt;
  &amp;quot;register_to_proxy&amp;quot;                   Register to proxy enabled&lt;br /&gt;
  &amp;quot;registered&amp;quot;                          Actually registered or not&lt;br /&gt;
  &amp;quot;time_since_refresh&amp;quot;                  Time since the last refresh&lt;br /&gt;
  &amp;quot;time_registered_seconds&amp;quot;             Number of seconds since the NAP is registered&lt;br /&gt;
  &amp;quot;time_not_registered_seconds&amp;quot;         Number of seconds since the NAP is not registered&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; If the nap status is part of a substructure, it's name in the routing scripts must be composed of the structure name appended by an underscore and the field name. &lt;br /&gt;
&lt;br /&gt;
For example the name to use for the global [[ASR]] percentage is: &lt;br /&gt;
&lt;br /&gt;
  asr_statistics_struct_global_asr_percent&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; It is also possible to add dynamic nap attributes in the web portal. These can be referenced by their name.&lt;br /&gt;
&lt;br /&gt;
== Routing Script Tests ==&lt;br /&gt;
The Web portal features a tool for Testing Scripts. The user must enter parameters to simulate the incoming call and after pressing the Test button, will output selected routes and numbers.  You do not need to activate the new routes, or the new scripts to use this test tool: It can be used to test the routing scripts and routing table before activating it.&lt;br /&gt;
This is available in the Routing Scripts section of the Web portal.&lt;br /&gt;
&lt;br /&gt;
=== Test parameters ===&lt;br /&gt;
==== @call_params  ====&lt;br /&gt;
&lt;br /&gt;
That variable should contain a hash of call parameters that will passed to the routing script. This is equivalent to the incoming call parameters. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== @nap_list  ====&lt;br /&gt;
&lt;br /&gt;
A list of hash containing the nap statuses. This is equivalent to the nap statuses at the time the call is to be routed. &lt;br /&gt;
&lt;br /&gt;
'''The nap list is hashed by the nap names in UPPERCASE.''' It is important to consider this when creating new dynamic route or nap attributes that may nap names that will be used to fetch a status. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==== @params  ====&lt;br /&gt;
&lt;br /&gt;
A hash of hashes containing parameters. This hash contains bridge parameters and other kind of parameter groups may be added in the future. &lt;br /&gt;
&lt;br /&gt;
Example: @params = {:bridge =&amp;gt; {:announcement_tone, &amp;quot;announcement.wav&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; Back to [[Routing script tutorial|Routing Script Tutorial]].&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide</id>
		<title>Routing script tutorial:Mini Development Guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide"/>
				<updated>2014-01-17T15:20:55Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Script parameters protocol mapping */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call object  ==&lt;br /&gt;
&lt;br /&gt;
=== Get  ===&lt;br /&gt;
&lt;br /&gt;
Those function are used to get the call parameters. The possible parameters are described in the section &amp;quot;Call parameters&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  called_number = caf_call.get&amp;amp;nbsp;:called&lt;br /&gt;
&lt;br /&gt;
=== List_params  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to retrieve the list of supported call parameters. For example to extract all the possible call params from the the call object and put it in hash. &lt;br /&gt;
&lt;br /&gt;
  caf_call.list_params.each {|param| call[param] = caf_call.get param }&lt;br /&gt;
&lt;br /&gt;
=== Accept  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to accept a call.  It actually creates one outgoing route that gateway application will use to bridge the incoming call leg.  If more than one outgoing route is &amp;quot;accepted&amp;quot;, gateway will try them one by one in the same order they were accepted.   If an outgoing call leg fails (according to 'route retry' parameters), the next route in line will be used.  &lt;br /&gt;
&lt;br /&gt;
This method takes 2 arguments, the call parameters (hash) and the route parameters (hash).  Note that calling this method does NOT stop the flow of the script.&lt;br /&gt;
&lt;br /&gt;
Apply route remapping rules &lt;br /&gt;
&lt;br /&gt;
  caf_call.accept out_call, route&lt;br /&gt;
&lt;br /&gt;
=== Refuse  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to set the reason code for the incoming call leg refusal.  However, this function does NOT stop the flow of the script. &lt;br /&gt;
&lt;br /&gt;
  caf_call.refuse&amp;amp;nbsp;:reason =&amp;amp;gt;&amp;amp;nbsp;:temporary_failure&lt;br /&gt;
&lt;br /&gt;
To immediately refuse the incoming call leg and stop processing the script, the script must raise an exception.  Exiting the script by raising the exception overwrites any reason cause previously stored using refuse().&lt;br /&gt;
&lt;br /&gt;
  raise RoutingException, :no_route&lt;br /&gt;
&lt;br /&gt;
The supported refusal cause values for both refuse() and raise() are described in the section &amp;quot;Reason values&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Script parameters protocol mapping  ===&lt;br /&gt;
&lt;br /&gt;
The following call parameters are available in the call object: &lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;width: 921px; height: 805px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Script parameter name''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''ISDN&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''R2 CAS'''&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SS7&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SIP&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Comment&amp;lt;br&amp;gt;'''&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Toolpack version&amp;lt;br&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| leg_id&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Leg ID&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| session_id&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Session ID&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| ANI (Group B)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address signals (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - nature of address indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - numbering plan indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used&amp;amp;nbsp;(when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information&amp;lt;br&amp;gt; &lt;br /&gt;
Q931: 'Facility CNAM' IE when presentation is allowed for DMS/NI2 variants&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - display information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information (present and/or first byte)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - present or not&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - display-name (displays 'anonymous' or not) &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - privacy&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_screening&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Remote-party-id - screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_category&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Call party category (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party's category' IE - calling party's category&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - cpc &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - cpc&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber &lt;br /&gt;
(Generic Number / NDS)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Number digits &amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - Number digits&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'support 2 calling number IE' in the profile.  This variable has priority over 'private_address' in the outgoing direction.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Facility CNAM' IE when presentation is restricted for DMS/NI2 variants&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display_type &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Indicate presence or not of the private calling information&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_address&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| DNIS (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - user-info and host&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_npi&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default redirecting number and original called number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number'&amp;amp;nbsp;1st IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp;(2nd header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirection counter&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number &lt;br /&gt;
(OCN) &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp; (1st header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - original redirection reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:RequestURI - rn&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| oli&lt;br /&gt;
(Originating line information) &amp;lt;br&amp;gt; &lt;br /&gt;
| 5ESS Codeset 6 OLI - Value&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Originating line information' IE - OLI&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - oli &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - oli&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Complete Request URI string&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default URI&amp;amp;nbsp;forwarding behavior from incoming to outgoing leg&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_header&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Any header&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'Forward custom headers' in Profiles-&amp;gt;SIP &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7.63&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| nap&lt;br /&gt;
(Network Access Point) &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg NAP name (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| type_of_network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| SIP: Request-Line - cic&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification_plan&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default location number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| location_number_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Location number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' All values are documented in the '''noa_npi_remap.rb''' script and may change between major release.&lt;br /&gt;
&lt;br /&gt;
=== Noa values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number (0x4)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number (0x3)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_specific (0x5)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_national_format (0x7)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_international_format (0x8)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;abbreviated_number (0x6)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number_operator_requested (0x71)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_operator_requested (0x72)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_operator_requested (0x73)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_operator_requested (0x74)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_cut_through_call_to_carrier (0x75)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;test_line_test_code (0x77)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_subscriber_number (0x71)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_national_number (0x73)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_international_number (0x74)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_950_numbe (0x76)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;special_number (0x73)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_with_transit_network_selection (0x74)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_with_transit_network_selection (0x75)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific NOA value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 0x70&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 112&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Npi values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;isdn&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telephony&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;private&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telex&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display Type values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is unspecified. &lt;br /&gt;
*&amp;lt;tt&amp;gt;calling_party_name&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is 0xB1.&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific Display Information Type value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 0xB1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 177&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display value  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display] = &amp;quot;Roger Fluffy&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Presentation values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;not_available (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;allowed (0x0)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;restricted (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;addr_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;name_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Party Category  ===&lt;br /&gt;
values for calling_category&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x0)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_french&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x1)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_english&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x2)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_german&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_russian&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x4)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_spanish&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x5)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_with_priority&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xb)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;test&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xd)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;payphone&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xf)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Screening values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no (0x0)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;pass (0x1)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;fail (0x2)&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_provided (0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting indicator values  ===&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;no_redirection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted_all_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted_all_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_rerouted_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_diverted_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;spare&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting number reason values  ===&lt;br /&gt;
&lt;br /&gt;
ISDN: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;dte_out_of_order&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;forwarding_by_called_dte&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection_immediate&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;mobile_not_reachable&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OLI (originating line information) values  ===&lt;br /&gt;
&lt;br /&gt;
The OLI parameter is a string that represents an integer value from 0 to 255. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== redirecting_number_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of redirecting number (SIP: diversion header) to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: Redirecting number (and original called number) is not forwarded to outgoing call leg 1/true: Redirecting number (and original called number) is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward redirecting number&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== request_uri  ===&lt;br /&gt;
&lt;br /&gt;
Enables access to the Request-Line URI.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For example, if the Request-Line is: &lt;br /&gt;
&amp;lt;pre&amp;gt;Request-Line: INVITE sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;lt;/pre&amp;gt; &lt;br /&gt;
Then the retrieved request_uri will be &amp;quot;sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;quot;. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the routing scripts, to retrieve only the called number, this script can be used:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;    if call_params[:request_uri] &amp;amp;amp;&amp;amp;amp; call_params[:request_uri] =~ /sip:(.*)@.*/&lt;br /&gt;
       call_params[:called] = $1&lt;br /&gt;
    end&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
=== request_uri_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of request uri to outgoing call leg.The request uri is the information in the &amp;quot;Request-Line:&amp;quot; of the SIP INVITE message.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
0/false: Request uri is not forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1/true: Request uri is forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The value for this parameter at input of routing script is always false. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== sip_header values  ===&lt;br /&gt;
Contains a hash table of custom sip headers from the inbound call leg. Any custom sip header can be added to an outgoing call leg:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;call[ :sip_header ] = {&amp;quot;P-my-custom-header&amp;quot;=&amp;gt;&amp;quot;value1&amp;quot;, &amp;quot;P-my-custom-header2&amp;quot;=&amp;gt;&amp;quot;value2&amp;quot;, &amp;quot;P-my-custom-header3&amp;quot;=&amp;gt;&amp;quot;value3&amp;quot;}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* PCAP sample: [[File:TB_Custom_SIP_Headers.pap]]&lt;br /&gt;
&lt;br /&gt;
List of sip headers that will not appear in call[:sip_header] since they are already processed by the SIP stack:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accept               Error-Info             Remote-Party-ID      &lt;br /&gt;
Accept-Contact       Event                  Replaces                        &lt;br /&gt;
Accept-Encoding      Expires                Reply-To               &lt;br /&gt;
Accept-Language      From                   Request-Disposition    &lt;br /&gt;
Alert-Info           In-Reply-To            Subject          &lt;br /&gt;
Allow                Max-Forwards           Subscription-State  &lt;br /&gt;
Allow-Events         MIME-version           Supported           &lt;br /&gt;
Also                 Min-Expires            Timestamp           &lt;br /&gt;
Anonymity            Min-SE                 To             &lt;br /&gt;
Authorization        Organization           Unsupported  &lt;br /&gt;
Authentication-Info  Path                   User-Agent  &lt;br /&gt;
Call-ID              Priority               Via  &lt;br /&gt;
Call-Info            Privacy                Warning  &lt;br /&gt;
Contact              Proxy-Authenticate     WWW-Authenticate  &lt;br /&gt;
Content-Disposition  Proxy-Authorization    Require  &lt;br /&gt;
Content-Encoding     Proxy-Require          Response-Key  &lt;br /&gt;
Content-Language     P-Media-Authorization  Retry-After  &lt;br /&gt;
Content-Length       P-Preferred-Identity   RPID-Privacy  &lt;br /&gt;
Content-Type         P-Asserted-Identity    Route  &lt;br /&gt;
CSeq                 RAck                   RSeq  &lt;br /&gt;
RAck                 Reason                 Security-Client  &lt;br /&gt;
Reason               Record-Route           Security-Server  &lt;br /&gt;
Date                 Refer-To               Security-Verify&lt;br /&gt;
Diversion            Referred-By            Server&lt;br /&gt;
Encryption           Reject-Contact         Service-Route             &lt;br /&gt;
                                            Session-Expires&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Route parameters  ==&lt;br /&gt;
&lt;br /&gt;
All route may have these parameters: &lt;br /&gt;
&lt;br /&gt;
*calling &lt;br /&gt;
*called &lt;br /&gt;
*nap &lt;br /&gt;
*remapped_calling &lt;br /&gt;
*remapped_called &lt;br /&gt;
*remapped_nap &lt;br /&gt;
*remapped_profile&lt;br /&gt;
&lt;br /&gt;
Additionally it is possible to add dynamic route attributes in the web portal. These can be referenced by their name. &lt;br /&gt;
&lt;br /&gt;
== Playing prompts announcements or tones  ==&lt;br /&gt;
&lt;br /&gt;
New feature in release 2.6, all bridges may have these parameters. These can be used to play IVR prompts or wav files in different states of the call flow, like playing an announcement when the caller dials in. You can also manage the User to User information element. &lt;br /&gt;
&lt;br /&gt;
*announcement_tone &lt;br /&gt;
*call_progress_tone &lt;br /&gt;
*ring_tone &lt;br /&gt;
*max_call_duration &lt;br /&gt;
*call_duration_reason &lt;br /&gt;
*disconnect_tone &lt;br /&gt;
*uui &lt;br /&gt;
*uui_forward_enabled&lt;br /&gt;
&lt;br /&gt;
The following sections show how to access those different parameters from '''inside''' a filter.  The 'params' hash is the sole argument passed to a filter function and contains call, nap, route and bridge parameters.   This hash is created by the base_routing.rb scripts to regroup all relevant information just before calling the filter functions.&lt;br /&gt;
&lt;br /&gt;
=== Tone string format  ===&lt;br /&gt;
&lt;br /&gt;
All tone strings (:announcement_tone,&amp;amp;nbsp;:call_progress_tone,&amp;amp;nbsp;:ring_tone,&amp;amp;nbsp;:disconnect_tone) inside bridge parameters are using this format. &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;file1.wav:repeat:start_off:end_off,file2.wav:repeat:start_off:end_off,file3.wav:repeat:start_off:end_off&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
optional repeat parameter: number of times to play the file (0 and 1 have the same result) &amp;lt;br&amp;gt;optional start_off parameter&amp;amp;nbsp;: Start offset in milliseconds &amp;lt;br&amp;gt;optional end_off parameter: End offset in milliseconds &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav,file2.wav:-1&amp;quot; will play file1.wav one time and then play file2.wav in loop. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:1000:3000,file2.wav:2:5000:10000&amp;quot; will play file1.wav from second 1 to second 3 then file2.wav from second 5 to second 10 two times. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:0:30000&amp;quot; will play file1.wav one time for a max duration of 30 seconds. &lt;br /&gt;
&lt;br /&gt;
=== announcement_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:announcement_tone] = &amp;quot;announcement.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played on the incoming leg with the stream_server before any outgoing call is placed. The outgoing call occurs when the wav file is completed or when the &amp;quot;profile:Busy Tone max duration&amp;quot; is reached.&lt;br /&gt;
&lt;br /&gt;
Options:&lt;br /&gt;
==== announcement_tone_answer ====&lt;br /&gt;
params[:bridge][:announcement_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the announcement. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== call_progress_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_progress_tone] = &amp;quot;no_route.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played after &amp;quot;announcement_tone&amp;quot; when reason is not &amp;quot;ok&amp;quot; or when outgoing call disconnect before answer state. &amp;lt;br&amp;gt;&amp;quot;none&amp;quot; value is used to bypass &amp;quot;profile:Generate Busy (Congestion) Tone&amp;quot; and to play no audio prompt.&lt;br /&gt;
&lt;br /&gt;
==== call_progress_tone_answer ====&lt;br /&gt;
params[:bridge][:call_progress_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the call progress tone. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== ring_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:ring_tone] = &amp;quot;ringing.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played between alerting state and answer state. Bypass any other ring back tone (RBT) configured in profile. &lt;br /&gt;
&lt;br /&gt;
=== max_call_duration  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:max_call_duration] = &amp;quot;60000&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Maximum call duration in millisecond for the current bridge. This timer is started when entering answer state. &lt;br /&gt;
&lt;br /&gt;
=== call_duration_reason  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_duration_reason] =&amp;amp;nbsp;:resource_unavailable &lt;br /&gt;
&lt;br /&gt;
Drop both legs with this reason when call duration (:max_call_duration) is reached. &lt;br /&gt;
&lt;br /&gt;
=== disconnect_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:disconnect_tone] = &amp;quot;max_duration.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played (on the incoming leg only) when call duration (:max_call_duration) is reached. Then the leg will be terminated with specified reason (:call_duration_reason).&lt;br /&gt;
&lt;br /&gt;
==== disconnect_tone_answer ====&lt;br /&gt;
params[:bridge][:disconnect_tone_answer] = &amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer the call before playing the disconnect tone. Default if argument not provided is &amp;quot;no&amp;quot;, in which case call is only alerted with in-band media.&lt;br /&gt;
&lt;br /&gt;
=== UUI (user-to-user indication) values  ===&lt;br /&gt;
&lt;br /&gt;
Byte array represented as ruby String. Use ''bridge=params[:bridge]'', then ''bridge[:uui]'' to access the data.&lt;br /&gt;
&lt;br /&gt;
To access the bytes in Ruby, use ruby String operator []. For example:  bridge[:uui][0] will return the binary value of the first UUI byte.&lt;br /&gt;
&lt;br /&gt;
Function each_byte can also be useful to iterate through all bytes of the UUI.&lt;br /&gt;
&lt;br /&gt;
=== uui_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of UUI to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: UUI is not forwarded to outgoing call leg 1/true: UUI is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward UUI&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration.&lt;br /&gt;
&lt;br /&gt;
=== Managing audio prompts through Web Portal ===&lt;br /&gt;
Audio prompts can be uploaded or deleted from the TMedia unit through the Web Portal:&lt;br /&gt;
[[Toolpack:Configuring_Audio_Prompts_A|Managing audio prompts]]&lt;br /&gt;
&lt;br /&gt;
Prompts management must be done using the Web Portal of the primary server (in systems with redundant TMedia units or redundant host servers).&lt;br /&gt;
The file will automatically get replicated to the secondary server.&lt;br /&gt;
&lt;br /&gt;
=== Managing audio prompts manually ===&lt;br /&gt;
Any file on the TMedia host file system can be played. This means it's possible to manage prompts through ssh/scp.&lt;br /&gt;
&lt;br /&gt;
Provided paths are always relative to the &amp;quot;current working directory&amp;quot; of the tbstreamserver application:&lt;br /&gt;
 /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
(Where &amp;quot;2.7&amp;quot; may be replaced by the current major version of your system)&lt;br /&gt;
&lt;br /&gt;
Absolute paths can also be provided.&lt;br /&gt;
&lt;br /&gt;
== Recording call legs  ==&lt;br /&gt;
Introduced in release 2.6.44, it's now possible to use routing scripts to ask for recording incoming and/or outgoing call legs.&lt;br /&gt;
&lt;br /&gt;
See example filter script &amp;quot;call_recording&amp;quot; (created by default in Web Portal routing scripts starting with 2.6.44) for an example.&lt;br /&gt;
&lt;br /&gt;
=== Recording the incoming call leg  ===&lt;br /&gt;
To record the incoming call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter:&lt;br /&gt;
&lt;br /&gt;
  bridge[ :record_incoming ]  = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Recording the outgoing call leg  ===&lt;br /&gt;
To record the outgoing call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter, per route (the decision to record or not, or the file name to record to, can be set per matching route):&lt;br /&gt;
&lt;br /&gt;
  # Need to clone the routes in order to have the right to modify them&lt;br /&gt;
  routes = clone_routes params[:routes]&lt;br /&gt;
  routes.each do |route|&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  # Store modified routes back to the parameters for this outgoing call&lt;br /&gt;
  params[:routes] = routes&lt;br /&gt;
&lt;br /&gt;
=== Record the outgoing call leg within incoming leg's recorded file (mixing)  ===&lt;br /&gt;
  [...]&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;@{MixWithIncoming}&amp;quot;&lt;br /&gt;
  [...]&lt;br /&gt;
&lt;br /&gt;
=== Choosing file path to record to  ===&lt;br /&gt;
The value assigned to &amp;quot;:record_incoming&amp;quot; or &amp;quot;:record_outgoing&amp;quot; is the path to record the file to.&lt;br /&gt;
&lt;br /&gt;
The paths can be absolute, or relative. When relative, they are relative to the &amp;quot;tbstreamserver&amp;quot; application working directory, for example:&lt;br /&gt;
  /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
&lt;br /&gt;
* Empty file name will default to a name that contains various information about the call:&lt;br /&gt;
** ''LinkId'':     Id common between all legs of this call bridge&lt;br /&gt;
** ''LegId'':      Unique Id for this leg&lt;br /&gt;
** ''Nap'':        Current NAP name this call leg is from&lt;br /&gt;
** ''Direction'':  &amp;quot;IN&amp;quot; or &amp;quot;OUT&amp;quot; (depends if call leg is incoming or outgoing leg)&lt;br /&gt;
** ''Calling'':    The calling number of this call leg&lt;br /&gt;
** ''Called'':     The called number of this call leg&lt;br /&gt;
** ''Protocol'':   The signaling protocol of this call leg (SS7, ISDN, CAS, SIP)&lt;br /&gt;
** ''Media info'': Codec + IP/Port for SIP calls, Trunk/Timeslot for TDM calls&lt;br /&gt;
* To record outgoing call leg in the same audio file as incoming call leg (mixing), use the following:&lt;br /&gt;
** @{MixWithIncoming}: Record outgoing legs in same file as incoming legs&lt;br /&gt;
* Variables can be used to insert in the recording path information that's not already available from routing scripts:&lt;br /&gt;
** @{DefaultName}: Same file name (without parent folder path) as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{DefaultPath}: Same path as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;recorded_calls/73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;recorded_calls/73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{LinkId}: Current LinkId (Id common between all legs of this call bridge)&lt;br /&gt;
*** Example: &amp;quot;73EBA698&amp;quot;&lt;br /&gt;
** @{LegId}: Current LegId (Unique Id for this leg)&lt;br /&gt;
*** Example: &amp;quot;F3D67B4B&amp;quot;&lt;br /&gt;
** @{Protocol}: Protocol type of current leg&lt;br /&gt;
*** Example: &amp;quot;SS7&amp;quot;&lt;br /&gt;
** @{Direction}: Direction of current leg (IN our OUT)&lt;br /&gt;
*** Example: &amp;quot;IN&amp;quot;&lt;br /&gt;
** @{PKG_HOME}: Path where packages are stored. Note: It's not recomended to use that path on redundant systems, package file replication may cause confusion in recorded files.&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/pkg&amp;quot;&lt;br /&gt;
** @{CURRENT_PKG}: Version of current package&lt;br /&gt;
*** Example: &amp;quot;2.6.45&amp;quot;&lt;br /&gt;
** @{PROMPT_PATH}: Default path where audio prompts are stored. Note: It's not recomended to use that path on redundant systems, package file replication may cause confusion in recorded files.&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/pkg/prompts&amp;quot;&lt;br /&gt;
** @{TBX_GW_PORT}: Current &amp;quot;System Id&amp;quot; (also called &amp;quot;Gateway Port&amp;quot;)&lt;br /&gt;
*** Example: &amp;quot;12358&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Authorization ==&lt;br /&gt;
Starting with release 2.7, it is possible to issue RADIUS authorization requests from routing scripts. To do so, the params[:authorization] object must be filled with the required RADIUS attributes and [[#Refuse|an exception must be raised]] with reason :authorization_required.&lt;br /&gt;
&lt;br /&gt;
When the authorization is completed, the routing script is called again with the result. The params[:authorization] object will be filled with the RADIUS attributes from the response. The params[:authorization][:result] field will also contain a string indicating the result of the authorization:&lt;br /&gt;
&lt;br /&gt;
* ''accept'': The authorization was successful.&lt;br /&gt;
* ''reject'': The authorization was refused.&lt;br /&gt;
* ''challenge'': The authorization was challenged.&lt;br /&gt;
* ''timeout'': The authorization was not answered.&lt;br /&gt;
&lt;br /&gt;
== Call diversion options ==&lt;br /&gt;
It's possible to control the call flow when a call diversion information is received in the alerting state.&lt;br /&gt;
&lt;br /&gt;
Two fields are available: bridge[ :diversion ] and bridge[ :diversion_reason ]&lt;br /&gt;
&lt;br /&gt;
The internal release cause TOOLPACK_DIVERT_NOT_ALLOWED is used by gateway application to terminate both legs.&lt;br /&gt;
&lt;br /&gt;
  bridge[ :diversion ] = :allowed&lt;br /&gt;
The alert message will not be analyzed and the call will be progressed. Default behavior.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed&lt;br /&gt;
If the alert message indicates that the call is diverted, the call will be released no matter the In-band information to allow&lt;br /&gt;
early media.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed_w_early_media&lt;br /&gt;
The call will be released If the alert message indicates that the call is diverted with in-band information to allow early media.&lt;br /&gt;
  bridge[ :diversion_reason ] = &amp;quot;*&amp;quot;&lt;br /&gt;
If the diversion is not allowed, the gateway will drop the call for any redirecting reason. &lt;br /&gt;
  bridge[ :diversion_reason ] = []&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :busy&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :unconditional&lt;br /&gt;
If the diversion is not allowed, the redirecting reason will be analyzed and the call will only be dropped for the configured cases.&lt;br /&gt;
&lt;br /&gt;
See section [[Routing_script_tutorial:Mini_Development_Guide#Redirecting_number_reason_values|Redirecting number reason values]].&lt;br /&gt;
&lt;br /&gt;
== Reason values  ==&lt;br /&gt;
&lt;br /&gt;
Check here for Termination Reason Cause codes:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Termination_cause_codes|Termination Reason Cause codes]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Nap status  ==&lt;br /&gt;
&lt;br /&gt;
All the status fields of the NAPs are provided for use by the routing scripts. See the nap status provider for more details on which fields are available in the CEngineStatTransNap.hpp file. &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' These values may change between major release. &lt;br /&gt;
&lt;br /&gt;
  Routing script call attribute name    Description&lt;br /&gt;
  --------------------------------------------------------------------------------------------&lt;br /&gt;
  &amp;quot;signaling_type&amp;quot;                      Signaling type.&lt;br /&gt;
  &amp;quot;inst_incoming_call_cnt&amp;quot;              Instantaneous Count of incoming calls.&lt;br /&gt;
  &amp;quot;inst_outgoing_call_cnt&amp;quot;              Instantaneous Count of outgoing calls.&lt;br /&gt;
  &amp;quot;available_cnt&amp;quot;                       Number of available circuits or channels.&lt;br /&gt;
  &amp;quot;unavailable_cnt&amp;quot;                     Number of unavailable circuits or channels.&lt;br /&gt;
  &amp;quot;availability_percent&amp;quot;                Percentage of available circuits or channels.&lt;br /&gt;
  &amp;quot;usage_percent&amp;quot;                       Percentage of used circuits or channels.&lt;br /&gt;
  &amp;quot;unused_shared_percent&amp;quot;               Percentage of used circuits or channels of this NAP available to make new calls with (taking into account shared with other NAPs)&lt;br /&gt;
  &amp;quot;total_incoming_call_cnt&amp;quot;             Total Count of incoming calls.&lt;br /&gt;
  &amp;quot;asr_statistics_struct&amp;quot;               Detailed Answer-Seizure Rate Statistics.&lt;br /&gt;
  &amp;quot;global_asr_percent&amp;quot;                  Global calculated ASR percentage.&lt;br /&gt;
  &amp;quot;total_outgoing_call_cnt&amp;quot;             Total Count of outgoing calls.&lt;br /&gt;
  &amp;quot;last_24h_asr_percent&amp;quot;                Last 24 hours calculated ASR percentage.&lt;br /&gt;
  &amp;quot;last_24h_outgoing_call_cnt&amp;quot;          Last 24 hours outgoing calls.&lt;br /&gt;
  &amp;quot;current_hour_asr_percent&amp;quot;            Current hour calculated ASR percentage.&lt;br /&gt;
  &amp;quot;current_hour_outgoing_call_cnt&amp;quot;      Current hour outgoing calls.&lt;br /&gt;
  &amp;quot;last_hour_asr_percent&amp;quot;               Last hour calculated ASR percentage.&lt;br /&gt;
  &amp;quot;last_hour_outgoing_call_cnt&amp;quot;         Last hour outgoing calls.&lt;br /&gt;
  &amp;quot;availability_detection_struct&amp;quot;       Detailed availibility detection Statistics&lt;br /&gt;
  &amp;quot;poll_remote_proxy&amp;quot;                   Remote proxy polling enabled&lt;br /&gt;
  &amp;quot;is_available&amp;quot;                        Remote proxy actually available or not&lt;br /&gt;
  &amp;quot;time_since_polling&amp;quot;                  Time since the last availibility polling&lt;br /&gt;
  &amp;quot;time_available_seconds&amp;quot;              Number of seconds since the NAP is available&lt;br /&gt;
  &amp;quot;time_unavailable_seconds&amp;quot;            Number of seconds since the NAP is unavailable&lt;br /&gt;
  &amp;quot;registration_struct&amp;quot;                 Detailed registration Statistics&lt;br /&gt;
  &amp;quot;register_to_proxy&amp;quot;                   Register to proxy enabled&lt;br /&gt;
  &amp;quot;registered&amp;quot;                          Actually registered or not&lt;br /&gt;
  &amp;quot;time_since_refresh&amp;quot;                  Time since the last refresh&lt;br /&gt;
  &amp;quot;time_registered_seconds&amp;quot;             Number of seconds since the NAP is registered&lt;br /&gt;
  &amp;quot;time_not_registered_seconds&amp;quot;         Number of seconds since the NAP is not registered&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; If the nap status is part of a substructure, it's name in the routing scripts must be composed of the structure name appended by an underscore and the field name. &lt;br /&gt;
&lt;br /&gt;
For example the name to use for the global [[ASR]] percentage is: &lt;br /&gt;
&lt;br /&gt;
  asr_statistics_struct_global_asr_percent&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; It is also possible to add dynamic nap attributes in the web portal. These can be referenced by their name.&lt;br /&gt;
&lt;br /&gt;
== Test parameters  ==&lt;br /&gt;
&lt;br /&gt;
=== @call_params  ===&lt;br /&gt;
&lt;br /&gt;
That variable should contain a hash of call parameters that will passed to the routing script. This is equivalent to the incoming call parameters. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== @nap_list  ===&lt;br /&gt;
&lt;br /&gt;
A list of hash containing the nap statuses. This is equivalent to the nap statuses at the time the call is to be routed. &lt;br /&gt;
&lt;br /&gt;
'''The nap list is hashed by the nap names in UPPERCASE.''' It is important to consider this when creating new dynamic route or nap attributes that may nap names that will be used to fetch a status. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== @params  ===&lt;br /&gt;
&lt;br /&gt;
A hash of hashes containing parameters. This hash contains bridge parameters and other kind of parameter groups may be added in the future. &lt;br /&gt;
&lt;br /&gt;
Example: @params = {:bridge =&amp;gt; {:announcement_tone, &amp;quot;announcement.wav&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; Back to [[Routing script tutorial|Routing Script Tutorial]].&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Modifying_ISUP_Userpart_for_SPIROU_A</id>
		<title>Toolpack:Modifying ISUP Userpart for SPIROU A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Modifying_ISUP_Userpart_for_SPIROU_A"/>
				<updated>2014-01-16T13:57:16Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Applies to version(s): v2.6, v2.7. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.6, v2.7.''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Modifying ISUP Userpart for SPIROU}}&lt;br /&gt;
&lt;br /&gt;
This section assumes:&lt;br /&gt;
* '''SS7 ISUP is already configured''' &lt;br /&gt;
&lt;br /&gt;
1- Select '''SS7--&amp;gt;ISUP''' from the navigation panel&lt;br /&gt;
&lt;br /&gt;
2- Click on the '''Edit''' button for the ISUP stack you want to configure&lt;br /&gt;
&lt;br /&gt;
3- In the '''Editing Userparts''' section, click on the ISUP userpart you want to configure&lt;br /&gt;
&lt;br /&gt;
4- Select '''SPIROU''' in the '''Protocol Variant''' drop-down menu&lt;br /&gt;
&lt;br /&gt;
5- A new checkbox '''Strict SPIROU validation''' appears once SPIROU Protocol Variant is selected. &lt;br /&gt;
*Check this new checkbox to make sure your configuraton is compliant with SPIROU.&lt;br /&gt;
   &lt;br /&gt;
6- Click '''Timers''' to expand the Timers section&lt;br /&gt;
&lt;br /&gt;
7- Set '''T6 Timer''' between 60000 and 120000 ms (between 60 and 120 seconds)&lt;br /&gt;
&lt;br /&gt;
8- Click '''Advanced Parameters''' to expand the Advanced Parameters section&lt;br /&gt;
&lt;br /&gt;
9- Uncheck the '''Allow group messages''' option&lt;br /&gt;
&lt;br /&gt;
10- Click the '''Save''' button&lt;br /&gt;
&lt;br /&gt;
11- Verify that the '''&amp;quot;IsupUserpart was successfully updated&amp;quot;''' message is displayed&lt;br /&gt;
&lt;br /&gt;
==List of Parameters==&lt;br /&gt;
&lt;br /&gt;
* [[Parameter: Protocol Type|Protocol Variant]]&lt;br /&gt;
* [[Toolpack:Enabling_strict_SPIROU_validation A|Strict SPIROU validation]]&lt;br /&gt;
* [[Parameter: Isup Userpart Timers|Timers]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Text_Call_Detail_Records</id>
		<title>Text Call Detail Records</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Text_Call_Detail_Records"/>
				<updated>2013-08-15T18:48:35Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Information related to signaling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Text [[call detail record|call detail records]] (CDR) can be used on the [[TMG800]], [[TMG3200]] or [[TMG7800]]. The Call Detail Records are saved in a log file on a local disk. There is an entry done for each call leg, at the start of a call and at the end of the call. In addition, the system can be configured to update the CDRs periodically.&lt;br /&gt;
&lt;br /&gt;
The format of the CDR traces is defined by configuration, using variables that are replaced by the Gateway application when writing to the log.&lt;br /&gt;
&lt;br /&gt;
For example, the following variable will be replaced by the called number:&lt;br /&gt;
@{CalledNumber}&lt;br /&gt;
&lt;br /&gt;
In order to save disk space and simplify the archiving and backup of CDR log files, this log file is automatically archived (gzipped) and rotated every N seconds, as specified by the system configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Enabling text CDR ==&lt;br /&gt;
The enabling of Text CDR is described in [[Toolpack:Enabling CDR A|Enabling CDR]].&lt;br /&gt;
&lt;br /&gt;
== Available variables ==&lt;br /&gt;
The following variables exist and can be used to define the CDR log format.&lt;br /&gt;
&lt;br /&gt;
=== Variables used for identifying call (or call leg) in general ===&lt;br /&gt;
 *@{StatusType}:             Indicates the type of record (&amp;quot;Start&amp;quot;, &amp;quot;Update&amp;quot; or &amp;quot;End&amp;quot;).&lt;br /&gt;
 *@{LegId}:                  Unique Id for this leg (32 bits value, but may eventually be upgraded to 64 bits value).&lt;br /&gt;
 *@{OtherLegId}:             Id of the other call leg joined with current call leg.&lt;br /&gt;
 *@{SessionId}:              Unique call identifier for two joined and answered call legs, including failed outgoing call attempts (route retry)&lt;br /&gt;
                             Formatted as 4 values of 32 bits, printed as 4 blocks of 8 hexadecimal characters separated by a space&lt;br /&gt;
                             Ex: a939d169 299ffcd0 00000000 00000000&lt;br /&gt;
                             Note: Call Transfer Target legs have separate SessionId. If you need an id to correlate a transferred call&lt;br /&gt;
                                   to the original call, use @{OriginalSessionId}.&lt;br /&gt;
 *@{OriginalSessionId}:      Refers to @{SessionId} of the original legs for this call, in case of call transfer.&lt;br /&gt;
                             In fact, Transfer Target leg has a different value for @{SessionId}, but can be linked with the original call&lt;br /&gt;
                             legs through @{OriginalSessionId}.&lt;br /&gt;
 *@{LinkId}:                 Same meaning as @{OriginalSessionId}, but presented as a 32 bits integer value.&lt;br /&gt;
For all Ids above, please see [[Text_Call_Detail_Records_(CDR)#Known_limitations|Known Limitations]] below for notes about uniqueness of these values.&lt;br /&gt;
&lt;br /&gt;
=== Timestamps ===&lt;br /&gt;
 *@{AlertTime}:              Time where the call has started ringing.&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{ConnectedTime}:          Time where the call was answered (and connected with another leg) (in number of seconds since epoch)&lt;br /&gt;
 *@{ConnectedTime:format}:   Same as @{ConnectedTime} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 *@{ConnectedTimeUtc:format}:Same as @{ConnectedTime:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
 *@{CallDuration}:           Call duration in seconds (not available in the &amp;quot;start&amp;quot; CDR log)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{CallDurationMs}:         Call duration in milliseconds (end - connected time) (not available in the &amp;quot;start&amp;quot; CDR log)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{EndTime}:                Time where the call has started terminating (in number of seconds since epoch).&lt;br /&gt;
                             Note that slightly differs from the @{Timestamp}, since the 'End' CDR trace is printed once the call has&lt;br /&gt;
                             finished terminating,&lt;br /&gt;
                             while @{EndTime} reports the time where the call has started terminating (upon hangup for example).&lt;br /&gt;
 *@{EndTime:format}:         Same as @{EndTime} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 *@{EndTimeUtc:format}:      Same as @{EndTime:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
 *@{RingingDuration}:        Ringing duration in seconds (connected - start time)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{RingingDurationMs}:      Ringing duration in milliseconds (connected - start time)&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{StartTime}:              Time where the call was created (in number of seconds since epoch)&lt;br /&gt;
 *@{StartTime:format}:       Same as @{StartTime} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 *@{StartTimeUtc:format}:    Same as @{StartTime:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
 *@{Timestamp}:              Time where this CDR log entry was written.&lt;br /&gt;
                             Should not be used for billing purposes. Use @{EndTime} for billing @{EndTime} reports the time where&lt;br /&gt;
                             the call has started terminating (hangup), while *@{Timestamp} the time where signaling confirmed the termination.&lt;br /&gt;
 *@{Timestamp:format}:       Same as @{Timestamp} but with custom print format (local time zone), using 'strftime' style, with added&lt;br /&gt;
                             support for @m replaced by milliseconds.&lt;br /&gt;
                             Example format: %Y-%m-%d %H:%M:%S.@m  -&amp;gt; 2009-09-02 12:16:24.333&lt;br /&gt;
 *@{TimestampUtc:format}:    Same as @{Timestamp:format} but printed in UTC time, rather than local time zone.&lt;br /&gt;
&lt;br /&gt;
=== Information related to signaling ===&lt;br /&gt;
 *@{CalledNumber}:           Called number&lt;br /&gt;
 *@{CallingNumber}:          Calling number&lt;br /&gt;
 *@{CallingPresentation}:    Calling presentation: &amp;quot;Unspecified&amp;quot;, &amp;quot;NotAvailable&amp;quot;, &amp;quot;Allowed&amp;quot;, &amp;quot;Restricted&amp;quot;, &amp;quot;AddressRestricted&amp;quot; or &amp;quot;NameRestricted&amp;quot;&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{CallingSubscriberNumber}: Second calling number (ISDN) or Generic number of type &amp;quot;additional calling party number&amp;quot; (SS7) &lt;br /&gt;
                             Note: Supported on release 2.7.43 and up only.&lt;br /&gt;
 *@{CallType}:               Call type (&amp;quot;Telephony&amp;quot; or &amp;quot;VOIP&amp;quot;)&lt;br /&gt;
 *@{IncomingNAP}:            Name of the NAP that originated this call (incoming call leg's NAP name).&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{NAP}:                    Name of the NAP this call leg is from&lt;br /&gt;
 *@{OriginatorName}:         Direction of the call:&lt;br /&gt;
                              - &amp;quot;answer&amp;quot; (incoming call leg) - &amp;quot;originate&amp;quot; (outgoing call leg)&lt;br /&gt;
                             Note: In release 2.6 and earlier, the direction of the call is as follows:&lt;br /&gt;
                              - &amp;quot;originate&amp;quot; (incoming call leg) - &amp;quot;answer&amp;quot; (outgoing call leg)&lt;br /&gt;
                             In release 2.7, the CDR option &amp;quot;Reverse CDR call origin&amp;quot; in Gateway configuration provide the same values as in release 2.6.&lt;br /&gt;
 *@{OriginalCalledNumber}:   Original called number&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{Protocol}:               Type of protocol used (&amp;quot;SS7&amp;quot;, &amp;quot;ISDN&amp;quot;, or &amp;quot;SIP&amp;quot;)&lt;br /&gt;
 *@{RedirectingNumber}:      Redirecting number&lt;br /&gt;
                             Note: Supported on release 2.7 and up only.&lt;br /&gt;
 *@{TerminationCause}:       Cause of the call termination, printed as an integer value (refering enum TBCMC_CALL_REASON_CODE)&lt;br /&gt;
 *@{TerminationCauseString}: Cause of the call termination, printed as an string value&lt;br /&gt;
 *@{TerminationSource}:      Identifies the cause of the leg termination:&lt;br /&gt;
                               - &amp;quot;TermInd&amp;quot;:       Terminating indication has been received on this leg&lt;br /&gt;
                               - &amp;quot;JoinedTermInd&amp;quot;: Terminating indication has been received on the leg joined to current leg,&lt;br /&gt;
                                                  and has been forwarded to current leg&lt;br /&gt;
                               - &amp;quot;App&amp;quot;:           Call control application has asked to drop the call&lt;br /&gt;
                               - &amp;quot;Engine&amp;quot;:        Toolpack engine has decided to terminate this call&lt;br /&gt;
                                                  (generally due to local errors like disconnected TMedia)&lt;br /&gt;
 *@{UserName}:               For SIP calls, name of the user.&lt;br /&gt;
 *@{ChargeIndicator}:        For TDM (SS7 and CAS R2); received charge indicator in Alert message.&lt;br /&gt;
&lt;br /&gt;
===  Information related to media ===&lt;br /&gt;
 *@{Codec}:                  Codec used for this call (&amp;quot;G711&amp;quot; for example)&lt;br /&gt;
 *@{LocalMediaInfo}:         Protocol type dependent information on the call leg (local information for SIP calls).&lt;br /&gt;
                             For TDM (Telephony) calls (SS7 or ISDN): &amp;quot;trunk_name:timeslot_nb&amp;quot;.&lt;br /&gt;
                             For VOIP calls (SIP): &amp;quot;codec@ip:port&amp;quot;  (IP and Port locally used for receiving RTP)&lt;br /&gt;
 *@{LocalMediaIP}:           For VOIP calls, RTP IP address locally used for this call leg.&lt;br /&gt;
 *@{LocalMediaPort}:         For VOIP calls, RTP UDP port locally used for this call leg.&lt;br /&gt;
 *@{RemoteMediaInfo}:        Protocol type dependent information on the call leg (remote information SIP calls).&lt;br /&gt;
                             For TDM (Telephony) calls (SS7 or ISDN): &amp;quot;trunk_name:timeslot_nb&amp;quot;.&lt;br /&gt;
                             For VOIP calls (SIP): &amp;quot;codec@ip:port&amp;quot;  (IP and Port TMedia is sending RTP to)&lt;br /&gt;
 *@{RemoteMediaIP}:          For VOIP calls, RTP IP address of the remote peer for this call leg.&lt;br /&gt;
 *@{RemoteMediaPort}:        For VOIP calls, RTP UDP port of the remote peer for this call leg.&lt;br /&gt;
 *@{TimeslotNumber}:         For TDM (Telephony) calls, timeslot number that this call was using for audio.&lt;br /&gt;
 *@{TrunkName}:              For TDM (Telephony) calls, name of the trunk that this call was using for audio.&lt;br /&gt;
&lt;br /&gt;
===  Information related to routing ===&lt;br /&gt;
 *@{ApplicationName}:        Name of the application that has written this log (&amp;quot;Gateway&amp;quot;)&lt;br /&gt;
 *@{RouteAttribute:attr}:    Replaced by the value of a custom route attribute, for the selected&lt;br /&gt;
                             route. This will apply only to outgoing call legs that were made from routing.&lt;br /&gt;
                             Eligible route attributes are:&lt;br /&gt;
                                Route set name:                Use attribute &amp;quot;routeset_name&amp;quot;. Ex: @{RouteAttribute:routeset_name}&lt;br /&gt;
                                Custom route attribute column: Use the custom attribute name. Ex: @{RouteAttribute:priority}&lt;br /&gt;
                                Routing script parameters:     Use the route attribute name provided by routing script.&lt;br /&gt;
                                                               Ex: If script provides: route[:my_param]=&amp;quot;myval&amp;quot;&lt;br /&gt;
                                                                   Then it's included in CDR with @{RouteAttribute:my_param}]&lt;br /&gt;
&lt;br /&gt;
=== Deprecated values: ===&lt;br /&gt;
 *@{MediaInfo}:              Same as @{RemoteMediaInfo}&lt;br /&gt;
 *@{RemoteIP}:               Same as @{RemoteMediaIP}&lt;br /&gt;
 *@{RemotePort}:             Same as @{RemoteMediaPort}&lt;br /&gt;
&lt;br /&gt;
== Redundancy ==&lt;br /&gt;
&lt;br /&gt;
In a [[TMG7800]] configuration, with redundant TMG-Control servers, only the active server writes the CDR logs. Since the active server may change over time, CDR parsing must take into account that CDR logs may be found in files from the two servers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The analysis of the logs for the purpose of extracting billing information must be done after combining the two logs, from both TMG-Control servers, sorting the entries by timestamp for example. See how to [[TMG:Retrieve_Text_CDR|Retrieve Text CDR here]].&lt;br /&gt;
&lt;br /&gt;
== CDR entry loss due to switchover ==&lt;br /&gt;
In some situations (during HA switchover for example), some CDR entries may be lost.&lt;br /&gt;
&lt;br /&gt;
The following guide lines provide information on how to deal with these corner cases:&lt;br /&gt;
&lt;br /&gt;
[[Call_Detail_Records_Entry_Loss|Deal with CDR entries loss]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Retrieving Text CDRs  ==&lt;br /&gt;
&lt;br /&gt;
There are 2 ways to retrieve the text CDR manually or automatically. The procedures are described in [[TMG:Retrieve_Text_CDR|Retrieve Text CDR]].&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
*This mode of operation is not recommended for [[TMG800]] or [[TMG3200]] with a flash disk (last shipment January 2011). However, the [[TMG800]] or [[TMG3200]] with SATA or SSD disk option is OK (use command tbproduct: if the command can be executed, the disk is SATA or SSD).&lt;br /&gt;
*TelcoBridges does not recommend storing CDR logs via network file systems (NFS or other). We highly recommend writing to a local hard drive and have developed a background script that moves the gzipped log segments for backup or analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:RADIUS_CDR_attributes_C</id>
		<title>Toolpack:RADIUS CDR attributes C</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:RADIUS_CDR_attributes_C"/>
				<updated>2013-08-15T18:45:53Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: /* Applies to version(s): v2.7 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Toolpack:RADIUS CDR attributes}}&lt;br /&gt;
=== '''''Applies to version(s): v2.7''''' ===&lt;br /&gt;
This page contains the list of RADIUS attributes that are sent to a RADIUS accounting server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From RFC 2865 and RFC 2866 (Accounting) :&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Attribute ID &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | RADIUS IETF param name &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Type &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Toolpack CDR parameter&lt;br /&gt;
! width=&amp;quot;610&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&amp;lt;br&amp;gt; &lt;br /&gt;
| User-Name &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| IncomingNAP&lt;br /&gt;
| Incoming NAP name&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 4&amp;lt;br&amp;gt; &lt;br /&gt;
| NAS-IP-Address&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| - &lt;br /&gt;
| IP address of the TMedia generating the CDR record&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 30&amp;lt;br&amp;gt; &lt;br /&gt;
| Called-Sation-Id &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Called Number &lt;br /&gt;
| Called party number&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 31&amp;lt;br&amp;gt; &lt;br /&gt;
| Calling-Station-Id &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Calling Number &lt;br /&gt;
| Calling party number&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 32&amp;lt;br&amp;gt; &lt;br /&gt;
| NAS-Identifier &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Application Name &lt;br /&gt;
| Application name of the CDR provider&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 40&amp;lt;br&amp;gt; &lt;br /&gt;
| Acct-Status-Type &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | integer&amp;lt;br&amp;gt; &lt;br /&gt;
| -&lt;br /&gt;
| Start or Stop&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 44&amp;lt;br&amp;gt; &lt;br /&gt;
| Acct-Session-Id &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | integer&amp;lt;br&amp;gt; &lt;br /&gt;
| Leg Id &lt;br /&gt;
| Call Leg Identifier&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 46&amp;lt;br&amp;gt; &lt;br /&gt;
| Acct-Session-Time&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | integer&amp;lt;br&amp;gt; &lt;br /&gt;
| Session duration&lt;br /&gt;
| Duration of the call, in seconds. Corresponds to h323-disconnect-time minus h323-connect-time.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Attribute ID 26, Vendor ID: 9 (Cisco)&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Vendor specific attribute ID &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | RADIUS IETF param name &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Type &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Toolpack param &lt;br /&gt;
! width=&amp;quot;610&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2&amp;lt;br&amp;gt; &lt;br /&gt;
| Cisco-NAS-Port &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| NAP name &lt;br /&gt;
| Network Access Point name for the call leg&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 24&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-conf-id &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Unique Id&lt;br /&gt;
| Unique call identifier for the two initial legs (incoming and outgoing) - 128 bits integer formated as xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx &lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 25&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-setup-time &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Start Time &lt;br /&gt;
| Represent the call leg setup time - Coordinated Universal Time (UTC)&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 26&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-call-origin &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Originator Name &lt;br /&gt;
| &amp;quot;originate&amp;quot; for an outgoing leg - &amp;quot;answer&amp;quot; for an incoming leg&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 27&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-call-type &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Protocol Type &lt;br /&gt;
| If protocol is SIP the value is &amp;quot;VOIP&amp;quot;, otherwise it is &amp;quot;Telephony&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 28&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-connect-time &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Connected Time &lt;br /&gt;
| Represent the call leg answer time (connect time) - Coordinated Universal Time (UTC)&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 29&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-disconnect-time &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| EndTime &lt;br /&gt;
| Represent the call leg disconnect time - Coordinated Universal Time (UTC)&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 30&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-disconnect-cause &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Termination Reason &lt;br /&gt;
| Q.931 disconnect (1 to 160) cause, TB Toolpack system cause (200 to 300) and SIP cause (400 to 600)&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 35&amp;lt;br&amp;gt; &lt;br /&gt;
| h323-incoming-conf-id &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Unique Id&lt;br /&gt;
| Contains the original h323-conf-id in case of call transfer for subsequent outgoing legs - 128 bits integer formated as xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx &lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 115 &lt;br /&gt;
| release-source &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Termination Source &lt;br /&gt;
| &amp;quot;localLeg&amp;quot; if this leg terminate the call or &amp;quot;connectedLeg&amp;quot; if its the connected leg - We use a Cisco string field with our own value definition&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Attribute ID 26, Vendor ID: 21776 (TelcoBridges)&lt;br /&gt;
{| cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Vendor specific attribute ID&lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | RADIUS IETF param name &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Type &lt;br /&gt;
! width=&amp;quot;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Toolpack param &lt;br /&gt;
! width=&amp;quot;610&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 9&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-ChargeIndicator&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| ChargeIndicator&lt;br /&gt;
| Represent the charge indicator value&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-Protocol &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| Protocol&lt;br /&gt;
| Protocol used for this LegID. Ex. SIP, ISDN, etc.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 11&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-Codec &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| Codec &lt;br /&gt;
| Codec used for this LegID&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 12&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-RemoteIP &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IP address&amp;lt;br&amp;gt; &lt;br /&gt;
| RemoteIP&lt;br /&gt;
| RemoteIP used for the media. This is only for VOIP.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 13&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-RemotePort &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Integer&amp;lt;br&amp;gt; &lt;br /&gt;
| RemotePort&lt;br /&gt;
| RTP Port of the remote peer. This is only for VOIP.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 14&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-TrunkName &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| TrunkName&lt;br /&gt;
| Name of the trunk (ex. &amp;quot;LS004400E1_0_00&amp;quot;).&amp;lt;br/&amp;gt;&lt;br /&gt;
This attribute is only for non-VOIP.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 15&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-TimeslotNumber&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Integer&amp;lt;br&amp;gt; &lt;br /&gt;
| TimeslotNumber&lt;br /&gt;
| This is the Timeslot Number.&amp;lt;br/&amp;gt;&lt;br /&gt;
This attribute is only for non-VOIP.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 16&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-MediaInfo &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| MediaInfo&lt;br /&gt;
| String that represents the MediaInfo (ex. &amp;quot;PCMU@10.3.10.124:20054&amp;quot; for SIP and &amp;quot;LS_T1_BITS_00:1&amp;quot; for ISDN)&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 17&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-StartTime&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| StartTime&lt;br /&gt;
| String that represents the StartTime of the call.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 18&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-ConnectedTime &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| ConnectedTime&lt;br /&gt;
| String that represents the time when the call was connected &lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 19&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-EndTime&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| EndTime&lt;br /&gt;
| String that represents when the call was completed.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 20&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-TerminationCause&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Integer&amp;lt;br&amp;gt; &lt;br /&gt;
| TerminationCause&lt;br /&gt;
| Integer that represents the Termination Cause&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 21&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-Other-Leg-Id&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Integer&amp;lt;br&amp;gt; &lt;br /&gt;
| Other-Leg-Id&lt;br /&gt;
| Integer that represents the other LegID bridged for this call &lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 22&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-TerminationCauseString&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| TerminationCauseString&lt;br /&gt;
| String that represents the TerminationCause, but in a String format.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 23&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-TerminationSource&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| TerminationSource&lt;br /&gt;
| String that represents the Termination Source&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 24&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-LocalSipIP*&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| LocalSipIP&lt;br /&gt;
| IP Address that represents the Local IP used for SIP.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 25&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-LocalSipPort*&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Integer&amp;lt;br&amp;gt; &lt;br /&gt;
| LocalSipPort&lt;br /&gt;
| Integer that represents the Local port used for SIP.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 26&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-LocalMediaIP&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IPAddr&amp;lt;br&amp;gt; &lt;br /&gt;
| LocalMediaIP&lt;br /&gt;
| IP Address that represents the Local IP used for the media.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 27&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-LocalMediaPort&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| LocalMediaPort&lt;br /&gt;
| Integer that represents the Local port used for the media.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 28&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-LocalMediaInfo&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| LocalMediaInfo&lt;br /&gt;
| String that represents the Local Media Info.(ex. &amp;quot;PCMU@10.3.10.124:20054&amp;quot;)&lt;br /&gt;
Only for VOIP calls.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 29&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-RemoteMediaInfo&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| RemoteMediaInfo&lt;br /&gt;
| String that represents the Remote Media Info.(ex. &amp;quot;PCMU@10.3.10.124:20054&amp;quot;)&lt;br /&gt;
This is the same as Telcob-MediaInfo. Only for VOIP calls.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 30&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-Alert-Time&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Integer&amp;lt;br&amp;gt; &lt;br /&gt;
| AlertTime&lt;br /&gt;
| Time where the call has started ringing.&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 31&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-Redirecting-Number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| RedirectingNumber&lt;br /&gt;
| Redirecting number&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 32&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-Original-Called-Number&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| OriginalCalledNumber&lt;br /&gt;
| Original called number&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 33&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-Calling-Presentation&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| CallingPresentation&lt;br /&gt;
| Calling presentation: &amp;quot;Unspecified&amp;quot;, &amp;quot;NotAvailable&amp;quot;, &amp;quot;Allowed&amp;quot;, &amp;quot;Restricted&amp;quot;, &amp;quot;AddressRestricted&amp;quot; or &amp;quot;NameRestricted&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 34&amp;lt;br&amp;gt; &lt;br /&gt;
| Telcob-CallingSubscriberNumber&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| CallingSubscriberNumber&lt;br /&gt;
| Second calling number (ISDN) or Generic number of type additional calling party number (SS7)&lt;br /&gt;
|}&lt;br /&gt;
 * = Not implemented.&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide</id>
		<title>Routing script tutorial:Mini Development Guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide"/>
				<updated>2013-02-06T20:57:31Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Added new parameters available in 2.7&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call object  ==&lt;br /&gt;
&lt;br /&gt;
=== Get  ===&lt;br /&gt;
&lt;br /&gt;
Those function are used to get the call parameters. The possible parameters are described in the section &amp;quot;Call parameters&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  called_number = caf_call.get&amp;amp;nbsp;:called&lt;br /&gt;
&lt;br /&gt;
=== List_params  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to retrieve the list of supported call parameters. For example to extract all the possible call params from the the call object and put it in hash. &lt;br /&gt;
&lt;br /&gt;
  caf_call.list_params.each {|param| call[param] = caf_call.get param }&lt;br /&gt;
&lt;br /&gt;
=== Accept  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to accept a call.  It actually creates one outgoing route that gateway application will use to bridge the incoming call leg.  If more than one outgoing route is &amp;quot;accepted&amp;quot;, gateway will try them one by one in the same order they were accepted.   If an outgoing call leg fails (according to 'route retry' parameters), the next route in line will be used.  &lt;br /&gt;
&lt;br /&gt;
This method takes 2 arguments, the call parameters (hash) and the route parameters (hash).  Note that calling this method does NOT stop the flow of the script.&lt;br /&gt;
&lt;br /&gt;
Apply route remapping rules &lt;br /&gt;
&lt;br /&gt;
  caf_call.accept out_call, route&lt;br /&gt;
&lt;br /&gt;
=== Refuse  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to set the reason code for the incoming call leg refusal.  However, this function does NOT stop the flow of the script. &lt;br /&gt;
&lt;br /&gt;
  caf_call.refuse&amp;amp;nbsp;:reason =&amp;amp;gt;&amp;amp;nbsp;:temporary_failure&lt;br /&gt;
&lt;br /&gt;
To immediately refuse the incoming call leg and stop processing the script, the script must raise an exception.  Exiting the script by raising the exception overwrites any reason cause previously stored using refuse().&lt;br /&gt;
&lt;br /&gt;
  raise RoutingException, :no_route&lt;br /&gt;
&lt;br /&gt;
The supported refusal cause values for both refuse() and raise() are described in the section &amp;quot;Reason values&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Script parameters protocol mapping  ===&lt;br /&gt;
&lt;br /&gt;
The following call parameters are available in the call object: &lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;width: 921px; height: 805px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Script parameter name''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''ISDN&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''R2 CAS'''&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SS7&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SIP&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Comment&amp;lt;br&amp;gt;'''&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Toolpack version&amp;lt;br&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| calling&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| ANI (Group B)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address signals (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - nature of address indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - numbering plan indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used&amp;amp;nbsp;(when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - display information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information (present and/or first byte)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - present or not&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - display-name (displays 'anonymous' or not) &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - privacy&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_screening&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Remote-party-id - screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_category&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Call party category (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party's category' IE - calling party's category&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - cpc &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - cpc&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Number digits &amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - Number digits&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'support 2 calling number IE' in the profile.  This variable has priority over 'private_address' in the outgoing direction.&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display_type &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Indicate presence or not of the private calling information&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_address&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| DNIS (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - user-info and host&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_npi&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default redirecting number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number'&amp;amp;nbsp;1st IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp;(2nd header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - screening (national)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirection counter&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp; (1st header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - screening (national)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - original redirection reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:RequestURI - rn&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| oli &amp;lt;br&amp;gt; &lt;br /&gt;
| 5ESS Codeset 6 OLI - Value&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Originating line information' IE - OLI&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - oli &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - oli&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Complete Request URI string&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default URI&amp;amp;nbsp;forwarding behavior from incoming to outgoing leg&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_header&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Any header&amp;lt;br&amp;gt; &lt;br /&gt;
| Outgoing leg (write) only &amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| nap&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg NAP name (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| type_of_network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Type of network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification &amp;lt;br&amp;gt; &lt;br /&gt;
| SIP: Request-Line - cic&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| network_identification_plan&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Transit network selection' IE - Network identification plan &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
| 2.7&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' All values are documented in the '''noa_npi_remap.rb''' script and may change between major release.&lt;br /&gt;
&lt;br /&gt;
=== Noa values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_specific&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_national_format&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_international_format&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;abbreviated_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_cut_through_call_to_carrier&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;test_line_test_code&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_subscriber_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_national_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_international_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_950_number&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific NOA value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 0x70&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 112&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Npi values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;isdn&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telephony&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;private&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telex&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display Type values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is unspecified. &lt;br /&gt;
*&amp;lt;tt&amp;gt;calling_party_name&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is 0xB1.&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific Display Information Type value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 0xB1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 177&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display value  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display] = &amp;quot;Roger Fluffy&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Presentation values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;not_available&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;allowed&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;addr_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;name_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Party Category  ===&lt;br /&gt;
values for calling_category&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x0)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_french&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x1)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_english&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x2)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_german&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_russian&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x4)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_spanish&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x5)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_with_priority&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xb)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;test&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xd)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;payphone&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xf)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Screening values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;fail&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_provided&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting number reason values  ===&lt;br /&gt;
&lt;br /&gt;
ISDN: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;dte_out_of_order&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;forwarding_by_called_dte&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection_immediate&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;mobile_not_reachable&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OLI (originating line information) values  ===&lt;br /&gt;
&lt;br /&gt;
The OLI parameter is a string that represents an integer value from 0 to 255. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== redirecting_number_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of redirecting number (SIP: diversion header) to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: Redirecting number (and original called number) is not forwarded to outgoing call leg 1/true: Redirecting number (and original called number) is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward redirecting number&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== request_uri  ===&lt;br /&gt;
&lt;br /&gt;
Enables access to the Request-Line URI.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For example, if the Request-Line is: &lt;br /&gt;
&amp;lt;pre&amp;gt;Request-Line: INVITE sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;lt;/pre&amp;gt; &lt;br /&gt;
Then the retrieved request_uri will be &amp;quot;sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;quot;. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the routing scripts, to retrieve only the called number, this script can be used:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;    if call_params[:request_uri] &amp;amp;amp;&amp;amp;amp; call_params[:request_uri] =~ /sip:(.*)@.*/&lt;br /&gt;
       call_params[:called] = $1&lt;br /&gt;
    end&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
=== request_uri_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of request uri to outgoing call leg.The request uri is the information in the &amp;quot;Request-Line:&amp;quot; of the SIP INVITE message.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
0/false: Request uri is not forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1/true: Request uri is forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The value for this parameter at input of routing script is always false. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Route parameters  ==&lt;br /&gt;
&lt;br /&gt;
All route may have these parameters: &lt;br /&gt;
&lt;br /&gt;
*calling &lt;br /&gt;
*called &lt;br /&gt;
*nap &lt;br /&gt;
*remapped_calling &lt;br /&gt;
*remapped_called &lt;br /&gt;
*remapped_nap &lt;br /&gt;
*remapped_profile&lt;br /&gt;
&lt;br /&gt;
Additionally it is possible to add dynamic route attributes in the web portal. These can be referenced by their name. &lt;br /&gt;
&lt;br /&gt;
== Playing prompts announcements or tones  ==&lt;br /&gt;
&lt;br /&gt;
New feature in release 2.6, all bridges may have these parameters. These can be used to play IVR prompts or wav files in different states of the call flow, like playing an announcement when the caller dials in. You can also manage the User to User information element. &lt;br /&gt;
&lt;br /&gt;
*announcement_tone &lt;br /&gt;
*call_progress_tone &lt;br /&gt;
*ring_tone &lt;br /&gt;
*max_call_duration &lt;br /&gt;
*call_duration_reason &lt;br /&gt;
*disconnect_tone &lt;br /&gt;
*uui &lt;br /&gt;
*uui_forward_enabled&lt;br /&gt;
&lt;br /&gt;
The following sections show how to access those different parameters from '''inside''' a filter.  The 'params' hash is the sole argument passed to a filter function and contains call, nap, route and bridge parameters.   This hash is created by the base_routing.rb scripts to regroup all relevant information just before calling the filter functions.&lt;br /&gt;
&lt;br /&gt;
=== Tone string format  ===&lt;br /&gt;
&lt;br /&gt;
All tone strings (:announcement_tone,&amp;amp;nbsp;:call_progress_tone,&amp;amp;nbsp;:ring_tone,&amp;amp;nbsp;:disconnect_tone) inside bridge parameters are using this format. &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;file1.wav:repeat:start_off:end_off,file2.wav:repeat:start_off:end_off,file3.wav:repeat:start_off:end_off&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
optional repeat parameter: number of times to play the file (0 and 1 have the same result) &amp;lt;br&amp;gt;optional start_off parameter&amp;amp;nbsp;: Start offset in milliseconds &amp;lt;br&amp;gt;optional end_off parameter: End offset in milliseconds &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav,file2.wav:-1&amp;quot; will play file1.wav one time and then play file2.wav in loop. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:1000:3000,file2.wav:2:5000:10000&amp;quot; will play file1.wav from second 1 to second 3 then file2.wav from second 5 to second 10 two times. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:0:30000&amp;quot; will play file1.wav one time for a max duration of 30 seconds. &lt;br /&gt;
&lt;br /&gt;
=== announcement_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:announcement_tone] = &amp;quot;announcement.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played on the incoming leg with the stream_server before any outgoing call is placed. The outgoing call occurs when the wav file is completed or when the &amp;quot;profile:Busy Tone max duration&amp;quot; is reached. &lt;br /&gt;
&lt;br /&gt;
=== call_progress_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_progress_tone] = &amp;quot;no_route.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played after &amp;quot;announcement_tone&amp;quot; when reason is not &amp;quot;ok&amp;quot; or when outgoing call disconnect before answer state. &amp;lt;br&amp;gt;&amp;quot;none&amp;quot; value is used to bypass &amp;quot;profile:Generate Busy (Congestion) Tone&amp;quot; and to play no audio prompt. &lt;br /&gt;
&lt;br /&gt;
=== ring_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:ring_tone] = &amp;quot;ringing.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played between alerting state and answer state. Bypass any other ring back tone (RBT) configured in profile. &lt;br /&gt;
&lt;br /&gt;
=== max_call_duration  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:max_call_duration] = &amp;quot;60000&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Maximum call duration in millisecond for the current bridge. This timer is started when entering answer state. &lt;br /&gt;
&lt;br /&gt;
=== call_duration_reason  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_duration_reason] =&amp;amp;nbsp;:resource_unavailable &lt;br /&gt;
&lt;br /&gt;
Drop both legs with this reason when call duration (:max_call_duration) is reached. &lt;br /&gt;
&lt;br /&gt;
=== disconnect_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:disconnect_tone] = &amp;quot;max_duration.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played (on the incoming leg only) when call duration (:max_call_duration) is reached before terminating the leg with call duration reason (:call_duration_reason). &lt;br /&gt;
&lt;br /&gt;
=== UUI (user-to-user indication) values  ===&lt;br /&gt;
&lt;br /&gt;
Byte array represented as ruby String. Use ''bridge=params[:bridge]'', then ''bridge[:uui]'' to access the data.&lt;br /&gt;
&lt;br /&gt;
=== uui_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of UUI to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: UUI is not forwarded to outgoing call leg 1/true: UUI is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward UUI&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration.&lt;br /&gt;
&lt;br /&gt;
=== Adding audio prompts ===&lt;br /&gt;
&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.6#Routing_script|Adding Audio prompts in v2.6]]&lt;br /&gt;
&lt;br /&gt;
== Recording call legs  ==&lt;br /&gt;
Introduced in release 2.6.44, it's now possible to use routing scripts to ask for recording incoming and/or outgoing call legs.&lt;br /&gt;
&lt;br /&gt;
See example filter script &amp;quot;call_recording&amp;quot; (created by default in Web Portal routing scripts starting with 2.6.44) for an example.&lt;br /&gt;
&lt;br /&gt;
=== Recording the incoming call leg  ===&lt;br /&gt;
To record the incoming call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter:&lt;br /&gt;
&lt;br /&gt;
  bridge[ :record_incoming ]  = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Recording the outgoing call leg  ===&lt;br /&gt;
To record the outgoing call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter, per route (the decision to record or not, or the file name to record to, can be set per matching route):&lt;br /&gt;
&lt;br /&gt;
  # Need to clone the routes in order to have the right to modify them&lt;br /&gt;
  routes = clone_routes params[:routes]&lt;br /&gt;
  routes.each do |route|&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  # Store modified routes back to the parameters for this outgoing call&lt;br /&gt;
  params[:routes] = routes&lt;br /&gt;
&lt;br /&gt;
=== Record the outgoing call leg within incoming leg's recorded file (mixing)  ===&lt;br /&gt;
  [...]&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;@{MixWithIncoming}&amp;quot;&lt;br /&gt;
  [...]&lt;br /&gt;
&lt;br /&gt;
=== Choosing file path to record to  ===&lt;br /&gt;
The value assigned to &amp;quot;:record_incoming&amp;quot; or &amp;quot;:record_outgoing&amp;quot; is the path to record the file to.&lt;br /&gt;
&lt;br /&gt;
The paths can be absolute, or relative. When relative, they are relative to the &amp;quot;tbstreamserver&amp;quot; application working directory, for example:&lt;br /&gt;
  /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
&lt;br /&gt;
* Empty file name will default to a name that contains various information about the call:&lt;br /&gt;
** ''LinkId'':     Id common between all legs of this call bridge&lt;br /&gt;
** ''LegId'':      Unique Id for this leg&lt;br /&gt;
** ''Nap'':        Current NAP name this call leg is from&lt;br /&gt;
** ''Direction'':  &amp;quot;IN&amp;quot; or &amp;quot;OUT&amp;quot; (depends if call leg is incoming or outgoing leg)&lt;br /&gt;
** ''Calling'':    The calling number of this call leg&lt;br /&gt;
** ''Called'':     The called number of this call leg&lt;br /&gt;
** ''Protocol'':   The signaling protocol of this call leg (SS7, ISDN, CAS, SIP)&lt;br /&gt;
** ''Media info'': Codec + IP/Port for SIP calls, Trunk/Timeslot for TDM calls&lt;br /&gt;
* To record outgoing call leg in the same audio file as incoming call leg (mixing), use the following:&lt;br /&gt;
** @{MixWithIncoming}: Record outgoing legs in same file as incoming legs&lt;br /&gt;
* Variables can be used to insert in the recording path information that's not already available from routing scripts:&lt;br /&gt;
** @{DefaultName}: Same file name (without parent folder path) as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{DefaultPath}: Same path as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;recorded_calls/73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;recorded_calls/73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{LinkId}: Current LinkId (Id common between all legs of this call bridge)&lt;br /&gt;
*** Example: &amp;quot;73EBA698&amp;quot;&lt;br /&gt;
** @{LegId}: Current LegId (Unique Id for this leg)&lt;br /&gt;
*** Example: &amp;quot;F3D67B4B&amp;quot;&lt;br /&gt;
** @{Protocol}: Protocol type of current leg&lt;br /&gt;
*** Example: &amp;quot;SS7&amp;quot;&lt;br /&gt;
** @{Direction}: Direction of current leg (IN our OUT)&lt;br /&gt;
*** Example: &amp;quot;IN&amp;quot;&lt;br /&gt;
** @{PKG_HOME}: Path where packages are stored. Note: It's not recomended to use that path on redundant systems, package file replication may cause confusion in recorded files.&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/pkg&amp;quot;&lt;br /&gt;
** @{CURRENT_PKG}: Version of current package&lt;br /&gt;
*** Example: &amp;quot;2.6.45&amp;quot;&lt;br /&gt;
** @{PROMPT_PATH}: Default path where audio prompts are stored. Note: It's not recomended to use that path on redundant systems, package file replication may cause confusion in recorded files.&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/pkg/prompts&amp;quot;&lt;br /&gt;
** @{TBX_GW_PORT}: Current &amp;quot;System Id&amp;quot; (also called &amp;quot;Gateway Port&amp;quot;)&lt;br /&gt;
*** Example: &amp;quot;12358&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Call diversion options ==&lt;br /&gt;
It's possible to control the call flow when a call diversion information is received in the alerting state.&lt;br /&gt;
&lt;br /&gt;
Two fields are available: bridge[ :diversion ] and bridge[ :diversion_reason ]&lt;br /&gt;
&lt;br /&gt;
The internal release cause TOOLPACK_DIVERT_NOT_ALLOWED is used by gateway application to terminate both legs.&lt;br /&gt;
&lt;br /&gt;
  bridge[ :diversion ] = :allowed&lt;br /&gt;
The alert message will not be analyzed and the call will be progressed. Default behavior.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed&lt;br /&gt;
If the alert message indicates that the call is diverted, the call will be released no matter the In-band information to allow&lt;br /&gt;
early media.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed_w_early_media&lt;br /&gt;
The call will be released If the alert message indicates that the call is diverted with in-band information to allow early media.&lt;br /&gt;
  bridge[ :diversion_reason ] = &amp;quot;*&amp;quot;&lt;br /&gt;
If the diversion is not allowed, the gateway will drop the call for any redirecting reason. &lt;br /&gt;
  bridge[ :diversion_reason ] = []&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :busy&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :unconditional&lt;br /&gt;
If the diversion is not allowed, the redirecting reason will be analyzed and the call will only be dropped for the configured cases.&lt;br /&gt;
&lt;br /&gt;
See section [[Routing_script_tutorial:Mini_Development_Guide#Redirecting_number_reason_values|Redirecting number reason values]].&lt;br /&gt;
&lt;br /&gt;
== Reason values  ==&lt;br /&gt;
&lt;br /&gt;
Check here for Termination Reason Cause codes:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Termination_cause_codes|Termination Reason Cause codes]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Nap status  ==&lt;br /&gt;
&lt;br /&gt;
All the status fields of the NAPs are provided for use by the routing scripts. See the nap status provider for more details on which fields are available in the CEngineStatTransNap.hpp file. &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' These values may change between major release. &lt;br /&gt;
&lt;br /&gt;
  #define NAP_STATS_FIELDS \&lt;br /&gt;
    /* Field,                                 szName,                            szDescription,                                        szOptions */ \&lt;br /&gt;
    ( SIGNALING_TYPE,                         &amp;quot;signaling_type&amp;quot;,                  &amp;quot;Signaling type.&amp;quot;,                                    &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( INCOMING_CALL_CNT,                      &amp;quot;inst_incoming_call_cnt&amp;quot;,          &amp;quot;Instantaneous Count of incoming calls.&amp;quot;,             &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( OUTGOING_CALL_CNT,                      &amp;quot;inst_outgoing_call_cnt&amp;quot;,          &amp;quot;Instantaneous Count of outgoing calls.&amp;quot;,             &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( AVAILABLE_CNT,                          &amp;quot;available_cnt&amp;quot;,                   &amp;quot;Number of available circuits or channels.&amp;quot;,          &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( UNAVAILABLE_CNT,                        &amp;quot;unavailable_cnt&amp;quot;,                 &amp;quot;Number of unavailable circuits or channels.&amp;quot;,        &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( AVAILABILITY_PCT,                       &amp;quot;availability_percent&amp;quot;,            &amp;quot;Percentage of available circuits or channels.&amp;quot;,      &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( USAGE_PCT,                              &amp;quot;usage_percent&amp;quot;,                   &amp;quot;Percentage of used circuits or channels.&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( TOTAL_INCOMING_CALL_CNT,                &amp;quot;total_incoming_call_cnt&amp;quot;,         &amp;quot;Total Count of incoming calls.&amp;quot;,                     &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( ASR_STRUCT,                             &amp;quot;asr_statistics_struct&amp;quot;,           &amp;quot;Detailed Answer-Seizure Rate Statistics.&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( GLOBAL_ASR_PCT,                       &amp;quot;global_asr_percent&amp;quot;,              &amp;quot;Global calculated ASR percentage.&amp;quot;,                  &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TOTAL_OUTGOING_CALL_CNT,              &amp;quot;total_outgoing_call_cnt&amp;quot;,         &amp;quot;Total Count of outgoing calls.&amp;quot;,                     &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( LAST_24H_ASR_PCT,                     &amp;quot;last_24h_asr_percent&amp;quot;,            &amp;quot;Last 24 hours calculated ASR percentage.&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( LAST_24H_OUTGOING_CALL_CNT,           &amp;quot;last_24h_outgoing_call_cnt&amp;quot;,      &amp;quot;Last 24 hours outgoing calls.&amp;quot;,                      &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( HOUR_ASR_PCT,                         &amp;quot;current_hour_asr_percent&amp;quot;,        &amp;quot;Current hour calculated ASR percentage.&amp;quot;,            &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( HOUR_OUTGOING_CALL_CNT,               &amp;quot;current_hour_outgoing_call_cnt&amp;quot;,  &amp;quot;Current hour outgoing calls.&amp;quot;,                       &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( LAST_HOUR_ASR_PCT,                    &amp;quot;last_hour_asr_percent&amp;quot;,           &amp;quot;Last hour calculated ASR percentage.&amp;quot;,               &amp;quot;&amp;quot; ) \&lt;br /&gt;
       ( LAST_HOUR_OUTGOING_CALL_CNT,         &amp;quot;last_hour_outgoing_call_cnt&amp;quot;,     &amp;quot;Last hour outgoing calls.&amp;quot;,                          &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( AVAILABILITY_DETECTION_STRUCT,          &amp;quot;availability_detection_struct&amp;quot;,   &amp;quot;Detailed availibility detection Statistics&amp;quot;,         &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( POLL_REMOTE_PROXY,                    &amp;quot;poll_remote_proxy&amp;quot;,               &amp;quot;Remote proxy polling enabled&amp;quot;,                       &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( IS_AVAILABLE,                         &amp;quot;is_available&amp;quot;,                    &amp;quot;Remote proxy actually available or not&amp;quot;,             &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_SINCE_POLLING,                   &amp;quot;time_since_polling&amp;quot;,              &amp;quot;Time since the last availibility polling&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_AVAILABLE_SECONDS,               &amp;quot;time_available_seconds&amp;quot;,          &amp;quot;Number of seconds since the NAP is available&amp;quot;,       &amp;quot;x&amp;quot; ) \&lt;br /&gt;
      ( TIME_UNAVAILABLE_SECONDS,             &amp;quot;time_unavailable_seconds&amp;quot;,        &amp;quot;Number of seconds since the NAP is unavailable&amp;quot;,     &amp;quot;x&amp;quot; ) \&lt;br /&gt;
    ( REGISTRATION_STRUCT,                    &amp;quot;registration_struct&amp;quot;,             &amp;quot;Detailed registration Statistics&amp;quot;,                   &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( REGISTER_TO_PROXY,                    &amp;quot;register_to_proxy&amp;quot;,               &amp;quot;Register to proxy enabled&amp;quot;,                          &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( IS_REGISTERED,                        &amp;quot;registered&amp;quot;,                      &amp;quot;Actually registered or not&amp;quot;,                         &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_SINCE_REFRESH,                   &amp;quot;time_since_refresh&amp;quot;,              &amp;quot;Time since the last refresh&amp;quot;,                        &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_REGISTERED_SECONDS,              &amp;quot;time_registered_seconds&amp;quot;,         &amp;quot;Number of seconds since the NAP is registered&amp;quot;,      &amp;quot;x&amp;quot; ) \&lt;br /&gt;
      ( TIME_NOT_REGISTERED_SECONDS,          &amp;quot;time_not_registered_seconds&amp;quot;,     &amp;quot;Number of seconds since the NAP is not registered&amp;quot;,  &amp;quot;x&amp;quot; ) \&lt;br /&gt;
    /*!&amp;amp;lt; Nap Status Fields */&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; If the nap status is part of a substructure, it's name in the routing scripts must be composed of the structure name appended by an underscore and the field name. &lt;br /&gt;
&lt;br /&gt;
For example the name to use for the global [[ASR]] percentage is: &lt;br /&gt;
&lt;br /&gt;
  asr_statistics_struct_global_asr_percent&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; It is also possible to add dynamic nap attributes in the web portal. These can be referenced by their name. &lt;br /&gt;
&lt;br /&gt;
== Test parameters  ==&lt;br /&gt;
&lt;br /&gt;
=== @call_params  ===&lt;br /&gt;
&lt;br /&gt;
That variable should contain a hash of call parameters that will passed to the routing script. This is equivalent to the incoming call parameters. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== @nap_list  ===&lt;br /&gt;
&lt;br /&gt;
A list of hash containing the nap statuses. This is equivalent to the nap statuses at the time the call is to be routed. &lt;br /&gt;
&lt;br /&gt;
'''The nap list is hashed by the nap names in UPPERCASE.''' It is important to consider this when creating new dynamic route or nap attributes that may nap names that will be used to fetch a status. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== @params  ===&lt;br /&gt;
&lt;br /&gt;
A hash of hashes containing parameters. This hash contains bridge parameters and other kind of parameter groups may be added in the future. &lt;br /&gt;
&lt;br /&gt;
Example: @params = {:bridge =&amp;gt; {:announcement_tone, &amp;quot;announcement.wav&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; Back to [[Routing script tutorial|Routing Script Tutorial]].&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide</id>
		<title>Routing script tutorial:Mini Development Guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Routing_script_tutorial:Mini_Development_Guide"/>
				<updated>2013-02-06T20:27:50Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Added Needs revising category&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Call object  ==&lt;br /&gt;
&lt;br /&gt;
=== Get  ===&lt;br /&gt;
&lt;br /&gt;
Those function are used to get the call parameters. The possible parameters are described in the section &amp;quot;Call parameters&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  called_number = caf_call.get&amp;amp;nbsp;:called&lt;br /&gt;
&lt;br /&gt;
=== List_params  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to retrieve the list of supported call parameters. For example to extract all the possible call params from the the call object and put it in hash. &lt;br /&gt;
&lt;br /&gt;
  caf_call.list_params.each {|param| call[param] = caf_call.get param }&lt;br /&gt;
&lt;br /&gt;
=== Accept  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to accept a call.  It actually creates one outgoing route that gateway application will use to bridge the incoming call leg.  If more than one outgoing route is &amp;quot;accepted&amp;quot;, gateway will try them one by one in the same order they were accepted.   If an outgoing call leg fails (according to 'route retry' parameters), the next route in line will be used.  &lt;br /&gt;
&lt;br /&gt;
This method takes 2 arguments, the call parameters (hash) and the route parameters (hash).  Note that calling this method does NOT stop the flow of the script.&lt;br /&gt;
&lt;br /&gt;
Apply route remapping rules &lt;br /&gt;
&lt;br /&gt;
  caf_call.accept out_call, route&lt;br /&gt;
&lt;br /&gt;
=== Refuse  ===&lt;br /&gt;
&lt;br /&gt;
This function is used to set the reason code for the incoming call leg refusal.  However, this function does NOT stop the flow of the script. &lt;br /&gt;
&lt;br /&gt;
  caf_call.refuse&amp;amp;nbsp;:reason =&amp;amp;gt;&amp;amp;nbsp;:temporary_failure&lt;br /&gt;
&lt;br /&gt;
To immediately refuse the incoming call leg and stop processing the script, the script must raise an exception.  Exiting the script by raising the exception overwrites any reason cause previously stored using refuse().&lt;br /&gt;
&lt;br /&gt;
  raise RoutingException, :no_route&lt;br /&gt;
&lt;br /&gt;
The supported refusal cause values for both refuse() and raise() are described in the section &amp;quot;Reason values&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Script parameters protocol mapping  ===&lt;br /&gt;
&lt;br /&gt;
The following call parameters are available in the call object: &lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; style=&amp;quot;width: 921px; height: 805px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Script parameter name''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''ISDN&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''R2 CAS'''&amp;lt;br&amp;gt; &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SS7&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''SIP&amp;lt;br&amp;gt;''' &lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | '''Comment&amp;lt;br&amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| calling&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| ANI (Group B)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address signals (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - nature of address indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used (when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - numbering plan indicator (*)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| * In ANSI SS7 LNP networks, the IE 'generic address parameter' is used&amp;amp;nbsp;(when present) instead&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - display information&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:From - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_display_type&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Display' IE - Display information (present and/or first byte)&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Display information' IE - present or not&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - display-name (displays 'anonymous' or not) &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - privacy&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_screening&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party number' IE - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Remote-party-id - screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_category&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Call party category (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Calling party's category' IE - calling party's category&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - cpc &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - cpc&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Number digits &amp;lt;br&amp;gt;&lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - Number digits&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| Requires option 'support 2 calling number IE' in the profile.  This variable has priority over 'private_address' in the outgoing direction.&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_noa&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_presentation&amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Presentation indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| calling_subscriber_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 2nd 'Calling party number' IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: Generic number IE with type 'additional calling party number' - screening&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_display_type &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Indicate presence or not of the private calling information&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| private_address&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:P-asserted-identity - userinfo &lt;br /&gt;
&lt;br /&gt;
SIP:Remote-party-id - user-info&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| DNIS (Group A)&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:To - user-info and host&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| called_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Called party number' IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| charge_number_npi&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Charge number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default redirecting number forwarding behavior from incoming to outgoing leg &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number'&amp;amp;nbsp;1st IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp;(2nd header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirecting number' IE - screening (national)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 1st IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirecting reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| redirecting_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - redirection counter&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (2nd header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Number digits &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion&amp;amp;nbsp; (1st header) - display-name&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Type of number&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Numbering plan identification&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_presentation &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Presentation indicator &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - address presentation restricted indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-privacy&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_screening &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Screening indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection number' IE - screening (national)&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-screen&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_reason &amp;lt;br&amp;gt; &lt;br /&gt;
| Q931: 'Redirecting number' 2nd IE - Reason for redirection&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Redirection information' IE - original redirection reason&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-reason&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| original_called_number_counter &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:Diversion (1st header) - diversion-counter&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - address signals&amp;lt;br&amp;gt; &lt;br /&gt;
| SIP:RequestURI - rn&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_noa &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - nature of address indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| ported_number_npi &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Q763: 'Called party number' IE - numbering plan indicator&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Only valid if SIP/SS7 supports LNP&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| oli &amp;lt;br&amp;gt; &lt;br /&gt;
| 5ESS Codeset 6 OLI - Value&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| ANSI: 'Originating line information' IE - OLI&amp;lt;br&amp;gt; &lt;br /&gt;
| &lt;br /&gt;
SIP:From - oli &lt;br /&gt;
&lt;br /&gt;
SIP:P-asserted-identity - oli&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Complete Request URI string&amp;lt;br&amp;gt; &lt;br /&gt;
| &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| request_uri_forward_enabled &amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Overwrite default URI&amp;amp;nbsp;forwarding behavior from incoming to outgoing leg&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| sip_header&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Any header&amp;lt;br&amp;gt; &lt;br /&gt;
| Outgoing leg (write) only &amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| nap&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| N/A&amp;lt;br&amp;gt; &lt;br /&gt;
| Incoming leg NAP name (read-only)&amp;lt;br&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' All values are documented in the '''noa_npi_remap.rb''' script and may change between major release.&lt;br /&gt;
&lt;br /&gt;
=== Noa values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_specific&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_national_format&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_routing_international_format&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;abbreviated_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_number_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national_number_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;international_number_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_operator_requested&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_number_present_cut_through_call_to_carrier&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;test_line_test_code&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_subscriber_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_national_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;non_unique_international_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;call_950_number&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific NOA value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 0x70&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:called_noa] = 112&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Npi values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown_number&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;isdn&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telephony&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;private&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;telex&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;national&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display Type values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is unspecified. &lt;br /&gt;
*&amp;lt;tt&amp;gt;calling_party_name&amp;lt;/tt&amp;gt; =&amp;amp;gt; Type is 0xB1.&lt;br /&gt;
&lt;br /&gt;
Those values will be remapped to the protocol specific Display Information Type value. To provide protocol specific value: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 0xB1&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display_type] = 177&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Display value  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;call_params[:calling_display] = &amp;quot;Roger Fluffy&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Presentation values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;not_available&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;allowed&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;addr_restricted&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;name_restricted&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Calling Party Category  ===&lt;br /&gt;
values for calling_category&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x0)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_french&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x1)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_english&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x2)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_german&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x3)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_russian&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x4)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;operator_spanish&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0x5)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xa)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;subscriber_with_priority&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xb)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;data&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;test&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xd)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*&amp;lt;tt&amp;gt;payphone&amp;lt;/tt&amp;gt; &amp;lt;tt&amp;gt;(0xf)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Screening values  ===&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unspecified&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;fail&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;network_provided&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Redirecting number reason values  ===&lt;br /&gt;
&lt;br /&gt;
ISDN: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;dte_out_of_order&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;forwarding_by_called_dte&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SS7: &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;busy&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;no_reply&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;unconditional&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;deflection_immediate&amp;lt;/tt&amp;gt; &lt;br /&gt;
*&amp;lt;tt&amp;gt;mobile_not_reachable&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OLI (originating line information) values  ===&lt;br /&gt;
&lt;br /&gt;
The OLI parameter is a string that represents an integer value from 0 to 255. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== redirecting_number_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of redirecting number (SIP: diversion header) to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: Redirecting number (and original called number) is not forwarded to outgoing call leg 1/true: Redirecting number (and original called number) is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward redirecting number&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== request_uri  ===&lt;br /&gt;
&lt;br /&gt;
Enables access to the Request-Line URI.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For example, if the Request-Line is: &lt;br /&gt;
&amp;lt;pre&amp;gt;Request-Line: INVITE sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;lt;/pre&amp;gt; &lt;br /&gt;
Then the retrieved request_uri will be &amp;quot;sip:4175162082@172.22.45.13:5060;user=phone;transport=udp SIP/2.0&amp;quot;. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the routing scripts, to retrieve only the called number, this script can be used:&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;pre&amp;gt;    if call_params[:request_uri] &amp;amp;amp;&amp;amp;amp; call_params[:request_uri] =~ /sip:(.*)@.*/&lt;br /&gt;
       call_params[:called] = $1&lt;br /&gt;
    end&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
=== request_uri_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of request uri to outgoing call leg.The request uri is the information in the &amp;quot;Request-Line:&amp;quot; of the SIP INVITE message.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
0/false: Request uri is not forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1/true: Request uri is forwarded to outgoing call leg &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The value for this parameter at input of routing script is always false. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Route parameters  ==&lt;br /&gt;
&lt;br /&gt;
All route may have these parameters: &lt;br /&gt;
&lt;br /&gt;
*calling &lt;br /&gt;
*called &lt;br /&gt;
*nap &lt;br /&gt;
*remapped_calling &lt;br /&gt;
*remapped_called &lt;br /&gt;
*remapped_nap &lt;br /&gt;
*remapped_profile&lt;br /&gt;
&lt;br /&gt;
Additionally it is possible to add dynamic route attributes in the web portal. These can be referenced by their name. &lt;br /&gt;
&lt;br /&gt;
== Playing prompts announcements or tones  ==&lt;br /&gt;
&lt;br /&gt;
New feature in release 2.6, all bridges may have these parameters. These can be used to play IVR prompts or wav files in different states of the call flow, like playing an announcement when the caller dials in. You can also manage the User to User information element. &lt;br /&gt;
&lt;br /&gt;
*announcement_tone &lt;br /&gt;
*call_progress_tone &lt;br /&gt;
*ring_tone &lt;br /&gt;
*max_call_duration &lt;br /&gt;
*call_duration_reason &lt;br /&gt;
*disconnect_tone &lt;br /&gt;
*uui &lt;br /&gt;
*uui_forward_enabled&lt;br /&gt;
&lt;br /&gt;
The following sections show how to access those different parameters from '''inside''' a filter.  The 'params' hash is the sole argument passed to a filter function and contains call, nap, route and bridge parameters.   This hash is created by the base_routing.rb scripts to regroup all relevant information just before calling the filter functions.&lt;br /&gt;
&lt;br /&gt;
=== Tone string format  ===&lt;br /&gt;
&lt;br /&gt;
All tone strings (:announcement_tone,&amp;amp;nbsp;:call_progress_tone,&amp;amp;nbsp;:ring_tone,&amp;amp;nbsp;:disconnect_tone) inside bridge parameters are using this format. &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;file1.wav:repeat:start_off:end_off,file2.wav:repeat:start_off:end_off,file3.wav:repeat:start_off:end_off&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
optional repeat parameter: number of times to play the file (0 and 1 have the same result) &amp;lt;br&amp;gt;optional start_off parameter&amp;amp;nbsp;: Start offset in milliseconds &amp;lt;br&amp;gt;optional end_off parameter: End offset in milliseconds &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav,file2.wav:-1&amp;quot; will play file1.wav one time and then play file2.wav in loop. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:1000:3000,file2.wav:2:5000:10000&amp;quot; will play file1.wav from second 1 to second 3 then file2.wav from second 5 to second 10 two times. &amp;lt;br&amp;gt;Example: &amp;quot;file1.wav:0:0:30000&amp;quot; will play file1.wav one time for a max duration of 30 seconds. &lt;br /&gt;
&lt;br /&gt;
=== announcement_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:announcement_tone] = &amp;quot;announcement.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played on the incoming leg with the stream_server before any outgoing call is placed. The outgoing call occurs when the wav file is completed or when the &amp;quot;profile:Busy Tone max duration&amp;quot; is reached. &lt;br /&gt;
&lt;br /&gt;
=== call_progress_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_progress_tone] = &amp;quot;no_route.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played after &amp;quot;announcement_tone&amp;quot; when reason is not &amp;quot;ok&amp;quot; or when outgoing call disconnect before answer state. &amp;lt;br&amp;gt;&amp;quot;none&amp;quot; value is used to bypass &amp;quot;profile:Generate Busy (Congestion) Tone&amp;quot; and to play no audio prompt. &lt;br /&gt;
&lt;br /&gt;
=== ring_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:ring_tone] = &amp;quot;ringing.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played between alerting state and answer state. Bypass any other ring back tone (RBT) configured in profile. &lt;br /&gt;
&lt;br /&gt;
=== max_call_duration  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:max_call_duration] = &amp;quot;60000&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Maximum call duration in millisecond for the current bridge. This timer is started when entering answer state. &lt;br /&gt;
&lt;br /&gt;
=== call_duration_reason  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:call_duration_reason] =&amp;amp;nbsp;:resource_unavailable &lt;br /&gt;
&lt;br /&gt;
Drop both legs with this reason when call duration (:max_call_duration) is reached. &lt;br /&gt;
&lt;br /&gt;
=== disconnect_tone  ===&lt;br /&gt;
&lt;br /&gt;
params[:bridge][:disconnect_tone] = &amp;quot;max_duration.wav&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Prompt played (on the incoming leg only) when call duration (:max_call_duration) is reached before terminating the leg with call duration reason (:call_duration_reason). &lt;br /&gt;
&lt;br /&gt;
=== UUI (user-to-user indication) values  ===&lt;br /&gt;
&lt;br /&gt;
Byte array represented as ruby String. Use ''bridge=params[:bridge]'', then ''bridge[:uui]'' to access the data.&lt;br /&gt;
&lt;br /&gt;
=== uui_forward_enabled values  ===&lt;br /&gt;
&lt;br /&gt;
Controls forwarding or discarding of UUI to outgoing call leg. &lt;br /&gt;
&lt;br /&gt;
Values for this parameter are &amp;quot;0&amp;quot;, &amp;quot;1&amp;quot;, &amp;quot;false&amp;quot; or &amp;quot;true. 0/false: UUI is not forwarded to outgoing call leg 1/true: UUI is forwarded to outgoing call leg The value for this parameter at input of routing script depends on the &amp;quot;Forward UUI&amp;quot; parameter in the &amp;quot;Advanced&amp;quot; section of the Gateway configuration page of the Web Portal. The script may change this value to override the Gateway configuration.&lt;br /&gt;
&lt;br /&gt;
=== Adding audio prompts ===&lt;br /&gt;
&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.6#Routing_script|Adding Audio prompts in v2.6]]&lt;br /&gt;
&lt;br /&gt;
== Recording call legs  ==&lt;br /&gt;
Introduced in release 2.6.44, it's now possible to use routing scripts to ask for recording incoming and/or outgoing call legs.&lt;br /&gt;
&lt;br /&gt;
See example filter script &amp;quot;call_recording&amp;quot; (created by default in Web Portal routing scripts starting with 2.6.44) for an example.&lt;br /&gt;
&lt;br /&gt;
=== Recording the incoming call leg  ===&lt;br /&gt;
To record the incoming call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter:&lt;br /&gt;
&lt;br /&gt;
  bridge[ :record_incoming ]  = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Recording the outgoing call leg  ===&lt;br /&gt;
To record the outgoing call leg, the routing script (in a &amp;quot;after filter&amp;quot; for example) has to set the following parameter, per route (the decision to record or not, or the file name to record to, can be set per matching route):&lt;br /&gt;
&lt;br /&gt;
  # Need to clone the routes in order to have the right to modify them&lt;br /&gt;
  routes = clone_routes params[:routes]&lt;br /&gt;
  routes.each do |route|&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;&amp;quot;&lt;br /&gt;
  end&lt;br /&gt;
  # Store modified routes back to the parameters for this outgoing call&lt;br /&gt;
  params[:routes] = routes&lt;br /&gt;
&lt;br /&gt;
=== Record the outgoing call leg within incoming leg's recorded file (mixing)  ===&lt;br /&gt;
  [...]&lt;br /&gt;
    route[ :record_outgoing ]  = &amp;quot;@{MixWithIncoming}&amp;quot;&lt;br /&gt;
  [...]&lt;br /&gt;
&lt;br /&gt;
=== Choosing file path to record to  ===&lt;br /&gt;
The value assigned to &amp;quot;:record_incoming&amp;quot; or &amp;quot;:record_outgoing&amp;quot; is the path to record the file to.&lt;br /&gt;
&lt;br /&gt;
The paths can be absolute, or relative. When relative, they are relative to the &amp;quot;tbstreamserver&amp;quot; application working directory, for example:&lt;br /&gt;
  /lib/tb/toolpack/setup/12358/2.7/apps/tbstreamserver/&lt;br /&gt;
&lt;br /&gt;
* Empty file name will default to a name that contains various information about the call:&lt;br /&gt;
** ''LinkId'':     Id common between all legs of this call bridge&lt;br /&gt;
** ''LegId'':      Unique Id for this leg&lt;br /&gt;
** ''Nap'':        Current NAP name this call leg is from&lt;br /&gt;
** ''Direction'':  &amp;quot;IN&amp;quot; or &amp;quot;OUT&amp;quot; (depends if call leg is incoming or outgoing leg)&lt;br /&gt;
** ''Calling'':    The calling number of this call leg&lt;br /&gt;
** ''Called'':     The called number of this call leg&lt;br /&gt;
** ''Protocol'':   The signaling protocol of this call leg (SS7, ISDN, CAS, SIP)&lt;br /&gt;
** ''Media info'': Codec + IP/Port for SIP calls, Trunk/Timeslot for TDM calls&lt;br /&gt;
* To record outgoing call leg in the same audio file as incoming call leg (mixing), use the following:&lt;br /&gt;
** @{MixWithIncoming}: Record outgoing legs in same file as incoming legs&lt;br /&gt;
* Variables can be used to insert in the recording path information that's not already available from routing scripts:&lt;br /&gt;
** @{DefaultName}: Same file name (without parent folder path) as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{DefaultPath}: Same path as the one used when empty string is provided&lt;br /&gt;
*** Example: &amp;quot;recorded_calls/73EBA698-F3D67B4B-NAP_SS7-IN-5550000-5550001-SS7-TRUNK_BELL_11-24.wav&amp;quot;&lt;br /&gt;
*** Example: &amp;quot;recorded_calls/73EBA698-73EBA698-NAP_SIP-OUT-5550000-5550001-SIP-G723-10.3.10.101-1050.wav&amp;quot;&lt;br /&gt;
** @{LinkId}: Current LinkId (Id common between all legs of this call bridge)&lt;br /&gt;
*** Example: &amp;quot;73EBA698&amp;quot;&lt;br /&gt;
** @{LegId}: Current LegId (Unique Id for this leg)&lt;br /&gt;
*** Example: &amp;quot;F3D67B4B&amp;quot;&lt;br /&gt;
** @{Protocol}: Protocol type of current leg&lt;br /&gt;
*** Example: &amp;quot;SS7&amp;quot;&lt;br /&gt;
** @{Direction}: Direction of current leg (IN our OUT)&lt;br /&gt;
*** Example: &amp;quot;IN&amp;quot;&lt;br /&gt;
** @{PKG_HOME}: Path where packages are stored. Note: It's not recomended to use that path on redundant systems, package file replication may cause confusion in recorded files.&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/pkg&amp;quot;&lt;br /&gt;
** @{CURRENT_PKG}: Version of current package&lt;br /&gt;
*** Example: &amp;quot;2.6.45&amp;quot;&lt;br /&gt;
** @{PROMPT_PATH}: Default path where audio prompts are stored. Note: It's not recomended to use that path on redundant systems, package file replication may cause confusion in recorded files.&lt;br /&gt;
*** Example: &amp;quot;/lib/tb/toolpack/pkg/prompts&amp;quot;&lt;br /&gt;
** @{TBX_GW_PORT}: Current &amp;quot;System Id&amp;quot; (also called &amp;quot;Gateway Port&amp;quot;)&lt;br /&gt;
*** Example: &amp;quot;12358&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Call diversion options ==&lt;br /&gt;
It's possible to control the call flow when a call diversion information is received in the alerting state.&lt;br /&gt;
&lt;br /&gt;
Two fields are available: bridge[ :diversion ] and bridge[ :diversion_reason ]&lt;br /&gt;
&lt;br /&gt;
The internal release cause TOOLPACK_DIVERT_NOT_ALLOWED is used by gateway application to terminate both legs.&lt;br /&gt;
&lt;br /&gt;
  bridge[ :diversion ] = :allowed&lt;br /&gt;
The alert message will not be analyzed and the call will be progressed. Default behavior.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed&lt;br /&gt;
If the alert message indicates that the call is diverted, the call will be released no matter the In-band information to allow&lt;br /&gt;
early media.&lt;br /&gt;
  bridge[ :diversion ] = :not_allowed_w_early_media&lt;br /&gt;
The call will be released If the alert message indicates that the call is diverted with in-band information to allow early media.&lt;br /&gt;
  bridge[ :diversion_reason ] = &amp;quot;*&amp;quot;&lt;br /&gt;
If the diversion is not allowed, the gateway will drop the call for any redirecting reason. &lt;br /&gt;
  bridge[ :diversion_reason ] = []&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :busy&lt;br /&gt;
  bridge[ :diversion_reason ] &amp;lt;&amp;lt; :unconditional&lt;br /&gt;
If the diversion is not allowed, the redirecting reason will be analyzed and the call will only be dropped for the configured cases.&lt;br /&gt;
&lt;br /&gt;
See section [[Routing_script_tutorial:Mini_Development_Guide#Redirecting_number_reason_values|Redirecting number reason values]].&lt;br /&gt;
&lt;br /&gt;
== Reason values  ==&lt;br /&gt;
&lt;br /&gt;
Check here for Termination Reason Cause codes:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Termination_cause_codes|Termination Reason Cause codes]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Nap status  ==&lt;br /&gt;
&lt;br /&gt;
All the status fields of the NAPs are provided for use by the routing scripts. See the nap status provider for more details on which fields are available in the CEngineStatTransNap.hpp file. &lt;br /&gt;
&lt;br /&gt;
'''Notice:''' These values may change between major release. &lt;br /&gt;
&lt;br /&gt;
  #define NAP_STATS_FIELDS \&lt;br /&gt;
    /* Field,                                 szName,                            szDescription,                                        szOptions */ \&lt;br /&gt;
    ( SIGNALING_TYPE,                         &amp;quot;signaling_type&amp;quot;,                  &amp;quot;Signaling type.&amp;quot;,                                    &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( INCOMING_CALL_CNT,                      &amp;quot;inst_incoming_call_cnt&amp;quot;,          &amp;quot;Instantaneous Count of incoming calls.&amp;quot;,             &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( OUTGOING_CALL_CNT,                      &amp;quot;inst_outgoing_call_cnt&amp;quot;,          &amp;quot;Instantaneous Count of outgoing calls.&amp;quot;,             &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( AVAILABLE_CNT,                          &amp;quot;available_cnt&amp;quot;,                   &amp;quot;Number of available circuits or channels.&amp;quot;,          &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( UNAVAILABLE_CNT,                        &amp;quot;unavailable_cnt&amp;quot;,                 &amp;quot;Number of unavailable circuits or channels.&amp;quot;,        &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( AVAILABILITY_PCT,                       &amp;quot;availability_percent&amp;quot;,            &amp;quot;Percentage of available circuits or channels.&amp;quot;,      &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( USAGE_PCT,                              &amp;quot;usage_percent&amp;quot;,                   &amp;quot;Percentage of used circuits or channels.&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( TOTAL_INCOMING_CALL_CNT,                &amp;quot;total_incoming_call_cnt&amp;quot;,         &amp;quot;Total Count of incoming calls.&amp;quot;,                     &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( ASR_STRUCT,                             &amp;quot;asr_statistics_struct&amp;quot;,           &amp;quot;Detailed Answer-Seizure Rate Statistics.&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( GLOBAL_ASR_PCT,                       &amp;quot;global_asr_percent&amp;quot;,              &amp;quot;Global calculated ASR percentage.&amp;quot;,                  &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TOTAL_OUTGOING_CALL_CNT,              &amp;quot;total_outgoing_call_cnt&amp;quot;,         &amp;quot;Total Count of outgoing calls.&amp;quot;,                     &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( LAST_24H_ASR_PCT,                     &amp;quot;last_24h_asr_percent&amp;quot;,            &amp;quot;Last 24 hours calculated ASR percentage.&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( LAST_24H_OUTGOING_CALL_CNT,           &amp;quot;last_24h_outgoing_call_cnt&amp;quot;,      &amp;quot;Last 24 hours outgoing calls.&amp;quot;,                      &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( HOUR_ASR_PCT,                         &amp;quot;current_hour_asr_percent&amp;quot;,        &amp;quot;Current hour calculated ASR percentage.&amp;quot;,            &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( HOUR_OUTGOING_CALL_CNT,               &amp;quot;current_hour_outgoing_call_cnt&amp;quot;,  &amp;quot;Current hour outgoing calls.&amp;quot;,                       &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( LAST_HOUR_ASR_PCT,                    &amp;quot;last_hour_asr_percent&amp;quot;,           &amp;quot;Last hour calculated ASR percentage.&amp;quot;,               &amp;quot;&amp;quot; ) \&lt;br /&gt;
       ( LAST_HOUR_OUTGOING_CALL_CNT,         &amp;quot;last_hour_outgoing_call_cnt&amp;quot;,     &amp;quot;Last hour outgoing calls.&amp;quot;,                          &amp;quot;&amp;quot; ) \&lt;br /&gt;
    ( AVAILABILITY_DETECTION_STRUCT,          &amp;quot;availability_detection_struct&amp;quot;,   &amp;quot;Detailed availibility detection Statistics&amp;quot;,         &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( POLL_REMOTE_PROXY,                    &amp;quot;poll_remote_proxy&amp;quot;,               &amp;quot;Remote proxy polling enabled&amp;quot;,                       &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( IS_AVAILABLE,                         &amp;quot;is_available&amp;quot;,                    &amp;quot;Remote proxy actually available or not&amp;quot;,             &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_SINCE_POLLING,                   &amp;quot;time_since_polling&amp;quot;,              &amp;quot;Time since the last availibility polling&amp;quot;,           &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_AVAILABLE_SECONDS,               &amp;quot;time_available_seconds&amp;quot;,          &amp;quot;Number of seconds since the NAP is available&amp;quot;,       &amp;quot;x&amp;quot; ) \&lt;br /&gt;
      ( TIME_UNAVAILABLE_SECONDS,             &amp;quot;time_unavailable_seconds&amp;quot;,        &amp;quot;Number of seconds since the NAP is unavailable&amp;quot;,     &amp;quot;x&amp;quot; ) \&lt;br /&gt;
    ( REGISTRATION_STRUCT,                    &amp;quot;registration_struct&amp;quot;,             &amp;quot;Detailed registration Statistics&amp;quot;,                   &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( REGISTER_TO_PROXY,                    &amp;quot;register_to_proxy&amp;quot;,               &amp;quot;Register to proxy enabled&amp;quot;,                          &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( IS_REGISTERED,                        &amp;quot;registered&amp;quot;,                      &amp;quot;Actually registered or not&amp;quot;,                         &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_SINCE_REFRESH,                   &amp;quot;time_since_refresh&amp;quot;,              &amp;quot;Time since the last refresh&amp;quot;,                        &amp;quot;&amp;quot; ) \&lt;br /&gt;
      ( TIME_REGISTERED_SECONDS,              &amp;quot;time_registered_seconds&amp;quot;,         &amp;quot;Number of seconds since the NAP is registered&amp;quot;,      &amp;quot;x&amp;quot; ) \&lt;br /&gt;
      ( TIME_NOT_REGISTERED_SECONDS,          &amp;quot;time_not_registered_seconds&amp;quot;,     &amp;quot;Number of seconds since the NAP is not registered&amp;quot;,  &amp;quot;x&amp;quot; ) \&lt;br /&gt;
    /*!&amp;amp;lt; Nap Status Fields */&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; If the nap status is part of a substructure, it's name in the routing scripts must be composed of the structure name appended by an underscore and the field name. &lt;br /&gt;
&lt;br /&gt;
For example the name to use for the global [[ASR]] percentage is: &lt;br /&gt;
&lt;br /&gt;
  asr_statistics_struct_global_asr_percent&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; It is also possible to add dynamic nap attributes in the web portal. These can be referenced by their name. &lt;br /&gt;
&lt;br /&gt;
== Test parameters  ==&lt;br /&gt;
&lt;br /&gt;
=== @call_params  ===&lt;br /&gt;
&lt;br /&gt;
That variable should contain a hash of call parameters that will passed to the routing script. This is equivalent to the incoming call parameters. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== @nap_list  ===&lt;br /&gt;
&lt;br /&gt;
A list of hash containing the nap statuses. This is equivalent to the nap statuses at the time the call is to be routed. &lt;br /&gt;
&lt;br /&gt;
'''The nap list is hashed by the nap names in UPPERCASE.''' It is important to consider this when creating new dynamic route or nap attributes that may nap names that will be used to fetch a status. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
=== @params  ===&lt;br /&gt;
&lt;br /&gt;
A hash of hashes containing parameters. This hash contains bridge parameters and other kind of parameter groups may be added in the future. &lt;br /&gt;
&lt;br /&gt;
Example: @params = {:bridge =&amp;gt; {:announcement_tone, &amp;quot;announcement.wav&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; Back to [[Routing script tutorial|Routing Script Tutorial]].&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Modifying_Transit_Network_Selection_Filters_A</id>
		<title>Toolpack:Modifying Transit Network Selection Filters A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Modifying_Transit_Network_Selection_Filters_A"/>
				<updated>2013-01-16T18:15:01Z</updated>
		
		<summary type="html">&lt;p&gt;Manon Bélanger: Changes for support of good release reason&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.6, v2.7.''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Modifying Transit Network Selection Filters}}&lt;br /&gt;
&lt;br /&gt;
== Before filter ==&lt;br /&gt;
This filter is '''specific to SPIROU'''. In SPIROU, the Network Identification used for Transit Network Selection can be added at the beginning of the called number, when Nature Of Address (NOA) is set to '''&amp;quot;international number with transit network selection&amp;quot;''' or '''&amp;quot;national number with transit network selection&amp;quot;'''. This example works for Network Identification of 4 digits, modify it to match the number of digits in your specific network.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  # Specific to Spirou, remaps called nature of address, removes selection prefix &lt;br /&gt;
  # and uses it as the network_identification field&lt;br /&gt;
  # This example will work for selection prefixes of 4 digits, modify .slice!(0..3) according to &lt;br /&gt;
  # the length of the selection prefixes in your network&lt;br /&gt;
  def transit_network_selection_before_filter params&lt;br /&gt;
    #Reset value to false&lt;br /&gt;
    @route_rejected = false&lt;br /&gt;
&lt;br /&gt;
    call = params[:call]&lt;br /&gt;
    called_noa = call[:called_noa]&lt;br /&gt;
&lt;br /&gt;
    case called_noa&lt;br /&gt;
      when 'international_number_with_transit_network_selection'&lt;br /&gt;
        call[:called_noa] = 'international_number'&lt;br /&gt;
        call[:network_identification] = call[:called].slice!(0..3)&lt;br /&gt;
      when 'national_number_with_transit_network_selection'&lt;br /&gt;
        call[:called_noa] = 'national_number'&lt;br /&gt;
        call[:network_identification] = call[:called].slice!(0..3)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
  params&lt;br /&gt;
&lt;br /&gt;
  end &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Route match ==&lt;br /&gt;
This filter allows to match routes according to the network_identification column when Transit Network Selection (TNS) is present. Calls will be routed normally if the TNS IE is not present.&lt;br /&gt;
 &lt;br /&gt;
See [[Toolpack:Adding_Network_Identification_Column_To_Routes_A|Add Network Identification column to Routes]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  # Will only accept calls if no network identification is requested, or if &lt;br /&gt;
  # the network identification of the route matches with the requested one&lt;br /&gt;
  def transit_network_selection_route_match( route, call, nap_list )&lt;br /&gt;
    requested_network_id = call[:network_identification]&lt;br /&gt;
&lt;br /&gt;
    if requested_network_id.nil?&lt;br /&gt;
      return true&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    route_network_id = route[:network_identification]&lt;br /&gt;
&lt;br /&gt;
    if requested_network_id != route_network_id&lt;br /&gt;
      #Keep track if a route was rejected because of transit network selection, to return the good release cause&lt;br /&gt;
      @route_rejected = true&lt;br /&gt;
      return false&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return true&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== After filter ==&lt;br /&gt;
This filter removes the Transit Network Selection information from the route, after the information has been used to route the call. It also makes sure the correct release reason is sent when there is no route because no route matched the requested network identification. Do not use this filter if it is required to transmit the Transit Network Selection IE from the incoming leg to the outgoing leg.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #Test to send the good release reason if there is no route&lt;br /&gt;
  #Removes network identification, we do not want to transmit it in the outgoing call&lt;br /&gt;
  def transit_network_selection_after_filter params&lt;br /&gt;
    routes = params[ :routes ]&lt;br /&gt;
    #If no routes where found because routes were rejected for transit network selection, &lt;br /&gt;
    #raise an exception with the correct error code &lt;br /&gt;
    raise RoutingException, :invalid_transit_network if (routes.empty? &amp;amp;&amp;amp; @route_rejected == true)&lt;br /&gt;
    &lt;br /&gt;
    call = params[:call]&lt;br /&gt;
    call[:network_identification] = nil&lt;br /&gt;
&lt;br /&gt;
    params&lt;br /&gt;
&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Manon Bélanger</name></author>	</entry>

	</feed>