[Home]

Summary:ASTERISK-19912: [patch] Add ANI-2 / OLI reporting to chan_sip
Reporter:Rob Gagnon (rgagnon)Labels:
Date Opened:2012-05-24 14:07:14Date Closed:2012-06-11 23:09:20
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/NewFeature
Versions:10.4.0 10.5.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-10.5.0-sip-parse-oli.diff
( 1) sip-parse-oli-r368780.diff
Description:SIP does not currently report ANI2 / OLI through AGI because it is never parsed out of the "From" header.  Attached patch adds this ability, allowing AGI users to easily and properly report / take action based on the ANI-2 digits provided during a call.

This is, of course, a NANP-only feature, so the patch does not puke should the OLI field(s) be missing from the header.
Comments:By: Rob Gagnon (rgagnon) 2012-05-24 14:25:14.655-0500

Asterisk 10.4.0 patch

By: Rob Gagnon (rgagnon) 2012-05-24 14:30:21.962-0500

Similar to the 10.4.0 patch, but uses new ast_channel_caller() function to set ani2

By: Rob Gagnon (rgagnon) 2012-05-24 14:42:17.033-0500

Two patches uploaded to support 10.4.0 which did not use the new channel access functions, as well as the trunk which now does.

By: Rob Gagnon (rgagnon) 2012-05-25 12:23:39.682-0500

Replacing files with latest patches

By: Rob Gagnon (rgagnon) 2012-05-30 12:06:38.111-0500

New patch for v10.4.1

By: Rob Gagnon (rgagnon) 2012-05-30 12:07:03.627-0500

New patch for trunk @ rev 367975

By: Rob Gagnon (rgagnon) 2012-06-06 11:00:43.875-0500

Updated diff for trunk

By: Rob Gagnon (rgagnon) 2012-06-06 11:01:22.685-0500

Updated diff for 10.4.1 - Initializes variables to NULL.

By: Rob Gagnon (rgagnon) 2012-06-11 15:11:49.501-0500

Latest patch uses sscanf() for parsing

By: Rob Gagnon (rgagnon) 2012-06-11 15:12:16.173-0500

Latest patch uses sscanf() for parsing

By: Rob Gagnon (rgagnon) 2012-06-11 16:19:32.599-0500

new patch to match the reviewboard code

By: Rob Gagnon (rgagnon) 2012-06-11 16:19:45.800-0500

new patch to match the reviewboard code