Fix chan_iax2 to not report an RDNIS number if it is blank.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 20 Dec 2011 23:11:29 +0000 (23:11 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 20 Dec 2011 23:11:29 +0000 (23:11 +0000)
commite58d4e40938f3e4630e2dfd5814e01ea610d2597
treef462d1ccca814715b3cced67d4212aa0c05b88fe
parent684fd125978a1cd7576c4b4ec37ef55afe7b8946
Fix chan_iax2 to not report an RDNIS number if it is blank.

Some ISDN switches complain or block the call if the RDNIS number is
empty.

* Made chan_iax2 not save a RDNIS number into the ast_channel if the
string is blank.  This is what other channel drivers do.

(closes issue ASTERISK-17152)
Reported by: rmudgett
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c