Nik Martin
2004-Jun-10 12:59 UTC
[Asterisk-Users] Manager logic to pickup a ringing extension
Can the Manager Redirect command transfer a ringing SIP extension? I'm trying to implement a Camp On feature, and having failed to do it in Dial Plan logic, am trying to do it with manager logic. If an arbitrary Sip extension is ringing, I need the ability to pick up that extension from any other phone. What little docs there are on Manager commands shows Redirect takes these parameters: Action: Redirect Channel: Zap/1-1 Context: transfer Exten: 5555555555 Priority: 1 If I'm at Sip channel Sip/nmartin (extension 101), and the phone ringing is Sip/Foodaddy (extension 100), It doesn't seem possible to get that call transferred TO my extension, using the example context that accompanies the Redirect sample on the WIKI: [transfer] exten => _.,1,Dial(Zap/g1/${EXTEN}) It doesn't look dooable. Any ideas? Nik Martin
Adam Goryachev
2004-Jun-10 16:07 UTC
[Asterisk-Users] Manager logic to pickup a ringing extension
On Fri, 2004-06-11 at 05:59, Nik Martin wrote:> Can the Manager Redirect command transfer a ringing SIP extension? I'm > trying to implement a Camp On feature, and having failed to do it in Dial > Plan logic, am trying to do it with manager logic. If an arbitrary Sip > extension is ringing, I need the ability to pick up that extension from any > other phone. What little docs there are on Manager commands shows Redirect > takes these parameters: > > Action: Redirect > Channel: Zap/1-1 > Context: transfer > Exten: 5555555555 > Priority: 1 > > If I'm at Sip channel Sip/nmartin (extension 101), and the phone ringing is > Sip/Foodaddy (extension 100), It doesn't seem possible to get that call > transferred TO my extension, using the example context that accompanies the > Redirect sample on the WIKI: > > [transfer] > exten => _.,1,Dial(Zap/g1/${EXTEN}) > It doesn't look dooable.Better is to transfer the leg of the call which is causing the SIP phone to register: Call comes in on Zap/1-1 and walks the dialplan until it gets to: Dial(SIP/Foodaddy) So you send the manager command: Action: Redirect Channel: Zap/1-1 Context: mycontext Exten: 101 Priority: 1 Regards, Adam
Seemingly Similar Threads
- VoiceMailMain dumps user back into my incoming context after leaving a message
- RE: [Asterisk-User] asterisk compile problem
- Call Pickup problem in Asterisk with SIP phones
- If IAX client is not logged in/registered, Dial plan executes BUSY vs UNAVAILABLE
- VOIP wiretapping article