<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>RE: [asterisk-users] Can't dial out through AMI</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>-----Original Message-----<BR>
From: asterisk-users-bounces@lists.digium.com on behalf of Paul Belanger<BR>
Sent: Tue 7/6/2010 5:10 PM<BR>
To: Asterisk Users Mailing List - Non-Commercial Discussion<BR>
Cc: <BR>
Subject: Re: [asterisk-users] Can't dial out through AMI<BR>
<BR>
On Tue, Jul 6, 2010 at 8:00 PM, Mike Ely <mikeely@amyskitchen.net> wrote:<BR>
> Log attached.<BR>
><BR>
<--- SIP read from UDP:10.10.10.16:5060 ---><BR>
SIP/2.0 401 Unauthorized<BR>
<BR>
> context from sip.conf:<BR>
><BR>
> [ShoreTel]<BR>
> type=peer<BR>
> qualify=yes<BR>
> port=5060<BR>
> host=10.10.10.16<BR>
> context=incoming<BR>
> canreinvite=no<BR>
><BR>
Your context is not setup properly for outbound, you have no<BR>
credentials defined.<BR>
<BR>
<BR>
None needed on the ShoreTel side and as I mentioned before regular SIP users can dial out through the Asterisk box using this trunk. Keep in mind, this is a development system on a tightly-controlled network, and I'm trying to start with the simplest case possible, which includes no digest auth for the trunk connection.</FONT></P>
</BODY>
</HTML>