<?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>Ultimobyte &#187; CISCO</title>
	<atom:link href="http://www.ultimobyte.org/tag/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultimobyte.org</link>
	<description></description>
	<lastBuildDate>Fri, 20 Jan 2012 09:53:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CISCO Voice Gateway</title>
		<link>http://www.ultimobyte.org/2005/11/22/cisco-voice-gateway/</link>
		<comments>http://www.ultimobyte.org/2005/11/22/cisco-voice-gateway/#comments</comments>
		<pubDate>Tue, 22 Nov 2005 18:08:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articolo Tecnico]]></category>
		<category><![CDATA[Voip]]></category>
		<category><![CDATA[CISCO]]></category>

		<guid isPermaLink="false">http://www.ultimobyte.org/?p=36</guid>
		<description><![CDATA[In questo documento troverete come deve essere configurato un router CISCO dotato di interfaccie FXO, per essere utilizzato come voice-gateway tra client sip e il mondo PSTN voice-port __________________ &#124; &#124; &#124; &#124; &#124; &#124; &#124; &#124; 1/0/0 1/0/1 1/1/0 1/1/1 _&#124;&#124;_____&#124;&#124;_____&#124;&#124;____&#124;&#124;_ &#60;--- INTERFACCIE FXO &#124; &#124; &#124; CISCO &#124; &#124; VOICE-GATEWAY &#124; &#124; &#124; [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-weight: 400;"><span style="font-size: small;">In questo documento troverete come  deve essere configurato un router CISCO dotato di interfaccie FXO, per essere  utilizzato come <span style="color: black;">voice</span>-gateway tra client sip e  il mondo PSTN</span></span></p>
<pre>             	         <span style="color: black;">voice</span>-port
                    __________________
                   |      |     |     |
                   |      |     |     |

	        1/0/0  1/0/1  1/1/0  1/1/1
   		 _||_____||_____||____||_    &lt;--- INTERFACCIE FXO
		|	                |
		|         CISCO          |
		|      <span style="color: black;">VOICE</span>-GATEWAY     |
		|                        |
		|________________________|
		      |
                      | Ethernet 0/0
                      |
                      |
                      |
                      |
                   ___|___________________
                                   |
                                   |
                             ______|___
			    |	       |
			    |   SIP    |
			    |  SERVER  |
			    |          |
			    |__________|</pre>
<p><strong><span style="font-size: small;">Configurazione logica:</span></strong></p>
<p>Sul <span style="color: black;">Voice</span> gateway sono attestate 4 porte  analogiche che corrispondono a 4 numeri (interni XXX e/o esterni YYYYYXXX) di un  centralino.<br />
Gli interni sono: 305,803, 806,807)<br />
I numeri completi saranno del tipo 5555XXX<br />
Le chiamate in ingresso possono essere dirottate verso untenze sip (un utenza  per ogni FXO)<br />
Le chiamate da client sip verso l&#8217;esterno possono uscire randomicamente sulle  varie FXO oppure è possibile utilizzare un determinato prefisso per impegnare  una linea ben precisa (corrispondenza prefisso&lt;&#8212;&gt;linea) Il sip server (SER) è  configurato per inoltrare verso il <span style="color: black;">voice</span>-gateway  (ip-eth0/0) tutte le chiamate che hanno come prefisso 9 e 88<br />
La politica è quella che da un client sip per le chiamate verso gli interni si  debba far precedere il numero dell&#8217;interno dal prefisso 88 (&#8211;&gt;88XXX).<br />
Per chiamare numeri sulla PSTN si deve far precedere il numero dal prefisso 9  (&#8211;&gt;9 &lt;prefisso-città|prefisso-cellulare&gt; &lt;numero&gt;)</p>
<p><strong><span style="font-size: small;">Configurazione Router CISCO 2600</span><br />
</strong><span id="more-36"></span><br />
<!-- adman --><br />
<strong>- CHIAMATE ENTRANTI (PSTN to </strong><strong style="color: black;">VoIP</strong><strong>)</strong></p>
<p>Per gestire le chiamate entranti su un interfaccia FXO del <span style="color: black;">voice</span> gateway si deve configurare la <span style="color: black;">voice</span>-port.<br />
<span style="text-decoration: underline;">Esempio</span></p>
<p><strong><strong style="color: black;">voice</strong>-port 1/0/0<br />
ring number 2<br />
input gain 14<br />
echo-cancel coverage 32<br />
cptone IT<br />
timeouts wait-release 10<br />
connection plar 305 &lt;&#8212; Permette di gestire le chiamate in ingresso verso un  numero<br />
description Linea PincoPallino INGRESSO (06YYYY305)</strong></p>
<p><strong>Il comando <em>connection plar</em></strong><br />
sintassi:</p>
<p><em>connection plar &lt;num-tel&gt; </em></p>
<p>Possiamo immaginare &lt;num-tel&gt; un utenza sip (o magari un alias di un utenza sip)<br />
Per far &#8220;squillare il client sip dobbiamo creare un <strong style="color: black;"> dial-peer</strong><strong> </strong><strong style="color: black;">voice</strong> &lt;num-tel&gt; <strong style="color: black;">voip</strong>.</p>
<p><span style="text-decoration: underline;">Esempio:</span><br />
<strong><strong style="color: black;">dial-peer</strong> <strong style="color: black;">voice</strong> 305 <strong style="color: black;">voip</strong><br />
destination-pattern 305<br />
session protocol sipv2<br />
session target ipv4:&lt;ip-sip-server&gt;:5060<br />
codec g711ulaw<br />
</strong></p>
<p><strong>- CHIAMATE USCENTI da un client <strong style="color: black;">VoIP</strong> (<strong style="color: black;">VoIP</strong> to PSTN)</strong></p>
<p>Per le chiamate uscenti si deve far riferimento al comando <em><strong> <strong style="color: black;">dial-peer</strong> &lt;numero&gt; pots</strong></em></p>
<p>numero rappresenta il <strong style="color: black;">Voice</strong><strong> </strong> <strong style="color: black;">dial-peer</strong> tag<br />
<span style="text-decoration: underline;">Esempio</span></p>
<p><strong><strong style="color: black;">dial-peer</strong> <strong style="color: black;">voice</strong> 1  pots<br />
description Linea PincoPallino OUT<br />
destination-pattern .T<br />
no digit-strip<br />
direct-inward-dial<br />
port 1/0/0<br />
!</strong></p>
<p><strong><em>destination-pattern</em></strong> indica la numerazione che può essere inviata  attraverso la porta fisica (pots) indicata nelle linee seguenti della sezione <span style="color: black;">dial-peer</span></p>
<p>se scrivessimo</p>
<p><em>destination-pattern 06.T</em></p>
<p>indicheremmo che sulla porta specificata potrebbero uscire solo chiamate che  iniziano per 06</p>
<p>Se creiamo più <span style="color: black;">dial-peer</span> <span style="color: black;">voice</span><strong> </strong>&lt;num&gt; pots (e per ognuno di essei  definiamo una porta di uscita &#8211;&gt; port x/y/z) con un destination-pattern .T ,<br />
vorrebbe dire che per qualsiasi numero composto da un client <span style="color: black;">Voip</span>, vengono utulizzate (round-robin) tutte  le porte configurate</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ultimobyte.org/2005/11/22/cisco-voice-gateway/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

