Summary:ASTERISK-04455: [patch] Pick up ANI (network provided number) from libpri
Reporter:Thorsten Lockert (tholo)Labels:
Date Opened:2005-06-21 21:35:55Date Closed:2008-01-15 15:40:56.000-0600
Versions:Frequency of
Environment:Attachments:( 0) AniWithDialplan-chan_zap-patch.rev468.txt
( 1) AniWithDialplan-libpri-patch.20050706.txt
Description:There is no way to get both user-provided and network-provided caller-id from a PRI into Asterisk.

Recently I provided a patch for libpri to provide this information, and this has now been added to HEAD for libpri.


The attached patch makes Asterisk pick up this information, and put network-provided number in ANI and user-provided number in Caller*ID.

Note that this patch needs additional testing before being put into CVS.
Comments:By: Michael Jerris (mikej) 2005-06-22 06:54:31

Please review the notes in 3521 as there was a great deal of discussion about where and how this information should be represented in asterisk.

By: Frank Sautter (xylome) 2005-06-22 10:33:14

i just uploaded 2 patches 'AniWithDialplan-*' extending the first patch.
they are now observing the dialplan and the prefixes when generating the ANI number.
disclaimer is on file!

By: Frank Sautter (xylome) 2005-06-27 03:36:22

just updated the patch to current cvs-head

By: Michael Jerris (mikej) 2005-06-27 09:05:25

Can you review this please.

By: Frank Sautter (xylome) 2005-07-07 07:01:01

patch updated to cvs head of 2005-07-06.
patch is in use since 2005-06-27 with ~1000 calls a day.
works as designated!

By: Brian West (bkw918) 2005-07-07 13:35:51

Can you update this patch to current CVS-HEAD?

By: Frank Sautter (xylome) 2005-07-08 01:52:57

i'm sorry, but this is up to date (as of 8th july 2005).
i updated this yesterday and i just checked it with my eclipse against cvs-head.

By: Kevin P. Fleming (kpfleming) 2005-07-11 22:25:55

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:40:56.000-0600

Repository: asterisk
Revision: 6097

U   trunk/channels/chan_zap.c

r6097 | kpfleming | 2008-01-15 15:40:56 -0600 (Tue, 15 Jan 2008) | 2 lines

pick up calling ANI information from libpri (bug ASTERISK-4455)