[asterisk-users] Re: Dialling from extension to extension with Manager

Tony Mountifield tony at softins.clara.co.uk
Wed Aug 23 02:41:27 MST 2006


In article <20060823085712.GC5352 at fruitcom.com>, Eric <es at fruitcom.com> wrote:
> How would I set up a call between two extensions which are both pstn
> phones (and not peer devices)?

Use the Local channel. For example, to make a call to 1234567890, and when
it answers, connect it to an outgoing call to 1357924680, do this:

Action: Originate
ActionID: whatever
Channel: Local/12345678900 at outgoing
Context: outgoing
Exten: 1357924680
Priority: 1
Async: true

Then watch out for the OriginateSuccess or OriginateFailure event.

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