<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=VoIP_Cookbook%3A_Attaching_context</id>
	<title>VoIP Cookbook: Attaching context - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=VoIP_Cookbook%3A_Attaching_context"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=VoIP_Cookbook:_Attaching_context&amp;action=history"/>
	<updated>2026-04-09T15:29:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=VoIP_Cookbook:_Attaching_context&amp;diff=17340&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: A context containing extensions can be incorporated into or associated with others. For example, consider the following context:    Context &quot;default&quot;:  	Extension		Note  	101			Mark Spence...</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=VoIP_Cookbook:_Attaching_context&amp;diff=17340&amp;oldid=prev"/>
		<updated>2010-03-09T07:23:20Z</updated>

		<summary type="html">&lt;p&gt;New page: A context containing extensions can be incorporated into or associated with others. For example, consider the following context:    Context &amp;quot;default&amp;quot;:  	Extension		Note  	101			Mark Spence...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A context containing extensions can be incorporated into or associated with others. For example, consider the following context: &lt;br /&gt;
&lt;br /&gt;
 Context &amp;quot;default&amp;quot;:&lt;br /&gt;
 	Extension		Note&lt;br /&gt;
 	101			Mark Spencer &lt;br /&gt;
 	102			Will Meadows &lt;br /&gt;
 	0			Operator &lt;br /&gt;
&lt;br /&gt;
 Context &amp;quot;local&amp;quot;: &lt;br /&gt;
 	Extension		Note&lt;br /&gt;
 	_9NXXXXXX	Local calls &lt;br /&gt;
 	include =&amp;gt; &amp;quot;default&amp;quot; &lt;br /&gt;
&lt;br /&gt;
 Context &amp;quot;longdistance&amp;quot;: &lt;br /&gt;
 	Extension		Note &lt;br /&gt;
 	_91NXXNXXXXXX	Long distance calls &lt;br /&gt;
 	include =&amp;gt; &amp;quot;local&amp;quot; &lt;br /&gt;
&lt;br /&gt;
We have defined three extensions: &lt;br /&gt;
&lt;br /&gt;
* Operator. Default context allows us to dial 3 telephone extensions: Mark, Will and the operator &lt;br /&gt;
* Local context has only one extension that allows us to dial 7-digit number. In addition, if we incorporate the default context into the local one, we can also dial Mark, Will and the operator. &lt;br /&gt;
* The long distance context has an extension pattern allowing us to place a long distance call. This context also includes localcontext, and thus also allows us to call a local number or even the extension of Mark, Wil and the operator.  &lt;br /&gt;
&lt;br /&gt;
Using context in the extension, we can carefully regulate who can have access to a larger network. Be careful. If there is more than one pattern that match the dialed number, Asterisk may not use the numbers we want. &lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[VoIP Cookbook: Building your own Telecommunication Infrastructure]]&lt;br /&gt;
* [[VoIP Cookbook: More on Asterisk's Dialplan]]&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>