<?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=Alexandre+Tremblay</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=Alexandre+Tremblay"/>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Special:Contributions/Alexandre_Tremblay"/>
		<updated>2026-06-10T01:11:07Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<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-10-29T19:49:02Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added call-id, removed TelcoB-SipCallId&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;
| align=&amp;quot;center&amp;quot; | 141&amp;lt;br&amp;gt; &lt;br /&gt;
| call-id&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | String&amp;lt;br&amp;gt; &lt;br /&gt;
| SipCallId&lt;br /&gt;
| Content of the &amp;quot;call-id&amp;quot; SIP header&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-RemoteMediaIP &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-RemoteMediaPort &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; | IPAddr&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; | Integer&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; | String&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>Alexandre Tremblay</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-10-15T14:39:07Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added leg_id and session_id&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;
| 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 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_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_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 &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 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;
Any custom sip header can be added to an outgoing call leg:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;call[ :sip_header ] = [&amp;quot;P-my-custom-header:any value&amp;quot;]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many can be added at one time:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;call[ :sip_header ] = [&amp;quot;P-my-custom-header:value1&amp;quot;, &amp;quot;P-my-custom-header2:value2&amp;quot;, &amp;quot;P-my-custom-header3:value3&amp;quot;]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: It is not possible to read custom sip headers from inbound call legs.&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;
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;
  #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>Alexandre Tremblay</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-09-17T20:31:45Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Fixed attributes&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-RemoteMediaIP &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-RemoteMediaPort &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; | IPAddr&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; | Integer&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; | String&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>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A</id>
		<title>Toolpack:Enabling VoIP Bonding A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A"/>
				<updated>2013-07-08T19:14:13Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Fixed layout&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Enabling VoIP Bonding}}&lt;br /&gt;
&lt;br /&gt;
1- Access the telecom baseboard of the Tmedia unit:&lt;br /&gt;
:a. For TMG800 and TMG3200, access the unit using SSH, then connect to the telecom baseboard using telnet.&lt;br /&gt;
 telnet 172.31.1.1&lt;br /&gt;
:b. For other platforms, such as TMP800, TMP3200 and TMG7800, connect to the telecom baseboard directly using telnet and the eth0 IP address.&lt;br /&gt;
 telnet 10.3.2.21&lt;br /&gt;
&lt;br /&gt;
2- In the baseboard prompt, use the set_voip0bonding shell command to enable VoIP Bonding.&lt;br /&gt;
 set_voip0bonding &amp;lt;0|1&amp;gt; [IP_To_Ping] [Ping_Timeout] [Retries]&lt;br /&gt;
:Where:&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;0|1&amp;gt;&amp;lt;/code&amp;gt; selects if the feature is enabled (1 to enable). When the feature is enabled, the Ethernet PHY states are polled periodically to discover which port is available.&lt;br /&gt;
::&amp;lt;code&amp;gt;[IP_To_Ping]&amp;lt;/code&amp;gt; is the IP address to send ICMP echo requests to verify if a logical path is available. When no response is received within the requested timeout after the specified number of retries, the port is considered temporarly unusable and the other VoIP port is used instead.&lt;br /&gt;
::&amp;lt;code&amp;gt;[Ping_Timeout]&amp;lt;/code&amp;gt; is the ICMP echo request timeout.&lt;br /&gt;
::&amp;lt;code&amp;gt;[Retries]&amp;lt;/code&amp;gt; is the number of ICMP echo request retries to send before doing a switchover.&lt;br /&gt;
:Examples:&lt;br /&gt;
::&amp;lt;code&amp;gt;set_voip0bonding 1&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;set_voip0bonding 1 10.3.10.187 1000 1&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;set_voip0bonding 1 123.45.67.89 2500 3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3- Reboot the unit (note: this causes downtime).&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
4- (optional) After the reboot, access the telecom baseboard again and verify that the VoIP Bonding was successfully enabled:&lt;br /&gt;
 print_bonding&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A</id>
		<title>Toolpack:Enabling VoIP Bonding A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A"/>
				<updated>2013-07-08T17:32:55Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Changed instructions for connecting to the telecom baseboard&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Enabling VoIP Bonding}}&lt;br /&gt;
&lt;br /&gt;
1- Access the telecom baseboard of the Tmedia unit:&lt;br /&gt;
:a. For TMG800 and TMG3200, access the unit using SSH, then connect to the telecom baseboard using telnet.&lt;br /&gt;
 telnet 172.31.1.1&lt;br /&gt;
:b. For other platforms, such as TMP800, TMP3200 and TMG7800, connect to the telecom baseboard directly using telnet and the eth0 IP address.&lt;br /&gt;
 telnet 10.3.2.21&lt;br /&gt;
&lt;br /&gt;
2- In the baseboard prompt, use the set_voip0bonding shell command to enable VoIP Bonding.&lt;br /&gt;
 set_voip0bonding &amp;lt;0|1&amp;gt; [IP_To_Ping] [Ping_Timeout] [Retries]&lt;br /&gt;
 Where:&lt;br /&gt;
   &amp;lt;0|1&amp;gt; selects if the feature is enabled (1 to enable). When the feature is enabled, the Ethernet PHY states are polled periodically to discover which port is available.&lt;br /&gt;
   [IP_To_Ping] is the IP address to send ICMP echo requests to verify if a logical path is available. When no response is received within the requested timeout after the specified number of retries, the port is considered temporarly unusable and the other VoIP port is used instead.&lt;br /&gt;
   [Ping_Timeout] is the ICMP echo request timeout.&lt;br /&gt;
   [Retries] is the number of ICMP echo request retries to send before doing a switchover.&lt;br /&gt;
 Examples:&lt;br /&gt;
   set_voip0bonding 1&lt;br /&gt;
   set_voip0bonding 1 10.3.10.187 1000 1&lt;br /&gt;
   set_voip0bonding 1 123.45.67.89 2500 3&lt;br /&gt;
&lt;br /&gt;
3- Reboot the unit (note: this causes downtime).&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
4- (optional) After the reboot, access the telecom baseboard again and verify that the VoIP Bonding was successfully enabled:&lt;br /&gt;
 print_bonding&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Tctrl_Version_2.7</id>
		<title>Tctrl Version 2.7</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Tctrl_Version_2.7"/>
				<updated>2013-07-08T17:07:31Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added link to VoIP Bonding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Features  ==&lt;br /&gt;
&lt;br /&gt;
The [[TMG-CONTROL]] provides the following [[:category:Tmedia Features|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;&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(200, 200, 200);&amp;quot; | Features &lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(200, 200, 200);&amp;quot; | Enhancement'''&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;''' &lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(200, 200, 200);&amp;quot; | Minor Release&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;800&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; colspan=&amp;quot;3&amp;quot; | TMG Product&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[N+1]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | -&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[Symmetric_NAT_Traversal|NAT Traversal]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 5656&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[Lawful_intercept|Lawful Intercept]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 12894&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[RADIUS AAA]] (authorization and authentication support)&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 7984&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | Outgoing COT testing&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 8710&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[VoIP_Bonding|VoIP Bonding]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 14595&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.30&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;800&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; colspan=&amp;quot;3&amp;quot; | Fax&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[SPIROU|SS7 SPIROU variant]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 6337&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[NSE]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 12665&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;800&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; colspan=&amp;quot;3&amp;quot; | OAM&amp;amp;P&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[Web Profile]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | -&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[Test_Call|Test Call]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | -&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[Target_Recording|Target Recording]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | -&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[System_Statistics|System Statistics]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | -&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[Users|User authentication and permissions]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | -&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[Audit_Log|Audit Logs]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 10838&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.26&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;800&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; colspan=&amp;quot;3&amp;quot; | Development Platform&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[CAF:_Working_With_Caf_Call_Legs|Mixing API]] (for conferencing and other functions)&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 4850&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.12&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;800&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; colspan=&amp;quot;3&amp;quot; | New Products&lt;br /&gt;
|-&lt;br /&gt;
! width=&amp;quot;500&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255); text-align:left;&amp;quot; | [[TM3000]]&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | -&lt;br /&gt;
! width=&amp;quot;150&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(255, 255, 255);&amp;quot; | 2.7.15&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;] Customer's RFC (Request For Change) tracking number. &amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A</id>
		<title>Toolpack:Enabling VoIP Bonding A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A"/>
				<updated>2013-07-08T17:05:00Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Enabling VoIP Bonding}}&lt;br /&gt;
&lt;br /&gt;
1- Access the Tmedia unit using SSH.&lt;br /&gt;
&lt;br /&gt;
2- Access the telecom baseboard from the Tmedia using telnet. &lt;br /&gt;
 telnet 172.31.1.1&lt;br /&gt;
&lt;br /&gt;
3- In the baseboard prompt, use the set_voip0bonding shell command to enable VoIP Bonding.&lt;br /&gt;
 set_voip0bonding &amp;lt;0|1&amp;gt; [IP_To_Ping] [Ping_Timeout] [Retries]&lt;br /&gt;
 Where:&lt;br /&gt;
   &amp;lt;0|1&amp;gt; selects if the feature is enabled (1 to enable). When the feature is enabled, the Ethernet PHY states are polled periodically to discover which port is available.&lt;br /&gt;
   [IP_To_Ping] is the IP address to send ICMP echo requests to verify if a logical path is available. When no response is received within the requested timeout after the specified number of retries, the port is considered temporarly unusable and the other VoIP port is used instead.&lt;br /&gt;
   [Ping_Timeout] is the ICMP echo request timeout.&lt;br /&gt;
   [Retries] is the number of ICMP echo request retries to send before doing a switchover.&lt;br /&gt;
 Examples:&lt;br /&gt;
   set_voip0bonding 1&lt;br /&gt;
   set_voip0bonding 1 10.3.10.187 1000 1&lt;br /&gt;
   set_voip0bonding 1 123.45.67.89 2500 3&lt;br /&gt;
&lt;br /&gt;
4- Reboot the unit (note: this causes downtime).&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
5- (optional) After the reboot, access the telecom baseboard again and verify that the VoIP Bonding was successfully enabled:&lt;br /&gt;
 print_bonding&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A</id>
		<title>Toolpack:Enabling VoIP Bonding A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A"/>
				<updated>2013-07-08T16:59:53Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added step to verify changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Enabling VoIP Bonding}}&lt;br /&gt;
&lt;br /&gt;
1- Access the Tmedia unit using SSH.&lt;br /&gt;
&lt;br /&gt;
2- Access the telecom baseboard from the Tmedia using telnet. &lt;br /&gt;
  telnet 172.31.1.1&lt;br /&gt;
&lt;br /&gt;
3- In the baseboard prompt, use the set_voip0bonding shell command to enable VoIP Bonding.&lt;br /&gt;
  set_voip0bonding &amp;lt;0|1&amp;gt; [IP_To_Ping] [Ping_Timeout] [Retries]&lt;br /&gt;
  Where:&lt;br /&gt;
    &amp;lt;0|1&amp;gt; selects if the feature is enabled (1 to enable). When the feature is enabled, the Ethernet PHY states are polled periodically to discover which port is available.&lt;br /&gt;
    [IP_To_Ping] is the IP address to send ICMP echo requests to verify if a logical path is available. When no response is received within the requested timeout after the specified number of retries, the port is considered temporarly unusable and the other VoIP port is used instead.&lt;br /&gt;
    [Ping_Timeout] is the ICMP echo request timeout.&lt;br /&gt;
    [Retries] is the number of ICMP echo request retries to send before doing a switchover.&lt;br /&gt;
  Examples:&lt;br /&gt;
    set_voip0bonding 1&lt;br /&gt;
    set_voip0bonding 1 10.3.10.187 1000 1&lt;br /&gt;
    set_voip0bonding 1 123.45.67.89 2500 3&lt;br /&gt;
&lt;br /&gt;
4- Reboot the unit (note: this causes downtime).&lt;br /&gt;
  reboot&lt;br /&gt;
&lt;br /&gt;
5- (optional) After the reboot, access the telecom baseboard again and verify that the VoIP Bonding was successfully enabled:&lt;br /&gt;
  print_bonding&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/VoIP_Bonding</id>
		<title>VoIP Bonding</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/VoIP_Bonding"/>
				<updated>2013-07-08T16:55:35Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Changed wording for voip0 usage&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;VoIP Bonding refers to the capability of Tmedia units to use the two available VoIP Ethernet ports as a bonding pair. When the active port becomes unusable (cable disconnected, limited connectivity), the other port is used to transport Ethernet traffic.&lt;br /&gt;
&lt;br /&gt;
Starting with Toolpack release 2.7.30, VoIP Bonding is available as a feature for Tmedia units. Detection of offline ports is currently achieved through two methods:&lt;br /&gt;
# Ethernet PHY polling to quickly discover if a cable is connected or not to the unit;&lt;br /&gt;
# Sending IPv4 ping requests to a known host to ensure that a logical IP path is available to the unit.&lt;br /&gt;
&lt;br /&gt;
The voip0 (first VoIP port) MAC and IP addresses are used on both VoIP ports of the Tmedia unit when VoIP bonding is activated. However, in that mode, the voip1 port MAC and IP address are not usable (i.e. protocol stacks assigned to voip1 will not work and voip1 will not respond to ICMP requests). Therefore, to bind services and stacks (such as SIP, SIGTRAN and port ranges), the voip0 port must be assigned to them.&lt;br /&gt;
&lt;br /&gt;
The VoIP Bonding feature also makes the Tmedia units report the bonding state as the voip0 port state. For instance, the IPv4 statistics reported by the Web Portal for voip0 are actually for the bonding pair. The PHY state is also for the bonding pair (so it would only be down if both voip ports are down). To know the true state of the physical voip0 and voip1 ports, the SNMP protocol must be used.&lt;br /&gt;
&lt;br /&gt;
The feature has no effect on Virtual IP Interfaces configured in the Web Portal. Virtual IP Interfaces configured on either voip0 or voip1 physical ports still work exactly the same whether VoIP Bonding is activated.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
*[[Web_Portal_Tutorial_Guide_v2.7#VoIP_Bonding|Toolpack 2.7: VoIP Bonding]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A</id>
		<title>Toolpack:Enabling VoIP Bonding A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Enabling_VoIP_Bonding_A"/>
				<updated>2013-07-08T16:36:36Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Enabling VoIP Bonding}}&lt;br /&gt;
&lt;br /&gt;
1- Access the Tmedia unit using SSH.&lt;br /&gt;
&lt;br /&gt;
2- Access the telecom baseboard from the Tmedia using telnet. &lt;br /&gt;
  telnet 172.31.1.1&lt;br /&gt;
&lt;br /&gt;
3- In the baseboard prompt, use the set_voip0bonding shell command to enable VoIP Bonding.&lt;br /&gt;
  set_voip0bonding &amp;lt;0|1&amp;gt; [IP_To_Ping] [Ping_Timeout] [Retries]&lt;br /&gt;
  Where:&lt;br /&gt;
    &amp;lt;0|1&amp;gt; selects if the feature is enabled (1 to enable). When the feature is enabled, the Ethernet PHY states are polled periodically to discover which port is available.&lt;br /&gt;
    [IP_To_Ping] is the IP address to send ICMP echo requests to verify if a logical path is available. When no response is received within the requested timeout after the specified number of retries, the port is considered temporarly unusable and the other VoIP port is used instead.&lt;br /&gt;
    [Ping_Timeout] is the ICMP echo request timeout.&lt;br /&gt;
    [Retries] is the number of ICMP echo request retries to send before doing a switchover.&lt;br /&gt;
  Examples:&lt;br /&gt;
    set_voip0bonding 1&lt;br /&gt;
    set_voip0bonding 1 10.3.10.187 1000 1&lt;br /&gt;
    set_voip0bonding 1 123.45.67.89 2500 3&lt;br /&gt;
&lt;br /&gt;
4- Reboot the unit (note: this causes downtime).&lt;br /&gt;
  reboot&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Ip_Teaming/Ip_Bonding</id>
		<title>Ip Teaming/Ip Bonding</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Ip_Teaming/Ip_Bonding"/>
				<updated>2013-07-08T16:36:10Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Changed page for redirect to VoIP Bonding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[VoIP Bonding]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/VoIP_Bonding</id>
		<title>VoIP Bonding</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/VoIP_Bonding"/>
				<updated>2013-07-08T15:31:38Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added link to Web Portal Tutorial Guide&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;VoIP Bonding refers to the capability of Tmedia units to use the two available VoIP Ethernet ports as a bonding pair. When the active port becomes unusable (cable disconnected, limited connectivity), the other port is used to transport Ethernet traffic.&lt;br /&gt;
