[Asterisk-Users] Re: initiate call with asterisk -> authentication error telnetting to Manager API

Tony Mountifield tony at softins.clara.co.uk
Mon Sep 5 09:19:18 MST 2005


In article <20050905143142.GA15588 at fruitcom.com>, Eric <es at fruitcom.com> wrote:
> Thanks for the help.
> 
> Ok, it is now authenticating.
> 
> But the command:
>  Channel: SIP/snom
>  Context: default
>  Exten: 99992412
> 
> causes no action and nothing in the logs.
> 
> Any idea?

Well in your original post you had:

 Action: Login
 Username: admin
 Secret: secret
 Action: Originate
 Channel: SIP/snom
 Context: default
 Exten: 99992412
 Priority: 1
 Callerid: Asterisk Automatic Wardial
 Action: Logoff

You need to terminate each command with a blank line, like this:

---start---
 Action: Login
 Username: admin
 Secret: secret

 Action: Originate
 Channel: SIP/snom
 Context: default
 Exten: 99992412
 Priority: 1
 Callerid: Asterisk Automatic Wardial

 Action: Logoff

---end---

If you are already doing that, I'm not sure what your problem could be
without more information.

You should probably read the responses too, to check for errors.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list