[asterisk-users] Aastra - Alert-Info : how to stop auto-answer on call second leg ?

Olivier oza-4h07 at myamail.com
Mon Sep 14 16:54:59 CDT 2009


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 


More information about the asterisk-users mailing list