The get_pai function in chan_sip.c didn't recognized a proper callerid name and
authorStefan Schmidt <sst@sil.at>
Wed, 18 Jan 2012 16:02:15 +0000 (16:02 +0000)
committerStefan Schmidt <sst@sil.at>
Wed, 18 Jan 2012 16:02:15 +0000 (16:02 +0000)
commitf69fd136f4b43944e95769bf5774dd9d77246405
treee1d367ba73d73a04c91b787c261a6b676d8896c9
parenta9698d02418ad6c8043170985cf70a8ce20cbad6
The get_pai function in chan_sip.c didn't recognized a proper callerid name and
 number from a P-Asserted-Identity cause the header parsing logic was wrong.
Changing the parsing functions to the sip header parsing APIs in
reqresp_parser.h solves this problem.

Review: https://reviewboard.asterisk.org/r/1673
Reviewed by: wdoekes2 and Mark Michelson
........

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

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

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