]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_hep_pjsip: Use the channel name instead of the call ID when it is available
authorMatthew Jordan <mjordan@digium.com>
Thu, 10 Apr 2014 21:27:25 +0000 (21:27 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 10 Apr 2014 21:27:25 +0000 (21:27 +0000)
commitaffc775b3547f080be12aeee4ed6d49cd6220fe1
tree04d42c1ebc9bc08ea1d192edad9562debc17e373
parentf7611711f120ccc5ced381685425bae98de7407c
res_hep_pjsip: Use the channel name instead of the call ID when it is available

During discussions with Alexandr Dubovikov at Kamailio World, it became
apparent that while the SIP call ID is a useful identifier prior to an Asterisk
channel being created, it is far more preferable to use the channel name (or
some channel based identifier) when the channel is available. Homer is smart
enough to tie the various messages together. This patch opts to use the channel
name when it is available, falling back to the call ID otherwise.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@412088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_hep_pjsip.c