I have recently started using asterisk 1.4. I have written a “Click to call” application using the Manager API which works great. however what I want to be able to call SipAddHeader to set the inital call to the calling handset to auto-answer (using polycoms as per the auto-answer example on voip-info.org )
Previously from what I can fathom I could use the following action to produce this result :
However apparently the ALERT_INFO variable has been removed in 1.4, and replaced with the requirement to use AddSipHeader(Alert-Info=foo) in the dialplan it’s self.
The Manager API does not seem to support AddSipHeader, and even if it did I would be unable to add this to the initail enquiry call to the calling party as I have no handle to the channel before it is initialised.
Is there anyway round this? am I doing something wrong? Please help.