Re: [asterisk-users] Can't dial out through AMI

2010-07-08 Thread Mike Ely
On 7/8/10 5:07 AM, "Paul Belanger" wrote: > On Wed, Jul 7, 2010 at 2:46 PM, Mike Ely wrote: >> Maybe I missed something here?  SIP users configured within Asterisk can >> dial out just fine through the trunk.  It's just when I try to use AMI that >> it fails. >> > The far end is rejecting your

Re: [asterisk-users] Can't dial out through AMI

2010-07-08 Thread Paul Belanger
On Wed, Jul 7, 2010 at 2:46 PM, Mike Ely wrote: > Maybe I missed something here?  SIP users configured within Asterisk can > dial out just fine through the trunk.  It's just when I try to use AMI that > it fails. > The far end is rejecting your call; SIP/2.0 401 Unauthorized. If you can dialout w

Re: [asterisk-users] Can't dial out through AMI

2010-07-07 Thread Mike Ely
Re: [asterisk-users] Can't dial out through AMI > > On Tue, Jul 6, 2010 at 8:00 PM, Mike Ely wrote: >> Log attached. >> > <--- SIP read from UDP:10.10.10.16:5060 ---> > SIP/2.0 401 Unauthorized > >> context from sip.conf: >> >> [ShoreT

Re: [asterisk-users] Can't dial out through AMI

2010-07-06 Thread Mike Ely
-Original Message- From: asterisk-users-boun...@lists.digium.com on behalf of Paul Belanger Sent: Tue 7/6/2010 5:10 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject:Re: [asterisk-users] Can't dial out through AMI On Tue, Jul 6, 2010 at

Re: [asterisk-users] Can't dial out through AMI

2010-07-06 Thread Paul Belanger
On Tue, Jul 6, 2010 at 8:00 PM, Mike Ely wrote: > Log attached. > <--- SIP read from UDP:10.10.10.16:5060 ---> SIP/2.0 401 Unauthorized > context from sip.conf: > > [ShoreTel] > type=peer > qualify=yes > port=5060 > host=10.10.10.16 > context=incoming > canreinvite=no > Your context is not setup

Re: [asterisk-users] Can't dial out through AMI

2010-07-06 Thread Mike Ely
Log attached. It looks like the call is trying to do an "invite" to the sip trunk and fails there - it never actually tries to send the destination to the ShoreTel system on the other end of the trunk. Here's the ShoreTel context from sip.conf: [ShoreTel] type=peer qualify=yes port=5060 host=10.

Re: [asterisk-users] Can't dial out through AMI

2010-07-06 Thread Paul Belanger
On Tue, Jul 6, 2010 at 4:10 PM, Mike Ely wrote: > Obviously, I'm playing around with the context a bit but for now just want > to get the outbound call working. > debug log would be helpful: http://svn.digium.com/svn/asterisk/trunk/doc/HOWTO_collect_debug_information.txt -- Paul Belanger | dCAP

[asterisk-users] Can't dial out through AMI

2010-07-06 Thread Mike Ely
SIP user => Asterisk 1.6 server => SIP Trunk => external destination: works AMI script => Asterisk 1.6 server => SIP Trunk => external destination: Failed to authenticate on INVITE to '"asterisk" ;tag=alphanumeric' I¹ve tried doing things like ³include => contextwithtrunk" in various places, goog