[Home]

Summary:ASTERISK-03528: Added SIPALERTINFO variable to contain the Alert-Info header valuer
Reporter:scrubb (scrubb)Labels:
Date Opened:2005-02-16 09:16:29.000-0600Date Closed:2011-06-07 14:05:03
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) alertinfo.patch
Description:This patch receives the Alert-Info SIP header information on inbound calls and writes it to the channel vairable SIPALERTINFO if it exists.  This will allow call handling/routing based on "distinctive ring".  This works nicely for me currently

Please test/review.
Disclaimer is on file.
Comments:By: scrubb (scrubb) 2005-02-16 09:24:27.000-0600

P.S. this patches both chan_sip.c and the doc/README.variables.

By: Kevin P. Fleming (kpfleming) 2005-02-16 09:43:37.000-0600

Couldn't this be done using SIPGetHeader(var=Alert-Info)?

By: scrubb (scrubb) 2005-02-16 09:54:51.000-0600

Ok, yeah it can be done that way.  Please close and ignore this patch.  I was unaware of the SIPGetHeader application.  Thank you for pointing it out.
Ben

By: Kevin P. Fleming (kpfleming) 2005-02-16 10:01:36.000-0600

Closed at poster's request (not necessary).