I just used the Hyper-V on my Windows 10 host to create the network interface to bind to VOIP VLAN, and then used this interface on the VM host.
I did wireshark capture while connecting my Win10 host Zoiper app:
REGISTER sip:voip.isp-internal.com;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.77.11.22:64458;branch=z9hG4bK-524287-1---b6e299d340ac634d;rport
Max-Forwards: 70
Contact: <sip:[email protected]:64458;rinstance=5cb6443daaf7d2e5;transport=UDP>
To: <sip:[email protected];transport=UDP>
From: <sip:[email protected];transport=UDP>;tag=20240e45
Call-ID: Qu0WU_iUI3yRERRb7U4DDQ..
CSeq: 4 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, outbound, path, X-cisco-serviceuri
User-Agent: Z 5.5.14 v2.10.18.6
Authorization: Digest username="[email protected]",realm="voip.isp-internal.com",nonce="Lt6cAIA8SBev1tnyT3jMlA==",uri="sip:voip.isp-internal.com;transport=UDP",response="51aba4f149290ca8bfbd1fc9d3712b6f",cnonce="1be9bd0d11cd583d11281dad7a619417",nc=00000001,qop=auth,algorithm=MD5
Allow-Events: presence, kpml, talk
Content-Length: 0
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.77.11.22:64458;branch=z9hG4bK-524287-1---b6e299d340ac634d;rport=64458
Call-ID: Qu0WU_iUI3yRERRb7U4DDQ..
From: <sip:[email protected];transport=udp>;tag=20240e45
To: <sip:[email protected];transport=udp>;tag=HvLBAABx
CSeq: 4 REGISTER
Accept-Resource-Priority: wps.4
P-Associated-URI: <sip:[email protected]>,<sip:[email protected];user=phone>
Contact: <sip:[email protected]:64458;transport=udp;rinstance=5cb6443daaf7d2e5>;expires=3600
Content-Length: 0
NOTIFY sip:[email protected]:64458;transport=udp;rinstance=5cb6443daaf7d2e5 SIP/2.0
Via: SIP/2.0/UDP 10.99.55.33:5060;branch=z9hG4bKppax9uevkg88ckbuuah7grpeh;Role=3;Hpt=8e82_36;X-HwDim=4
Call-ID: [email protected]
From: <sip:[email protected]>;tag=2lhGREVG
To: <sip:[email protected]>
CSeq: 1 NOTIFY
Contact: <sip:10.99.55.33:5060;Dsp=ee8a-200;Hpt=8e82_16;CxtId=4;TRC=ffffffff-ffffffff>
Max-Forwards: 68
Supported: 100rel
Event: ua-profile
Subscription-State: active
P-Asserted-Identity: <sip:[email protected]>,<tel:+61234567890>
P-Called-Party-ID: <sip:[email protected]>
Content-Length: 232
Content-Type: application/simservs+xml
<?xml version="1.0"?>
<simservs>
<dial-tone-management>
<dial-tone-pattern>standard-dial-tone</dial-tone-pattern>
</dial-tone-management>
<three-party-conference active="true"/>
<call-waiting active="true"/>
</simservs>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.99.55.33:5060;branch=z9hG4bKppax9uevkg88ckbuuah7grpeh;Role=3;Hpt=8e82_36;X-HwDim=4
Contact: <sip:10.77.11.22:64458>
To: <sip:[email protected]>;tag=cb572447
From: <sip:[email protected]>;tag=2lhGREVG
Call-ID: [email protected]
CSeq: 1 NOTIFY
User-Agent: Z 5.5.14 v2.10.18.6
Content-Length: 0
REGISTER sip:voip.isp-internal.com;transport=UDP SIP/2.0
Via: SIP/2.0/UDP 10.77.11.22:64458;branch=z9hG4bK-524287-1---f97342f9a30d64ca;rport
Max-Forwards: 70
Contact: <sip:[email protected]:64458;rinstance=c0202e4e396a706e;transport=UDP>
To: <sip:[email protected];transport=UDP>
From: <sip:[email protected];transport=UDP>;tag=184c7d48
Call-ID: g6w1P2jTRYLwXc2vk2qyfg..
CSeq: 4 REGISTER
Expires: 60
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, outbound, path, X-cisco-serviceuri
User-Agent: Z 5.5.14 v2.10.18.6
Allow-Events: presence, kpml, talk
Content-Length: 0
I noticed that instead of the hostname IP address, I see the actual URL of the ISP voip server. I already tried putting [email protected]
as the Auth Username on the pjsip trunk settings but the console log still shows ip address instead of the hostname.
I have it as 10.99.55.33:5060
while auth username is [email protected]