Olivier
2009-Sep-14 21:54 UTC
[asterisk-users] Aastra - Alert-Info : how to stop auto-answer on call second leg ?
Hi, When implementing click2dial feature, I can trigger an Aastra phone to auto-answer using statement like : SIPAddHeader(Alert-Info: info=alert-autoanswer); This is very convenient when trying to reach a distant party (ie through PSTN) The trouble is when 2 Aastra are calling each other over the LAN, this single statement is memorized somehow and both phones (caller and callee) auto-answer. Is there a way to "cancel" this auto-answer feature on the second leg of a call, either with a SIPRemoveHeader-like application or using something like (before dialing the second leg) : SIPAddHeader(Alert-Info: info=alert-noautoanswer); I've tried many things unsuccessfully such as: SIPAddHeader(Alert-Info: info=alert-community-1); (From an old doc) Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090914/4ea2e937/attachment.htm
Darrick Hartman
2009-Sep-14 22:26 UTC
[asterisk-users] Aastra - Alert-Info : how to stop auto-answer on call second leg ?
Add this line to your aastra.cfg file sip intercom allow barge in: 0 # don't barge in on existing calls Olivier wrote:> Hi, > > When implementing click2dial feature, I can trigger an Aastra phone to > auto-answer using statement like : > SIPAddHeader(Alert-Info: info=alert-autoanswer); > > This is very convenient when trying to reach a distant party (ie through > PSTN) > > The trouble is when 2 Aastra are calling each other over the LAN, this > single statement is memorized somehow and both phones (caller and > callee) auto-answer. > Is there a way to "cancel" this auto-answer feature on the second leg of > a call, either with a SIPRemoveHeader-like application or using > something like (before dialing the second leg) : > SIPAddHeader(Alert-Info: info=alert-noautoanswer); > > I've tried many things unsuccessfully such as: > SIPAddHeader(Alert-Info: info=alert-community-1); (From an old doc) > > > Best regards > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Reasonably Related Threads
- PJSIP/SIPAddHeader etc
- How to append custom option to Contact: header on outgoing SIP INVITE msgs?
- Asttapi for Asterisk 1.2 Testers Needed (was RE: Asterisk TAPI - Outlook click2dial)
- Asterisk TAPI - Outlook click2dial
- 2. Re: Does Asterisk support remove header from sip message?