]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 169611 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 21 Jan 2009 00:35:05 +0000 (00:35 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 21 Jan 2009 00:35:05 +0000 (00:35 +0000)
commit827aab8b2943bc5471d83b1374c0acc2142736d4
tree933d1dd8faae48d49aaac7261f633fbd3fed1ca2
parent7cdc49f51dea8a886a98989f36df0c71d84ff3ab
Merged revisions 169611 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r169611 | mmichelson | 2009-01-20 18:33:32 -0600 (Tue, 20 Jan 2009) | 22 lines

Fix device state parsing issues for channel names with multiple slashes

The fix being applied is a bit different for trunk and the 1.6.X branches.
For trunk, we only wish to strip off the characters beyond the second slash
if the channel is a Local channel (i.e. we are removing the /n from the device
name). Other channel technologies with multiple slashes (e.g. DAHDI) need the
information after the second slash in order to get the proper device state
information.

In addition to this fix, the 1.6.X branches are receiving a much more important
fix as well. The problem in 1.6.X is that the member's device name was being directly
changed instead of having a copy changed. This meant that we would strip off the
second slash and trailing characters and then leave the member's device name like
that permanently thereafter.

(closes issue #14014)
Reported by: kebl0155
Patches:
      14014_number2.patch uploaded by putnopvut (license 60)
Tested by: kebl0155

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@169612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c