Good day,
I’m trying to set up a video conferencing solution with Asterisk. Right now, I have an Asterisk 11 server, a Cisco SX20 Telepresence box and two laptops with MicroSIP. The current system works, but I need presentation sharing and Far-End Camera Control, so I’d like to get Cisco Jabber Video softphones to register to Asterisk. Unfortunately, CJV doesn’t have many configuration options. I can set a SIP domain, external and internal servers (all of which point at Asterisk) and basic login info. When I try to register it to Asterisk, it sends out a “301 Subscribe” request, which Asterisk rejects with “401 Unauthorized”. This continues until Asterisk replies with “482 Loop Detected”.
SIP debug log from Asterisk:
<--- SIP read from TCP:10.X.X.149:49689 --->
SUBSCRIBE sip:1015@10.X.X.4 SIP/2.0
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bK1d6bff2922da73f9f93b20aa0d28083d.1;rport
Call-ID: 6966e79621b94004@127.0.0.1
CSeq: 301 SUBSCRIBE
Contact: <sip:1015@10.X.X.149:49689;transport=tcp>
From: <sip:1015@10.X.X.4>;tag=d590bdc6fbddda85
To: <sip:provisioning@10.X.X.4>
Max-Forwards: 70
Route: <sip:10.X.X.4:5060;lr;transport=tcp>
User-Agent: TANDBERG/774 (MCX 4.5.7.16762) - Windows
Expires: 300
Event: ua-profile;model=movi;vendor=tandberg.com;profile-type=user;version=4.5.7.16762;clientid="S-1-5-21-3285856091-3657218573-1113374853";connectivity=0
Accept: application/pidf+xml
Content-Length: 0
<------------->
--- (14 headers 0 lines) ---
Sending to 10.X.X.149:49689 (no NAT)
Creating new subscription
Sending to 10.X.X.149:49689 (no NAT)
list_route: hop: <sip:1015@10.X.X.149:49689;transport=tcp>
Found peer '1015' for '1015' from 10.X.X.149:49689
<--- Transmitting (no NAT) to 10.X.X.149:49689 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bK1d6bff2922da73f9f93b20aa0d28083d.1;received=10.X.X.149;rport=49689
From: <sip:1015@10.X.X.4>;tag=d590bdc6fbddda85
To: <sip:provisioning@10.X.X.4>;tag=as7d765496
Call-ID: 6966e79621b94004@127.0.0.1
CSeq: 301 SUBSCRIBE
Server: Asterisk PBX 11.12.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="001f07a1"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '6966e79621b94004@127.0.0.1' in 32000 ms (Method: SUBSCRIBE)
<--- SIP read from TCP:10.X.X.149:49689 --->
SUBSCRIBE sip:1015@10.X.X.4 SIP/2.0
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bK942a294a1b5dfd406a4cf7d2d9981ee0.1;rport
Call-ID: 6966e79621b94004@127.0.0.1
CSeq: 301 SUBSCRIBE
Contact: <sip:1015@10.X.X.149:49689;transport=tcp>
From: <sip:1015@10.X.X.4>;tag=d590bdc6fbddda85
To: <sip:provisioning@10.X.X.4>
Max-Forwards: 70
Route: <sip:10.X.X.4:5060;lr;transport=tcp>
User-Agent: TANDBERG/774 (MCX 4.5.7.16762) - Windows
Expires: 300
Authorization: Digest nonce="001f07a1", realm="asterisk", username="1015", uri="sip:10.X.X.4", response="04fa6e73ec9682137c11b781141af73c", algorithm=MD5
Event: ua-profile;model=movi;vendor=tandberg.com;profile-type=user;version=4.5.7.16762;clientid="S-1-5-21-3285856091-3657218573-1113374853";connectivity=0
Accept: application/pidf+xml
Content-Length: 0
<------------->
--- (15 headers 0 lines) ---
Sending to 10.X.X.149:49689 (no NAT)
<--- Transmitting (no NAT) to 10.X.X.149:49689 --->
SIP/2.0 482 (Loop Detected)
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bK942a294a1b5dfd406a4cf7d2d9981ee0.1;received=10.X.X.149;rport=49689
From: <sip:1015@10.X.X.4>;tag=d590bdc6fbddda85
To: <sip:provisioning@10.X.X.4>;tag=as344f0739
Call-ID: 6966e79621b94004@127.0.0.1
CSeq: 301 SUBSCRIBE
Server: Asterisk PBX 11.12.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
<--- SIP read from TCP:10.X.X.149:49689 --->
SUBSCRIBE sip:1015@10.X.X.4 SIP/2.0
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bKab328577d0c98f2add19addad2b63206.1;rport
Call-ID: 46a6226fdf502f78@10.X.X.149
CSeq: 501 SUBSCRIBE
Contact: <sip:1015@10.X.X.149:49689;transport=tcp>
From: <sip:1015@10.X.X.4>;tag=97737c28eab28ec2
To: <sip:provisioning@10.X.X.4>
Max-Forwards: 70
Route: <sip:10.X.X.4:5060;lr;transport=tcp>
User-Agent: TANDBERG/774 (MCX 4.5.7.16762) - Windows
Expires: 300
Event: ua-profile;model=movi;vendor=tandberg.com;profile-type=user;version=4.5.7.16762;clientid="S-1-5-21-3285856091-3657218573-1113374853";connectivity=1
Accept: application/pidf+xml
Content-Length: 0
<------------->
--- (14 headers 0 lines) ---
Sending to 10.X.X.149:49689 (no NAT)
Creating new subscription
Sending to 10.X.X.149:49689 (no NAT)
list_route: hop: <sip:1015@10.X.X.149:49689;transport=tcp>
Found peer '1015' for '1015' from 10.X.X.149:49689
<--- Transmitting (no NAT) to 10.X.X.149:49689 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bKab328577d0c98f2add19addad2b63206.1;received=10.X.X.149;rport=49689
From: <sip:1015@10.X.X.4>;tag=97737c28eab28ec2
To: <sip:provisioning@10.X.X.4>;tag=as7413398a
Call-ID: 46a6226fdf502f78@10.X.X.149
CSeq: 501 SUBSCRIBE
Server: Asterisk PBX 11.12.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="332c71bc"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '46a6226fdf502f78@10.X.X.149' in 32000 ms (Method: SUBSCRIBE)
<--- SIP read from TCP:10.X.X.149:49689 --->
SUBSCRIBE sip:1015@10.X.X.4 SIP/2.0
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bK3a234bd8c8e0fd1e2ea665f086f59bc3.1;rport
Call-ID: 46a6226fdf502f78@10.X.X.149
CSeq: 501 SUBSCRIBE
Contact: <sip:1015@10.X.X.149:49689;transport=tcp>
From: <sip:1015@10.X.X.4>;tag=97737c28eab28ec2
To: <sip:provisioning@10.X.X.4>
Max-Forwards: 70
Route: <sip:10.X.X.4:5060;lr;transport=tcp>
User-Agent: TANDBERG/774 (MCX 4.5.7.16762) - Windows
Expires: 300
Authorization: Digest nonce="332c71bc", realm="asterisk", username="1015", uri="sip:10.X.X.4", response="88fb05a307d8f921a88187ed08cbce30", algorithm=MD5
Event: ua-profile;model=movi;vendor=tandberg.com;profile-type=user;version=4.5.7.16762;clientid="S-1-5-21-3285856091-3657218573-1113374853";connectivity=1
Accept: application/pidf+xml
Content-Length: 0
<------------->
--- (15 headers 0 lines) ---
Sending to 10.X.X.149:49689 (no NAT)
<--- Transmitting (no NAT) to 10.X.X.149:49689 --->
SIP/2.0 482 (Loop Detected)
Via: SIP/2.0/TCP 10.X.X.149:49689;branch=z9hG4bK3a234bd8c8e0fd1e2ea665f086f59bc3.1;received=10.X.X.149;rport=49689
From: <sip:1015@10.X.X.4>;tag=97737c28eab28ec2
To: <sip:provisioning@10.X.X.4>;tag=as21a52906
Call-ID: 46a6226fdf502f78@10.X.X.149
CSeq: 501 SUBSCRIBE
Server: Asterisk PBX 11.12.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
Sip.conf:
[code][general]
transport=udp
videosupport=yes
callcounter=yes
allowguest=yes
tcpenable=yes
tcpbindaddr=0.0.0.0
allowsubscribe=yes
internal
type=friend
secret=insertpasswordofchoicehere
host=dynamic
context=internal
disallow=all
allow=h264,h263,speex,ulaw,alaw,gsm
busylevel=10
[/code]
Is the issue here that I haven’t enabled the other Subscribe features, such as Notify on Hold? Or something else? I’m really kinda stumped here and running low on time to get it working. Can someone help me figure this out?
Best regards,
Martin