Hi Alexander, Just a small point that I hope will be helpful:
In article <d66ac4c3b882ba438b344616eee891e0075d3d2...@winxbede17.exchange.xchg>, Mueller, Alexander <a...@a-m-i.de> wrote: > OK, as promised, here are the details of the solution. > > The local phone which shall dial out is SIP/2000, and the external number to > be called is > 0123456789. The SIP/2000 will auto-answer, so that the user (having a headset > on) will be > able to make an outbound call without using the phone hardware. > > The Action to be called from the AMI is: > > Action: Originate > Channel: Local/*2...@originating > Context: originating > Exten: 00123456789 > Priority: 1 > CallerID: 2000 > ActionID: ORIGINATE_464 > > The "*" is only a marker for the distinction inside the dialplan, to > distinguish internal > and external phone numbers. You don't need to use that marker if you use two different contexts, one for the Local channel and one for the outbound dialling: Action: Originate Channel: Local/2...@phones Context: originating Exten: 00123456789 Priority: 1 CallerID: 2000 ActionID: ORIGINATE_464 And then: [phones] exten => _X.,1,SIPAddHeader(Call-Info: sip:\;answer-after=0) exten => _X.,n,Dial(SIP/${EXTEN}) [originating] exten => _0X.,1,Dial(SIP/${EXTEN:1...@sipgate-out) Hope this helps! Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-biz mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-biz