[asterisk-users] Trouble with originating a call through Asterisk Manager Interface
Matt Riddell
lists at venturevoip.com
Tue Jul 14 19:40:28 CDT 2009
On 13/7/09 2:23 PM, eric weaver wrote:
> I am doing a little application to originate a call through Asterisk via
> AMI (Perl Asterisk::Manager).
> It logs in successfully, does an originate command with
> Exten: 0020 (which is set up to answer and wait for 60 then hang up)
> Channel: SIP/5101234567 at test-host (which comes to my desktop machine
> also running Asterisk).
>
> At the target machine I see only a CANCEL to which it immediately
> responds with a No Transaction. Except for every nth try, when I see an
> INVITE; but only that often.
>
> It looks like AstMan is asking for a Slin-format connection and the
> channel is set up only for Slin or Ulaw but it says "joint capabilities
> 0x0". Don't know if that's a red herring.
> Any advice welcome.
The Asterisk Manager won't have any idea about codecs etc.
I suggest the best way to tackle this is to make sure you can make the
same call using the dialplan first, then move to the manager - settings
like codecs will therefore show up in the initial testing.
--
Cheers,
Matt Riddell
Director
_______________________________________________
http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
More information about the asterisk-users
mailing list