]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Send more accurate identification information in dialog-info SIP NOTIFYs.
authorMark Michelson <mmichelson@digium.com>
Tue, 8 May 2012 15:51:13 +0000 (15:51 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 8 May 2012 15:51:13 +0000 (15:51 +0000)
commit36c8cf575405f4a09c82ec586dba12c5da2c08a6
tree17890ccde496542e9f673fc263ef0828c2f420c4
parent7b4e5a38d6f36a76f8ab59c9776fdae95d5e4e74
Send more accurate identification information in dialog-info SIP NOTIFYs.

This uses the calling channel's caller ID and connected line information
to populate the remote and local identities in the dialog-info NOTIFY when
an extension is ringing.

There is a bit of an oddity here, and that is that we seed the remote target
with the To header of the outbound call rather than the from header. This
is because it was reported that seeding with the from header caused hints
to be broken with certain SNOM devices. A comment has been added to the code
to explain this.

(closes issue ASTERISK-16735)
reported by Maciej Krajewski
patches:
    local_remote_hint2.diff uploaded by Mark Michelson (license #5049)
16735_tweak1.diff uploaded by Mark Michelson (license #5049)
Tested by Niccolo Belli
........

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

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