Make number not available presentation also set screening to network provided.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 24 Mar 2012 00:40:51 +0000 (00:40 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 24 Mar 2012 00:40:51 +0000 (00:40 +0000)
commit721f92058f53b87a70872ec87dd1a35866280eee
treeed726631ec842479a8fa51ca413a260e697a3888
parentdf16bd973e5843faa349d7c6a70063e3190178bb
Make number not available presentation also set screening to network provided.

Q.951 indicates that when the presentation indicator is "Number not
available due to interworking" for a number then the screening indicator
field should be "Network provided".

* Made ast_party_id_presentation() return AST_PRES_NUMBER_NOT_AVAILABLE
when the presentation is "Number not available due to interworking".  This
fix makes Asterisk consistent and it also makes it consistent with earlier
branches as far as this presentation value is concerned.

* Made pri_to_ast_presentation() and ast_to_pri_presentation() conversions
handle the "Number not available due to interworking" case better in
sig_pri.c.  This change is possible because the minimum required libpri
version (v1.4.11) has the necessary defines in libpri.h.
........

Merged revisions 360309 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 360310 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@360311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/sig_pri.c
main/channel.c