[asterisk-biz] auto-answering an originated call, dialplan / manager interface problem

Mueller, Alexander am at a-m-i.de
Thu Nov 26 08:38:12 CST 2009


Hi Rick,

thanks for the mail, but my intention was, that the people do *not* have to press anything on the phone, perhaps I didn't make that clear enough.

You write what happens, when they pick up the phone ... that's too late for me, I need to originate the call and have the phone pick up automatically.

To be more precise, the user originates the call by clicking on his computer in an address book and has his headset on ... no need for him to search for the phone and press something more :-)

Alex


-----Ursprüngliche Nachricht-----
Von: asterisk-biz-bounces at lists.digium.com [mailto:asterisk-biz-bounces at lists.digium.com] Im Auftrag von Alex Balashov
Gesendet: Donnerstag, 26. November 2009 15:24
An: Commercial and Business-Oriented Asterisk Discussion
Betreff: Re: [asterisk-biz] auto-answering an originated call, dialplan / manager interface problem

If you initiate an Originate and specify an outbound 
carrier/channel/technology as the 'Channel', the execution will be 
punted into the Exten, Priority and Context you specify when the call 
is answered on the far-end -- e.g. a SIP 200 OK.

For example, here's how I Rickroll people:

Action: Originate
Channel: SIP/5551212 at my_termination_carrier
Context: rickroll
Exten: 1
Priority: 1
Callerid: xxxxxxxxxx
Timeout: 30000


[rickroll]

exten => 1,1,Wait(1)
exten => 1,n,Playback(never-gonna-give-you-up)
exten => 1,n,Hangup


Their phone rings, they pick up, and about a second later, Rick croons 
at them.





More information about the asterisk-biz mailing list