• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-users] Attended transfer and dialplan

 
   AsteriskGuru Archives Forum Index -> Asterisk-Users
View previous topic :: View next topic  
Author Message
oza-4h07 at myamail.com
Guest





PostPosted: Fri May 29, 2009 2:34 pm    Post subject: [asterisk-users] Attended transfer and dialplan

Hi,

How can you add specific statements into Asterisk dialplan (extension.ael, ...) for attented transfers ?

I can see Asterisk sending Transfer or Masquerade events through AMI (in 1.6.1) but I could use an external program to catch those events but I would prefer to use dialplan instead.

Any idea ?

Regards
Back to top
danny at debsinc.com
Guest





PostPosted: Fri May 29, 2009 2:44 pm    Post subject: [asterisk-users] Attended transfer and dialplan

I’m pretty sure that attended transfer is a “features” function, not a dialplan one.
 
On my system I do *2 and asterisk says transfer, then I punch in the new extension.
 
 

From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Olivier
Sent: Friday, May 29, 2009 10:29 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Attended transfer and dialplan

 
Hi,

How can you add specific statements into Asterisk dialplan (extension.ael, ...) for attented transfers ?

I can see Asterisk sending Transfer or Masquerade events through AMI (in 1.6.1) but I could use an external program to catch those events but I would prefer to use dialplan instead.

Any idea ?

Regards
Back to top
oza-4h07 at myamail.com
Guest





PostPosted: Sat May 30, 2009 4:41 am    Post subject: [asterisk-users] Attended transfer and dialplan

2009/5/29 Danny Nicholas <danny@debsinc.com (danny@debsinc.com)>
Quote:

I’m pretty sure that attended transfer is a “features” function, not a dialplan one.


Yes, you're right but do you think there's such a big difference between both that it shouldn't be easy or even possible to add support of attended transfer in dialplan ?

What I have in my mind is this :

Today, Dial application M or U options allows macro execution when caller and callee are connected.
What if this same macro could be also launched during some later events (like attended transfer) ?
With features.conf, you could then specify :
- how lo launch an attended transfer (which key to type as today),
- if a given "feature" (attended transfer, parking, ...) should be supported by Dial macro option (for compatibilty, default could be set to none)

and with extension.conf, you could specify :
- which specific treatment (sending UserEvents, launching an external program, ...) to apply

In this puzzle, if Asterisk could support a few more standard variables like ATTENDED_TRANSFERER ATTENDED_TRANSFER_TARGET, you would everything to define and run attended transfers specific logic :

exten => 123,1,Dial(SIP/123,M(mymacro^arg1^arg2))     ; mymacro is launched upon connection and specified (in features.conf) events

[macro-mymacro]
GotoIf("x${ATTENDED_TRANSFERER}", ....

What about that ?




Quote:


 
On my system I do *2 and asterisk says transfer, then I punch in the new extension.
 
 

From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Olivier
Sent: Friday, May 29, 2009 10:29 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Attended transfer and dialplan


 
Hi,

How can you add specific statements into Asterisk dialplan (extension.ael, ...) for attented transfers ?

I can see Asterisk sending Transfer or Masquerade events through AMI (in 1.6.1) but I could use an external program to catch those events but I would prefer to use dialplan instead.

Any idea ?

Regards




_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™