mirror of https://github.com/swwheihei/wvp.git
parent
956fd47ed6
commit
f651885fb2
|
@ -304,6 +304,7 @@ public class SIPCommander implements ISIPCommander {
|
||||||
Matcher matcher = p.matcher(vh);
|
Matcher matcher = p.matcher(vh);
|
||||||
if (matcher.find()) {
|
if (matcher.find()) {
|
||||||
byeURI.setHost(matcher.group(1));
|
byeURI.setHost(matcher.group(1));
|
||||||
|
byeURI.setPort(Integer.parseInt(matcher.group(2)));
|
||||||
}
|
}
|
||||||
ViaHeader viaHeader = (ViaHeader) byeRequest.getHeader(ViaHeader.NAME);
|
ViaHeader viaHeader = (ViaHeader) byeRequest.getHeader(ViaHeader.NAME);
|
||||||
String protocol = viaHeader.getTransport().toUpperCase();
|
String protocol = viaHeader.getTransport().toUpperCase();
|
||||||
|
|
Loading…
Reference in New Issue