[asterisk-users] Asterisk Management API

Peter Childs pchilds at bcs.org
Tue Mar 9 02:13:05 CST 2010


On 9 March 2010 07:58, Peter Childs <pchilds at bcs.org> wrote:
> On 8 March 2010 15:34, Olle E. Johansson <oej at edvina.net> wrote:
>>
>> 8 mar 2010 kl. 11.13 skrev Peter Childs:
>>
>>> On 5 March 2010 13:48, Jim Dickenson <dickenson at cfmc.com> wrote:
>>>> At an Asterisk CLI use the command "manager show commands".
>>>
>>>
>>> Life is rarely that simple, and this does not really answer the question.....
>>>
>>> Oh and Channel can mean different things in different contexts....
>>>
>>> ie
>>>
>>> Channel in a PlayDTMF command means a "Call" to play the DTMF on,
>>> where as Channel in a Originate command means the "Device to place the
>>> call on" so you can't use the same input for both commands (or can
>>> you?)
>>
>> I agree that it's kind of stupid. I cleared up some of that mess in 1.6.x, but not all. And the changes hurted a lot of existing applications, so I'm careful not to mess around too much with AMI again. The most important part is that we don't allow reuse of existing headers for new things in new actions and events. I've been trying to watch over manager in order to disallow misuse, but development is fast and it's easy to miss a commit or a review...
>>
>
> Ok,
>
> I'm not 100% sure if this is even possible (it should be)
>
> 1. Make a Call (Originate works fine but I can't seam to phone the
> voice mail using originate, or a que for that matter.....)

Also is there some way to get the starting end to auto pickup, (or at
least hit for this to happen (I'm using SIP if that helps))

>
> 2. Send DTMF to the far end, PlayDTMF looks like it should work but it
> seams to send the Play the DTMF to my end not the far end.
>

I seam to be able to send it to the far end by finding far end
channel's name and using that instead, but this does not work if the
far end is not a channel, (eg the Answer phone) but I hope that will
not really be a problem...

> Currently I'm not finding this any job any easier than the CSTA was on
> the Alcatel was.....
>
> Peter.
>

Peter.



More information about the asterisk-users mailing list