[asterisk-dev] [Code Review] Allow empty display name if callerid is set to an empty string. Take 2!

jrose reviewboard at asterisk.org
Mon Aug 8 13:15:40 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1341/
-----------------------------------------------------------

(Updated Aug. 8, 2011, 1:15 p.m.)


Review request for Asterisk Developers, Matthew Nicholson, David Vossel, Paul Belanger, and rmudgett.


Changes
-------

This code change has potential test suite impact down the road, so I want to be sure whether or not it's good to go as is and whether or not this should stay strictly in trunk.  So I'm adding pabelanger and mnicholson to the review.


Summary
-------

This is basically what I was trying to do with the user submitted patch from yesterday.  After speaking with Richard, it became somewhat obvious that the approach to the patch had too much extra impact on the SIP messages when all that was really needed was specifically targeting the creation of the display name.

This approach checks strictly for a caller id name and if it isn't there, we skip the creation of the display name.  I think this should be safer in general than the previous approach.


This addresses bug ASTERISK-16198.
    https://issues.asterisk.org/jira/browse/ASTERISK-16198


Diffs
-----

  /trunk/CHANGES 330571 
  /trunk/channels/chan_sip.c 330571 

Diff: https://reviewboard.asterisk.org/r/1341/diff


Testing
-------

Testing was similar to last time with focus on comparing the SIP messages between this branch and the normal trunk.  In this case, only the display name gets changed.

A few SIP tests from the test suite were also ran successfully.  I haven't ran the full test suite yet, but am preparing to do so.


Thanks,

jrose

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110808/27522c75/attachment.htm>


More information about the asterisk-dev mailing list