<?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=Ka-Lok+Yeung</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=Ka-Lok+Yeung"/>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Special:Contributions/Ka-Lok_Yeung"/>
		<updated>2026-05-29T21:39:12Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_v2.3:Configuring_a_TMS_Network_System</id>
		<title>Toolpack v2.3:Configuring a TMS Network System</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_v2.3:Configuring_a_TMS_Network_System"/>
				<updated>2009-12-01T08:05:41Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* To configure a TMS Network */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Two TMS1600 Switches can be configured to operate a TMS Network, thereby providing redundancy backup. One TMS1600 Switch is configured as the primary switch while the other is configured as the secondary or backup switch.&lt;br /&gt;
&lt;br /&gt;
== To configure a TMS Network ==&lt;br /&gt;
&lt;br /&gt;
'''1. Select 'TMS Network' from the navigation panel.'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Navigation_Panel_v2.3_TMS_Network.png]]&lt;br /&gt;
&lt;br /&gt;
The TMS network list is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2. Click Edit to access the TMS Network configuration window.'''&lt;br /&gt;
&lt;br /&gt;
[[Image:Web_Portal_v2.3_TMS_Network_Edit.png|700px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''3. Edit the parameters of the TMS Network&lt;br /&gt;
*Select the name of the primary switch from the Primary Adapter field. This switch will operate as the active or main switch.'''&lt;br /&gt;
*Select the name of the secondary switch from the Secondary Adapter field. This switch will function as the backup switch.&lt;br /&gt;
*If you enable &amp;quot;Use Link Switch Over&amp;quot;, switchover between TMS port A and B would be allowed. (This should be enabled if  dual TMS connection is available for redundancy.)&lt;br /&gt;
*If you enable &amp;quot;Use Link Switch Over Recovery&amp;quot;, TMS port A would become active again when available if switch to port B has occurred. Leaving this option off will cause less switchovers, and thus less clock glitches through the TMS system, but will make unpredictable which port is active at a given time.&lt;br /&gt;
*If you enable &amp;quot;Use Clock Ref. Recovery&amp;quot;, the system will use the highest available external clock source of the TMS system (by highest I mean the first one in the list in the &amp;quot;Clocking&amp;quot; configuration of Toolpack). If this option is off, the system will remain on any secondary clock reference even after the primary is back. This also cause less clock switchovers, but make unpredictable which external clock source is used at a given time.&lt;br /&gt;
&lt;br /&gt;
*Click Save to save the configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Web_Portal_v2.3_TMS_Network_Create.png|700px]]&lt;br /&gt;
&lt;br /&gt;
*The TMS Network was successfully created message is displayed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Web_Portal_v2.3_TMS_Network_Successful.png|700px]]&lt;br /&gt;
&lt;br /&gt;
== Verifying Status ==&lt;br /&gt;
To verify the status of the TMS Network configuration, select Status from the Navigation panel.&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask"/>
				<updated>2009-10-28T03:55:49Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* Example 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Rule ==&lt;br /&gt;
Any regular expression used in a called number mask or a calling number mask must be enclosed by two backslash characters (i.e., '/' ).&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns that are typically used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Example 1 ===&lt;br /&gt;
If you need to match a called number starts with the digits 450 and then 7 other digits, please put this in the called number mask:&lt;br /&gt;
&lt;br /&gt;
 /^450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
^ means the matching is done from the beginning of the number. $ means the matching is done to the end of then number.&lt;br /&gt;
&lt;br /&gt;
450 is the exact prefix to match.&lt;br /&gt;
&lt;br /&gt;
[0-9]{7} means there should be 7 occurrences of the digits 0 - 9.&lt;br /&gt;
&lt;br /&gt;
=== Example 2 ===&lt;br /&gt;
In this example, we have to match a called number starts with optional 1, then digits 450 and then 7 other digits.&lt;br /&gt;
&lt;br /&gt;
 /^1?450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
? means the preceding pattern, i.e. the digit '1', is optional.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Example 3 ===&lt;br /&gt;
In this example, we have to match a called number with 4 possible prefixs followed by 7 other digits. &lt;br /&gt;
&lt;br /&gt;
 /^(800|888|877|866)[0-9]{7}/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Caution ==&lt;br /&gt;
&lt;br /&gt;
It is recommended to use ^ and $ to specify the matching of beginning and end of the number if it is appropriate so as to avoid ambiguity in matching.&lt;br /&gt;
&lt;br /&gt;
For example, if you specify the mask as /450[0-9]{7}/, the following numbers would match this mask and that may not be desirable.&lt;br /&gt;
&lt;br /&gt;
* 864501234567 (the later part of the number matches the mask)&lt;br /&gt;
* 4501234567890 (more than 7 digits after '450' is still a match)&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description</id>
		<title>Toolpack:Profile SDP Description</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description"/>
				<updated>2009-09-15T06:52:49Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* Media Announcement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can specify the Profile SDP Description to define which [[voice codecs]] are supported in the [[NAP]] using this Profile.&lt;br /&gt;
&lt;br /&gt;
Here is the default Profile SDP Description.&lt;br /&gt;
&lt;br /&gt;
  m=audio 0 RTP/AVP 0 8 4 96 97 18 98 13&lt;br /&gt;
  a=rtpmap:96 iLBC/8000&lt;br /&gt;
  a=rtpmap:97 iLBC/8000&lt;br /&gt;
  a=fmtp:97 mode=20&lt;br /&gt;
  a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
Each line of the Profile SDP Description consists of text of the form &amp;lt;type&amp;gt;=&amp;lt;value&amp;gt;. &amp;lt;type&amp;gt; is always exactly one character and is case-significant. &amp;lt;value&amp;gt; is a structured text string whose format depends on &amp;lt;type&amp;gt;. It also will be case-significant unless a specific field defines otherwise.  Whitespace is not permitted either side of the `=' sign. In general &amp;lt;value&amp;gt; is either a number of fields delimited by a single space character or a free format string.&lt;br /&gt;
&lt;br /&gt;
In our Profile SDP Description, only 2 &amp;lt;type&amp;gt; are used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Media Announcement===&lt;br /&gt;
&lt;br /&gt;
The format of media announcement is as follows.&lt;br /&gt;
&lt;br /&gt;
:m=&amp;lt;media&amp;gt; &amp;lt;port&amp;gt; &amp;lt;transport&amp;gt; &amp;lt;fmt list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The first sub-field is the media type. Currently defined media for TMedia is &amp;quot;audio&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*The second sub-field is the transport port to which the media stream will be sent. In Toolpack, it is not specified in Profile SDP Description and therefore you should specify &amp;quot;0&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
*The third sub-field is the transport protocol. For most of the application, you may specify it as &amp;quot;RTP/AVP&amp;quot; - the IETF's Realtime Transport Protocol using the Audio/Video profile carried over UDP.&lt;br /&gt;
&lt;br /&gt;
*The fourth and subsequent sub-fields are media formats.  For audio and video, these will normally be media payload types as defined in the RTP Audio/Video Profile. When a list of payload formats is given, this implies that all of these formats may be used in the session, but the first of these formats is the default format for the session. When the transport protocol is specified as &amp;quot;RTP/AVP&amp;quot;, the payload format can be specified as either&lt;br /&gt;
**the payload type number for static payload types&lt;br /&gt;
**the payload type number along with additional encoding information for dynamically allocated payload types.&lt;br /&gt;
&lt;br /&gt;
The payload type, which is carried in the actual RTP packet header, is used to identify the type of codec information carried in the packet. A list of payload type values for each codec is defined within RFC3551. Unfortunately, since the payload type field is only 7 bits-wide, all codecs cannot have a permanent payload type value understood universally by all VoIp systems. Therefore, some codecs have dynamic values that need to be negotiated through a call control or session control protocol such as SIP before the actual RTP session can take place.&lt;br /&gt;
&lt;br /&gt;
Here is the list of codec payload type values per RFC3551.&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Codec&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Payload type value&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.711 uLaw&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.723.1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.711 aLaw&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Comfort Noise&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;13&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.728&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;15&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.729AB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;18&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-40&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-32&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 or dynamic (depends on the network)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-24&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.729EG&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;AMR&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;EVRC&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;QCELP&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use dynamic payload types, you need to specify the additional encoding information using the attribute for media announcement.&lt;br /&gt;
&lt;br /&gt;
===Attribute for Media Announcement===&lt;br /&gt;
&lt;br /&gt;
A media description may have any number of attributes (&amp;quot;a=&amp;quot; fields) which are media specific. The format of attribute is as follows.&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:or&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;:&amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some examples of attributes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Dynamic payload type====&lt;br /&gt;
&lt;br /&gt;
You specify the additional encoding information for dynamic payload type in the following format:&lt;br /&gt;
&lt;br /&gt;
a=rtpmap:&amp;lt;payload type&amp;gt; &amp;lt;encoding name&amp;gt;/&amp;lt;clock rate&amp;gt;[/&amp;lt;encoding parameters&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
For audio streams, &amp;lt;encoding parameters&amp;gt; may specify the number of audio channels. This parameter may be omitted if the number of channels is one provided no additional parameters are needed. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Other media specific attribute====&lt;br /&gt;
&lt;br /&gt;
The use of other media specific attributes depends on the specification of the RTP payload format for the specific media type. Here are some example of attributes.&lt;br /&gt;
&lt;br /&gt;
*a=fmtp:&amp;lt;format&amp;gt; &amp;lt;format specific parameters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This attribute allows parameters that are specific to a particular format to be conveyed in a way that SDP doesn't have to understand them.  The format must be one of the formats specified for the media. Format-specific parameters may be any set of parameters required to be conveyed by SDP and given unchanged to the media tool that will use this format.&lt;br /&gt;
&lt;br /&gt;
*a=ptime:&amp;lt;packet time&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the length of time in milliseconds represented by the media in a packet. This is probably only meaningful for audio data. It should not be necessary to know ptime to decode RTP or vat audio, and it is intended as a recommendation for the encoding/packetisation of audio.  It is a media attribute, and is not dependent on charset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
Here are 2 examples of the attributes found in the default profile SDP description.&lt;br /&gt;
&lt;br /&gt;
  a=rtpmap:97 iLBC/8000&lt;br /&gt;
  a=fmtp:97 mode=20&lt;br /&gt;
&lt;br /&gt;
The above defines iLBC codec of 8000/sec sample rate with 20ms frame size.&lt;br /&gt;
&lt;br /&gt;
  a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
The above defines the [[DTMF]] relay using RFC2833.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2327.txt rfc2327 - SDP: Session Description Protocol]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3551.txt rfc3551 - RTP Profile for Audio and Video Conferences with Minimal Control]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3952.txt rfc3952 - Real-time Transport Protocol (RTP) Payload Format for internet Low Bit Rate Codec (iLBC) Speech]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2833.txt rfc2833 - RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description</id>
		<title>Toolpack:Profile SDP Description</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description"/>
				<updated>2009-09-15T06:52:11Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* Media Announcement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You can specify the Profile SDP Description to define which [[voice codecs]] are supported in the [[NAP]] using this Profile.&lt;br /&gt;
&lt;br /&gt;
Here is the default Profile SDP Description.&lt;br /&gt;
&lt;br /&gt;
  m=audio 0 RTP/AVP 0 8 4 96 97 18 98 13&lt;br /&gt;
  a=rtpmap:96 iLBC/8000&lt;br /&gt;
  a=rtpmap:97 iLBC/8000&lt;br /&gt;
  a=fmtp:97 mode=20&lt;br /&gt;
  a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
Each line of the Profile SDP Description consists of text of the form &amp;lt;type&amp;gt;=&amp;lt;value&amp;gt;. &amp;lt;type&amp;gt; is always exactly one character and is case-significant. &amp;lt;value&amp;gt; is a structured text string whose format depends on &amp;lt;type&amp;gt;. It also will be case-significant unless a specific field defines otherwise.  Whitespace is not permitted either side of the `=' sign. In general &amp;lt;value&amp;gt; is either a number of fields delimited by a single space character or a free format string.&lt;br /&gt;
&lt;br /&gt;
In our Profile SDP Description, only 2 &amp;lt;type&amp;gt; are used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Media Announcement===&lt;br /&gt;
&lt;br /&gt;
The format of media announcement is as follows.&lt;br /&gt;
&lt;br /&gt;
:m=&amp;lt;media&amp;gt; &amp;lt;port&amp;gt; &amp;lt;transport&amp;gt; &amp;lt;fmt list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The first sub-field is the media type. Currently defined media for TMedia is &amp;quot;audio&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*The second sub-field is the transport port to which the media stream will be sent. In Toolpack, it is not specified in Profile SDP Description and therefore you should specify &amp;quot;0&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
*The third sub-field is the transport protocol. For most of the application, you may specify it as &amp;quot;RTP/AVP&amp;quot; - the IETF's Realtime Transport Protocol using the Audio/Video profile carried over UDP.&lt;br /&gt;
&lt;br /&gt;
*The fourth and subsequent sub-fields are media formats.  For audio and video, these will normally be media payload types as defined in the RTP Audio/Video Profile. When a list of payload formats is given, this implies that all of these formats may be used in the session, but the first of these formats is the default format for the session. When the transport protocol is specified as &amp;quot;RTP/AVP&amp;quot;, the payload format can be specified as either&lt;br /&gt;
**the payload type number for static payload types&lt;br /&gt;
**the payload type number along with additional encoding information for dynamically allocated payload types.&lt;br /&gt;
&lt;br /&gt;
The payload type, which is carried in the actual RTP packet header, is used to identify the type of codec information carried in the packet. A list of payload type values for each codec is defined within RFC3551. Unfortunately, since the payload type field is only 7 bits-wide, all codecs cannot have a permanent payload type value understood universally by all VoIp systems. Therefore, some codecs have dynamic values that need to be negotiated through a call control or session control protocol such as SIP before the actual RTP session can take place.&lt;br /&gt;
&lt;br /&gt;
Here is the list of codec payload type values per RFC3551&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Codec&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Payload type value&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.711 uLaw&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;0&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.723.1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.711 aLaw&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Comfort Noise&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;13&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.728&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;15&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.729AB&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;18&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-40&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-32&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2 or dynamic (depends on the network)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-24&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.726-16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;G.729EG&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;AMR&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;EVRC&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;QCELP&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use dynamic payload types, you need to specify the additional encoding information using the attribute for media announcement.&lt;br /&gt;
&lt;br /&gt;
===Attribute for Media Announcement===&lt;br /&gt;
&lt;br /&gt;
A media description may have any number of attributes (&amp;quot;a=&amp;quot; fields) which are media specific. The format of attribute is as follows.&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:or&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;:&amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some examples of attributes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Dynamic payload type====&lt;br /&gt;
&lt;br /&gt;
You specify the additional encoding information for dynamic payload type in the following format:&lt;br /&gt;
&lt;br /&gt;
a=rtpmap:&amp;lt;payload type&amp;gt; &amp;lt;encoding name&amp;gt;/&amp;lt;clock rate&amp;gt;[/&amp;lt;encoding parameters&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
For audio streams, &amp;lt;encoding parameters&amp;gt; may specify the number of audio channels. This parameter may be omitted if the number of channels is one provided no additional parameters are needed. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Other media specific attribute====&lt;br /&gt;
&lt;br /&gt;
The use of other media specific attributes depends on the specification of the RTP payload format for the specific media type. Here are some example of attributes.&lt;br /&gt;
&lt;br /&gt;
*a=fmtp:&amp;lt;format&amp;gt; &amp;lt;format specific parameters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This attribute allows parameters that are specific to a particular format to be conveyed in a way that SDP doesn't have to understand them.  The format must be one of the formats specified for the media. Format-specific parameters may be any set of parameters required to be conveyed by SDP and given unchanged to the media tool that will use this format.&lt;br /&gt;
&lt;br /&gt;
*a=ptime:&amp;lt;packet time&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the length of time in milliseconds represented by the media in a packet. This is probably only meaningful for audio data. It should not be necessary to know ptime to decode RTP or vat audio, and it is intended as a recommendation for the encoding/packetisation of audio.  It is a media attribute, and is not dependent on charset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
Here are 2 examples of the attributes found in the default profile SDP description.&lt;br /&gt;
&lt;br /&gt;
  a=rtpmap:97 iLBC/8000&lt;br /&gt;
  a=fmtp:97 mode=20&lt;br /&gt;
&lt;br /&gt;
The above defines iLBC codec of 8000/sec sample rate with 20ms frame size.&lt;br /&gt;
&lt;br /&gt;
  a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
The above defines the [[DTMF]] relay using RFC2833.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2327.txt rfc2327 - SDP: Session Description Protocol]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3551.txt rfc3551 - RTP Profile for Audio and Video Conferences with Minimal Control]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3952.txt rfc3952 - Real-time Transport Protocol (RTP) Payload Format for internet Low Bit Rate Codec (iLBC) Speech]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2833.txt rfc2833 - RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide</id>
		<title>Regular expression quick start guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide"/>
				<updated>2009-09-15T06:36:53Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot; width=&amp;quot;250&amp;quot;&amp;gt;Regular Expression Pattern&amp;lt;/th&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot;&amp;gt;Explanations&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;^&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches beginning of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;$&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches the end of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\d&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches a digit&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;[characters]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches any single character between the brackets&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re1|re2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Match either re1 or re2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re*&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re+&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches one or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re?&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or one occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Re{m,n}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches at least “m” and at most “n” occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;(...)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Parentheses are used to group regular expressions&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\0, \1, \2, ...&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Substitute the value matched by the nth grouped sub-expression, used in remapped fields.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some examples:&lt;br /&gt;
&lt;br /&gt;
Add 2720 prefix:&lt;br /&gt;
 /(\d+)/2720\1/&lt;br /&gt;
or&lt;br /&gt;
 /([0-9]*)/2720\1/&lt;br /&gt;
&lt;br /&gt;
Strip first 4 digits:&lt;br /&gt;
 /([0-9]{4})([0-9]*)/\2/&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [[Toolpack: How to Use RegEx in Called and Calling Number Mask|How to Use RegEx in Called and Calling Number Mask]]&lt;br /&gt;
* [[Toolpack: How to Use RegEx in Remapped Called and Calling Number Mask|How to Use RegEx in Remapped Called and Calling Number Mask]]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide</id>
		<title>Regular expression quick start guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide"/>
				<updated>2009-09-15T06:30:49Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot; width=&amp;quot;250&amp;quot;&amp;gt;Regular Expression Pattern&amp;lt;/th&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot;&amp;gt;Explanations&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;^&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches beginning of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;$&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches the end of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\d&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches a digit&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;[characters]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches any single character between the brackets&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re1|re2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Match either re1 or re2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re*&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re+&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches one or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re?&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or one occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Re{m,n}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches at least “m” and at most “n” occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;(...)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Parentheses are used to group regular expressions&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\0, \1, \2, ...&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Substitute the value matched by the nth grouped sub-expression, used in remapped fields.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some examples:&lt;br /&gt;
&lt;br /&gt;
Add 2720 prefix:&lt;br /&gt;
 /(\d+)/2720\1/&lt;br /&gt;
or&lt;br /&gt;
 /([0-9]*)/2720\1/&lt;br /&gt;
&lt;br /&gt;
Strip first 4 digits:&lt;br /&gt;
 /([0-9]{4})([0-9]*)/\2/&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Troubleshooting_Toolpack</id>
		<title>Troubleshooting Toolpack</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Troubleshooting_Toolpack"/>
				<updated>2009-09-03T06:41:52Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* Web portal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains pointers to help troubleshooting the Toolpack system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: The Toolpack system does not start&lt;br /&gt;
*How to [[Toolpack_Installation:Validate_Toolpack_Installation|validate the Toolpack installation]]&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: I want to change the Ip Address of the TMG800/TMG3200 from static to DHCP or from DHCP to static.&lt;br /&gt;
*How to [[TBLinux:How to change_the_ip_address|change the IP address of a TMG800/TMG3200]]&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: I want to change the hostname of the server running Toolpack&lt;br /&gt;
*How to [[Toolpack_Installation:Change hostname]]&lt;br /&gt;
&lt;br /&gt;
== Web portal ==&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: The web portal do not start or is not accessible.&lt;br /&gt;
*How to [[Toolpack_Troubleshooting:Web_Portal|troubleshoot the web portal]].&lt;br /&gt;
*How to get status of the system.&lt;br /&gt;
*How to change the configuration of the system.&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: I cannot perform addition or modification of configuration in the web portal. Usually this occurs in a new Toolpack Platform, for example, when new Toolpack software has been just installed on a host or a new TMG3200 is started up.&lt;br /&gt;
*How to [[Toolpack Troubleshooting:Cannot Add or Edit Configuration|solve this problem]].&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: Do not have permission to add features.&lt;br /&gt;
*How to modify system configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: The system does not work properly with a copied configuration.&lt;br /&gt;
*How to [[Web_Portal:Configuration_Copy|copy a configuration]]&lt;br /&gt;
&lt;br /&gt;
== Toolpack application suite ==&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Calls ==&lt;br /&gt;
Problem:&lt;br /&gt;
: The Tmedia do not accept or generate calls&lt;br /&gt;
*How to get the protocol messages by [[Toolpack_Debug_Application:Tbsigtrace|using tbsigtrace]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to gather all logs ==&lt;br /&gt;
Problem:&lt;br /&gt;
: Which application logs should I gathered?&lt;br /&gt;
*How to gathered logs with [[Toolpack_Debug_Application:Tbdebug|tbdebug]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to submit a problem ==&lt;br /&gt;
Problem:&lt;br /&gt;
: Don't know what else to do&lt;br /&gt;
*Help our support team help you by giving as much information as possible [[Support:How_To_Submit_A_Problem]]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Troubleshooting:Cannot_Add_or_Edit_Configuration</id>
		<title>Toolpack Troubleshooting:Cannot Add or Edit Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Troubleshooting:Cannot_Add_or_Edit_Configuration"/>
				<updated>2009-09-03T06:40:29Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptom ==&lt;br /&gt;
&lt;br /&gt;
Normally we should be able to modify the configuration of Toolpack System through Web Portal. For example, we should be able to add hardware in the Hardware page by clicking the link &amp;quot;Create New Hardware&amp;quot; in the top left hand corner for the page as in the diagram below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Troubleshooting-CannotAdd-NormalCase.jpg|600px| ]]&lt;br /&gt;
&lt;br /&gt;
However, I cannot modify the configuration. For example, in the Hardware page, the link &amp;quot;Create New Hardware&amp;quot; is not available as in the diagram below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Troubleshooting-CannotAdd-ProblemCase.jpg|600px| ]]&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
This problem usually occurs in a new Toolpack Platform, for example, when you have just installed a new Toolpack software on a host or you have a new TMG3200.&lt;br /&gt;
&lt;br /&gt;
The reason is that the active configuration is locked.&lt;br /&gt;
&lt;br /&gt;
To solve this, first select Systems from the navigation panel. Select Edit on the configuration in the System List.&lt;br /&gt;
&lt;br /&gt;
If you find that the checkbox of Lock active configuration is checked as in the diagram below, uncheck it and click the Save button to save.&lt;br /&gt;
&lt;br /&gt;
[[Image:Troubleshooting-CannotAdd-HowToSolve.jpg|600px| ]]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Troubleshooting_Toolpack</id>
		<title>Troubleshooting Toolpack</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Troubleshooting_Toolpack"/>
				<updated>2009-09-03T06:39:58Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* Web portal */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains pointers to help troubleshooting the Toolpack system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: The Toolpack system does not start&lt;br /&gt;
*How to [[Toolpack_Installation:Validate_Toolpack_Installation|validate the Toolpack installation]]&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: I want to change the Ip Address of the TMG800/TMG3200 from static to DHCP or from DHCP to static.&lt;br /&gt;
*How to [[TBLinux:How to change_the_ip_address|change the IP address of a TMG800/TMG3200]]&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: I want to change the hostname of the server running Toolpack&lt;br /&gt;
*How to [[Toolpack_Installation:Change hostname]]&lt;br /&gt;
&lt;br /&gt;
== Web portal ==&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: The web portal do not start or is not accessible.&lt;br /&gt;
*How to [[Toolpack_Troubleshooting:Web_Portal|troubleshoot the web portal]].&lt;br /&gt;
*How to get status of the system.&lt;br /&gt;
*How to change the configuration of the system.&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: I cannot perform addition or modification of configuration in the web portal. Usually this occurs in a new Toolpack Platform, for example, when you just installed a new Toolpack software on a host or you have a new TMG3200. &lt;br /&gt;
*How to [[Toolpack Troubleshooting:Cannot Add or Edit Configuration|solve this problem]].&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: Do not have permission to add features.&lt;br /&gt;
*How to modify system configuration&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
: The system does not work properly with a copied configuration.&lt;br /&gt;
*How to [[Web_Portal:Configuration_Copy|copy a configuration]]&lt;br /&gt;
&lt;br /&gt;
== Toolpack application suite ==&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Calls ==&lt;br /&gt;
Problem:&lt;br /&gt;
: The Tmedia do not accept or generate calls&lt;br /&gt;
*How to get the protocol messages by [[Toolpack_Debug_Application:Tbsigtrace|using tbsigtrace]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to gather all logs ==&lt;br /&gt;
Problem:&lt;br /&gt;
: Which application logs should I gathered?&lt;br /&gt;
*How to gathered logs with [[Toolpack_Debug_Application:Tbdebug|tbdebug]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to submit a problem ==&lt;br /&gt;
Problem:&lt;br /&gt;
: Don't know what else to do&lt;br /&gt;
*Help our support team help you by giving as much information as possible [[Support:How_To_Submit_A_Problem]]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack_Troubleshooting:Cannot_Add_or_Edit_Configuration</id>
		<title>Toolpack Troubleshooting:Cannot Add or Edit Configuration</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack_Troubleshooting:Cannot_Add_or_Edit_Configuration"/>
				<updated>2009-09-03T06:37:23Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: Created page with '== Symptom ==  Normally we should be able to modify the configuration of Toolpack System through Web Portal. For example, we should be able to add hardware in the Hardware page b…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Symptom ==&lt;br /&gt;
&lt;br /&gt;
Normally we should be able to modify the configuration of Toolpack System through Web Portal. For example, we should be able to add hardware in the Hardware page by clicking the link &amp;quot;Create New Hardware&amp;quot; in the top left hand corner for the page as in the diagram below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Troubleshooting-CannotAdd-NormalCase.jpg|600px| ]]&lt;br /&gt;
&lt;br /&gt;
However, I cannot modify the configuration. For example, in the Hardware page, the link &amp;quot;Create New Hardware&amp;quot; is not available as in the diagram below.&lt;br /&gt;
&lt;br /&gt;
[[Image:Troubleshooting-CannotAdd-ProblemCase.jpg|600px| ]]&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
This problem usually occurs in new Toolpack Platform, for example, when you just installed a new Toolpack software on a host or you have a new TMG3200.&lt;br /&gt;
&lt;br /&gt;
The reason is that the active configuration is locked.&lt;br /&gt;
&lt;br /&gt;
To solve this, first select Systems from the navigation panel. Select Edit on the configuration in the System List.&lt;br /&gt;
&lt;br /&gt;
If you find that the checkbox of Lock active configuration is checked as in the diagram below, uncheck it and click the Save button to save.&lt;br /&gt;
&lt;br /&gt;
[[Image:Troubleshooting-CannotAdd-HowToSolve.jpg|600px| ]]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:Troubleshooting-CannotAdd-ProblemCase.jpg</id>
		<title>File:Troubleshooting-CannotAdd-ProblemCase.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:Troubleshooting-CannotAdd-ProblemCase.jpg"/>
				<updated>2009-09-03T06:25:30Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:Troubleshooting-CannotAdd-NormalCase.jpg</id>
		<title>File:Troubleshooting-CannotAdd-NormalCase.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:Troubleshooting-CannotAdd-NormalCase.jpg"/>
				<updated>2009-09-03T06:24:46Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:Troubleshooting-CannotAdd-HowToSolve.jpg</id>
		<title>File:Troubleshooting-CannotAdd-HowToSolve.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:Troubleshooting-CannotAdd-HowToSolve.jpg"/>
				<updated>2009-09-03T06:22:27Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Remapped Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask"/>
				<updated>2009-09-03T06:00:00Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Rule ==&lt;br /&gt;
&lt;br /&gt;
The remapped called number mask or remapped calling number mask must have 2 regular expressions, and it must be in the form of '/regexWithCapturingGroup/replaceString/'. In the first regular expression, you specify capturing groups using parentheses (...) while in the second regular expression, you specify how to remap the number by referencing the capturing group using \1, \2, etc.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns usually used.&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
In the remapped called number mask, the following is specified.&lt;br /&gt;
&lt;br /&gt;
/^(1?)450([0-9]{7})$/\1514\2/&lt;br /&gt;
&lt;br /&gt;
The first regular expression, regexWithCapturingGroup, is '^(1?)450([0-9]{7})$'. There are 2 capturing groups. The first one is '(1?)', the optional digit '1'. The second one is '([0-9]{7})', the 7 digits following '450'.&lt;br /&gt;
&lt;br /&gt;
The second regular expression, replaceString, is '\1514\2' which specifies how the remapped number is composed. The rule is that the digits in the called number which match the expressions in the capturing groups would be substituted in replaceString.&lt;br /&gt;
&lt;br /&gt;
In this example, suppose the incoming call has the called number as '15141234567'. The digit '1' in the beginning matches the first capturing group '(1?)' and the digits '1234567' match the second capturing group '([0-9]{7})'. Therefore, the remapped called number would be '1' followed by '514' followed by '1234567', that is '15141234567'.&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
This is a simpler example. The following remapped called number mask would remove the prefix '852' and keep the 8 digits following the prefix.&lt;br /&gt;
&lt;br /&gt;
/^852([0-9]{8})$/\1/&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask"/>
				<updated>2009-09-03T05:59:24Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Rule ==&lt;br /&gt;
&lt;br /&gt;
Any regular expression used in called number mask or calling number mask must be enclosed by two '/'.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns usually used.&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
If you need to match a called number starts with the digits 450 and then 7 other digits, please put this in the called number mask:&lt;br /&gt;
&lt;br /&gt;
/^450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
^ means the matching is done from the beginning of the number. $ means the matching is done to the end of then number.&lt;br /&gt;
&lt;br /&gt;
450 is the exact prefix to match.&lt;br /&gt;
&lt;br /&gt;
[0-9]{7} means there should be 4 occurrences of the digits 0 - 9.&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
In this example, we have to match a called number starts with optional 1, then digits 450 and then 7 other digits.&lt;br /&gt;
&lt;br /&gt;
/^1?450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
? means the preceding pattern, i.e. the digit '1', is optional.&lt;br /&gt;
&lt;br /&gt;
== Example 3 ==&lt;br /&gt;
&lt;br /&gt;
In this example, we have to match a called number with 4 possible prefixs followed by 7 other digits. &lt;br /&gt;
&lt;br /&gt;
/^(800|888|877|866)[0-9]{7}/&lt;br /&gt;
&lt;br /&gt;
== Caution ==&lt;br /&gt;
&lt;br /&gt;
It is recommended to use ^ and $ to specify the matching of beginning and end of the number if it is appropriate so as to avoid ambiguity in matching.&lt;br /&gt;
&lt;br /&gt;
For example, if you specify the mask as /450[0-9]{7}/, the following numbers would match this mask and that may not be desirable.&lt;br /&gt;
&lt;br /&gt;
* 864501234567 (the later part of the number matches the mask)&lt;br /&gt;
* 4501234567890 (more than 7 digits after '450' is still a match)&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Remapped Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask"/>
				<updated>2009-09-03T05:48:07Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The remapped called number mask or remapped calling number mask must have 2 regular expressions, and it must be in the form of '/regexWithCapturingGroup/replaceString/'. In the first regular expression, you specify capturing groups using parentheses (...) while in the second regular expression, you specify how to remap the number by referencing the capturing group using \1, \2, etc.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns usually used.&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
In the remapped called number mask, the following is specified.&lt;br /&gt;
&lt;br /&gt;
/^(1?)450([0-9]{7})$/\1514\2/&lt;br /&gt;
&lt;br /&gt;
The first regular expression, regexWithCapturingGroup, is '^(1?)450([0-9]{7})$'. There are 2 capturing groups. The first one is '(1?)', the optional digit '1'. The second one is '([0-9]{7})', the 7 digits following '450'.&lt;br /&gt;
&lt;br /&gt;
The second regular expression, replaceString, is '\1514\2' which specifies how the remapped number is composed. The rule is that the digits in the called number which match the expressions in the capturing groups would be substituted in replaceString.&lt;br /&gt;
&lt;br /&gt;
In this example, suppose the incoming call has the called number as '15141234567'. The digit '1' in the beginning matches the first capturing group '(1?)' and the digits '1234567' match the second capturing group '([0-9]{7})'. Therefore, the remapped called number would be '1' followed by '514' followed by '1234567', that is '15141234567'.&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
This is a simpler example. The following remapped called number mask would remove the prefix '852' and keep the 8 digits following the prefix.&lt;br /&gt;
&lt;br /&gt;
/^852([0-9]{8})$/\1/&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Remapped Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask"/>
				<updated>2009-09-03T04:21:35Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any regular expression used in remapped called number mask or remapped calling number mask must have 2 regular expression in the form of /regexWithCapturingGroup/replaceString/'. In the first regular expression, you specify the capturing group using parentheses (...) while in the second regular expression, you specify how to remap the number by referencing the capturing group using \1, \2, etc.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns usually used.&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask"/>
				<updated>2009-09-03T04:21:18Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any regular expression used in called number mask or calling number mask must be enclosed by two '/'.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns usually used.&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
If you need to match a called number starts with the digits 450 and then 7 other digits, please put this in the called number mask:&lt;br /&gt;
&lt;br /&gt;
/^450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
^ means the matching is done from the beginning of the number. $ means the matching is done to the end of then number.&lt;br /&gt;
&lt;br /&gt;
450 is the exact prefix to match.&lt;br /&gt;
&lt;br /&gt;
[0-9]{7} means there should be 4 occurrences of the digits 0 - 9.&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
In this example, we have to match a called number starts with optional 1, then digits 450 and then 7 other digits.&lt;br /&gt;
&lt;br /&gt;
/^1?450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
? means the preceding pattern, i.e. the digit '1', is optional.&lt;br /&gt;
&lt;br /&gt;
== Example 3 ==&lt;br /&gt;
&lt;br /&gt;
In this example, we have to match a called number with 4 possible prefixs followed by 7 other digits. &lt;br /&gt;
&lt;br /&gt;
/^(800|888|877|866)[0-9]{7}/&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Remapped Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Remapped_Called_and_Calling_Number_Mask"/>
				<updated>2009-09-03T04:14:41Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: Created page with 'Any regular expression used in remapped called number mask or remapped calling number mask must have 2 regular expression in the form of '/re1/re2/'.  Please refer to [[Toolpack:…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any regular expression used in remapped called number mask or remapped calling number mask must have 2 regular expression in the form of '/re1/re2/'.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns usually used.&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide</id>
		<title>Regular expression quick start guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide"/>
				<updated>2009-09-03T04:12:31Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot; width=&amp;quot;250&amp;quot;&amp;gt;Regular Expression Pattern&amp;lt;/th&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot;&amp;gt;Explanations&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;^&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches beginning of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;$&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches the end of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;[characters]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches any single character between the brackets&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re1|re2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Match either re1 or re2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re*&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re+&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches one or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re?&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or one occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Re{m,n}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches at least “m” and at most “n” occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;(...)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Parentheses are used to group regular expressions&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\0, \1, \2, ...&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Substitute the value matched by the nth grouped sub-expression, used in remapped fields.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide</id>
		<title>Regular expression quick start guide</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Regular_expression_quick_start_guide"/>
				<updated>2009-09-03T04:12:10Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: Created page with '&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt; &amp;lt;tr&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;Regular Expression Pattern&amp;lt;/th&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot;&amp;gt;Explanations&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;^&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches beginning of …'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;table border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot; width=&amp;quot;300&amp;quot;&amp;gt;Regular Expression Pattern&amp;lt;/th&amp;gt;&amp;lt;th align=&amp;quot;left&amp;quot;&amp;gt;Explanations&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;^&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches beginning of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;$&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches the end of a line&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;[characters]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches any single character between the brackets&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re1|re2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Match either re1 or re2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re*&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re+&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches one or more occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;re?&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches zero or one occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Re{m,n}&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Matches at least “m” and at most “n” occurrences of re&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;(...)&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Parentheses are used to group regular expressions&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\0, \1, \2, ...&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Substitute the value matched by the nth grouped sub-expression, used in remapped fields.&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask</id>
		<title>Toolpack: How to Use RegEx in Called and Calling Number Mask</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:_How_to_Use_RegEx_in_Called_and_Calling_Number_Mask"/>
				<updated>2009-09-03T04:02:56Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: Created page with 'Any regular expression used in called number mask or calling number mask must be enclosed by two '/'.  Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Common…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Any regular expression used in called number mask or calling number mask must be enclosed by two '/'.&lt;br /&gt;
&lt;br /&gt;
Please refer to [[Toolpack: Commonly Used Regular Expression Pattern|Commonly Used Regular Expression Pattern]] for the patterns usually used.&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
Here are some examples.&lt;br /&gt;
&lt;br /&gt;
If you need to match a called number starts with the digits 450 and then 7 other digits, please put this in the called number mask:&lt;br /&gt;
&lt;br /&gt;
/^450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
^ means the matching is done from the beginning of the number. $ means the matching is done to the end of then number.&lt;br /&gt;
&lt;br /&gt;
450 is the exact prefix to match.&lt;br /&gt;
&lt;br /&gt;
[0-9]{7} means there should be 4 occurrences of the digits 0 - 9.&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
In this example, we have to match a called number starts with optional 1, then digits 450 and then 7 other digits.&lt;br /&gt;
&lt;br /&gt;
/^1?450[0-9]{7}$/&lt;br /&gt;
&lt;br /&gt;
? means the preceding pattern, i.e. the digit '1', is optional.&lt;br /&gt;
&lt;br /&gt;
== Example 3 ==&lt;br /&gt;
&lt;br /&gt;
In this example, we have to match a called number with 4 possible prefixs followed by 7 other digits. &lt;br /&gt;
&lt;br /&gt;
/^(800|888|877|866)[0-9]{7}/&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:Menu-configurations.jpg</id>
		<title>File:Menu-configurations.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:Menu-configurations.jpg"/>
				<updated>2009-09-03T03:21:14Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: uploaded a new version of &amp;quot;File:Menu-configurations.jpg&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Screenshot showing location of 'Configurations' menu item&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:Screenshot-list-of-routing-rules.jpg</id>
		<title>File:Screenshot-list-of-routing-rules.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:Screenshot-list-of-routing-rules.jpg"/>
				<updated>2009-09-02T10:52:34Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: uploaded a new version of &amp;quot;File:Screenshot-list-of-routing-rules.jpg&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Screenshot showing list of routing rules&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/File:Screenshot-routing-rule-videotron-bell.jpg</id>
		<title>File:Screenshot-routing-rule-videotron-bell.jpg</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/File:Screenshot-routing-rule-videotron-bell.jpg"/>
				<updated>2009-09-02T10:37:51Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: uploaded a new version of &amp;quot;File:Screenshot-routing-rule-videotron-bell.jpg&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Screenshot showing a routing rule for a 911 call from one NAP provider to another&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description</id>
		<title>Toolpack:Profile SDP Description</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description"/>
				<updated>2009-08-24T08:09:15Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Toolpack: Profile SDP Description==&lt;br /&gt;
&lt;br /&gt;
You can specify the Profile SDP Description to define which codecs are supported in the NAP using this Profile.&lt;br /&gt;
&lt;br /&gt;
Here is the default Profile SDP Description.&lt;br /&gt;
&lt;br /&gt;
:m=audio 0 RTP/AVP 0 8 4 96 97 18 98 13&lt;br /&gt;
:a=rtpmap:96 iLBC/8000&lt;br /&gt;
:a=rtpmap:97 iLBC/8000&lt;br /&gt;
:a=fmtp:97 mode=20&lt;br /&gt;
:a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
Each line of the Profile SDP Description consists of text of the form &amp;lt;type&amp;gt;=&amp;lt;value&amp;gt;. &amp;lt;type&amp;gt; is always exactly one character and is case-significant. &amp;lt;value&amp;gt; is a structured text string whose format depends on &amp;lt;type&amp;gt;. It also will be case-significant unless a specific field defines otherwise.  Whitespace is not permitted either side of the `=' sign. In general &amp;lt;value&amp;gt; is either a number of fields delimited by a single space character or a free format string.&lt;br /&gt;
&lt;br /&gt;
In our Profile SDP Description, only 2 &amp;lt;type&amp;gt; are used.&lt;br /&gt;
&lt;br /&gt;
===Media Announcement===&lt;br /&gt;
&lt;br /&gt;
The format of media announcement is as follows.&lt;br /&gt;
&lt;br /&gt;
:m=&amp;lt;media&amp;gt; &amp;lt;port&amp;gt; &amp;lt;transport&amp;gt; &amp;lt;fmt list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The first sub-field is the media type. Currently defined media for TMedia is &amp;quot;audio&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*The second sub-field is the transport port to which the media stream will be sent. In Toolpack, it is not specified in Profile SDP Description and therefore you should specify &amp;quot;0&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
*The third sub-field is the transport protocol. For most of the application, you may specify it as &amp;quot;RTP/AVP&amp;quot; - the IETF's Realtime Transport Protocol using the Audio/Video profile carried over UDP.&lt;br /&gt;
&lt;br /&gt;
*The fourth and subsequent sub-fields are media formats.  For audio and video, these will normally be media payload types as defined in the RTP Audio/Video Profile. When a list of payload formats is given, this implies that all of these formats may be used in the session, but the first of these formats is the default format for the session. When the transport protocol is specified as &amp;quot;RTP/AVP&amp;quot;, the payload format can be specified as either&lt;br /&gt;
**the payload type number for static payload types&lt;br /&gt;
**the payload type number along with additional encoding information for dynamically allocated payload types.&lt;br /&gt;
&lt;br /&gt;
Here are a few examples of the payload type numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;PT&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;encoding name&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;0&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCMU&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;G.723&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCMA&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;13&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Comfort Noise&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;18&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;G.729&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;96-127&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use dynamic payload types, you need to specify the additional encoding information using the attribute for media announcement.&lt;br /&gt;
&lt;br /&gt;
===Attribute for Media Announcement===&lt;br /&gt;
&lt;br /&gt;
A media description may have any number of attributes (&amp;quot;a=&amp;quot; fields) which are media specific. The format of attribute is as follows.&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:or&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;:&amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some examples of attributes.&lt;br /&gt;
&lt;br /&gt;
====Dynamic payload type====&lt;br /&gt;
&lt;br /&gt;
You specify the additional encoding information for dynamic payload type in the following format:&lt;br /&gt;
&lt;br /&gt;
a=rtpmap:&amp;lt;payload type&amp;gt; &amp;lt;encoding name&amp;gt;/&amp;lt;clock rate&amp;gt;[/&amp;lt;encoding parameters&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
For audio streams, &amp;lt;encoding parameters&amp;gt; may specify the number of audio channels. This parameter may be omitted if the number of channels is one provided no additional parameters are needed. &lt;br /&gt;
&lt;br /&gt;
====Other media specific attribute====&lt;br /&gt;
&lt;br /&gt;
The use of other media specific attributes depends on the specification of the RTP payload format for the specific media type. Here are some example of attributes.&lt;br /&gt;
&lt;br /&gt;
*a=fmtp:&amp;lt;format&amp;gt; &amp;lt;format specific parameters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This attribute allows parameters that are specific to a particular format to be conveyed in a way that SDP doesn't have to understand them.  The format must be one of the formats specified for the media. Format-specific parameters may be any set of parameters required to be conveyed by SDP and given unchanged to the media tool that will use this format.&lt;br /&gt;
&lt;br /&gt;
*a=ptime:&amp;lt;packet time&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the length of time in milliseconds represented by the media in a packet. This is probably only meaningful for audio data. It should not be necessary to know ptime to decode RTP or vat audio, and it is intended as a recommendation for the encoding/packetisation of audio.  It is a media attribute, and is not dependent on charset.&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
Here are 2 examples of the attributes found in the default profile SDP description.&lt;br /&gt;
&lt;br /&gt;
:a=rtpmap:97 iLBC/8000&lt;br /&gt;
:a=fmtp:97 mode=20&lt;br /&gt;
&lt;br /&gt;
The above defines iLBC codec of 8000/sec sample rate with 20ms frame size.&lt;br /&gt;
&lt;br /&gt;
:a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
The above defines the dtmf relay using rfc2833.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2327.txt rfc2327 - SDP: Session Description Protocol]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3551.txt rfc3551 - RTP Profile for Audio and Video Conferences with Minimal Control]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3952.txt rfc3952 - Real-time Transport Protocol (RTP) Payload Format for internet Low Bit Rate Codec (iLBC) Speech]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2833.txt rfc2833 - RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description</id>
		<title>Toolpack:Profile SDP Description</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description"/>
				<updated>2009-08-24T08:08:53Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Toolpack: Profile SDP Description==&lt;br /&gt;
&lt;br /&gt;
You can specify the Profile SDP Description to define which codecs are supported in the NAP using this Profile.&lt;br /&gt;
&lt;br /&gt;
Here is the default Profile SDP Description.&lt;br /&gt;
&lt;br /&gt;
:m=audio 0 RTP/AVP 0 8 4 96 97 18 98 13&lt;br /&gt;
:a=rtpmap:96 iLBC/8000&lt;br /&gt;
:a=rtpmap:97 iLBC/8000&lt;br /&gt;
:a=fmtp:97 mode=20&lt;br /&gt;
:a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
Each line of the Profile SDP Description consists of text of the form &amp;lt;type&amp;gt;=&amp;lt;value&amp;gt;. &amp;lt;type&amp;gt; is always exactly one character and is case-significant. &amp;lt;value&amp;gt; is a structured text string whose format depends on &amp;lt;type&amp;gt;. It also will be case-significant unless a specific field defines otherwise.  Whitespace is not permitted either side of the `=' sign. In general &amp;lt;value&amp;gt; is either a number of fields delimited by a single space character or a free format string.&lt;br /&gt;
&lt;br /&gt;
In our Profile SDP Description, only 2 &amp;lt;type&amp;gt; are used.&lt;br /&gt;
&lt;br /&gt;
===Media Announcement===&lt;br /&gt;
&lt;br /&gt;
The format of media announcement is as follows.&lt;br /&gt;
&lt;br /&gt;
:m=&amp;lt;media&amp;gt; &amp;lt;port&amp;gt; &amp;lt;transport&amp;gt; &amp;lt;fmt list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The first sub-field is the media type. Currently defined media for TMedia is &amp;quot;audio&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*The second sub-field is the transport port to which the media stream will be sent. In Toolpack, it is not specified in Profile SDP Description and therefore you should specify &amp;quot;0&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
*The third sub-field is the transport protocol. For most of the application, you may specify it as &amp;quot;RTP/AVP&amp;quot; - the IETF's Realtime Transport Protocol using the Audio/Video profile carried over UDP.&lt;br /&gt;
&lt;br /&gt;
*The fourth and subsequent sub-fields are media formats.  For audio and video, these will normally be media payload types as defined in the RTP Audio/Video Profile. When a list of payload formats is given, this implies that all of these formats may be used in the session, but the first of these formats is the default format for the session. When the transport protocol is specified as &amp;quot;RTP/AVP&amp;quot;, the payload format can be specified as either&lt;br /&gt;
**the payload type number for static payload types&lt;br /&gt;
**the payload type number along with additional encoding information for dynamically allocated payload types.&lt;br /&gt;
&lt;br /&gt;
Here are a few examples of the payload type numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;PT&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;encoding name&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;0&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCMU&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;G.723&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCMA&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;13&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Comfort Noise&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;18&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;G.729&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;96-127&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use dynamic payload types, you need to specify the additional encoding information using the attribute for media announcement.&lt;br /&gt;
&lt;br /&gt;
===Attribute for Media Announcement===&lt;br /&gt;
&lt;br /&gt;
A media description may have any number of attributes (&amp;quot;a=&amp;quot; fields) which are media specific. The format of attribute is as follows.&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:or&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;:&amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some examples of attributes.&lt;br /&gt;
&lt;br /&gt;
====Dynamic payload type====&lt;br /&gt;
&lt;br /&gt;
You specify the additional encoding information for dynamic payload type in the following format:&lt;br /&gt;
&lt;br /&gt;
a=rtpmap:&amp;lt;payload type&amp;gt; &amp;lt;encoding name&amp;gt;/&amp;lt;clock rate&amp;gt;[/&amp;lt;encoding parameters&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
For audio streams, &amp;lt;encoding parameters&amp;gt; may specify the number of audio channels. This parameter may be omitted if the number of channels is one provided no additional parameters are needed. &lt;br /&gt;
&lt;br /&gt;
====Other media specific attribute====&lt;br /&gt;
&lt;br /&gt;
The use of other media specific attributes depends on the specification of the RTP payload format for the specific media type. Here are some example of attributes.&lt;br /&gt;
&lt;br /&gt;
*a=fmtp:&amp;lt;format&amp;gt; &amp;lt;format specific parameters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This attribute allows parameters that are specific to a particular format to be conveyed in a way that SDP doesn't have to understand them.  The format must be one of the formats specified for the media. Format-specific parameters may be any set of parameters required to be conveyed by SDP and given unchanged to the media tool that will use this format.&lt;br /&gt;
&lt;br /&gt;
*a=ptime:&amp;lt;packet time&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the length of time in milliseconds represented by the media in a packet. This is probably only meaningful for audio data. It should not be necessary to know ptime to decode RTP or vat audio, and it is intended as a recommendation for the encoding/packetisation of audio.  It is a media attribute, and is not dependent on charset.&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
Here are 2 examples of the attributes found in the default profile SDP description.&lt;br /&gt;
&lt;br /&gt;
:a=rtpmap:97 iLBC/8000&lt;br /&gt;
:a=fmtp:97 mode=20&lt;br /&gt;
&lt;br /&gt;
The above defines iLBC codec of 8000/sec sample rate with 20ms frame size.&lt;br /&gt;
&lt;br /&gt;
:a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
The above defines the dtmf relay using rfc2833.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2327.txt rfc2327 - SDP: Session Description Protocol]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3551.txt rfc3551 - RTP Profile for Audio and Video Conferences with Minimal Control]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3952.txt rfc3952 - Real-time Transport Protocol (RTP) Payload Format for internet Low Bit Rate Codec (iLBC) Speech]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2833.txt rfc2833 - RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals]&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	<entry>
		<id>https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description</id>
		<title>Toolpack:Profile SDP Description</title>
		<link rel="alternate" type="text/html" href="https://docs.telcobridges.com/tbwiki/Toolpack:Profile_SDP_Description"/>
				<updated>2009-08-24T08:07:32Z</updated>
		
		<summary type="html">&lt;p&gt;Ka-Lok Yeung: /* To configure a SIP profile / Profile SDP Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Toolpack: Profile SDP Description==&lt;br /&gt;
&lt;br /&gt;
You can specify the Profile SDP Description to define which codecs are supported in the NAP using this Profile.&lt;br /&gt;
&lt;br /&gt;
Here is the default Profile SDP Description.&lt;br /&gt;
&lt;br /&gt;
:m=audio 0 RTP/AVP 0 8 4 96 97 18 98 13&lt;br /&gt;
:a=rtpmap:96 iLBC/8000&lt;br /&gt;
:a=rtpmap:97 iLBC/8000&lt;br /&gt;
:a=fmtp:97 mode=20&lt;br /&gt;
:a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
Each line of the Profile SDP Description consists of text of the form &amp;lt;type&amp;gt;=&amp;lt;value&amp;gt;. &amp;lt;type&amp;gt; is always exactly one character and is case-significant. &amp;lt;value&amp;gt; is a structured text string whose format depends on &amp;lt;type&amp;gt;. It also will be case-significant unless a specific field defines otherwise.  Whitespace is not permitted either side of the `=' sign. In general &amp;lt;value&amp;gt; is either a number of fields delimited by a single space character or a free format string.&lt;br /&gt;
&lt;br /&gt;
In our Profile SDP Description, only 2 &amp;lt;type&amp;gt; are used.&lt;br /&gt;
&lt;br /&gt;
===Media Announcement===&lt;br /&gt;
&lt;br /&gt;
The format of media announcement is as follows.&lt;br /&gt;
&lt;br /&gt;
:m=&amp;lt;media&amp;gt; &amp;lt;port&amp;gt; &amp;lt;transport&amp;gt; &amp;lt;fmt list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The first sub-field is the media type. Currently defined media for TMedia is &amp;quot;audio&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
*The second sub-field is the transport port to which the media stream will be sent. In Toolpack, it is not specified in Profile SDP Description and therefore you should specify &amp;quot;0&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
*The third sub-field is the transport protocol. For most of the application, you may specify it as &amp;quot;RTP/AVP&amp;quot; - the IETF's Realtime Transport Protocol using the Audio/Video profile carried over UDP.&lt;br /&gt;
&lt;br /&gt;
*The fourth and subsequent sub-fields are media formats.  For audio and video, these will normally be media payload types as defined in the RTP Audio/Video Profile. When a list of payload formats is given, this implies that all of these formats may be used in the session, but the first of these formats is the default format for the session. When the transport protocol is specified as &amp;quot;RTP/AVP&amp;quot;, the payload format can be specified as either&lt;br /&gt;
**the payload type number for static payload types&lt;br /&gt;
**the payload type number along with additional encoding information for dynamically allocated payload types.&lt;br /&gt;
&lt;br /&gt;
Here are a few examples of the payload type numbers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;PT&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;encoding name&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;0&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCMU&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;G.723&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;PCMA&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;13&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Comfort Noise&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;18&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;G.729&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;96-127&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Dynamic&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you use dynamic payload types, you need to specify the additional encoding information using the attribute for media announcement.&lt;br /&gt;
&lt;br /&gt;
===Attribute for Media Announcement===&lt;br /&gt;
&lt;br /&gt;
A media description may have any number of attributes (&amp;quot;a=&amp;quot; fields) which are media specific. The format of attribute is as follows.&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:or&lt;br /&gt;
&lt;br /&gt;
:a=&amp;lt;attribute&amp;gt;:&amp;lt;value&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here are some examples of attributes.&lt;br /&gt;
&lt;br /&gt;
====Dynamic payload type====&lt;br /&gt;
&lt;br /&gt;
You specify the additional encoding information for dynamic payload type in the following format:&lt;br /&gt;
&lt;br /&gt;
a=rtpmap:&amp;lt;payload type&amp;gt; &amp;lt;encoding name&amp;gt;/&amp;lt;clock rate&amp;gt;[/&amp;lt;encoding parameters&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
For audio streams, &amp;lt;encoding parameters&amp;gt; may specify the number of audio channels. This parameter may be omitted if the number of channels is one provided no additional parameters are needed. &lt;br /&gt;
&lt;br /&gt;
====Other media specific attribute====&lt;br /&gt;
&lt;br /&gt;
The use of other media specific attributes depends on the specification of the RTP payload format for the specific media type. Here are some example of attributes.&lt;br /&gt;
&lt;br /&gt;
*a=fmtp:&amp;lt;format&amp;gt; &amp;lt;format specific parameters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This attribute allows parameters that are specific to a particular format to be conveyed in a way that SDP doesn't have to understand them.  The format must be one of the formats specified for the media. Format-specific parameters may be any set of parameters required to be conveyed by SDP and given unchanged to the media tool that will use this format.&lt;br /&gt;
&lt;br /&gt;
*a=ptime:&amp;lt;packet time&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the length of time in milliseconds represented by the media in a packet. This is probably only meaningful for audio data. It should not be necessary to know ptime to decode RTP or vat audio, and it is intended as a recommendation for the encoding/packetisation of audio.  It is a media attribute, and is not dependent on charset.&lt;br /&gt;
&lt;br /&gt;
Here are 2 examples of the attributes found in the default profile SDP description.&lt;br /&gt;
&lt;br /&gt;
:a=rtpmap:97 iLBC/8000&lt;br /&gt;
:a=fmtp:97 mode=20&lt;br /&gt;
&lt;br /&gt;
The above defines iLBC codec of 8000/sec sample rate with 20ms frame size.&lt;br /&gt;
&lt;br /&gt;
:a=rtpmap:98 telephone-event/8000&lt;br /&gt;
&lt;br /&gt;
The above defines the dtmf relay using rfc2833.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2327.txt rfc2327 - SDP: Session Description Protocol]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3551.txt rfc3551 - RTP Profile for Audio and Video Conferences with Minimal Control]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc3952.txt rfc3952 - Real-time Transport Protocol (RTP) Payload Format for internet Low Bit Rate Codec (iLBC) Speech]&lt;br /&gt;
*[http://www.ietf.org/rfc/rfc2833.txt rfc2833 - RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals]&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Ka-Lok Yeung</name></author>	</entry>

	</feed>