<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All About Telephony &#187; ciscos</title>
	<atom:link href="http://www.syednetworks.com/tag/ciscos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.syednetworks.com</link>
	<description>VoIP and Telephony</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:55:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Asterisk  PBX : extensions.conf</title>
		<link>http://www.syednetworks.com/asterisk-pbx-extensionsconf</link>
		<comments>http://www.syednetworks.com/asterisk-pbx-extensionsconf#comments</comments>
		<pubDate>Wed, 29 Nov 2006 15:32:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Asterisk PBX]]></category>
		<category><![CDATA[ali]]></category>
		<category><![CDATA[analog devices]]></category>
		<category><![CDATA[ata 186]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[ciscos]]></category>
		<category><![CDATA[DTMF]]></category>
		<category><![CDATA[echo cancellation]]></category>
		<category><![CDATA[flags]]></category>
		<category><![CDATA[fxo]]></category>
		<category><![CDATA[pk]]></category>
		<category><![CDATA[sip phones]]></category>
		<category><![CDATA[suppressor]]></category>
		<category><![CDATA[tele]]></category>
		<category><![CDATA[timeouts]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[zaptel]]></category>

		<guid isPermaLink="false">http://www.syednetworks.com/?p=72</guid>
		<description><![CDATA[; 2006-04-24 05:06 GMT syedsauds@gmail.com ; ; I was thinking since long that how should i explain about Asterisk dialplain stuff. ; finally i figured out let&#8217;s simply put extensions.conf file with prettly understandable comments. ; This is the extensions.conf file for Ali&#8217;s Asterisk server...]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-5441476791057559";
/* 336x280, created 5/27/08 */
google_ad_slot = "2308058417";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
; 2006-04-24 05:06 GMT  <a href="mailto:syedsauds@gmail.com">syedsauds@gmail.com</a><br />
;<br />
; I was thinking since long that how should i explain about  Asterisk dialplain stuff. ; finally i figured out let&#8217;s simply put extensions.conf file with prettly understandable comments.</p>
<p>; This is the extensions.conf file for Ali&#8217;s Asterisk server Asterisk can be found at:<br />
;   <a rel="nofollow"  href="http://www.asterisk.org/">http://www.asterisk.org/</a><br />
;<br />
; More recent versions of this file can be found on:<br />
;   <a rel="nofollow"  href="http://www.tele.pk/forum/">http://www.tele.pk/forum/</a></p>
<p><span id="more-72"></span><br />
;<br />
;<br />
; To view this file with none of my comments, simply use <code>grep -v ; extensions.conf</code><br />
;  to remove comments.  I only create comments one per line, even though trailing<br />
;  comments are permitted.<br />
;<br />
; This file determines where calls are routed when they are handed to Asterisk by<br />
; one of various VOIP or analog call presentation channels.<br />
; Configuration for those channels are found elsewhere in the /etc/asterisk directory,<br />
;  and examples can be found in my directory, listed above.<br />
;<br />
; This configuration (and all supporting files) assumes the  use of an X100P<br />
; analog FXO card, BUT IT IS NOT REQUIRED.<br />
;  I use the card to terminate my house line and weave it into<br />
;  the dialplans below.  It can be removed without much<br />
;  difficulty.  For details on the ~$100 card, see:<br />
;   <a rel="nofollow"  href="http://www.digium.com/">http://www.digium.com/</a><br />
;<br />
; Config notes:<br />
;   &#8211; in /usr/src/zaptel/Makefile, set KFLAGS+=-DECHO_CAN_MARK2<br />
;   &#8211; in /usr/src/zaptel/Makefile, set KFLAGS+=-DAGGRESSIVE_SUPPRESSOR<br />
;<br />
;  I compile with these two echo cancellation flags as it seems they<br />
;   sound better with SIP phones interacting with Zap (analog) devices.<br />
;<br />
;<br />
; Known Bugs, Problems, Weirdnesses, etc.:<br />
;<br />
; 1) ATA-186 phones fail to stay registered.  Something within<br />
;     Asterisk is causing ATA-186 phones to stop sending REGISTER<br />
;     requests after ~2 hours.   Experiments with 30 through 240<br />
;     second timeouts on the ciscos have similar results.  Phone<br />
;     registry times out, calls fail. (2003-04-14 &#8211; unsure if this<br />
;           is fixed via Asterisk or via the ATA-186 v2.16 20030411 update)<br />
;<br />
; 2) DTMF relay through ATA-186 phones on SIP calls.  I&#8217;m<br />
;     uncertain if this is an ATA-186 issue or not; some in-depth<br />
;     prodding seems to show that it&#8217;s an Asterisk problem, or lack<br />
;     of a feature.  DTMF reaches Asterisk, codes are shown on the<br />
;     console (in-band RFC2833) but are not played out the remote<br />
;     SIP channel; only slight garbled noise is heard.  Analog<br />
;     replay works fine (ATA -> Asterisk -> X100P)   Perhaps an<br />
;     origination problem with RFC2833 in-band signalling within<br />
;     Asterisk.  I&#8217;ve tried changing to in-band signalling on the<br />
;     ATA-186 (AudioMode: 0&#215;00050005) without success as well.<br />
;  2003-02-17: calls originating with PSTN -> iconnect -> * -> ATA<br />
;           seem to transmit DTMF correctly in the ATA -> * -> &#8230;<br />
;           direction.  Just when calls are originated with the ATA<br />
;           does DTMF not get sent from the ATA, so this is looking<br />
;           more like an * problem.<br />
;        2003-02-19: not so fast. I can hear the DTMF from inbound<br />
;           calls via SIP, but * is not recognizing the tones.  Thus,<br />
;           DTMF transmission and reception does not seem to work for me.<br />
;        2003-04-14: This seems to be just problematic with iconnecthere.<br />
;           Others claim to have made it work, but requests for config<br />
;           examples have gone unanswered.<br />
;<br />
; 3) Timers for register=  commands should be selectable on a<br />
;     per-peer basis. (Packet8, as an example, requires 15 second<br />
;           REGISTER intervals.  My SIP peers don&#8217;t.  Least common<br />
;           denominator sucks; glad I don&#8217;t use Packet8 now.)<br />
;<br />
;       5) In my call recording macros, I can&#8217;t get the &#8220;h&#8221; extensions to<br />
;           work correctly if the originating leg hangs up first.  The<br />
;           macro runs only the first item in the priority list, and then<br />
;           quits.  See my mail to the list about this.<br />
;           (asterisk-users 2003-04-20 &#8220;Macros not working as expected with<br />
;             extension &#8220;h&#8221; in some circumstances&#8221;)<br />
;<br />
;       6) I&#8217;d really like to be able to know what kind of errors are being<br />
;           produced, so I can do some reasonable reporting to the end user.<br />
;           This is really becoming a big problem with handling SIP<br />
;           connection failures or the huge variety of problems that seem<br />
;           to crop up with VOIP.  See my mail to the list on this for<br />
;           a variable that would be handed back to the call flow so that<br />
;           the configuration could be modified accordingly<br />
;           (asterisk-dev 2003-04-06 &#8220;Call completion/error codes and<br />
;             extensions.conf call flow&#8221;)<br />
;<br />
;       7) The ability to press a key in mid-call and have something happen<br />
;           needs to be slightly extended.  I&#8217;d like to have a DTMF digit of<br />
;           my choosing create a jump to another extension (like &#8220;h&#8221; and<br />
;           &#8220;s&#8221; maybe it could be a special extension like &#8220;t&#8221;?) and then<br />
;           I would like the ability to re-connect the conversation.  This<br />
;           would be for things like turning on call recording, turning up<br />
;           the volume, starting a timer, starting a quick conference with pre-selected<br />
;           particpants, playing a short file, etc.<br />
;           (asterisk-users 2003-04-07 &#8220;Comments on &#8216;transfer&#8217; feature request&#8221;)<br />
;<br />
;<br />
; To-Do:<br />
;   &#8211; get one-key conference going between extensions so we<br />
;      can talk to friends/relatives on different phones but<br />
;      without complexity of meeting rooms (note: hinges on<br />
;      a feature request that I&#8217;ve put in for mid-call DTMF<br />
;      auto-transfers.)<br />
;   &#8211; create external gateway for access to voicemail system<br />
;   &#8211; create external gateway to DISA (so I can call Asterisk<br />
;      from my cell phone, and dial to SIP peers)<br />
;   &#8211; create quantum teleporter; achieve financial independence<br />
;<br />
; Thanks to: Mark Spencer, Nathan Lutchansky, Martin Pycko,<br />
;   Tim Stewart, and the Open Source Asterisk development team for putting<br />
;   up with my questions, adding featuers, and dealing with<br />
;   my bug discoveries.<br />
;<br />
;<br />
;<br />
;<br />
;<br />
;<br />
; The &#8220;General&#8221; category is for certain variables.  All other categories<br />
; are interpreted as extension contexts<br />
;<br />
[general]<br />
;<br />
; If static is set to no, or omitted, then the pbx_config will rewrite<br />
; this file when extensions are modified.  Remember that all comments<br />
; made in the file will be lost when that happens.<br />
;<br />
; XXX Not yet implemented XXX<br />
;<br />
static=yes<br />
;<br />
;<br />
; if stati=yes and writeprotect=no, you can save dialplan by<br />
; CLI command &#8216;save dialplan&#8217; too<br />
;<br />
writeprotect=yes</p>
<p>; The [globals] context is where you can set variables that<br />
; can be referenced elsewhere in the dialplan with ${VARIABLE}<br />
;<br />
; I decided that for ease of reference, I should create a variable<br />
; called &#8220;PHONE1&#8243; that I could set to the phone where I normally<br />
; am found.  I then set &#8220;ME&#8221; to be my extention, raw, for use<br />
; with voicemail forwarding.<br />
;<br />
; Variable &#8220;PHONE2&#8243; is the other ATA-186 in the house.<br />
;<br />
; Variable &#8220;DIALOUTANALOG&#8221; is the analog interface (FXO) card<br />
;   in the PC on my desk.  See zapta.conf for config details.<br />
;<br />
; Variable &#8220;FWDUSERID&#8221; is my User ID from Free World Dialup.<br />
;<br />
; Variable &#8220;IAXINFO&#8221; is the username:password for my account<br />
;  at Gnophone&#8217;s IAXTEL.  (<a rel="nofollow"  href="http://www.iaxtel.com/directory/">http://www.iaxtel.com/directory/</a>)<br />
;<br />
; Variable &#8220;MYIAXTELNUMBER&#8221; is my number at IAXTEL.  Yes,<br />
;  700-555-1212 is really, actually my number (as opposed to<br />
;  all the bogus numbers I&#8217;ve scattered through this file to<br />
;  anonymize the configuration.)  I expect a lot of calls for<br />
;  people wanting &#8220;directory assistance&#8221;  <img src='http://www.syednetworks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
;<br />
; I create variables here so that if I decide to update my<br />
;  extensions list, or my dial-out interface list, it&#8217;s just<br />
;  a simple variable change here at the top of the file.<br />
;<br />
[globals]<br />
PHONE1=SIP/2203<br />
PHONE1VM=2203</p>
<p>PHONE2=SIP/2204<br />
PHONE3=SIP/2205</p>
<p>DIALOUTANALOG=Zap/1</p>
<p>FWDUSERID=11001<br />
FWDUSERNAME=John Todd</p>
<p>IPTELUSERID=1234567<br />
<a href="mailto:IPTELUSERNAME=jtodd@loligo.com">IPTELUSERNAME=jtodd@loligo.com</a></p>
<p>ICONNECT1=14155551212</p>
<p>MYNAME=John Todd<br />
MYASN=32767</p>
<p>IAXINFO=someusername:somepasswordhere<br />
MYIAXTELNUMBER=17005551212</p>
<p>MYHOMEPHONE=5036661212<br />
MYCELLPHONE=13127771212</p>
<p>; These variables are to avoid the irritating problem<br />
;  with inability to use regexp&#8217;s on strings that have<br />
;  not been defined.<br />
;<br />
CALLFILENAME=foo<br />
FOO=foo</p>
<p>; Any context starting with &#8220;macro-&#8221; is treated as<br />
;  a macro.  Since I dial out through iconnect fairly<br />
;  frequently, I&#8217;ll create a macro here for that routine.<br />
;  Note that I have to strip off any unwanted prefix<br />
;  characters before I call this macro, since iconnect<br />
;  only wants numbers in the form 1xxxyyyzzzz<br />
;<br />
; The system plays back an invalid extension recording if<br />
;  for some reason the call fails or errors out.<br />
;<br />
; I haven&#8217;t yet encountered calling someone who has had<br />
;  a busy signal.  I am uncertain what will happen with<br />
;  the &#8220;busy&#8221; logic I put in, but I figured I&#8217;d throw<br />
;  it in there anyway to give the correct response to<br />
;  the user.<br />
;<br />
; This macro takes two arguments: ARG1 is the phone number<br />
;  to be dialed (including leading &#8220;1&#8243;) and ARG2 is the<br />
;  number of seconds that we should wait for an answer.<br />
;<br />
; Note: Due to iconnect&#8217;s quality sucking rocks over the<br />
;  last few days, I&#8217;ve switched to nufone via IAX for<br />
;  actual calls.  Sorry if this is confusing&#8230;<br />
;<br />
[macro-dialiconnect]<br />
exten => s,1,SetCallerID(${ICONNECT1})<br />
exten => s,2,SetCIDName(${MYNAME})<br />
exten => s,3,Dial(<a href="mailto:IAX/jtodd@nufone/${ARG1},100,T">IAX/jtodd@nufone/${ARG1},100,T</a>)<br />
;exten => s,3,Dial(<a href="mailto:SIP/${ARG1}@iconnect,${ARG2">SIP/${ARG1}@iconnect,${ARG2</a>})<br />
exten => s,4,Playback(new/acnt-or-cir-busy-now)<br />
exten => s,5,Hangup<br />
exten => s,104,Playback(new/acnt-or-cir-busy-now)<br />
exten => s,105,Wait,3<br />
exten => s,106,Playtones(congestion)<br />
exten => s,107,Wait,30<br />
exten => s,108,Playback(new/are-you-still-here)<br />
exten => s,108,Hangup<br />
; When I dial something that throws an error, I expect<br />
;  to get a re-order (fast busy) tone.  Well, since this<br />
;  system is more intelligent than that, I&#8217;d like to hear<br />
;  a bit more about what kind of error happened.  However,<br />
;  that isn&#8217;t in the system yet, so I have to play an &#8220;all-circuits-busy&#8221;<br />
;  message that I recorded myself.  I&#8217;d really rather know<br />
;  what the SIP (or ISDN, or whatever) error code was so that<br />
;  I could play a message appropriate to the error (hint, hint, kram)<br />
;<br />
[macro-fastbusy]<br />
exten => s,1,Answer<br />
exten => s,2,Wait 1<br />
exten => s,3,Playback(new/all-circuits-busy)<br />
exten => s,4,Wait(30)<br />
exten => s,5,Hangup</p>

	Tags: <a href="http://www.syednetworks.com/tag/ali" title="ali" rel="tag">ali</a>, <a href="http://www.syednetworks.com/tag/analog-devices" title="analog devices" rel="tag">analog devices</a>, <a href="http://www.syednetworks.com/tag/ata-186" title="ata 186" rel="tag">ata 186</a>, <a href="http://www.syednetworks.com/tag/bugs" title="bugs" rel="tag">bugs</a>, <a href="http://www.syednetworks.com/tag/ciscos" title="ciscos" rel="tag">ciscos</a>, <a href="http://www.syednetworks.com/tag/dtmf" title="DTMF" rel="tag">DTMF</a>, <a href="http://www.syednetworks.com/tag/echo-cancellation" title="echo cancellation" rel="tag">echo cancellation</a>, <a href="http://www.syednetworks.com/tag/flags" title="flags" rel="tag">flags</a>, <a href="http://www.syednetworks.com/tag/fxo" title="fxo" rel="tag">fxo</a>, <a href="http://www.syednetworks.com/tag/pk" title="pk" rel="tag">pk</a>, <a href="http://www.syednetworks.com/tag/sip-phones" title="sip phones" rel="tag">sip phones</a>, <a href="http://www.syednetworks.com/tag/suppressor" title="suppressor" rel="tag">suppressor</a>, <a href="http://www.syednetworks.com/tag/tele" title="tele" rel="tag">tele</a>, <a href="http://www.syednetworks.com/tag/timeouts" title="timeouts" rel="tag">timeouts</a>, <a href="http://www.syednetworks.com/tag/voip" title="voip" rel="tag">voip</a>, <a href="http://www.syednetworks.com/tag/zaptel" title="zaptel" rel="tag">zaptel</a><br />

	<h4>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://www.syednetworks.com/digium-telephony-cards" title="Digium Telephony TDM Cards (July 12, 2008)">Digium Telephony TDM Cards</a> (3)</li>
	<li><a href="http://www.syednetworks.com/voip-pbx-solution-easy-to-extend-the-phone-lines" title="VoIP PBX Solution: Easy to Extend the Phone-Lines (August 23, 2009)">VoIP PBX Solution: Easy to Extend the Phone-Lines</a> (0)</li>
	<li><a href="http://www.syednetworks.com/best-voip-phone-for-your-needs" title="Best VoIP Phone for your needs (February 28, 2010)">Best VoIP Phone for your needs</a> (1)</li>
	<li><a href="http://www.syednetworks.com/why-voip-and-voip-advantages" title="Why VoIP? (March 6, 2009)">Why VoIP?</a> (0)</li>
	<li><a href="http://www.syednetworks.com/new-voip-technology-available-to-customers-anywhere-in-the-world" title="VoIP is now available to customers anywhere the world (July 26, 2009)">VoIP is now available to customers anywhere the world</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.syednetworks.com/asterisk-pbx-extensionsconf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

