<div>Good morning, it now works,&nbsp;failure was&nbsp;due to a&nbsp;misconfigured/misunderstood Class of Restriction Group Assignment for&nbsp;the SIP Trunk Routes on&nbsp;the 3300ICP. </div>
<div>&nbsp;</div>
<div>Now Asterisk can call the world through the Mitel and incoming calls (DID, operator transfers etc) to Asterisk&nbsp;via the 3300ICP,&nbsp;all work. </div>
<div>&nbsp;</div>
<div>Interesting side note - both phone systems have same range of extensions e.g 100 - 299 (just an example)and we created routes on both to point to the other for the range, of course, an extension&nbsp;should only exist on one at any time. therefore, if an extension does not exist locally, it is routed to the other and vice versa, this way, we keep same range of extensions and this has helped with migrating users who do not want to trade their loved Extension &amp; DID number for anything. will continue to test and share results.
</div>
<div>&nbsp;</div>
<div>Joesph O.</div><br><br>
<div><span class="gmail_quote">On 7/9/07, <b class="gmail_sendername">Joesph O</b> &lt;<a href="mailto:asterisk@me.net.ng">asterisk@me.net.ng</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span class="e" id="q_113a8377b39af043_0"><span class="gmail_quote"></span>Good day everyone,<br><br>I have Asterisk and Mitel 3300 ICP communicating via SIP. Calls to and from extensions on both sides are completing successfully (details on config coming soon). Problem is that calls from Asterisk to PSTN via E1 on Mitel 3300 ICP are rejected. What do I need to do to get Asterisk to route PSTN calls through it successfully? 
<br><br>Here is an extract of the log on Asterisk whenever I try to call PSTN through 3300ICP, in this case, Extension 2540 on Asterisk called 2345678, 9 is a leading digit - <br><br>Jul 7 16:48:07 DEBUG[6860] chan_sip.c: Outgoing Call for 92345678
<br>Jul 7 16:48:07 VERBOSE[6860] logger.c: -- Called Mitel3300ICP/92345678<br>Jul 7 16:48:07 DEBUG[6860] channel.c: Prodding channel &#39;SIP/2540-b7904a98&#39;<br>Jul 7 16:48:07 VERBOSE[6860] logger.c: -- Started music on hold, class &#39;24&#39;, on SIP/2540-b7904a98
<br>Jul 7 16:48:07 DEBUG[6860] channel.c: Scheduling timer at 160 sample intervals<br>Jul 7 16:48:07 DEBUG[6270] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on &#39;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:038846853db765e636e57d3e7f1d5dac@192.168.1.101" target="_blank">
038846853db765e636e57d3e7f1d5dac@192.168.1.101</a>&#39; Request 102: Found<br>Jul 7 16:48:07 DEBUG[6270] chan_sip.c: Acked pending invite 102<br>Jul 7 16:48:07 DEBUG[6270] chan_sip.c: Stopping retransmission on &#39;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:038846853db765e636e57d3e7f1d5dac@192.168.1.101" target="_blank">
038846853db765e636e57d3e7f1d5dac@192.168.1.101</a>&#39; of Request 102: Match Found<br>Jul 7 16:48:07 DEBUG[6860] channel.c: Generator got voice, switching to phase locked mode<br>Jul 7 16:48:07 DEBUG[6860] channel.c: Scheduling timer at 0 sample intervals
<br>Jul 7 16:48:07 DEBUG[6270] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on &#39;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:038846853db765e636e57d3e7f1d5dac@192.168.1.101" target="_blank">
038846853db765e636e57d3e7f1d5dac@192.168.1.101</a>&#39; Request 103: Found<br>Jul 7 16:48:08 DEBUG[6270] chan_sip.c: Acked pending invite 103<br>Jul 7 16:48:08 DEBUG[6270] chan_sip.c: Stopping retransmission on &#39;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:038846853db765e636e57d3e7f1d5dac@192.168.1.101" target="_blank">
038846853db765e636e57d3e7f1d5dac@192.168.1.101</a>&#39; of Request 103: Match Found<br>Jul 7 16:48:08 WARNING[6270] chan_sip.c: Forbidden - wrong password on authentication for INVITE to &#39;&quot;Tester&quot; &lt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sip:2540@192.168.1.101" target="_blank">
sip:2540@192.168.1.101</a> &gt;;tag=as07fef065&#39;<br>Jul 7 16:48:08 VERBOSE[6860] logger.c: -- SIP/Mitel3300ICP-0832de50 is circuit-busy <br></span></div></blockquote></div><br>