&lt;br /&gt;
Starting with Toolpack release 2.7.30, VoIP Bonding is available as a feature for Tmedia units. Detection of offline ports is currently achieved through two methods:&lt;br /&gt;
# Ethernet PHY polling to quickly discover if a cable is connected or not to the unit;&lt;br /&gt;
# Sending IPv4 ping requests to a known host to ensure that a logical IP path is available to the unit.&lt;br /&gt;
&lt;br /&gt;
The voip0 (first VoIP port) MAC and IP addresses are used on both VoIP ports of the Tmedia unit when VoIP bonding is activated. However, in that mode, the voip1 port MAC and IP address are not usable (i.e. protocol stacks assigned to voip1 will not work and voip1 will not respond to ICMP requests).&lt;br /&gt;
&lt;br /&gt;
The VoIP Bonding feature also makes the Tmedia units report the bonding state as the voip0 port state. For instance, the IPv4 statistics reported by the Web Portal for voip0 are actually for the bonding pair. The PHY state is also for the bonding pair (so it would only be down if both voip ports are down). To know the true state of the physical voip0 and voip1 ports, the SNMP protocol must be used.&lt;br /&gt;
&lt;br /&gt;
The feature has no effect on Virtual IP Interfaces configured in the Web Portal. Virtual IP Interfaces configured on either voip0 or voip1 physical ports still work exactly the same whether VoIP Bonding is activated.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
*[[Web_Portal_Tutorial_Guide_v2.7#VoIP_Bonding|Toolpack 2.7: VoIP Bonding]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Web_Portal_Tutorial_Guide_v2.7</id>
		<title>Web Portal Tutorial Guide v2.7</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Web_Portal_Tutorial_Guide_v2.7"/>
				<updated>2013-07-08T15:29:44Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added VoIP Bonding&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
This guide is designed to provide users with a scenario-based approach to installing  [[Tmedia]] and [[Tdev]] systems, using the Web Portal configuration tool. This means that users must first go through the steps that are general to all installations, and subsequently follow the instructions that are specific to their particular application scenario (this corresponds to the type of service, and hardware system being set up).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
This document assumes that the [[Tmedia]] or [[Tdev]] devices are installed as described in their Quick Reference Guides, and in the case of the Tmedia system communication has been established with the control network.&lt;br /&gt;
&lt;br /&gt;
(Note: Tmedia devices are shipped with the Tmedia Web Portal pre-installed, while Tdev devices require that Toolpack be installed as described in the [[Tmedia_Installation#Tdev|Tdev installation guides]].)&lt;br /&gt;
&lt;br /&gt;
Furthermore, in the case of a Tdev device and the initial configuration of the [[Toolpack]] application server, the following will have been provided:&lt;br /&gt;
*The Tdev device to which the Web Portal will first connect.&lt;br /&gt;
*The Tdev device will have been pre-configured with its physical TDM interface.&lt;br /&gt;
*The serial number of the Tdev device will have been entered into the configuration file.&lt;br /&gt;
*The application software for the Tdev device will have been pre-installed on the Toolpack application server, as described in the [[Tmedia_Installation#Tdev|Tdev installation guides]].&lt;br /&gt;
&lt;br /&gt;
This document also assumes familiarity with topics, such as [[ISDN]] signaling, [[SIP]] signaling, [[SS7]], [[CAS|CAS R2]] signaling, and [[SIGTRAN]] signaling.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Key Concepts==&lt;br /&gt;
*'''System:''' A system is defined as the complete solution that is designed for a network. If a system solution is comprised of 4 TMP6400’s and a TMS1600, then the combination of these TelcoBridges devices is termed a system.&lt;br /&gt;
*'''Hardware:''' Each TelcoBridges devices, whether it is a TMP6400, TMG3200, or TMS1600 is referred to as a hardware device or hardware adapter.&lt;br /&gt;
*'''Line Interface:''' The physical TDM module installed on the TelcoBridges device is referred to as a line interface.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General Web Portal Applications ==&lt;br /&gt;
&lt;br /&gt;
'''''IMPORTANT!''''' The Topics covered in the following table are common to &amp;lt;u&amp;gt;all&amp;lt;/u&amp;gt; TMedia installations. Therefore, this section should be consulted before moving on to any other. &lt;br /&gt;
&lt;br /&gt;
'''Topics covered here:''' &lt;br /&gt;
&lt;br /&gt;
=System=&lt;br /&gt;
&lt;br /&gt;
==Access and User Management==&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; rowspan=&amp;quot;2&amp;quot; | Web Portal Access&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; colspan=&amp;quot;3&amp;quot;| User Management&lt;br /&gt;
|-&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 User&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; | Modify User Permission&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; | Delete User&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Connecting to the Web Server and logging on to the web portal A|Connect to the Web Portal]] &lt;br /&gt;
*[[Toolpack:Logging Off B|Logging Off]]&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Creating User Groups A|Creating User Groups]]&lt;br /&gt;
*[[Toolpack:Creating Users B|Creating Users]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
&lt;br /&gt;
*[[Modify User Permission]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
&lt;br /&gt;
*[[Delete User]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Database Backup==&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; | Create Database Backup&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; | Restore Database&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Database Backup B|Carrying out a First Database Backup]]&lt;br /&gt;
*[[Toolpack:Downloading a Database Backup B|Downloading a Database Backup]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Uploading a Database Backup B|Uploading a Database Backup]]&lt;br /&gt;
*[[Toolpack:Restoring a Database Backup B|Restoring a Database Backup]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Configuration==&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; | Activating a Configuration&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; | Web Portal Profile&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Activating_the_Configuration B|Activating the Configuration]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Web_Portal_Profile A|Web Portal Profile]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Minor Package Upgrade&amp;quot;&amp;gt;&lt;br /&gt;
==Minor Package Upgrade==&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; | Installing a Package&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Downloading_a_Release_A|Retrieving a software release]]&lt;br /&gt;
*[[Toolpack:Uploading_a_Release_A|Uploading a software release]]&lt;br /&gt;
*[[Toolpack:Activating_a_Release_A|Activating a software release]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Statistics==&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; | Configuration&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; | Profile&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; | Graphs&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* [[Toolpack:Configuring_Statistics_A|Configuring Statistics Polling]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* [[Toolpack:Creating_Statistics_Profile_A|Creating Statistics Profiles]]&lt;br /&gt;
* [[Toolpack:Enabling_Statistics_Profile_A|Enabling Statistics Profiles]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* [[Toolpack:Generating_Graphs_A|Generating Graphs]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Audit Logs==&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; | Audit Logs&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Accessing_Audit_Logs_A|Working with Audit Logs]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==VoIP Bonding==&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; | VoIP Bonding&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Enabling_VoIP_Bonding_A|Enabling VoIP Bonding]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Hardware=&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 TMS 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;
! 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 N+1 group&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_Adapter_C|Add telecom hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_an_TMS_B|Add TMS hardware]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_1+1_Group_A|Add 1+1 group]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_N+1_Group_A|Add N+1 group]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==TDM Network==&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;System Clock&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create Line Interfaces]] &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create Line Services]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Defining_a_Clocking_Source_B|System Clock]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==IP Network==&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; | (Step 1) &amp;lt;br&amp;gt;IP Interfaces&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; | Create an IP port range&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_VoIP_Interfaces B|Configuring VoIP Interfaces]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range A|Create an IP port range]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Protocol Stacks=&lt;br /&gt;
&lt;br /&gt;
==ISDN NFAS==&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;
&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configure ISDN-PRI Signaling&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; | (Step 3) &amp;lt;br&amp;gt;Modify NAP profile&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; | (Step 4) &amp;lt;br&amp;gt;Configure Network Access Points (NAPs)&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create Line interfaces]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create Line Services]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configuring_an_ISDN_Stack C|Configure an ISDN stack]]&lt;br /&gt;
OR&amp;lt;br/&amp;gt;&lt;br /&gt;
*[[Toolpack:Configuraing_NFAS A|Configure NFAS]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modify_NAP_profile B|Modify profile]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Allocating_an_ISDN_Network_Access_Point_(NAP) C|Allocate an ISDN NAP]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''ISDN Advanced Features''===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;ISDN NFAS Overlap&amp;quot; data-expandtext=&amp;quot;ISDN NFAS Overlap&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&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;
! 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; |ISDN Overlap Sending&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Configuring_Overlap A|''ISDN NFAS Overlap Parameters'']]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==CASR2==&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;
&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configuring a CAS R2 stack&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; | (Step 3) &amp;lt;br&amp;gt;Modify NAP profile&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; | (Step 4) &amp;lt;br&amp;gt;Configure Network Access Points (NAPs)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create Line Interfaces]] &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create Line services]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Copy variant script B|Copy variant script]]&lt;br /&gt;
*[[Toolpack:Create CAS R2 stack B|Create CAS R2 stack]]&lt;br /&gt;
*[[Toolpack:Setting CAS R2 BACK DIGITS variable B|Set backward digits string]] &lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modify_NAP_profile B|Modify profile]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_CAS_R2_NAP B|Create a CASR2 NAP]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==''SIP''==&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; | (Step 1) &amp;lt;br&amp;gt;Configure IP port range&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; | (Step 2) &amp;lt;br&amp;gt;Configure SIP Signaling&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; | (Step 3) &amp;lt;br&amp;gt;Configure Codecs and Tone Detection&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; | (Step 4) &amp;lt;br&amp;gt;Modify NAP profile&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; | (Step 5) &amp;lt;br&amp;gt;Configure Network Access Points (NAPs)&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range A|Create an IP port range]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_a_SIP_Stack A|Create a SIP stack]]&lt;br /&gt;
*[[Toolpack:Creating_a_SIP_Transport_Server A|Create a SIP transport server]]&lt;br /&gt;
*[[Toolpack:Creating_a_Service_Access_Point_(SAP) A|Create a service access point (SAP)]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Accessing_Codec_and_Tone_Detection_Profiles_and_Validating_Settings A|Access profiles and validate settings]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modify_NAP_profile B|Modify profile]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Allocating_a_SIP_Network_Access_Point_(NAP) A|Allocate a SIP NAP]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''SIP Advanced Features''===&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;SIP-I SIP-T&amp;quot; data-expandtext=&amp;quot;SIP-I SIP-T&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;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; | SIP-I SIP-T&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Enabling_SIP_I_SIP_T_A|Enabling SIP-I SIP-T]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;SIP Spiral&amp;quot; data-expandtext=&amp;quot;SIP Spiral&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;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; | SIP Spiral&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Enabling_SIP_Spiral_A|Enabling SIP Spiral]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;NAT traversal&amp;quot; data-expandtext=&amp;quot;NAT traversal&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;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; | Remote NAT Traversal&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; | Local NAT Traversal&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Enabling_Remote_NAT_Traversal_A|Enabling Remote NAT Traversal]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Enabling_Local_NAT_Traversal_A|Enabling Local NAT Traversal]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==SS7 ISUP==&lt;br /&gt;
&lt;br /&gt;
===''MTP2-MTP3-ISUP''===&lt;br /&gt;
&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configuring the MTP2 Layer &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; | (Step 3) &amp;lt;br&amp;gt;Configuring the MTP3 Layer&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; | (Step 4) &amp;lt;br&amp;gt;Configuring the ISUP Layer&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; | (Step 5) &amp;lt;br&amp;gt;Modify NAP profile&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; | (Step 6) &amp;lt;br&amp;gt;Configure Network Access Points (NAPs)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create a new line interface]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create a new line service]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_an_MTP2_Configuration A|Create an MTP2 Configuration]]&lt;br /&gt;
*[[Toolpack:Creating_MTP2_Links A|Create an MTP2 Link]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Configuration B|Create an MTP3 Configuration]]&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Network A|Create an MTP3 Network]]&lt;br /&gt;
**[[Toolpack:Creating_SS7_Point_Codes A|Create an MTP3 Point Code]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Linkset A|Create an MTP3 Linkset]]&lt;br /&gt;
***[[Toolpack:Creating_MTP3_Links A|Create MTP3 Links]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Route A|Create an MTP3 Route]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Stack A|Create an ISUP Stack]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Network A|Create an ISUP Network]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_User_Part A|Create an ISUP User Part]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Interface A|Create an ISUP Interface]]&lt;br /&gt;
*[[Toolpack:Creating ISUP CIC Groups A|Create ISUP CIC Groups]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modify_NAP_profile B|Modify profile]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_NAP_(SIGTRAN)_A|Create an ISUP NAP]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''M2PA-MTP3-ISU''P===&lt;br /&gt;
&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configuring the M2PA Layer &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; | (Step 3) &amp;lt;br&amp;gt;Configuring the MTP3 Layer&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; | (Step 4) &amp;lt;br&amp;gt;Configuring the ISUP Layer&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; | (Step 5) &amp;lt;br&amp;gt;Modify NAP profile&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; | (Step 6) &amp;lt;br&amp;gt;Configure Network Access Points (NAPs)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create a new line interface]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create a new line service]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating the SCTP Configuration A|Edit the SCTP Configuration]] &lt;br /&gt;
*[[Toolpack:Creating the M2PA Configuration A|Create an M2PA Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an M2PA SAP A|Create an M2PA SAP]] &lt;br /&gt;
**[[Toolpack:Adding M2PA Links A|Add M2PA Links]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Configuration B|Create an MTP3 Configuration]]&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Network A|Create an MTP3 Network]]&lt;br /&gt;
**[[Toolpack:Creating_SS7_Point_Codes A|Create an MTP3 Point Code]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Linkset A|Create an MTP3 Linkset]]&lt;br /&gt;
***[[Toolpack:Creating_MTP3_Links A|Create MTP3 Links]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Route A|Create an MTP3 Route]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Stack A|Create an ISUP Stack]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Network A|Create an ISUP Network]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_User_Part A|Create an ISUP User Part]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Interface A|Create an ISUP Interface]]&lt;br /&gt;
*[[Toolpack:Creating ISUP CIC Groups A|Create ISUP CIC Groups]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modify_NAP_profile B|Modify profile]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_NAP_(SIGTRAN)_A|Create an ISUP NAP]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''M3UA-ISUP''===&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configuring the M3UA Layer &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; | (Step 3) &amp;lt;br&amp;gt;Configuring the ISUP Layer&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; | (Step 4) &amp;lt;br&amp;gt;Modify NAP profile&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; | (Step 5) &amp;lt;br&amp;gt;Configure Network Access Points (NAPs)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create a new line interface]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create a new line service]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating the SCTP Configuration A|Edit the SCTP Configuration]] &lt;br /&gt;
*[[Toolpack:Creating SS7 Point Codes A|Create SS7 Point Codes]] &lt;br /&gt;
*[[Toolpack:Creating an M3UA Configuration (IPSP) A|Create an M3UA Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA SAP A|Create an M3UA SAP]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Network A|Create an M3UA Network]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA User Part A|Create an M3UA User Part]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Peer Signalling Process (IPSP) A|Create an M3UA Peer Signalling Process]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Peer Server A|Create an M3UA Peer Server]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Route A|Create an M3UA Route]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Stack A|Create an ISUP Stack]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Network A|Create an ISUP Network]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_User_Part A|Create an ISUP User Part]]&lt;br /&gt;
*[[Toolpack:Creating_an_ISUP_Interface A|Create an ISUP Interface]]&lt;br /&gt;
*[[Toolpack:Creating ISUP CIC Groups A|Create ISUP CIC Groups]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modify_NAP_profile B|Modify profile]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_NAP_(SIGTRAN)_A|Create an ISUP NAP]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===SS7 Advanced Features===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; data-collapsetext=&amp;quot;SS7 SPIROU configuration&amp;quot; data-expandtext=&amp;quot;SS7 SPIROU configuration&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;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; | Configuring SPIROU&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modifying_Profile_for_SPIROU A|Modifying Profile]]&lt;br /&gt;
*[[Toolpack:Modifying_Gateway_Configurations_for_SPIROU A|Modifying Gateway Configurations]]&lt;br /&gt;
*[[Toolpack:Modifying_ISUP_Stack_for_SPIROU A|Modifying ISUP Stack]]&lt;br /&gt;
*[[Toolpack:Modifying_ISUP_Userpart_for_SPIROU A|Modifying ISUP Userpart]]&lt;br /&gt;
*[[Toolpack:Optional_configurations_for_SPIROU A|Optional modifications]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==''SCCP-TCAP''==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===''MTP2-MTP3-SCCP-TCAP''===&lt;br /&gt;
&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configuring the MTP2 Layer &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; | (Step 3) &amp;lt;br&amp;gt;Configuring the MTP3 Layer&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; | (Step 4) &amp;lt;br&amp;gt;Configuring the SCCP Layer&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; | (Step 5) &amp;lt;br&amp;gt;Configuring the TCAP Layer (optional)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create a new line interface]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create a new line service]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_an_MTP2_Configuration A|Create an MTP2 Configuration]]&lt;br /&gt;
*[[Toolpack:Creating_MTP2_Links A|Create an MTP2 Link]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Configuration B|Create an MTP3 Configuration]]&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Network A|Create an MTP3 Network]]&lt;br /&gt;
**[[Toolpack:Creating_SS7_Point_Codes A|Create an MTP3 Point Code]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Linkset A|Create an MTP3 Linkset]]&lt;br /&gt;
***[[Toolpack:Creating_MTP3_Links A|Create MTP3 Links]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Route A|Create an MTP3 Route]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_Stack A| Create an SCCP Stack]]&lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_Network A|Create an SCCP Network]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_Userpart A|Create an SCCP Userpart]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_LSAP A|Create an SCCP LSAP]]&lt;br /&gt;
***[[Toolpack:Creating_an_SCCP_Route A|Create an SCCP Route]]&lt;br /&gt;
****[[Toolpack:Creating_an_SCCP_SSN A|Create an SCCP SSN]]&lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_GTT_Association A|Create an SCCP GTT Association]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_GTT_Address_Map A|Create an SCCP GTT Address Map]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_TCAP_Stack A|Create a TCAP Stack]]&lt;br /&gt;
**[[Toolpack:Creating_a_TCAP_Userpart A| Create a TCAP Userpart]]&lt;br /&gt;
*[[Toolpack:Activating_the_Configuration A|Activating the Configuration]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''M2PA-MTP3-SCCP-TCAP''===&lt;br /&gt;
&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configuring the M2PA Layer &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; | (Step 3) &amp;lt;br&amp;gt;Configuring the MTP3 Layer&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; | (Step 4) &amp;lt;br&amp;gt;Configuring the SCCP Layer&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; | (Step 5) &amp;lt;br&amp;gt;Configuring the TCAP Layer (optional)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create a new line interface]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create a new line service]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating the SCTP Configuration A|Edit the SCTP Configuration]] &lt;br /&gt;
*[[Toolpack:Creating the M2PA Configuration A|Create an M2PA Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an M2PA SAP A|Create an M2PA SAP]] &lt;br /&gt;
**[[Toolpack:Adding M2PA Links A|Add M2PA Links]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Configuration B|Create an MTP3 Configuration]]&lt;br /&gt;
*[[Toolpack:Creating_an_MTP3_Network A|Create an MTP3 Network]]&lt;br /&gt;
**[[Toolpack:Creating_SS7_Point_Codes A|Create an MTP3 Point Code]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Linkset A|Create an MTP3 Linkset]]&lt;br /&gt;
***[[Toolpack:Creating_MTP3_Links A|Create MTP3 Links]]&lt;br /&gt;
**[[Toolpack:Creating_an_MTP3_Route A|Create an MTP3 Route]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_Stack A| Create an SCCP Stack]]&lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_Network A|Create an SCCP Network]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_Userpart A|Create an SCCP Userpart]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_LSAP A|Create an SCCP LSAP]]&lt;br /&gt;
***[[Toolpack:Creating_an_SCCP_Route A|Create an SCCP Route]]&lt;br /&gt;
****[[Toolpack:Creating_an_SCCP_SSN A|Create an SCCP SSN]]&lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_GTT_Association A|Create an SCCP GTT Association]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_GTT_Address_Map A|Create an SCCP GTT Address Map]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_TCAP_Stack A|Create a TCAP Stack]]&lt;br /&gt;
**[[Toolpack:Creating_a_TCAP_Userpart A| Create a TCAP Userpart]]&lt;br /&gt;
*[[Toolpack:Activating_the_Configuration A|Activating the Configuration]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''M3UA-SCCP-TCAP''===&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Configuring the M3UA Layer &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; | (Step 3) &amp;lt;br&amp;gt;Configuring the SCCP Layer&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; | (Step 4) &amp;lt;br&amp;gt;Configuring the TCAP Layer (optional)&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create a new line interface]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create a new line service]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating the SCTP Configuration A|Edit the SCTP Configuration]] &lt;br /&gt;
*[[Toolpack:Creating SS7 Point Codes A|Create SS7 Point Codes]] &lt;br /&gt;
*[[Toolpack:Creating an M3UA Configuration (IPSP) A|Create an M3UA Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA SAP A|Create an M3UA SAP]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Network A|Create an M3UA Network]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA User Part A|Create an M3UA User Part]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Peer Signalling Process (IPSP) A|Create an M3UA Peer Signalling Process]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Peer Server A|Create an M3UA Peer Server]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Route A|Create an M3UA Route]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_Stack A| Create an SCCP Stack]]&lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_Network A|Create an SCCP Network]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_Userpart A|Create an SCCP Userpart]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_LSAP A|Create an SCCP LSAP]]&lt;br /&gt;
***[[Toolpack:Creating_an_SCCP_Route A|Create an SCCP Route]]&lt;br /&gt;
****[[Toolpack:Creating_an_SCCP_SSN A|Create an SCCP SSN]]&lt;br /&gt;
*[[Toolpack:Creating_an_SCCP_GTT_Association A|Create an SCCP GTT Association]]&lt;br /&gt;
**[[Toolpack:Creating_an_SCCP_GTT_Address_Map A|Create an SCCP GTT Address Map]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_TCAP_Stack A|Create a TCAP Stack]]&lt;br /&gt;
**[[Toolpack:Creating_a_TCAP_Userpart A| Create a TCAP Userpart]]&lt;br /&gt;
*[[Toolpack:Activating_the_Configuration A|Activating the Configuration]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==''H.248 MEGACO''==&lt;br /&gt;
&lt;br /&gt;
If the Tmedia is used to forward signalling messages to the SSW, you will require to configure M2UA, M3UA or IUA before configuring H.248.&lt;br /&gt;
&lt;br /&gt;
If the Tmedia is used to connect media only, then you can go straight to [[#H.248|H.248 Configuration]]&lt;br /&gt;
&lt;br /&gt;
===''M2UA''===&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; | (Step 1) &amp;lt;br&amp;gt;Create Line Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Create MTP2 links&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; | (Step 3) &amp;lt;br&amp;gt;Create M2UA configuration&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create line interfaces]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create line services]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Creating an MTP2 Configuration A|Create an MTP2 Configuration]] &lt;br /&gt;
**[[Toolpack:Creating MTP2 Links A|Create MTP2 Links]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Creating the SCTP Configuration A|Edit the SCTP Configuration]] &lt;br /&gt;
*[[Toolpack:Creating the M2UA Configuration A|Create an M2UA Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an M2UA SAP A|Create an M2UA SAP]] &lt;br /&gt;
**[[Toolpack:Creating an M2UA Cluster A|Create an M2UA Cluster]] &lt;br /&gt;
**[[Toolpack:Creating M2UA Links A|Create M2UA Links]] &lt;br /&gt;
**[[Toolpack:Creating M2UA Peers A|Create M2UA Peers]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''M3UA''===&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; | (Step 1) &amp;lt;br&amp;gt;Create Line Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Create MTP2 links&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; | (Step 3) &amp;lt;br&amp;gt;Create MTP3 configuration&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; | (Step 4) &amp;lt;br&amp;gt;Create M3UA configuration&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create line interfaces]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create line services]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating an MTP2 Configuration A|Create an MTP2 Configuration]] &lt;br /&gt;
*[[Toolpack:Creating MTP2 Links A|Create MTP2 Links]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating SS7 Point Codes A|Create SS7 Point Codes]] &lt;br /&gt;
*[[Toolpack:Creating an MTP3 Configuration B|Create an MTP3 Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an MTP3 Network A|Create an MTP3 Network]] &lt;br /&gt;
**[[Toolpack:Creating an MTP3 Linkset A|Create an MTP3 Linkset]] &lt;br /&gt;
**[[Toolpack:Creating MTP3 Links (M3UA) A|Create MTP3 Links]] &lt;br /&gt;
**[[Toolpack:Creating an MTP3 Route A|Create an MTP3 Route]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating the SCTP Configuration A|Edit the SCTP Configuration]] &lt;br /&gt;
*[[Toolpack:Creating an M3UA Configuration (SGP) A|Create an M3UA Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA SAP A|Create an M3UA SAP]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Network A|Create an M3UA Network]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA User Part A|Create an M3UA User Part]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Peer Signalling Process (SGP) A|Create an M3UA Peer Signalling Process]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Peer Server A|Create an M3UA Peer Server]] &lt;br /&gt;
**[[Toolpack:Creating an M3UA Route (SGP) A|Create an M3UA Route]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''IUA''===&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; | (Step 1) &amp;lt;br&amp;gt;Create Line Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Create M2UA Configuration&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating a Line Interface B|Create Line Interfaces]] &lt;br /&gt;
*[[Toolpack:Creating a Line Service B|Create Line services]] &lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating the SCTP Configuration A|Edit the SCTP Configuration]] &lt;br /&gt;
*[[Toolpack:Creating the IUA Configuration A|Create an IUA Configuration]] &lt;br /&gt;
**[[Toolpack:Creating an IUA SAP A|Create an IUA SAP]] &lt;br /&gt;
**[[Toolpack:Creating an IUA Cluster A|Create an IUA Cluster]] &lt;br /&gt;
**[[Toolpack:Creating IUA Links A|Create IUA Links]] &lt;br /&gt;
**[[Toolpack:Creating IUA Peers A|Create IUA Peers]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===''H.248''===&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; | (Step 1) &amp;lt;br&amp;gt;Allocate Physical Interfaces&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; | (Step 2) &amp;lt;br&amp;gt;Create IP Port Ranges&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; | (Step 3) &amp;lt;br&amp;gt;Modify NAP profile&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; | (Step 4) &amp;lt;br&amp;gt;Configure Network Access Points (NAPs)&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_a_Line_Interface B|Create line interfaces]]&lt;br /&gt;
*[[Toolpack:Creating_a_Line_Service B|Create line services]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Creating_an_IP_Port_Range A|Create IP port ranges]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Modify_NAP_profile A|Modify profile]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Allocating_a_VoIP_Network_Access_Point_(NAP) A|Allocate a VoIP NAP]]&lt;br /&gt;
*[[Toolpack:Allocating_a_TDM_Network_Access_Point_(NAP) A|Allocate a TDM NAP]]&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; | (Step 5) &amp;lt;br&amp;gt;Configure Media Gateway for H.248 mode&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; | (Step 6) &amp;lt;br&amp;gt;Add a New Media Gateway Controller&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; | (Step 7) &amp;lt;br&amp;gt;Associate NAPs Resources to H.248 Configuration&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Configure the Media_Gateway_for_H248_Mode A|Configure the Media Gateway for H.248 mode]]&lt;br /&gt;
*[[Toolpack:Creating_an_H.248_Configuration A|Create a new H.248 configuration]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Adding_a_Media_Gateway_Controller_(MGC) A|Add a new media gateway controller (MGC)]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Toolpack:Associating_NAPs_with_an_H.248_Configuration A|Associate the NAPs with the H.248 configuration]]&lt;br /&gt;
*[[Toolpack:Selecting_Timeslots_for_TDM_Interfaces A|Select timeslots for the TDM interfaces]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;CDR&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=''CDR (Call Detail Record)''=&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; |Text CDR&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; |RADIUS&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Text_cdr|Text CDR]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Enabling RADIUS A|Enabling RADIUS]]&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_client A|Configuring RADIUS client]]&lt;br /&gt;
*[[Toolpack:Adding_RADIUS_server A|Adding RADIUS server(s)]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=''Fax''=&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; |FAX passthrough&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; |FAX T.38&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Configure_Fax_Relay_A|Configure Fax Relay]]&lt;br /&gt;
*[[Configure_Fax_Passthrough_A|Configure Fax Passthrough]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
*[[Configure_Fax_Relay_A|Configure Fax Relay]]&lt;br /&gt;
*[[Configure_Fax_T38_A|Configure Fax T38]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Routes=&lt;br /&gt;
&lt;br /&gt;
==''Static Route''==&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; |Add routes&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Creating_a_First_Call_Route A|Create a first call route]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==''Routing Script''==&lt;br /&gt;
TelcoBridges provides a wide variety of routing script examples which customers can apply directly in their web configuration according to their needs by following just a few simple steps. Please select one of the following examples according to your needs. You may modify it when necessary.&lt;br /&gt;
&lt;br /&gt;
'''*Flexible NOA:''' Remap the Calling/Called NOA flexibly based on the routes. It should cover most of the NOA requests since the routes include the calling/called remapping as well.&lt;br /&gt;
&lt;br /&gt;
'''*Prefix NOA:''' Remapp Calling/Called NOA according to the prefix of the calling/called number, manipulate calling/called number. For calling number, if it is a privacy call, use the number in P-Asserted-Identity line or Remote-Party-ID line as the calling number to remap the NOA and do the manipulation.&lt;br /&gt;
&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; |Flexible NOA&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; |Prefix NOA&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Create_New_Routing_Script_B|Create new routing script]]&lt;br /&gt;
*[[Import_Customized_Routing_Script_A|Import customized routing script]]&lt;br /&gt;
*[[Add_NOA_Columns_in_Routes_A|Add NOA columns in routes]]&lt;br /&gt;
*[[Enable_Routing_Script_A|Enable routing script]]&lt;br /&gt;
*[[Activate_Configuration_A|Activate configuration]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Create_New_Routing_Script_B|Create new routing script]]&lt;br /&gt;
*[[Import_Customized_Routing_Script_A|Import customized routing script]]&lt;br /&gt;
*[[Enable_Routing_Script_A|Enable routing script]]&lt;br /&gt;
*[[Activate_Configuration_A|Activate configuration]]&lt;br /&gt;
&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;Configuring Audio Prompts&amp;quot; data-expandtext=&amp;quot;Audio Prompts&amp;quot; style=&amp;quot;width: 400px;&amp;quot;&amp;gt;&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;
! 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; |Audio Prompts&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Configuring_Audio_Prompts A|Audio Prompts]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==''Label Routing''==&lt;br /&gt;
&lt;br /&gt;
This section assumes:&lt;br /&gt;
* '''The routing script is already implemented''' (you just need to add the label routing functionality)&lt;br /&gt;
* '''The routeset definition and digimap files are already created'''&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: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; |Add label routing functionality&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Adding_Label_Routing_to_any_Routing_Script|Add Label Routing to script]]&lt;br /&gt;
*[[Create_Databse_Files A|Create Database Files]]&lt;br /&gt;
*[[Assign_Routing_Script_DB_Files_to_Gateway_Application A|Assign Routing/Script Files to the Gateway Application]]&lt;br /&gt;
*[[Add_Digitmap_Files A|Add the Digit Map Files to the System]]&lt;br /&gt;
*[[Add_Routeset_Definition_Files A|Add the Routset Definition Files to the System]]&lt;br /&gt;
*[[Assign_Definition_Digitmap_Files_per_NAP A|Assign Defintion/Digitmap Files on a per NAP Basis]]&lt;br /&gt;
*[[Generate_Dynamic_Routes A|Generate Dynamic Routes]]&lt;br /&gt;
*[[Activate_Configuration_A|Activate configuration]]&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: rgb(239, 239, 239) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&amp;quot; |Update definition/digitmap files&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Update_Digitmap_Files A|Update the Digitmap Files]]&lt;br /&gt;
*[[Update_Routeset_Definition_Files A|Update the Routeset Definition Files]]&lt;br /&gt;
*[[Generate_Dynamic_Routes A|Generate Dynamic Routes]]&lt;br /&gt;
*[[Activate_Configuration_A|Activate configuration]]&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==RADIUS Authorization and Authentication==&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;240&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; |RADIUS&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_client_B|Configure RADIUS client]]&lt;br /&gt;
*[[Toolpack:Adding_RADIUS_server_B|Add RADIUS authorization server]]&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_authorization_A|Configure RADIUS authorization]]&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;300&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; |RADIUS (with custom dictionary)&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Import_RADIUS_Custom_Dictionary_A|Import RADIUS Custom Dictionary]]&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_client_B|Configure RADIUS Client]]&lt;br /&gt;
*[[Toolpack:Adding_RADIUS_server_B|Add RADIUS Authorization Server]]&lt;br /&gt;
*[[Toolpack:Create_New_Routing_Script_B|Create New Routing Script]]&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_authorization_A|Configure RADIUS Authorization]]&lt;br /&gt;
*[[Toolpack:Enable_Routing_Script_B|Enable Routing Script]]&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Lawful_Intercept&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Lawful Interception=&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;300&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; |Lawful Interception&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Verifying_lawful_interception_A|Verify Lawful Interception Prerequisite]]&lt;br /&gt;
*[[Toolpack:Importing_lawful_interception_A|Import a Lawful Interception CSV File]]&lt;br /&gt;
*[[Toolpack:Create_New_Routing_Script_B|Create New Routing Script]]&lt;br /&gt;
*[[Toolpack:Enable_Lawful_Interception_in_Routing_Script_A|Enable Lawful Interception in Routing script]]&lt;br /&gt;
*[[Toolpack:Enable_Routing_Script_B|Enable Routing Script]]&lt;br /&gt;
*[[Toolpack:Configuring_lawful_interception_A|Configure Lawful Agencies]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
==''Call Trace''==&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; |Call trace&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Toolpack:Configuring_Call_Trace A|Call trace]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==''Test Call''==&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; |Test Call&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Creating_A_Test_Call_A|Creating a Test Call]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==''Target Recording''==&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;300&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Activating a Configuration&lt;br /&gt;
! width=&amp;quot;300&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239); -moz-background-inline-policy: continuous;&amp;quot; | Web Portal Profile&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
*[[Enabling_Recordings_A|Enabling the Recording of Calls]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[Accessing_Recording|Accessing the Recording]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=''Status Menus''=&lt;br /&gt;
&lt;br /&gt;
The Web Portal configuration tool will guide you through a number of status menus, each of which indicate the current state of a certain hardware service (assuming said service has been configured).&lt;br /&gt;
The following table contains the general conventions of the Web Portal's display '''(A)''', as well as a variety of specific status menus '''(B)'''.&lt;br /&gt;
 &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; | (A) &amp;lt;br&amp;gt;Menus Overview &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; | (B) &amp;lt;br&amp;gt;Individual Menu Descriptions&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Tmedia_Status_Menus A|Tmedia Status Menus]]&lt;br /&gt;
**[[Toolpack:Status_Menus:Navigation A|Navigation]]&lt;br /&gt;
**[[Toolpack:Status_Menus:Screen_Conventions A|Status Screen Conventions]]&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Status_Menus:System B|System]]&lt;br /&gt;
*[[Toolpack:Status_Menus:Adapters_and_IP_Interfaces B|Adapters and IP Interfaces]]&lt;br /&gt;
*[[Toolpack:Status_Menus:1+1|1+1]]&lt;br /&gt;
*[[Toolpack:Status_Menus:Hosts A|Hosts]]&lt;br /&gt;
*[[Toolpack:Status_Menus:Applications A|Applications]]&lt;br /&gt;
*[[Toolpack:Status_Menus:TDM_Lines A|TDM Lines]]&lt;br /&gt;
**[[Toolpack:Status_Menus:Line Interfaces A|Line Interfaces]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SCTP A|SCTP]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_MTP2 A|SS7 MTP2]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_M2UA A|SS7 M2UA]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_IUA A|SS7 IUA]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_M2PA A|SS7 M2PA]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_M3UA A|SS7 M3UA]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_MTP3 A|SS7 MTP3]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_ISUP A|SS7 ISUP]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_SCCP A|SS7 SCCP]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SS7_TCAP A|SS7 TCAP]]&lt;br /&gt;
*[[Toolpack:Status_Menus:ISDN A|ISDN]]&lt;br /&gt;
**[[Toolpack:Status_Menus:NFAS A|NFAS]]&lt;br /&gt;
*[[Toolpack:Status_Menus:CAS R2 A|CAS R2]]&lt;br /&gt;
*[[Toolpack:Status_Menus:SIP A|SIP]]&lt;br /&gt;
*[[Toolpack:Status_Menus:Clock B|Clock]]&lt;br /&gt;
**[[Toolpack:Status_Menus:Clock Status List A|Clock Status List]]&lt;br /&gt;
*[[Toolpack:Status_Menus:TMS A|TMS]]&lt;br /&gt;
*[[Toolpack:Status_Menus:NAP A|NAP]]&lt;br /&gt;
**[[Toolpack:Status_Menus:NAP Status List A|NAP Status List]]&lt;br /&gt;
*[[Toolpack:Status_Menus:H.248 A|H.248]]&lt;br /&gt;
*[[Toolpack:Status_Menus:RADIUS A|RADIUS]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:Toolpack]]&lt;br /&gt;
[[category:Coming Soon]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/VoIP_Bonding</id>
		<title>VoIP Bonding</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/VoIP_Bonding"/>
				<updated>2013-07-08T15:25:13Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: First draft&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;VoIP Bonding refers to the capability of Tmedia units to use the two available VoIP Ethernet ports as a bonding pair. When the active port becomes unusable (cable disconnected, limited connectivity), the other port is used to transport Ethernet traffic.&lt;br /&gt;
&lt;br /&gt;
Starting with Toolpack release 2.7.30, VoIP Bonding is available as a feature for Tmedia units. Detection of offline ports is currently achieved through two methods:&lt;br /&gt;
# Ethernet PHY polling to quickly discover if a cable is connected or not to the unit;&lt;br /&gt;
# Sending IPv4 ping requests to a known host to ensure that a logical IP path is available to the unit.&lt;br /&gt;
&lt;br /&gt;
The voip0 (first VoIP port) MAC and IP addresses are used on both VoIP ports of the Tmedia unit when VoIP bonding is activated. However, in that mode, the voip1 port MAC and IP address are not usable (i.e. protocol stacks assigned to voip1 will not work and voip1 will not respond to ICMP requests).&lt;br /&gt;
&lt;br /&gt;
The VoIP Bonding feature also makes the Tmedia units report the bonding state as the voip0 port state. For instance, the IPv4 statistics reported by the Web Portal for voip0 are actually for the bonding pair. The PHY state is also for the bonding pair (so it would only be down if both voip ports are down). To know the true state of the physical voip0 and voip1 ports, the SNMP protocol must be used.&lt;br /&gt;
&lt;br /&gt;
The feature has no effect on Virtual IP Interfaces configured in the Web Portal. Virtual IP Interfaces configured on either voip0 or voip1 physical ports still work exactly the same whether VoIP Bonding is activated.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/CAS_R2_scripting</id>
		<title>CAS R2 scripting</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/CAS_R2_scripting"/>
				<updated>2013-06-10T20:09:06Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains information about TelcoBridges CAS R2 variant scripting.&lt;br /&gt;
&lt;br /&gt;
Refer to the default script (itu.lua) in the Toolpack Web Portal for a complete working variant script example.&lt;br /&gt;
&lt;br /&gt;
In this page, using the term &amp;quot;application&amp;quot; may refer to Toolpack or any other application using the basic TelcoBridges CAS R2 stack API.&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
[[CAS|CAS R2]] signaling is done in two parts: line signaling and register signaling. In CAS R2 for [[E1]] trunks, [[Line signaling|line signaling]] uses a single [[timeslot]] to communicate call states (such as off-hook, answering) for the remaining timeslots. [[Register signaling]] is the exchange of MFR2 tones to convey information such as the calling number, called number and calling party category. TelcoBridges CAS R2 scripts allow complete customization of the register signaling process, while having some characteristics of the line signaling process customizable. Scripts also contain information relative to the conversion of register signaling data - group B signals and categories - into a format that the application can interpret. The scripting language is [[Lua]].&lt;br /&gt;
&lt;br /&gt;
= Mandatory elements =&lt;br /&gt;
In order for CAS R2 variant scripts to work, some variables, tables and events must be defined from within scripts. All of the following elements are required; if one of these elements is not present, it will not be possible to save the script in the Toolpack Web Portal or load it on the adapter.&lt;br /&gt;
&lt;br /&gt;
=== VARIANT_ID ===&lt;br /&gt;
The VARIANT_ID variable must be filled to distinguish variants from another. More precisely, it is used when transporting [[#Group B conversion information|group B]] and [[#Category conversion information|category]] information with calls in order to possibly convert information meaning across variants.&lt;br /&gt;
&lt;br /&gt;
Default CAS R2 TelcoBridges scripts have variant IDs starting from 1. To avoid future conflicts, user scripts variant IDs should be prefixed with a sufficiently high value. For example, a modified ITU variant could have a ID equal to 0x0001001. Scripts may only share the same variant ID as other scripts if and only if the category and group B meanings are exactly identical.&lt;br /&gt;
&lt;br /&gt;
== Group B conversion information ==&lt;br /&gt;
Group B conversion information in scripts is used to convert group B information between CAS R2 variants and between other signaling types. The following elements must be filled so that these conversions can be completed successfully.&lt;br /&gt;
&lt;br /&gt;
=== GROUPB_DIGIT_TO_MEANING ===&lt;br /&gt;
Each GROUPB_DIGIT_TO_MEANING table element must contain two values: a digit and a meaning. The digit must be a valid digit value (1 to 15) and the meaning must be a valid meaning (see [[#Group B meanings|Group B meanings]]). Each digit must be present in the table.&lt;br /&gt;
&lt;br /&gt;
This table is used to convert group B digits to meaning in the context of an outgoing call. For a given digit, the specified meaning will be propagated to the application.&lt;br /&gt;
&lt;br /&gt;
=== GROUPB_MEANING_TO_DIGIT ===&lt;br /&gt;
Each GROUPB_MEANING_TO_DIGIT table element must contain two values: a meaning and a digit. Meanings must not appear more than once in the table.&lt;br /&gt;
&lt;br /&gt;
This table is used to convert meanings to digits for an incoming call. This is mostly used for calls where the other leg belongs to another signaling type, although it will be used if the other leg's signaling type is CAS R2 but the variant is different and there was no match in the [[#GROUPB_OTHER_DIGITS|GROUPB_OTHER_DIGITS]] table.&lt;br /&gt;
&lt;br /&gt;
If a meaning is not found in this table, the meaning corresponding to [[#GROUPB_DEFAULT_DIGIT|GROUPB_DEFAULT_DIGIT]] will be used.&lt;br /&gt;
&lt;br /&gt;
=== GROUPB_DEFAULT_DIGIT ===&lt;br /&gt;
This variable must be filled with a valid digit value. It will be used when lookups in the [[#GROUPB_MEANING_TO_DIGIT|GROUPB_MEANING_TO_DIGIT]] table fail.&lt;br /&gt;
&lt;br /&gt;
=== GROUPB_OTHER_DIGITS ===&lt;br /&gt;
Each GROUPB_OTHER_DIGITS table element must contain three values: a variant ID and two valid digit values. This table may be empty but cannot be omitted.&lt;br /&gt;
&lt;br /&gt;
This table is used to convert a variant ID and a digit combination to a digit for the current variant in an outgoing call scenario.&lt;br /&gt;
&lt;br /&gt;
== Category conversion information ==&lt;br /&gt;
Category conversion information in scripts is used to convert category information between CAS R2 variants and between other signaling types. The following elements must be filled so that these conversions can be completed successfully.&lt;br /&gt;
&lt;br /&gt;
The pattern used to handle categories is identical to the one used for [[#Group B conversion information|group B conversions]].&lt;br /&gt;
&lt;br /&gt;
=== CATEGORY_DIGIT_TO_MEANING ===&lt;br /&gt;
Each CATEGORY_DIGIT_TO_MEANING table element must contain two values: a digit and a meaning. The digit must be a valid digit value (1 to 15) and the meaning must be a valid meaning (see [[#Category meanings|Category meanings]]). Each digit must be present in the table.&lt;br /&gt;
&lt;br /&gt;
This table is used to convert category digits to meaning in the context of an outgoing call. For a given digit, the specified meaning will be propagated to the application.&lt;br /&gt;
&lt;br /&gt;
=== CATEGORY_MEANING_TO_DIGIT ===&lt;br /&gt;
Each CATEGORY_MEANING_TO_DIGIT table element must contain two values: a meaning and a digit. Meanings must not appear more than once in the table.&lt;br /&gt;
&lt;br /&gt;
This table is used to convert meanings to digits for an incoming call. This is mostly used for calls where the other leg belongs to another signaling type, although it will be used if the other leg's signaling type is CAS R2 but the variant is different and there was no match in the [[#CATEGORY_OTHER_DIGITS|CATEGORY_OTHER_DIGITS]] table.&lt;br /&gt;
&lt;br /&gt;
If a meaning is not found in this table, the meaning corresponding to [[#CATEGORY_DEFAULT_DIGIT|CATEGORY_DEFAULT_DIGIT]] will be used.&lt;br /&gt;
&lt;br /&gt;
=== CATEGORY_DEFAULT_DIGIT ===&lt;br /&gt;
This variable must be filled with a valid digit value. It will be used when lookups in the [[#CATEGORY_MEANING_TO_DIGIT|CATEGORY_MEANING_TO_DIGIT]] table fail.&lt;br /&gt;
&lt;br /&gt;
=== CATEGORY_OTHER_DIGITS ===&lt;br /&gt;
Each CATEGORY_OTHER_DIGITS table element must contain three values: a variant ID and two valid digit values. This table may be empty but cannot be omitted.&lt;br /&gt;
&lt;br /&gt;
This table is used to convert a variant ID and a digit combination to a digit for the current variant in an outgoing call scenario.&lt;br /&gt;
&lt;br /&gt;
== Event handlers ==&lt;br /&gt;
Four register signaling event handlers must be defined in the script.&lt;br /&gt;
&lt;br /&gt;
=== Call context table ===&lt;br /&gt;
Each event handler will have a table passed as a parameter. This table is the call context table, and contains critical information about the state of the call. Once calls are created (through Bwd_HandleNewCall and Fwd_HandleNewCall), the script must initialize the table with its own state information. Also, for incoming calls, as they go on, the script must fill the table with the collected signaling information. For outgoing calls, the table already contains this signaling information. The signaling information fields contained in the table are as follows:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Table element&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| DestinationNumber|| String of digits representing the called (destination) number.&lt;br /&gt;
|-&lt;br /&gt;
| OriginNumber|| String of digits representing the calling (origin) number. &lt;br /&gt;
|-&lt;br /&gt;
| Category|| Digit representing the calling party category. See [[#Category conversion information|Category conversion information]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Return values ===&lt;br /&gt;
Each event handlers must return two values. The first value is the action to take immediately or shortly following the call of the event. It must be set to one of the four following values:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | First return value&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| WAIT_SIGNAL || Generally emits the digit provided as the second return value, and waits for the response or the next compelled sequence.&lt;br /&gt;
|-&lt;br /&gt;
| END_SIGNALING || Ends the call with the provided digit.&lt;br /&gt;
|-&lt;br /&gt;
| VALIDATE_CALL || (Incoming only) Sends the cumulated signaling information to the application and ends the signaling.&lt;br /&gt;
|-&lt;br /&gt;
| PULSE_SIGNAL || (Incoming only) Emits a pulsed signal.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The second return value is the digit that accompanies the action, or '''NO_DIGIT''' if no digit must be emitted. Its meaning depends on the first return value.&lt;br /&gt;
&lt;br /&gt;
=== Backward event handlers ===&lt;br /&gt;
The following event functions must be defined so that the CAS R2 stack can proceed with register signaling for incoming calls.&lt;br /&gt;
&lt;br /&gt;
==== Bwd_HandleNewCall ====&lt;br /&gt;
The Bwd_HandleNewCall event is called whenever an incoming call is discovered on a timeslot. The purpose of this event is for the script to initialize local variables that will be used throughout the tone exchanges.&lt;br /&gt;
&lt;br /&gt;
The event will have the call context table passed as a parameter. This table must be filled with the call state information required by the script for a new incoming call.&lt;br /&gt;
&lt;br /&gt;
The event must return two values as described in the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | First return value&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| WAIT_SIGNAL || Waits for the first compelled sequence to be initiated. The second return value must be '''NO_DIGIT'''.&lt;br /&gt;
|-&lt;br /&gt;
| END_SIGNALING || Ends the call immediately. The second return value must be '''NO_DIGIT'''.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Bwd_HandleFwdSignal ====&lt;br /&gt;
The Bwd_HandleFwdSignal is called whenever a tone signal has been received, which is most likely the beginning of a compelled sequence.&lt;br /&gt;
&lt;br /&gt;
The event will receive two parameters: the call context table (which was also passed to Bwd_HandleNewCall) and the received tone signal. The event must use the received tone signal to fill the DestinationNumber, OriginNumber and Category fields of the call context table.&lt;br /&gt;
&lt;br /&gt;
The event must return two values as described in the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | First return value&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| WAIT_SIGNAL || Waits for the next compelled sequence to be initiated. The second return value must be a valid digit as it is emitted as a response to the current compelled sequence.&lt;br /&gt;
|-&lt;br /&gt;
| END_SIGNALING || Ends the call immediately. The second return value can either be '''NO_DIGIT''' or a valid digit. If the digit is valid and has an acceptance meaning (see the [[#Group B conversion information|Group B conversion information section]]), the call will be accepted without explicit validation by the application. Otherwise, the call will be refused. In both cases, the digit will be emitted.&lt;br /&gt;
|-&lt;br /&gt;
| VALIDATE_CALL || Sends the cumulated signaling information to the application. The application will then provide a group B meaning (or digit) that will be sent to the outgoing end.&lt;br /&gt;
|-&lt;br /&gt;
| PULSE_SIGNAL || Instead of waiting for the next compelled sequence, the event handler will be called again with '''NO_DIGIT''' as a second parameter. The second return value must be a valid digit since it will be sent to complete the current compelled sequence.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Forward event handlers ===&lt;br /&gt;
The following event functions must be defined so that the CAS R2 stack can proceed with register signaling for outgoing calls.&lt;br /&gt;
&lt;br /&gt;
==== Fwd_HandleNewCall ====&lt;br /&gt;
The Fwd_HandleNewCall event is called whenever an outgoing call is initiated on a timeslot. The purpose of this event is for the script to initialize local variables that will be used throughout the tone exchanges.&lt;br /&gt;
&lt;br /&gt;
The event will have the call context table passed as a parameter. This table must be filled with the call state information required by the script for a new incoming call.&lt;br /&gt;
&lt;br /&gt;
The event must return two values as described in the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | First return value&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| WAIT_SIGNAL || Waits for the response to the compelled sequence to be received. The second return value can be '''NO_DIGIT''' if a pulsed signal is expected. Otherwise, it must be a valid digit that will be used to initiate the first compelled sequence.&lt;br /&gt;
|-&lt;br /&gt;
| END_SIGNALING || Ends the call immediately. The second return value must be '''NO_DIGIT'''.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Fwd_HandleBwdSignal ====&lt;br /&gt;
The Fwd_HandleBwdSignal event is called whenever a tone signal has been received as a response to the current compelled sequence, which is most likely the beginning of a compelled sequence.&lt;br /&gt;
&lt;br /&gt;
The event will receive two parameters: the call context table (which was also passed to Fwd_HandleNewCall) and the received tone signal. The event must use the available DestinationNumber, OriginNumber and Category fields from the call context table to communicate information to the incoming end.&lt;br /&gt;
&lt;br /&gt;
The event must return two values as described in the following table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | First return value&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| WAIT_SIGNAL || Waits for the response to the compelled sequence to be received. The second return value can be '''NO_DIGIT''' if a pulsed signal is expected. Otherwise, it must be a valid digit that will be used to initiate the first compelled sequence.&lt;br /&gt;
|-&lt;br /&gt;
| END_SIGNALING || Ends the call immediately. The second value must be '''NO_DIGIT'''.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= Optional elements =&lt;br /&gt;
The following elements may or may not be defined into a CAS R2 script.&lt;br /&gt;
&lt;br /&gt;
=== SCRIPT_FILE_NAME ===&lt;br /&gt;
When affecting a value to this variable, the Toolpack Web Portal will automatically replace the value to the script name followed by the script revision. If the following piece of code is added appended at the end of the script (this is done for default scripts), it will print a trace when loading a CAS R2 stack which can be recovered using an application such as [[Toolpack Application:tblogtrace|tblogtrace]].&lt;br /&gt;
&lt;br /&gt;
=== VARIABLES ===&lt;br /&gt;
The VARIABLES table is used to declare variables which can be altered through the Toolpack Web Portal. Typically, variables declared here contain parameters that affect particular trunks. Each row of this table must contain three elements: the variable name, the variable's default value and the variable's description.&lt;br /&gt;
&lt;br /&gt;
= Good practices =&lt;br /&gt;
* Use the '''local''' keyword for declaring variables as much as possible. Non-local variables will stay alive outside the scope of event handlers, which in turn will take more CPU time in the form of garbage collection.&lt;br /&gt;
&lt;br /&gt;
= Tone generation module selection&amp;lt;br&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
By default the VoIP&amp;amp;nbsp;DSP&amp;amp;nbsp;devices are used to generate the MFCR2 tones. If the unit has only IVR DSP&amp;amp;nbsp;devices, or for other reasons, this can be changed by adding these lines to the scripts:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;BWD_VP_GROUP = 0&lt;br /&gt;
FWD_VP_GROUP = 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
= Script keyword reference  =&lt;br /&gt;
&lt;br /&gt;
== Stack variables  ==&lt;br /&gt;
&lt;br /&gt;
Here is the list of stack variables. These variables are declared before the VARIABLES table is parsed in a script. A single script affectation will modify the value one of these variables. It is also possible to edit these variables in the Toolpack Web Portal. &lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Variable name &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Default value &lt;br /&gt;
! align=&amp;quot;left&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_TONE &lt;br /&gt;
| 15000 &lt;br /&gt;
| Maximum time before a call is closed because the forward end did not emit a tone.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_PULSE &lt;br /&gt;
| 250 &lt;br /&gt;
| Length of a pulsed digit.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_PULSE_GUARD &lt;br /&gt;
| 100 &lt;br /&gt;
| Time between the end of a compelled sequence and the beginning of a pulsed digit.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_PULSE_DETECTION &lt;br /&gt;
| 3000 &lt;br /&gt;
| Time elapsed after a compelled sequence that triggers a pulsed digit.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_ALERT &lt;br /&gt;
| 14000 &lt;br /&gt;
| Maximum wait time for an ALERT API message.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_ANSWER &lt;br /&gt;
| 300000 &lt;br /&gt;
| Maximum wait time for an ANSWER API message.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_FIRST_METERING_INTERVAL &lt;br /&gt;
| 150 &lt;br /&gt;
| Maximum time for which the CAS bits should stay in the ANSWER state before changing to METERING.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_METERING_INTERVAL &lt;br /&gt;
| 60000 &lt;br /&gt;
| Maximum time for which the CAS bits should stay in the ANSWER state before changing to METERING.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_METERING_PULSE &lt;br /&gt;
| 150&lt;br /&gt;
| Maximum time for which the CAS bits should stay in the METERING state before changing to ANSWER.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_TERMINATE &lt;br /&gt;
| 3000 &lt;br /&gt;
| Maximum wait time for an TERMINATE API message.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_WAIT_CLEAR_FORWARD &lt;br /&gt;
| 2000 &lt;br /&gt;
| Maximum wait time for CLEAR_FORWARD CAS bits change when closing a call.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_HOLD_ANSWER &lt;br /&gt;
| 100 &lt;br /&gt;
| Maximum time for which the CAS bits should stay in the ANSWER state before changing to CLEAR_BACKWARD.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_HOLD_CLEAR_BACKWARD &lt;br /&gt;
| 200 &lt;br /&gt;
| Maximum time for which the CAS bits should stay in the CLEAR_BACKWARD state.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_HOLD_FORCED_RELEASE &lt;br /&gt;
| 200 &lt;br /&gt;
| Maximum time for which the CAS bits should stay in the FORCED_RELEASE state.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_BWD_HOLD_IDLE &lt;br /&gt;
| 100 &lt;br /&gt;
| Maximum time for which the CAS bits should stay in the IDLE state before starting a new call on the same timeslot.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_TONE &lt;br /&gt;
| 15000 &lt;br /&gt;
| Maximum time before a call is closed because the forward end did not emit a tone.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_TONE_GUARD &lt;br /&gt;
| 0 &lt;br /&gt;
| Time between the end of a compelled sequence and the beginning of the next one.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_SEIZURE_ACK_BIT &lt;br /&gt;
| 200 &lt;br /&gt;
| Maximum time for which the forward end should wait for a CAS bits SEIZURE_ACKNOWLEDGE state.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_ANSWER_BIT &lt;br /&gt;
| 300000 &lt;br /&gt;
| Maximum time for which the forward end should wait for a CAS bits ANSWER state.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_METERING_PULSE &lt;br /&gt;
| 0 &lt;br /&gt;
| Maximum wait time for an ANSWER CAS bit state to be triggered before a call is terminated.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_TERMINATE &lt;br /&gt;
| 3000 &lt;br /&gt;
| Maximum wait time for an TERMINATE API message.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_HOLD_SEIZURE &lt;br /&gt;
| 100 &lt;br /&gt;
| Maximum time for which the SEIZURE CAS bits state should be held in case of a collision.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_FWD_HOLD_IDLE &lt;br /&gt;
| 100 &lt;br /&gt;
| Maximum time for which the CAS bits should stay in the IDLE state before starting a new call on the same timeslot.&lt;br /&gt;
|-&lt;br /&gt;
| TIMER_CAS_CHANGE &lt;br /&gt;
| 20 &lt;br /&gt;
| Time required for a CAS bits state change to take effect.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_IDLE &lt;br /&gt;
| 0x1001 &lt;br /&gt;
| CAS R2 bit pattern for the IDLE state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_BLOCKED &lt;br /&gt;
| 0x1101 &lt;br /&gt;
| CAS R2 bit pattern for the BLOCKED state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_FWD_SEIZURE &lt;br /&gt;
| 0x0001 &lt;br /&gt;
| CAS R2 bit pattern for the forward SEIZURE state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_FWD_CLEAR_FWD &lt;br /&gt;
| 0x1001 &lt;br /&gt;
| CAS R2 bit pattern for the forward CLEAR state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_BWD_SEIZURE_ACK &lt;br /&gt;
| 0x1101 &lt;br /&gt;
| CAS R2 bit pattern for the backward SEIZURE ACKNOWLEDGE state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_BWD_ANSWERED &lt;br /&gt;
| 0x0101 &lt;br /&gt;
| CAS R2 bit pattern for the backward ANSWERED state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_BWD_CLEAR_BWD &lt;br /&gt;
| 0x1101 &lt;br /&gt;
| CAS R2 bit pattern for the backward CLEAR state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_BWD_FORCED_RELEASE &lt;br /&gt;
| 0x0001 &lt;br /&gt;
| CAS R2 bit pattern for the backward FORCED RELEASE state.&lt;br /&gt;
|-&lt;br /&gt;
| ABCD_PATTERN_MATCH_MASK &lt;br /&gt;
| 0x1100 &lt;br /&gt;
| CAS R2 bit match mask pattern.&lt;br /&gt;
|-&lt;br /&gt;
| USE_FORCED_RELEASE &lt;br /&gt;
| 0 &lt;br /&gt;
| Flag indicating if the CAS R2 line signaling state machine should use the forced release method.&lt;br /&gt;
|-&lt;br /&gt;
| BWD_METERING_PULSE_COUNT &lt;br /&gt;
| 0 &lt;br /&gt;
| Number of metering pulses that the CAS R2 line signaling state machine should emit.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Group B meanings  ==&lt;br /&gt;
&lt;br /&gt;
Here is the list of all defined group B meanings: &lt;br /&gt;
&lt;br /&gt;
 ACCEPT_CHARGE&lt;br /&gt;
 ACCEPT_NO_CHARGE&lt;br /&gt;
 REJECT_UNSPECIFIED&lt;br /&gt;
 REJECT_UNALLOCATED_NUMBER&lt;br /&gt;
 REJECT_NO_ROUTE_TO_NETWORK&lt;br /&gt;
 REJECT_NO_ROUTE_TO_DESTINATION&lt;br /&gt;
 REJECT_USER_BUSY&lt;br /&gt;
 REJECT_SUBSCRIBER_ABSENT&lt;br /&gt;
 REJECT_CALL_REJECTED&lt;br /&gt;
 REJECT_NUMBER_CHANGED&lt;br /&gt;
 REJECT_EXCHANGE_ROUTING_ERROR&lt;br /&gt;
 REJECT_DESTINATION_OUT_OF_ORDER&lt;br /&gt;
 REJECT_ADDRESS_INCOMPLETE&lt;br /&gt;
 REJECT_NO_CIRCUIT_AVAILABLE&lt;br /&gt;
 REJECT_NETWORK_OUT_OF_ORDER&lt;br /&gt;
 REJECT_TEMPORARY_FAILURE&lt;br /&gt;
 REJECT_SWITCHING_EQUIP_CONGESTION&lt;br /&gt;
 REJECT_REQUESTED_CIRCUIT_NOT_AVAILABLE&lt;br /&gt;
 REJECT_RESOURCE_UNAVAILABLE&lt;br /&gt;
 REJECT_SERVICE_NOT_AVAILABLE&lt;br /&gt;
 REJECT_CALL_IDENTITY_DOES_NOT_EXIST&lt;br /&gt;
 REJECT_CALL_IDENTITY_IN_USE&lt;br /&gt;
 REJECT_PROTOCOL_ERROR&lt;br /&gt;
 REJECT_INTERWORKING_UNSPECIFIED&lt;br /&gt;
&lt;br /&gt;
== Category meanings  ==&lt;br /&gt;
&lt;br /&gt;
Here is the list of all defined category meanings: &lt;br /&gt;
&lt;br /&gt;
 CATEGORY_UNKNOWN&lt;br /&gt;
 CATEGORY_OPERATOR_FRENCH&lt;br /&gt;
 CATEGORY_OPERATOR_ENGLISH&lt;br /&gt;
 CATEGORY_OPERATOR_GERMAN&lt;br /&gt;
 CATEGORY_OPERATOR_RUSSIAN&lt;br /&gt;
 CATEGORY_OPERATOR_SPANISH&lt;br /&gt;
 CATEGORY_SUBSCRIBER&lt;br /&gt;
 CATEGORY_SUBSCRIBER_WITH_PRIORITY&lt;br /&gt;
 CATEGORY_DATA&lt;br /&gt;
 CATEGORY_TEST&lt;br /&gt;
 CATEGORY_PAYPHONE&lt;br /&gt;
&lt;br /&gt;
= References =&lt;br /&gt;
&lt;br /&gt;
* [http://www.lua.org Lua Programming Language official website]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Line_signaling Line signaling Wikipedia article]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Register_signaling Register signaling Wikipedia article]&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</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-06-07T20:37:16Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &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 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_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_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 &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 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;
Any custom sip header can be added to an outgoing call leg:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;call[ :sip_header ] = [&amp;quot;P-my-custom-header:any value&amp;quot;]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many can be added at one time:&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;call[ :sip_header ] = [&amp;quot;P-my-custom-header:value1&amp;quot;, &amp;quot;P-my-custom-header2:value2&amp;quot;, &amp;quot;P-my-custom-header3:value3&amp;quot;]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: It is not possible to read custom sip headers from inbound call legs.&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;
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;
=== 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;
== 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;
  #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>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/CAS_R2_BACK_DIGITS</id>
		<title>CAS R2 BACK DIGITS</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/CAS_R2_BACK_DIGITS"/>
				<updated>2013-06-03T21:25:06Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added dial plan extension&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The default CAS R2 scripts included with Toolpack present a way to configure the sequence of tone requests sent by the backward end. &lt;br /&gt;
&lt;br /&gt;
To learn how to set a CAS R2 variable in Toolpack, refer to the latest [[Web_Portal]] Tutorial Guide.&lt;br /&gt;
&lt;br /&gt;
''The digit meanings in this article are the ones defined in the [[CAS R2 ITU specification]]. Digit meanings may vary depending on the variant specification.''&lt;br /&gt;
&lt;br /&gt;
== Compelled sequence and information exchange ==&lt;br /&gt;
[[File:Casr2_fwd_bwd_diagram.png]]&lt;br /&gt;
&lt;br /&gt;
In most implementations, the information available from CAS R2 signaling is exchanged through compelled sequences of tones. A compelled sequence consists into the forward end emitting a digit and the backward end responding with a second digit. The backward end confirms reception of the digit by stopping to emit, and waits for the forward end to do so as well to initiate the next sequence. In a way, the forward end is mostly passive: it responds to backward end requests, except when the requests cannot be met, or for the first sequence.&lt;br /&gt;
&lt;br /&gt;
One way of representing such exchanges can be expressed as follows:&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Forward  : 4  5  0  6  5  5  8  9  9  3 &lt;br /&gt;
 Backward :   1  1  1  1  1  1  1  1  1  6&lt;br /&gt;
&lt;br /&gt;
In the previous example, the forward end emits the first digit of the called number '4'. The backward end responds with the '1' digit, which request the next called number digit. The exchanges goes on until the backward end has received all the digits it needed, and closed the exchange with the '6' digit, which means the call was accepted.&lt;br /&gt;
&lt;br /&gt;
The incoming end may (and will, most of the time) request the calling number and the calling party category as well:&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Calling number: 4506559511&lt;br /&gt;
 Calling party category: 1 (Subscriber without priority)&lt;br /&gt;
 Forward  : 4  5  0  6  5  5  8  9  9  3  1  4  5  0  6  5  5  9  5  1  1&lt;br /&gt;
 Backward :   1  1  1  1  1  1  1  1  1  5  5  5  5  5  5  5  5  5  5  5  6&lt;br /&gt;
&lt;br /&gt;
In this example, the backward end requested the calling party category (using digit '5') after having received all the called number digits. Still using digit '5', it then requested the calling number. Once it was fully received, the backward end accepted the call with digit '6'.&lt;br /&gt;
&lt;br /&gt;
Here is a second example where the backward send an extra '5' when gathering the calling number (The picture also shows the different CAS R2 concepts and TelcoBridges Cas R2 script BACK_DIGITS variable):&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Calling number: 4506559511&lt;br /&gt;
 Calling party category: 2 (Subscriber without priority)&lt;br /&gt;
&lt;br /&gt;
[[Image:Casr2_bwd_digit_string.png|widthpx|Backward digit string overview]]&lt;br /&gt;
&lt;br /&gt;
Finally, here is a final example:&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Calling number: 12345&lt;br /&gt;
 Calling party category: 2 (Subscriber with priority)&lt;br /&gt;
 Forward  : 4  5  0  6  5  5  8  9  9  3  2  1  2  3  4  5  F  2&lt;br /&gt;
 Backward :   1  1  1  1  1  1  1  1  1  5  5  5  5  5  5  5  3  6&lt;br /&gt;
&lt;br /&gt;
In this final example, the backward end sent an extra extra '5' digit, and the backward end responded with 'F' to mark the end of the calling number. Then, the backward end sent digit '3' which represent two things: request of the category again, and also signify to the forward end that the next digit belongs to a different grouping (named &amp;quot;Group B&amp;quot;). Once the category was received, the backward end accepted the call with the '6'.&lt;br /&gt;
&lt;br /&gt;
== The BACK_DIGITS variable ==&lt;br /&gt;
&lt;br /&gt;
In the CAS R2 default scripts found in Toolpack, the BACK_DIGITS variable expresses the digits that must be emitted from the backward end (incoming CAS R2 call). A functioning BACK_DIGITS variable that complies with the second example of the last section would be:&lt;br /&gt;
 BACK_DIGITS = &amp;quot;111111111555555536&amp;quot;&lt;br /&gt;
&lt;br /&gt;
However, such a sequence has many problems. Firsthand, the called number may be invalid and the call should be refused. To let Toolpack handle the decision of accepting or refusing the call when in group B, the 'V' symbol is used. With the aid of tables found in the script, Toolpack will be able to find the appropriate digit to emit considering the acceptation or refusal of the call.&lt;br /&gt;
 BACK_DIGITS = &amp;quot;11111111155555553V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To simplify the variable contents, the 'A' symbol may be used. What it does is send the '5' digit until 'F' is received. The variable would be slimmer:&lt;br /&gt;
 BACK_DIGITS = &amp;quot;1111111115A3V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
With such a string, the only thing to worry about is the length of the called number. If the called number length may vary, the number of '1's must match the longest possible number. In the case where the forward end receives a '1' when it has sent all its digits, the conventional way of handling this is for the forward end to not emit anything for a while, until the backward end detects this condition and requests something else. In this case, the default scripts in Toolpack will handle this case gracefully and skip the remaining '1's found in the BACK_DIGITS variable.&lt;br /&gt;
&lt;br /&gt;
'''(2.7+ only)''' The 'G' symbol may be used to indicate that '1's should be sent until no digit or a 'F' is received. The BACK_DIGITS thus becomes the following:&lt;br /&gt;
 BACK_DIGITS = &amp;quot;G5A3V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
'''(2.7.31+ only)''' The 'P' symbol may be used like the 'G' symbol, except that the number of called number digits is determined by the DIAL_PLAN variable, such as the following:&lt;br /&gt;
  DIAL_PLAN =&lt;br /&gt;
  {&lt;br /&gt;
  --  Matching pattern        Number of called number digits to request&lt;br /&gt;
    { &amp;quot;^12&amp;quot;,                  6 }, -- Expect 6 called number digits, must be&lt;br /&gt;
                                   -- before &amp;quot;^1&amp;quot; because otherwise it wouldn't&lt;br /&gt;
                                   -- be matched&lt;br /&gt;
    { &amp;quot;^1&amp;quot;,                   4 }  -- Expect 4 digits total&lt;br /&gt;
    -- If no matching pattern works, an unlimited number of called number digits&lt;br /&gt;
    -- are requested until the remote equipment stops providing them.&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/CAS_R2_BACK_DIGITS</id>
		<title>CAS R2 BACK DIGITS</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/CAS_R2_BACK_DIGITS"/>
				<updated>2013-04-22T21:07:39Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added 'G' symbol from release 2.7&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The default CAS R2 scripts included with Toolpack present a way to configure the sequence of tone requests sent by the backward end. &lt;br /&gt;
&lt;br /&gt;
To learn how to set a CAS R2 variable in Toolpack, refer to the latest [[Web_Portal]] Tutorial Guide.&lt;br /&gt;
&lt;br /&gt;
''The digit meanings in this article are the ones defined in the [[CAS R2 ITU specification]]. Digit meanings may vary depending on the variant specification.''&lt;br /&gt;
&lt;br /&gt;
== Compelled sequence and information exchange ==&lt;br /&gt;
[[File:Casr2_fwd_bwd_diagram.png]]&lt;br /&gt;
&lt;br /&gt;
In most implementations, the information available from CAS R2 signaling is exchanged through compelled sequences of tones. A compelled sequence consists into the forward end emitting a digit and the backward end responding with a second digit. The backward end confirms reception of the digit by stopping to emit, and waits for the forward end to do so as well to initiate the next sequence. In a way, the forward end is mostly passive: it responds to backward end requests, except when the requests cannot be met, or for the first sequence.&lt;br /&gt;
&lt;br /&gt;
One way of representing such exchanges can be expressed as follows:&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Forward  : 4  5  0  6  5  5  8  9  9  3 &lt;br /&gt;
 Backward :   1  1  1  1  1  1  1  1  1  6&lt;br /&gt;
&lt;br /&gt;
In the previous example, the forward end emits the first digit of the called number '4'. The backward end responds with the '1' digit, which request the next called number digit. The exchanges goes on until the backward end has received all the digits it needed, and closed the exchange with the '6' digit, which means the call was accepted.&lt;br /&gt;
&lt;br /&gt;
The incoming end may (and will, most of the time) request the calling number and the calling party category as well:&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Calling number: 4506559511&lt;br /&gt;
 Calling party category: 1 (Subscriber without priority)&lt;br /&gt;
 Forward  : 4  5  0  6  5  5  8  9  9  3  1  4  5  0  6  5  5  9  5  1  1&lt;br /&gt;
 Backward :   1  1  1  1  1  1  1  1  1  5  5  5  5  5  5  5  5  5  5  5  6&lt;br /&gt;
&lt;br /&gt;
In this example, the backward end requested the calling party category (using digit '5') after having received all the called number digits. Still using digit '5', it then requested the calling number. Once it was fully received, the backward end accepted the call with digit '6'.&lt;br /&gt;
&lt;br /&gt;
Here is a second example where the backward send an extra '5' when gathering the calling number (The picture also shows the different CAS R2 concepts and TelcoBridges Cas R2 script BACK_DIGITS variable):&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Calling number: 4506559511&lt;br /&gt;
 Calling party category: 2 (Subscriber without priority)&lt;br /&gt;
&lt;br /&gt;
[[Image:Casr2_bwd_digit_string.png|widthpx|Backward digit string overview]]&lt;br /&gt;
&lt;br /&gt;
Finally, here is a final example:&lt;br /&gt;
 Called number: 4506558993&lt;br /&gt;
 Calling number: 12345&lt;br /&gt;
 Calling party category: 2 (Subscriber with priority)&lt;br /&gt;
 Forward  : 4  5  0  6  5  5  8  9  9  3  2  1  2  3  4  5  F  2&lt;br /&gt;
 Backward :   1  1  1  1  1  1  1  1  1  5  5  5  5  5  5  5  3  6&lt;br /&gt;
&lt;br /&gt;
In this final example, the backward end sent an extra extra '5' digit, and the backward end responded with 'F' to mark the end of the calling number. Then, the backward end sent digit '3' which represent two things: request of the category again, and also signify to the forward end that the next digit belongs to a different grouping (named &amp;quot;Group B&amp;quot;). Once the category was received, the backward end accepted the call with the '6'.&lt;br /&gt;
&lt;br /&gt;
== The BACK_DIGITS variable ==&lt;br /&gt;
&lt;br /&gt;
In the CAS R2 default scripts found in Toolpack, the BACK_DIGITS variable expresses the digits that must be emitted from the backward end (incoming CAS R2 call). A functioning BACK_DIGITS variable that complies with the second example of the last section would be:&lt;br /&gt;
 BACK_DIGITS = &amp;quot;111111111555555536&amp;quot;&lt;br /&gt;
&lt;br /&gt;
However, such a sequence has many problems. Firsthand, the called number may be invalid and the call should be refused. To let Toolpack handle the decision of accepting or refusing the call when in group B, the 'V' symbol is used. With the aid of tables found in the script, Toolpack will be able to find the appropriate digit to emit considering the acceptation or refusal of the call.&lt;br /&gt;
 BACK_DIGITS = &amp;quot;11111111155555553V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To simplify the variable contents, the 'A' symbol may be used. What it does is send the '5' digit until 'F' is received. The variable would be slimmer:&lt;br /&gt;
 BACK_DIGITS = &amp;quot;1111111115A3V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
With such a string, the only thing to worry about is the length of the called number. If the called number length may vary, the number of '1's must match the longest possible number. In the case where the forward end receives a '1' when it has sent all its digits, the conventional way of handling this is for the forward end to not emit anything for a while, until the backward end detects this condition and requests something else. In this case, the default scripts in Toolpack will handle this case gracefully and skip the remaining '1's found in the BACK_DIGITS variable.&lt;br /&gt;
&lt;br /&gt;
'''(2.7+ only)''' The 'G' symbol may be used to indicate that '1's should be sent until no digit or a 'F' is received. The BACK_DIGITS thus becomes the following:&lt;br /&gt;
 BACK_DIGITS = &amp;quot;G5A3V&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[category:Needs revising]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Test_Call</id>
		<title>Test Call</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Test_Call"/>
				<updated>2013-04-22T18:32:13Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Starting with release [[TMG-CONTROL_Version_2.7|v2.7]] of [[Toolpack]], it is now possible to simulate incoming calls and issue outgoing calls through the [[Web Portal]] interface.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
*'''Extended parameter testing''': It is often hard to reproduce a particular call scenario in a production environment. The Test Call interface provides every routing script parameter available to be customized, allowing to test every corner case possible. Calls can be initiated from and to every [[NAP|Network Access Point]]s available in the system, which lets the user quickly verify the behavior of calls to remote peers.&lt;br /&gt;
*'''Easier debugging''': The call flow of all supported protocols is available to the user as it occurs in real time. Audio can be played and recorded to enable the debugging of connection paths efficiently.&lt;br /&gt;
*'''Faster deployment''': With Test Call, any call can be instantly instantiated from and to any peer with different settings from the [[Web Portal]] interface. It is now possible to test a Toolpack system without using actual phones to start calls. Using incoming calls, the routing scripts can effectively be tested in an production environment without using an external equipment.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.7#Test_Call|Toolpack v2.7: Test Call]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Test_Call</id>
		<title>Test Call</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Test_Call"/>
				<updated>2013-04-22T18:29:00Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Starting with release [[TMG-CONTROL_Version_2.7|v2.7]] of [[Toolpack]], it is now possible to simulate incoming calls and issue outgoing calls through the [[Web Portal]] interface.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
*'''Extended parameter testing''': It is often hard to reproduce a particular call scenario in a production environment. The Test Call interface provides every routing script parameter available to be customized, allowing to test every corner case possible. Calls can be initiated from and to every [[NAP|Network Access Point]]s available in the system, which lets the user quickly verify the behavior of calls to remote peers.&lt;br /&gt;
*'''Easier debugging''': The call flow of all supported protocols is available to the user as it occurs in real time. Audio can be played and recorded to enabling the debugging of connection paths efficiently.&lt;br /&gt;
*'''Faster deployment''': With Test Call, any call can be instantly instantiated from and to any peer with different settings from the [[Web Portal]] interface. It is now possible to test a Toolpack system without using actual phones to start calls. Using incoming calls, the routing scripts can effectively be tested in an production environment without using an external equipment.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.7#Test_Call|Toolpack v2.7: Test Call]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Test_Call</id>
		<title>Test Call</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Test_Call"/>
				<updated>2013-04-22T18:24:22Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added test call summary.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Starting with release [[TMG-CONTROL_Version_2.7|v2.7]] of [[Toolpack]], it is now possible to simulate incoming calls and issue outgoing calls through the [[Web Portal]] interface.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
*'''Extended parameter testing''': It is often hard to reproduce a particular call scenario in a production environment. The Test Call interface provides every routing script parameter available to be customized, allowing to test every corner case possible. Calls can be initiated from and to every [[NAP|Network Access Point]]s available in the system, which lets the user quickly verify the behavior of calls to remote peers.&lt;br /&gt;
*'''Easier debugging''': The call flow of all supported protocols is available to the user as it occurs in real time. Audio can be played and recorded to enabling the debugging of connection paths efficiently.&lt;br /&gt;
*'''Faster deployment''': With Test Call, any call can be instantly instantiated from and to any peer with different settings from the [[Web Portal]] interface. It is now possible to test a Toolpack system without using actual phones to start calls.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
[[Web_Portal_Tutorial_Guide_v2.7#Test_Call|Toolpack v2.7: Test Call]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A</id>
		<title>Toolpack:Configuring RADIUS authorization A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A"/>
				<updated>2013-03-07T21:03:15Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added requires_radius_authorization?.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to configure RADIUS authentication and authorization with [[Toolpack]].&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; Routing script''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_0_A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- '''Edit''' your main script&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_2_A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Do the following operations in your script:&lt;br /&gt;
&lt;br /&gt;
*'''At the top of the page'''&lt;br /&gt;
 require 'radius_authorization'&lt;br /&gt;
*'''Following your main class definition'''&lt;br /&gt;
 include RadiusAuthorization&lt;br /&gt;
*'''Add before filter in your main class'''&lt;br /&gt;
 before_filter :method =&amp;gt; :radius_authorization&lt;br /&gt;
*'''Optional: add the ''fill_authorization_attributes'' method'''&lt;br /&gt;
 def fill_authorization_attributes(params, auth)&lt;br /&gt;
   auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
 end&lt;br /&gt;
*'''Optional: add the ''requires_radius_authorization?'' method to reduce the scope of the authorization:&lt;br /&gt;
 def requires_radius_authorization?(params)&lt;br /&gt;
   case params[:call][:called]&lt;br /&gt;
     when /^123/&lt;br /&gt;
       true&lt;br /&gt;
     ...&lt;br /&gt;
     else&lt;br /&gt;
       false&lt;br /&gt;
   end&lt;br /&gt;
 end&lt;br /&gt;
*'''Optional: add methods to handle the possible results of authorization: ''on_radius_authorization_accept'', ''on_radius_authorization_challenge'', ''on_radius_authorization_reject'' and ''on_radius_authorization_timeout'':'''&lt;br /&gt;
 def on_radius_authorization_accept(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_challenge(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Challenge: #{auth.inspect}&amp;quot;&lt;br /&gt;
   raise RoutingException, :call_rejected&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_reject(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Reject: #{auth.inspect}&amp;quot;&lt;br /&gt;
   raise RoutingException, :call_rejected&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_timeout(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Authorization Timeout&amp;quot;&lt;br /&gt;
   raise RoutingException, :call_rejected&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
4- Click 'Save'&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following script configures RADIUS authorization with the default attributes (''User-Name'', ''Calling-Station-Id'' and ''Called-Station-Id''):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Advanced example ==&lt;br /&gt;
The following script configures RADIUS authorization with user-defined attributes, and prints attributes found in the Access-Accept message if it is received:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def fill_authorization_attributes(params, auth)                                 # &amp;lt;- Add this line here&lt;br /&gt;
    call = params[:call]                                                          # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;                                                    # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Password&amp;quot;] = &amp;quot;hello&amp;quot;                                              # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Calling-Station-Id&amp;quot;] = call[:calling]                                  # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Called-Station-Id&amp;quot;] = call[:called]                                    # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def on_radius_authorization_accept(params, auth)                                # &amp;lt;- Add this line here&lt;br /&gt;
    log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;                           # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</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-02-14T20:51:42Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added Acct-Session-Time&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;
 * = Not implemented.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A</id>
		<title>Toolpack:Configuring RADIUS authorization A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A"/>
				<updated>2013-01-25T20:33:43Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Raise :call_rejected instead of :no_route&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to configure RADIUS authentication and authorization with [[Toolpack]].&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; Routing script''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_0_A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- '''Edit''' your main script&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_2_A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Do the following operations in your script:&lt;br /&gt;
&lt;br /&gt;
*'''At the top of the page'''&lt;br /&gt;
 require 'radius_authorization'&lt;br /&gt;
*'''Following your main class definition'''&lt;br /&gt;
 include RadiusAuthorization&lt;br /&gt;
*'''Add before filter in your main class'''&lt;br /&gt;
 before_filter :method =&amp;gt; :radius_authorization&lt;br /&gt;
*'''Optional: add the ''fill_authorization_attributes'' method'''&lt;br /&gt;
 def fill_authorization_attributes(params, auth)&lt;br /&gt;
   auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
 end&lt;br /&gt;
*'''Optional: add methods to handle the possible results of authorization: ''on_radius_authorization_accept'', ''on_radius_authorization_challenge'', ''on_radius_authorization_reject'' and ''on_radius_authorization_timeout'':'''&lt;br /&gt;
 def on_radius_authorization_accept(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_challenge(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Challenge: #{auth.inspect}&amp;quot;&lt;br /&gt;
   raise RoutingException, :call_rejected&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_reject(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Reject: #{auth.inspect}&amp;quot;&lt;br /&gt;
   raise RoutingException, :call_rejected&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_timeout(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Authorization Timeout&amp;quot;&lt;br /&gt;
   raise RoutingException, :call_rejected&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
4- Click 'Save'&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following script configures RADIUS authorization with the default attributes (''User-Name'', ''Calling-Station-Id'' and ''Called-Station-Id''):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Advanced example ==&lt;br /&gt;
The following script configures RADIUS authorization with user-defined attributes, and prints attributes found in the Access-Accept message if it is received:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def fill_authorization_attributes(params, auth)                                 # &amp;lt;- Add this line here&lt;br /&gt;
    call = params[:call]                                                          # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;                                                    # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Password&amp;quot;] = &amp;quot;hello&amp;quot;                                              # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Calling-Station-Id&amp;quot;] = call[:calling]                                  # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Called-Station-Id&amp;quot;] = call[:called]                                    # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def on_radius_authorization_accept(params, auth)                                # &amp;lt;- Add this line here&lt;br /&gt;
    log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;                           # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/RADIUS</id>
		<title>RADIUS</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/RADIUS"/>
				<updated>2013-01-21T19:16:25Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added links for RADIUS CDR attribute remapping&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Remote Authentication Dial In User Service, more popularly known as RADIUS, is used by telecom service providers for the purpose of authenticating, authorizing, and accounting for the use of services by subscribers. A RADIUS server is an application server that provides this functionality. It can take as input as well as output [[Call detail record]] (CDR) data. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== TelcoBridges and RADIUS  ==&lt;br /&gt;
&lt;br /&gt;
Starting with release [[Toolpack_version_2.3|v2.3]] of [[Toolpack]], explicit support for the accounting function of RADIUS is now offered. Previously, Toolpack stored [[Call detail record]] (CDR) data in a local database. Starting with Toolpack v2.3, CDR data is stored on a dedicated, external server running an implementation of the RADIUS standard. Configuration of the location of the RADIUS server is performed through the Toolpack web portal.&lt;br /&gt;
&lt;br /&gt;
Starting with release [[TMG-CONTROL_Version_2.6|v2.6]] of [[Toolpack]], multiple RADIUS servers can now be configured for backup purposes.&lt;br /&gt;
&lt;br /&gt;
Starting with release [[TMG-CONTROL_Version_2.7|v2.7]] of [[Toolpack]], calls can now be validated through a RADIUS server with authentication and authorization. The RADIUS server may also change routing parameters for calls.&lt;br /&gt;
&lt;br /&gt;
[[File:Radius_High-level_drawing_v2.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites  ===&lt;br /&gt;
&lt;br /&gt;
In order to enable RADIUS functionality in Toolpack, you must have a RADIUS server already up and running. It is highly recommended that the RADIUS server software being running on a separate machine from the one running the Toolpack software. Before configuring Toolpack, you will need the IP address of the RADIUS server(s). You will need to specify a ‘secret key’ which will authenticate the Toolpack server so that it can send accounting, authentication and authorization data and to the RADIUS server and the RADIUS server will accept it. &lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
*[[Web_Portal_Tutorial_Guide_v2.6#CDR|Toolpack v2.6: RADIUS configuration]]&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_A|Toolpack v2.5: RADIUS configuration]]&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_A|Toolpack v2.4: RADIUS configuration]]&lt;br /&gt;
*[[Toolpack:Configuring_RADIUS_A|Toolpack v2.3: RADIUS configuration]]&lt;br /&gt;
&lt;br /&gt;
=== Toolpack to RADIUS CDR attributes remapping  ===&lt;br /&gt;
When Toolpack sends ''Access-Request'' messages to a RADIUS server, some specific attributes are included in the message. These attributes have been improved through Toolpack releases to better meet accounting services requirements.&lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:RADIUS_CDR_attributes_C|Toolpack v2.7: RADIUS CDR attributes]]&lt;br /&gt;
*[[Toolpack:RADIUS_CDR_attributes_B|Toolpack v2.6: RADIUS CDR attributes]]&lt;br /&gt;
*[[Toolpack:RADIUS_CDR_attributes_A|Toolpack v2.5 and earlier: RADIUS CDR attributes]]&lt;br /&gt;
&lt;br /&gt;
== Dealing with incoherent CDR entries ==&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;
== References  ==&lt;br /&gt;
&lt;br /&gt;
*[[Toolpack:Status_Menus:RADIUS_A|Radius status in TMG web portal]]&lt;br /&gt;
*[http://en.wikipedia.org/wiki/RADIUS Radius Wikipedia article] &lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2866.txt Link to RFC 2866 – Radius Accounting]&lt;br /&gt;
*[http://www.freeradius.net FreeRADIUS website]&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</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-01-21T19:07:41Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: User-Name is now the incoming NAP name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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;
 * = Not implemented.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</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-01-21T19:06:32Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: User-Name is now the incoming NAP name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
| - &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;
&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;
 * = Not implemented.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</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-01-21T19:05:32Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Fixed spacing&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
| - &lt;br /&gt;
| For now this value is hardcoded to &amp;quot;100&amp;quot;&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;
&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;
 * = Not implemented.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</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-01-21T19:04:41Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
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;
| - &lt;br /&gt;
| For now this value is hardcoded to &amp;quot;100&amp;quot;&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;
&lt;br /&gt;
Attribute ID 26, Vendor ID: 9 (Cisco)&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;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;
Attribute ID 26, Vendor ID: 21776 (TelcoBridges)&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;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;
 * = Not implemented.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:RADIUS_CDR_attributes_B</id>
		<title>Toolpack:RADIUS CDR attributes B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:RADIUS_CDR_attributes_B"/>
				<updated>2013-01-21T18:48:28Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.6''''' ===&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;
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; | AVP 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; | 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;
| - &lt;br /&gt;
| For now this value is hardcoded to &amp;quot;100&amp;quot;&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;
&lt;br /&gt;
AVP: 26  VendorID: 9 (Cisco)&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;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | VSA 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;answer&amp;quot; for an outgoing leg - &amp;quot;originate&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;
AVP: 26  VendorID: 21776 (TelcoBridges)&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;210&amp;quot; style=&amp;quot;background: none repeat scroll 0% 0% rgb(239, 239, 239);&amp;quot; | VSA 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;
 * = Not implemented.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:RADIUS_CDR_attributes_A</id>
		<title>Toolpack:RADIUS CDR attributes A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:RADIUS_CDR_attributes_A"/>
				<updated>2013-01-21T18:44:43Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Added page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.5 and earlier''''' ===&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;
{| 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; | AVP 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; | 4&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; | 2&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; | 21 &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;
| Call Leg Identifier of the other call leg joined with current call leg&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 9 &lt;br /&gt;
| Telcob-ChargeIndicator &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | string&amp;lt;br&amp;gt; &lt;br /&gt;
| Charge indicator &lt;br /&gt;
| Represent the charge indicator value&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&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; | 7&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; | 6&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; | 10&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; | 17&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; | 8&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;answer&amp;quot; for an outgoing leg - &amp;quot;originate&amp;quot; for an incoming leg&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 18&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;
| &amp;amp;nbsp; 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; | 19&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;
| &amp;amp;nbsp; 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; | 3&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;
| &amp;amp;nbsp; 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; | &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;
| &amp;amp;nbsp; 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; | 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;
| - &lt;br /&gt;
| For now this value is hardcoded to &amp;quot;100&amp;quot;&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; | 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;
| 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;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A</id>
		<title>Toolpack:Configuring RADIUS authorization A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A"/>
				<updated>2013-01-21T14:57:52Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Improved examples&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to configure RADIUS authentication and authorization with [[Toolpack]].&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; Routing script''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_0_A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- '''Edit''' your main script&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_2_A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Do the following operations in your script:&lt;br /&gt;
&lt;br /&gt;
*'''At the top of the page'''&lt;br /&gt;
 require 'radius_authorization'&lt;br /&gt;
*'''Following your main class definition'''&lt;br /&gt;
 include RadiusAuthorization&lt;br /&gt;
*'''Add before filter in your main class'''&lt;br /&gt;
 before_filter :method =&amp;gt; :radius_authorization&lt;br /&gt;
*'''Optional: add the ''fill_authorization_attributes'' method'''&lt;br /&gt;
 def fill_authorization_attributes(params, auth)&lt;br /&gt;
   auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
 end&lt;br /&gt;
*'''Optional: add methods to handle the possible results of authorization: ''on_radius_authorization_accept'', ''on_radius_authorization_challenge'', ''on_radius_authorization_reject'' and ''on_radius_authorization_timeout'':'''&lt;br /&gt;
 def on_radius_authorization_accept(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_challenge(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Challenge: #{auth.inspect}&amp;quot;&lt;br /&gt;
   raise RoutingException, :no_route&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_reject(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Reject: #{auth.inspect}&amp;quot;&lt;br /&gt;
   raise RoutingException, :no_route&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 def on_radius_authorization_timeout(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Authorization Timeout&amp;quot;&lt;br /&gt;
   raise RoutingException, :no_route&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
4- Click 'Save'&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following script configures RADIUS authorization with the default attributes (''User-Name'', ''Calling-Station-Id'' and ''Called-Station-Id''):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Advanced example ==&lt;br /&gt;
The following script configures RADIUS authorization with user-defined attributes, and prints attributes found in the Access-Accept message if it is received:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def fill_authorization_attributes(params, auth)                                 # &amp;lt;- Add this line here&lt;br /&gt;
    call = params[:call]                                                          # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;                                                    # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Password&amp;quot;] = &amp;quot;hello&amp;quot;                                              # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Calling-Station-Id&amp;quot;] = call[:calling]                                  # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Called-Station-Id&amp;quot;] = call[:called]                                    # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def on_radius_authorization_accept(params, auth)                                # &amp;lt;- Add this line here&lt;br /&gt;
    log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;                           # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A</id>
		<title>Toolpack:Configuring RADIUS authorization A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A"/>
				<updated>2013-01-21T14:45:45Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to configure RADIUS authentication and authorization with [[Toolpack]].&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; Routing script''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_0_A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- '''Edit''' your main script&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_2_A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Do the following operations in your script:&lt;br /&gt;
&lt;br /&gt;
*'''At the top of the page'''&lt;br /&gt;
 require 'radius_authorization'&lt;br /&gt;
*'''Following your main class definition'''&lt;br /&gt;
 include RadiusAuthorization&lt;br /&gt;
*'''Add before filter in your main class'''&lt;br /&gt;
 before_filter :method =&amp;gt; :radius_authorization&lt;br /&gt;
*'''Optional: add the ''fill_authorization_attributes'' method'''&lt;br /&gt;
 def fill_authorization_attributes(params, auth)&lt;br /&gt;
   auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
 end&lt;br /&gt;
*'''Optional: add the ''on_radius_authorization_accept'' method'''&lt;br /&gt;
 def on_radius_authorization_accept(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
4- Click 'Save'&lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Adding_a_custom_RADIUS_dictionary_A</id>
		<title>Adding a custom RADIUS dictionary A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Adding_a_custom_RADIUS_dictionary_A"/>
				<updated>2013-01-21T14:40:16Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: moved Adding a custom RADIUS dictionary A to Toolpack:Adding a custom RADIUS dictionary A: Added Toolpack:&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Toolpack:Adding a custom RADIUS dictionary A]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_custom_RADIUS_dictionary_A</id>
		<title>Toolpack:Adding a custom RADIUS dictionary A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_custom_RADIUS_dictionary_A"/>
				<updated>2013-01-21T14:40:16Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: moved Adding a custom RADIUS dictionary A to Toolpack:Adding a custom RADIUS dictionary A: Added Toolpack:&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to add a custom RADIUS dictionary to use vendor-specific RADIUS attributes.&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; File Db''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:FileDB 0 A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''RADIUS dictionaries''' section, click '''Import new RADIUS dictionary'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-file-db-dictionary-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Click the '''Browse...''' button to select the RADIUS dictionary to add. When the file is selected, click '''Import'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-file-db-dictionary-import-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''File was successfully imported.''' message appears.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A</id>
		<title>Toolpack:Configuring RADIUS authorization A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_authorization_A"/>
				<updated>2013-01-18T23:55:34Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Created page with &amp;quot;=== '''''Applies to version(s): v2.7.''''' === This page describes how to configure RADIUS authentication and authorization with Toolpack.  1- Select '''Gateway -&amp;gt; Routing...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to configure RADIUS authentication and authorization with [[Toolpack]].&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; Routing script''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_0_A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- '''Edit''' your main script&lt;br /&gt;
&lt;br /&gt;
[[Image:RoutingScript_2_A.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Do the following operations in your script:&lt;br /&gt;
&lt;br /&gt;
*'''At the top of the page'''&lt;br /&gt;
 require 'radius_authorization'&lt;br /&gt;
*'''Following your main class definition'''&lt;br /&gt;
 include RadiusAuthorization&lt;br /&gt;
*'''Add before filter in your main class'''&lt;br /&gt;
 before_filter :method =&amp;gt; :radius_authorization&lt;br /&gt;
*'''Optional: add the ''fill_authorization_attributes'' method'''&lt;br /&gt;
 def fill_authorization_attributes(params, auth)&lt;br /&gt;
   auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
 end&lt;br /&gt;
*'''Optional: add the ''on_radius_authorization_accept'' method'''&lt;br /&gt;
 def on_radius_authorization_accept(params, auth)&lt;br /&gt;
   log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
4- Click 'Save'&lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require 'base_routing'&lt;br /&gt;
require 'radius_authorization'                                                    # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
class my_script &amp;lt; BaseRouting&lt;br /&gt;
  include RadiusAuthorization                                                     # &amp;lt;- Add this line here&lt;br /&gt;
  &lt;br /&gt;
  before_filter :method =&amp;gt; :radius_authorization                                  # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def fill_authorization_attributes(params, auth)                                 # &amp;lt;- Add this line here&lt;br /&gt;
    call = params[:call]                                                          # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Name&amp;quot;] = &amp;quot;bob&amp;quot;                                                    # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;User-Password&amp;quot;] = &amp;quot;hello&amp;quot;                                              # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Calling-Station-Id&amp;quot;] = call[:calling]                                  # &amp;lt;- Add this line here&lt;br /&gt;
    auth[:&amp;quot;Called-Station-Id&amp;quot;] = call[:called]                                    # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  def on_radius_authorization_accept(params, auth)                                # &amp;lt;- Add this line here&lt;br /&gt;
    log_trace :always, &amp;quot;Access-Accept: #{auth.inspect}&amp;quot;                           # &amp;lt;- Add this line here&lt;br /&gt;
  end                                                                             # &amp;lt;- Add this line here&lt;br /&gt;
&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :called&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :calling&lt;br /&gt;
  route_match :call_field_name =&amp;gt; :nap&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :called, :route_field_name =&amp;gt; :remapped_called&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :calling, :route_field_name =&amp;gt; :remapped_calling&lt;br /&gt;
  route_remap :call_field_name =&amp;gt; :nap, :route_field_name =&amp;gt; :remapped_nap&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
@@routing = my_script.new&lt;br /&gt;
&lt;br /&gt;
def init_routes( routes )&lt;br /&gt;
  @@routing.init routes&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
def route( call, nap_list )&lt;br /&gt;
  @@routing.route call, nap_list&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:RADIUS-file-db-dictionary-import-2_7.PNG</id>
		<title>File:RADIUS-file-db-dictionary-import-2 7.PNG</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:RADIUS-file-db-dictionary-import-2_7.PNG"/>
				<updated>2013-01-18T23:39:40Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:RADIUS-file-db-dictionary-2_7.PNG</id>
		<title>File:RADIUS-file-db-dictionary-2 7.PNG</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:RADIUS-file-db-dictionary-2_7.PNG"/>
				<updated>2013-01-18T23:39:25Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: uploaded a new version of &amp;amp;quot;File:RADIUS-file-db-dictionary-2 7.PNG&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:RADIUS-file-db-dictionary-2_7.PNG</id>
		<title>File:RADIUS-file-db-dictionary-2 7.PNG</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:RADIUS-file-db-dictionary-2_7.PNG"/>
				<updated>2013-01-18T23:38:48Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_custom_RADIUS_dictionary_A</id>
		<title>Toolpack:Adding a custom RADIUS dictionary A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_custom_RADIUS_dictionary_A"/>
				<updated>2013-01-18T23:38:11Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to add a custom RADIUS dictionary to use vendor-specific RADIUS attributes.&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; File Db''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:FileDB 0 A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''RADIUS dictionaries''' section, click '''Import new RADIUS dictionary'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-file-db-dictionary-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Click the '''Browse...''' button to select the RADIUS dictionary to add. When the file is selected, click '''Import'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-file-db-dictionary-import-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''File was successfully imported.''' message appears.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_custom_RADIUS_dictionary_A</id>
		<title>Toolpack:Adding a custom RADIUS dictionary A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_a_custom_RADIUS_dictionary_A"/>
				<updated>2013-01-18T23:37:44Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Created page with &amp;quot;=== '''''Applies to version(s): v2.7.''''' === This page describes how to add a custom RADIUS dictionary to use vendor-specific RADIUS attributes.  1- Select '''Gateway -&amp;gt; Fil...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7.''''' ===&lt;br /&gt;
This page describes how to add a custom RADIUS dictionary to use vendor-specific RADIUS attributes.&lt;br /&gt;
&lt;br /&gt;
1- Select '''Gateway -&amp;gt; File Db''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[FileDB 0 A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''RADIUS dictionaries''' section, click '''Import new RADIUS dictionary'''.&lt;br /&gt;
&lt;br /&gt;
[[RADIUS-file-db-dictionary-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Click the '''Browse...''' button to select the RADIUS dictionary to add. When the file is selected, click '''Import'''.&lt;br /&gt;
&lt;br /&gt;
[[RADIUS-file-db-dictionary-import-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- Verify that the '''File was successfully imported.''' message appears.&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B</id>
		<title>Toolpack:Adding RADIUS server B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B"/>
				<updated>2013-01-18T20:57:53Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Toolpack: Adding RADIUS Server(s)}}&lt;br /&gt;
Multiple RADIUS servers can be configured to provide RADIUS redundancy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Select '''RADIUS''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Config_left_panel.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''Editing RADIUS client configuration''' page, select '''Create new RADIUS server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-create-server-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Configure the RADIUS server with these parameters:&lt;br /&gt;
*'''Name''' to recognize the server.&lt;br /&gt;
*'''Server IP address''' is the IP address of the RADIUS server.&lt;br /&gt;
*'''Server UDP port''' is the UDP port of the RADIUS server.&lt;br /&gt;
*'''Timeout''' is the number of milliseconds to wait for a response from the RADIUS server before retrying.&lt;br /&gt;
*'''Retries''' is the number of times to send the same request again when the timeout is reached. See full details on functionality here: [[CDR redundancy]]&lt;br /&gt;
*'''Server type''' is the type of RADIUS server this configuration corresponds to. The choices are '''Accounting''' for CDR functionality and '''Authorization''' for authentication and authorization.&lt;br /&gt;
*'''Use polling (Status-Server)''' dictates if polling with the Status-Server message is supported by this server. When enabled, this option allows the RADIUS client to recognize quickly and efficiently if the RADIUS server is available or not.&lt;br /&gt;
*'''Server secret''' is the passphrase to authenticate the TMG on the RADIUS server. &lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-server-configuration-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- You can configure multiple RADIUS servers to have RADIUS redundancy. Each entry can have different settings.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-configuration-2_7.PNG|border]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:RADIUS-server-configuration-2_7.PNG</id>
		<title>File:RADIUS-server-configuration-2 7.PNG</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:RADIUS-server-configuration-2_7.PNG"/>
				<updated>2013-01-18T20:57:12Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B</id>
		<title>Toolpack:Adding RADIUS server B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B"/>
				<updated>2013-01-18T20:57:01Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Toolpack: Adding RADIUS Server(s)}}&lt;br /&gt;
Multiple RADIUS servers can be configured to provide RADIUS redundancy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Select '''RADIUS''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Config_left_panel.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''Editing RADIUS client configuration''' page, select '''Create new RADIUS server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-create-server-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Configure the RADIUS server with these parameters:&lt;br /&gt;
*'''Name''' to recognize the server.&lt;br /&gt;
*'''Server IP address''' is the IP address of the RADIUS server.&lt;br /&gt;
*'''Server UDP port''' is the UDP port of the RADIUS server.&lt;br /&gt;
*'''Timeout''' is the number of milliseconds to wait for a response from the RADIUS server before retrying.&lt;br /&gt;
*'''Retries''' is the number of times to send the same request again when the timeout is reached. See full details on functionality here: [[CDR redundancy]]&lt;br /&gt;
*'''Server type''' is the type of RADIUS server this configuration corresponds to. The choices are '''Accounting''' for CDR functionality and '''Authorization''' for authentication and authorization.&lt;br /&gt;
*'''Use polling (Status-Server)''' dictates if polling with the Status-Server message is supported by this server. When enabled, this option allows the RADIUS client to recognize quickly and efficiently if the RADIUS server is available or not.&lt;br /&gt;
*'''Server secret''' is the passphrase to authenticate the TMG on the RADIUS server. &lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-server-configuration-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- You can configure multiple RADIUS servers to have RADIUS redundancy. Each entry can have different timeouts and retries.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-configuration-2_7.PNG|border]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_A</id>
		<title>Toolpack:Adding RADIUS server A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_A"/>
				<updated>2013-01-18T20:49:20Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.6''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Toolpack: Adding RADIUS Server(s)}}&lt;br /&gt;
Multiple RADIUS servers can be configured to provide RADIUS redundancy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Select '''RADIUS''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Config_left_panel.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''Editing RADIUS client configuration''' page, select '''Create new RADIUS server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_0_1_A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Configure the RADIUS server with these parameters:&lt;br /&gt;
*'''Name''' to recognize the server.&lt;br /&gt;
*'''RADIUS server address and port''' is the IP address and port of the RADIUS server we want to access. The format is x.x.x.x for the IP and you can add the port with a colon if it is different than the default port 1813 (for example 10.10.10.10:12345)&lt;br /&gt;
*'''RADIUS timeout''' is the request timeout in milliseconds for each request to this server.&lt;br /&gt;
*'''RADIUS retries''' is the number of retries the RADIUS client will try before falling back to other methods. See full details on functionality here: [[CDR redundancy|CDR redundancy]]&lt;br /&gt;
*'''Server secret''' is the passphrase to authenticate the TMG on the RADIUS server.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_client_configuration.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- You can configure multiple RADIUS servers to have RADIUS redundancy. Each entry can have different settings.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Configuration_2_6.jpg|border]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_A</id>
		<title>Toolpack:Adding RADIUS server A</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_A"/>
				<updated>2013-01-18T20:48:45Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.6''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Toolpack: Adding RADIUS Server(s)}}&lt;br /&gt;
Multiple RADIUS servers can be configured to provide RADIUS redundancy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Select '''RADIUS''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Config_left_panel.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''Editing RADIUS client configuration''' page, select '''Create new RADIUS server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_0_1_A.png|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- Configure the RADIUS server with these parameters:&lt;br /&gt;
*'''Name''' to recognize the server.&lt;br /&gt;
*'''RADIUS server address and port''' is the IP address and port of the RADIUS server we want to access. The format is x.x.x.x for the IP and you can add the port with a colon if it is different than the default port 1813 (for example 10.10.10.10:12345)&lt;br /&gt;
*'''RADIUS timeout''' is the request timeout in milliseconds for each request to this server.&lt;br /&gt;
*'''RADIUS retries''' is the number of retries the RADIUS client will try before falling back to other methods. See full details on functionality here: [[CDR redundancy|CDR redundancy]]&lt;br /&gt;
*'''Server secret''' is the passphrase to authenticate the TMG on the RADIUS server.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_old_image.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4- You can configure multiple RADIUS servers to have RADIUS redundancy. Each entry can have different settings.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Configuration_2_6.jpg|border]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:RADIUS-client-create-server-2_7.PNG</id>
		<title>File:RADIUS-client-create-server-2 7.PNG</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:RADIUS-client-create-server-2_7.PNG"/>
				<updated>2013-01-18T19:17:19Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B</id>
		<title>Toolpack:Adding RADIUS server B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B"/>
				<updated>2013-01-18T19:17:13Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Toolpack: Adding RADIUS Server(s)}}&lt;br /&gt;
Multiple RADIUS servers can be configured to provide RADIUS redundancy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Select '''RADIUS''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Config_left_panel.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''Editing RADIUS client configuration''' page, select '''Create new RADIUS server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-create-server-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- You can configure multiple RADIUS servers to have RADIUS redundancy. Each entry can have different timeouts and retries.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-configuration-2_7.PNG|border]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:RADIUS-client-configuration-2_7.PNG</id>
		<title>File:RADIUS-client-configuration-2 7.PNG</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:RADIUS-client-configuration-2_7.PNG"/>
				<updated>2013-01-18T19:15:38Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B</id>
		<title>Toolpack:Adding RADIUS server B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Adding_RADIUS_server_B"/>
				<updated>2013-01-18T19:15:28Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: Created page with &amp;quot;=== '''''Applies to version(s): v2.7''''' === {{DISPLAYTITLE:Toolpack: Adding RADIUS Server(s)}} Multiple RADIUS servers can be configured to provide RADIUS redundancy.   1- S...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Toolpack: Adding RADIUS Server(s)}}&lt;br /&gt;
Multiple RADIUS servers can be configured to provide RADIUS redundancy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Select '''RADIUS''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Config_left_panel.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''Editing RADIUS client configuration''' page, select '''Create new RADIUS server'''&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-config-2_7.PNG|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3- You can configure multiple RADIUS servers to have RADIUS redundancy. Each entry can have different timeouts and retries.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-configuration-2_7.PNG|border]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_client_B</id>
		<title>Toolpack:Configuring RADIUS client B</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Configuring_RADIUS_client_B"/>
				<updated>2013-01-18T19:02:31Z</updated>
		
		<summary type="html">&lt;p&gt;Alexandre Tremblay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== '''''Applies to version(s): v2.7''''' ===&lt;br /&gt;
{{DISPLAYTITLE:Toolpack: Configuring RADIUS}}&lt;br /&gt;
This page describes how to configure a TMG system to communicate with RADIUS servers. RADIUS requests will be sent from the TMG management port (mgmt0) or from the [[Virtual IP Interfaces|Virtual IP Interfaces]] (if they are configured).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1- Select '''RADIUS''' from the navigation panel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Radius_Config_left_panel.jpg|border]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2- In the '''Editing RADIUS client configuration''' page, you can modify some general parameters:&lt;br /&gt;
*'''Timezone''' will use the local timezone or the GMT timezone in the RADIUS attributes&lt;br /&gt;
*'''Time format''' describes how to display the time in human readable format in the RADIUS attributes. This is based on the [http://php.net/manual/en/function.strftime.php strftime function]&lt;br /&gt;
*In Advanced Parameters you have:&lt;br /&gt;
**'''Maximum accounting concurrent records''' is the maximum number of simultaneous accounting records to be sent to the RADIUS servers. This improves the RADIUS performance of the system: it allows the RADIUS client to deal with servers that have high latency relative to the number of request/responses per second to be achieved. Default value is 10 records.&lt;br /&gt;
**'''Maximum accounting queued records''' is the maximum number of accounting records to queue when the maximum number of pending records has been reached. When the maximum number of queued messages is reached, CDR records will be dropped. To prevent this, make sure the system supports [[CDR redundancy|CDR redundancy]]. Default value is 12000 records.&lt;br /&gt;
**'''Maximum authorization concurrent requests''' is the maximum number of simultaneous authorization requests to be sent to the RADIUS servers. This improves the RADIUS performance of the system: it allows the RADIUS client to deal with servers that have high latency relative to the number of request/responses per second to be achieved. Default value is 200 requests.&lt;br /&gt;
**'''Maximum authorization queued requests''' is the maximum number of authorization requests to queue when the maximum number of pending requests has been reached. When the maximum number of queued messages is reached, authorization requests will be dropped. Default value is 12000 requests.&lt;br /&gt;
**'''Additional dictionary''' is an additional dictionary that provides the definition of custom RADIUS attributes.&lt;br /&gt;
** Click '''Save''' to save your changes.&lt;br /&gt;
&lt;br /&gt;
[[Image:RADIUS-client-config-2_7.PNG|border]]&lt;/div&gt;</summary>
		<author><name>Alexandre Tremblay</name></author>	</entry>

	</feed>