Hello! Based on the information provided at the https://wiki.asterisk.org/wiki/display/AST/New+in+12 page, I understand that by loading the res_format_attr_opus.so module, Asterisk should support OPUS codec passthrough.
I haven’t been able to make it work. In my endpoints/peers definitions, I’m using the following lines to force OPUS passthrough:
disallow=all
allow=opus
I trying to place a call between two clients supporting OPUS, Bria on an iPhone and Jitsi 2.5 on Ubuntu.
Using chan_sip:
Using Jitsi to call, Asterisk returns 488, Not acceptable here, because “No compatible codecs, not accepting this offer!”:
<--- SIP read from UDP:192.168.0.102:5060 --->
INVITE sip:yuki@192.168.0.10 SIP/2.0
Call-ID: d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
CSeq: 1 INVITE
From: "maxim-E6530" <sip:maxim-E6530@192.168.0.10>;tag=b867832d
To: <sip:yuki@192.168.0.10>
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-309cfc3c590abb598bd431f9a7f6c3ce
Max-Forwards: 70
Contact: "maxim-E6530" <sip:maxim-E6530@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10>
User-Agent: Jitsi2.5.5317Windows 7
Content-Type: application/sdp
Content-Length: 834
v=0
o=maxim-E6530-jitsi.org 0 0 IN IP4 192.168.0.102
s=-
c=IN IP4 192.168.0.102
t=0 0
m=audio 5022 RTP/AVP 96 97 98 9 100 102 0 8 103 3 104 101
a=rtpmap:96 opus/48000/2
a=fmtp:96 usedtx=1
a=rtpmap:97 SILK/24000
a=rtpmap:98 SILK/16000
a=rtpmap:9 G722/8000
a=rtpmap:100 speex/32000
a=rtpmap:102 speex/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:103 iLBC/8000
a=rtpmap:3 GSM/8000
a=rtpmap:104 speex/8000
a=rtpmap:101 telephone-event/8000
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
a=rtcp-xr:voip-metrics
m=video 5024 RTP/AVP 105 99
a=recvonly
a=rtpmap:105 H264/90000
a=fmtp:105 profile-level-id=4DE01f;packetization-mode=1
a=imageattr:105 send * recv [x=[0-1920],y=[0-1080]]
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=4DE01f
a=imageattr:99 send * recv [x=[0-1920],y=[0-1080]]
<------------->
--- (11 headers 29 lines) ---
Sending to 192.168.0.102:5060 (NAT)
Sending to 192.168.0.102:5060 (NAT)
Using INVITE request as basis request - d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
Found peer 'maxim-E6530' for 'maxim-E6530' from 192.168.0.102:5060
<--- Reliably Transmitting (NAT) to 192.168.0.102:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-309cfc3c590abb598bd431f9a7f6c3ce;received=192.168.0.102;rport=5060
From: "maxim-E6530" <sip:maxim-E6530@192.168.0.10>;tag=b867832d
To: <sip:yuki@192.168.0.10>;tag=as315effa0
Call-ID: d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
CSeq: 1 INVITE
Server: Asterisk PBX SVN--r424581M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="26c44c22"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'd863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:192.168.0.102:5060 --->
ACK sip:yuki@192.168.0.10 SIP/2.0
Call-ID: d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
Max-Forwards: 70
From: "maxim-E6530" <sip:maxim-E6530@192.168.0.10>;tag=b867832d
To: <sip:yuki@192.168.0.10>;tag=as315effa0
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-309cfc3c590abb598bd431f9a7f6c3ce
CSeq: 1 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:192.168.0.102:5060 --->
INVITE sip:yuki@192.168.0.10 SIP/2.0
Call-ID: d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
CSeq: 2 INVITE
From: "maxim-E6530" <sip:maxim-E6530@192.168.0.10>;tag=b867832d
To: <sip:yuki@192.168.0.10>
Max-Forwards: 70
Contact: "maxim-E6530" <sip:maxim-E6530@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10>
User-Agent: Jitsi2.5.5317Windows 7
Content-Type: application/sdp
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-63960b81c92b779e9ad8249c86616391
Authorization: Digest username="maxim-E6530",realm="asterisk",nonce="26c44c22",uri="sip:yuki@192.168.0.10",response="57717c8fe084018835c03afc7638ced2",algorithm=MD5
Content-Length: 834
v=0
o=maxim-E6530-jitsi.org 0 0 IN IP4 192.168.0.102
s=-
c=IN IP4 192.168.0.102
t=0 0
m=audio 5022 RTP/AVP 96 97 98 9 100 102 0 8 103 3 104 101
a=rtpmap:96 opus/48000/2
a=fmtp:96 usedtx=1
a=rtpmap:97 SILK/24000
a=rtpmap:98 SILK/16000
a=rtpmap:9 G722/8000
a=rtpmap:100 speex/32000
a=rtpmap:102 speex/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:103 iLBC/8000
a=rtpmap:3 GSM/8000
a=rtpmap:104 speex/8000
a=rtpmap:101 telephone-event/8000
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
a=rtcp-xr:voip-metrics
m=video 5024 RTP/AVP 105 99
a=recvonly
a=rtpmap:105 H264/90000
a=fmtp:105 profile-level-id=4DE01f;packetization-mode=1
a=imageattr:105 send * recv [x=[0-1920],y=[0-1080]]
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=4DE01f
a=imageattr:99 send * recv [x=[0-1920],y=[0-1080]]
<------------->
--- (12 headers 29 lines) ---
Sending to 192.168.0.102:5060 (NAT)
Using INVITE request as basis request - d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
Found peer 'maxim-E6530' for 'maxim-E6530' from 192.168.0.102:5060
== Using SIP RTP CoS mark 5
Found RTP audio format 96
Found RTP audio format 97
Found RTP audio format 98
Found RTP audio format 9
Found RTP audio format 100
Found RTP audio format 102
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 103
Found RTP audio format 3
Found RTP audio format 104
Found RTP audio format 101
Found audio description format opus for ID 96
Found unknown media description format SILK for ID 97
Found unknown media description format SILK for ID 98
Found audio description format G722 for ID 9
Found audio description format speex for ID 100
Found audio description format speex for ID 102
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format iLBC for ID 103
Found audio description format GSM for ID 3
Found audio description format speex for ID 104
Found audio description format telephone-event for ID 101
Found RTP video format 105
Found RTP video format 99
Found video description format H264 for ID 105
Found video description format H264 for ID 99
[Oct 11 21:19:07] NOTICE[8479][C-00000005]: chan_sip.c:10574 process_sdp: No compatible codecs, not accepting this offer!
<--- Reliably Transmitting (NAT) to 192.168.0.102:5060 --->
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-63960b81c92b779e9ad8249c86616391;received=192.168.0.102;rport=5060
From: "maxim-E6530" <sip:maxim-E6530@192.168.0.10>;tag=b867832d
To: <sip:yuki@192.168.0.10>;tag=as315effa0
Call-ID: d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
CSeq: 2 INVITE
Server: Asterisk PBX SVN--r424581M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'd863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:192.168.0.102:5060 --->
ACK sip:yuki@192.168.0.10 SIP/2.0
Call-ID: d863f61afb17c049c29f5098148f49d5@0:0:0:0:0:0:0:0
Max-Forwards: 70
From: "maxim-E6530" <sip:maxim-E6530@192.168.0.10>;tag=b867832d
To: <sip:yuki@192.168.0.10>;tag=as315effa0
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-63960b81c92b779e9ad8249c86616391
CSeq: 2 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:192.168.0.101:51213 --->
<------------->
Really destroying SIP dialog 'c6fd1e1642b09f2bfbf089cdbfe537ca@0:0:0:0:0:0:0:0' Method: OPTIONS
Really destroying SIP dialog 'f3f1091be7f70648883dd43c12eeb8f4@0:0:0:0:0:0:0:0' Method: REGISTER
Using Bria Beta for iOS, which supposedly supports the latest SIP drafts regarding OPUS codec and its SDP definition [1, 2], I also get the “Not acceptable here” from Asterisk:
<--- SIP read from UDP:192.168.0.101:51213 --->
INVITE sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:51213;rport;branch=z9hG4bKPjhfynTykaa0K32eNVutAmP-gDWjXoj6Ky
Max-Forwards: 70
From: <sip:yuki-iPhone@192.168.0.10>;tag=amuYm6zXJUf56vgmO4mUbvRHkbvdFrxu
To: <sip:maxim@192.168.0.10>
Contact: <sip:yuki-iPhone@192.168.0.101:51213;ob>
Call-ID: Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
CSeq: 4523 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Bria iOS 3.2.0
Content-Type: application/sdp
Content-Length: 337
v=0
o=- 3622065282 3622065282 IN IP4 192.168.0.101
s=cpc_med
c=IN IP4 192.168.0.101
t=0 0
m=audio 4002 RTP/AVP 111 9 0 8 101
a=sendrecv
a=rtpmap:111 OPUS/48000/2
a=fmtp:111 maxplaybackrate=32000;useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
<------------->
--- (13 headers 14 lines) ---
Sending to 192.168.0.101:51213 (NAT)
Sending to 192.168.0.101:51213 (NAT)
Using INVITE request as basis request - Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
Found peer 'yuki-iPhone' for 'yuki-iPhone' from 192.168.0.101:51213
<--- Reliably Transmitting (NAT) to 192.168.0.101:51213 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.101:51213;branch=z9hG4bKPjhfynTykaa0K32eNVutAmP-gDWjXoj6Ky;received=192.168.0.101;rport=51213
From: <sip:yuki-iPhone@192.168.0.10>;tag=amuYm6zXJUf56vgmO4mUbvRHkbvdFrxu
To: <sip:maxim@192.168.0.10>;tag=as10bca41e
Call-ID: Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
CSeq: 4523 INVITE
Server: Asterisk PBX SVN--r424581M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3968b226"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:192.168.0.101:51213 --->
ACK sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:51213;rport;branch=z9hG4bKPjhfynTykaa0K32eNVutAmP-gDWjXoj6Ky
Max-Forwards: 70
From: <sip:yuki-iPhone@192.168.0.10>;tag=amuYm6zXJUf56vgmO4mUbvRHkbvdFrxu
To: <sip:maxim@192.168.0.10>;tag=as10bca41e
Call-ID: Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
CSeq: 4523 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
<--- SIP read from UDP:192.168.0.101:51213 --->
INVITE sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:51213;rport;branch=z9hG4bKPjOg7zYw4gpdfhoucpwsrGtIr6tyZw4QTY
Max-Forwards: 70
From: <sip:yuki-iPhone@192.168.0.10>;tag=amuYm6zXJUf56vgmO4mUbvRHkbvdFrxu
To: <sip:maxim@192.168.0.10>
Contact: <sip:yuki-iPhone@192.168.0.101:51213;ob>
Call-ID: Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
CSeq: 4524 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Bria iOS 3.2.0
Authorization: Digest username="yuki-iPhone", realm="asterisk", nonce="3968b226", uri="sip:maxim@192.168.0.10", response="d1e89bfa97b44129b7aa8acadc3d8e82", algorithm=MD5
Content-Type: application/sdp
Content-Length: 337
v=0
o=- 3622065282 3622065282 IN IP4 192.168.0.101
s=cpc_med
c=IN IP4 192.168.0.101
t=0 0
m=audio 4002 RTP/AVP 111 9 0 8 101
a=sendrecv
a=rtpmap:111 OPUS/48000/2
a=fmtp:111 maxplaybackrate=32000;useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
<------------->
--- (14 headers 14 lines) ---
Sending to 192.168.0.101:51213 (NAT)
Using INVITE request as basis request - Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
Found peer 'yuki-iPhone' for 'yuki-iPhone' from 192.168.0.101:51213
== Using SIP RTP CoS mark 5
Found RTP audio format 111
Found RTP audio format 9
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 101
Found audio description format OPUS for ID 111
Found audio description format G722 for ID 9
Found audio description format PCMU for ID 0
Found audio description format PCMA for ID 8
Found audio description format telephone-event for ID 101
[Oct 11 21:14:41] NOTICE[8479][C-00000002]: chan_sip.c:10574 process_sdp: No compatible codecs, not accepting this offer!
<--- Reliably Transmitting (NAT) to 192.168.0.101:51213 --->
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/UDP 192.168.0.101:51213;branch=z9hG4bKPjOg7zYw4gpdfhoucpwsrGtIr6tyZw4QTY;received=192.168.0.101;rport=51213
From: <sip:yuki-iPhone@192.168.0.10>;tag=amuYm6zXJUf56vgmO4mUbvRHkbvdFrxu
To: <sip:maxim@192.168.0.10>;tag=as10bca41e
Call-ID: Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
CSeq: 4524 INVITE
Server: Asterisk PBX SVN--r424581M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog 'Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-' in 32000 ms (Method: INVITE)
<--- SIP read from UDP:192.168.0.101:51213 --->
ACK sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:51213;rport;branch=z9hG4bKPjOg7zYw4gpdfhoucpwsrGtIr6tyZw4QTY
Max-Forwards: 70
From: <sip:yuki-iPhone@192.168.0.10>;tag=amuYm6zXJUf56vgmO4mUbvRHkbvdFrxu
To: <sip:maxim@192.168.0.10>;tag=as10bca41e
Call-ID: Mb0i0o0RgLzPvAtfYsrXd0bv4ujkLe6-
CSeq: 4524 ACK
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Using pjsip:
When I place a call using Bria Beta, still the same situation, with Asterisk returning “SIP/2.0 488 Not Acceptable Here”, because “res_pjsip_sdp_rtp.c:250 set_caps: No joint capabilities between our configuration((nothing)) and incoming SDP((opus))”:
[code]<— Received SIP request (915 bytes) from UDP:192.168.0.101:50876 —>
INVITE sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;branch=z9hG4bKPjgUo.ufvcpCZTB2jy.VpUWesSw4x7mGLX
Max-Forwards: 70
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10
Contact: sip:yuki@192.168.0.101:50876;ob
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
CSeq: 11459 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Bria iOS 3.2.0
Content-Type: application/sdp
Content-Length: 337
v=0
o=- 3622066613 3622066613 IN IP4 192.168.0.101
s=cpc_med
c=IN IP4 192.168.0.101
t=0 0
m=audio 4004 RTP/AVP 111 9 0 8 101
a=sendrecv
a=rtpmap:111 OPUS/48000/2
a=fmtp:111 maxplaybackrate=32000;useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
<— Transmitting SIP response (518 bytes) to UDP:192.168.0.101:50876 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;received=192.168.0.101;branch=z9hG4bKPjgUo.ufvcpCZTB2jy.VpUWesSw4x7mGLX
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10;tag=z9hG4bKPjgUo.ufvcpCZTB2jy.VpUWesSw4x7mGLX
CSeq: 11459 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1413077813/46f9ceb73c1f9e9499311c64c359b5e7”,opaque=“7cf660eb244793a5”,algorithm=md5,qop="auth"
Content-Length: 0
<— Received SIP request (373 bytes) from UDP:192.168.0.101:50876 —>
ACK sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;branch=z9hG4bKPjgUo.ufvcpCZTB2jy.VpUWesSw4x7mGLX
Max-Forwards: 70
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10;tag=z9hG4bKPjgUo.ufvcpCZTB2jy.VpUWesSw4x7mGLX
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
CSeq: 11459 ACK
Content-Length: 0
<— Received SIP request (1208 bytes) from UDP:192.168.0.101:50876 —>
INVITE sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;branch=z9hG4bKPjrwXQL2BJRdVuC83vaKnntHbXVNGWWqgk
Max-Forwards: 70
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10
Contact: sip:yuki@192.168.0.101:50876;ob
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
CSeq: 11460 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Bria iOS 3.2.0
Authorization: Digest username=“yuki”, realm=“asterisk”, nonce=“1413077813/46f9ceb73c1f9e9499311c64c359b5e7”, uri="sip:maxim@192.168.0.10", response=“c6e316724a277d58a0861f832e726500”, algorithm=md5, cnonce=“jgKNdShdeAW-ppPMFBAb3nI7IsEqOx2K”, opaque=“7cf660eb244793a5”, qop=auth, nc=00000001
Content-Type: application/sdp
Content-Length: 337
v=0
o=- 3622066613 3622066613 IN IP4 192.168.0.101
s=cpc_med
c=IN IP4 192.168.0.101
t=0 0
m=audio 4004 RTP/AVP 111 9 0 8 101
a=sendrecv
a=rtpmap:111 OPUS/48000/2
a=fmtp:111 maxplaybackrate=32000;useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
<— Transmitting SIP response (319 bytes) to UDP:192.168.0.101:50876 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;received=192.168.0.101;branch=z9hG4bKPjrwXQL2BJRdVuC83vaKnntHbXVNGWWqgk
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10
CSeq: 11460 INVITE
Content-Length: 0
-- Executing [maxim@internal:1] Dial("PJSIP/yuki-00000003", "PJSIP/maxim/sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10") in new stack
<— Transmitting SIP request (941 bytes) to UDP:192.168.0.102:5060 —>
INVITE sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bKPj0db8a52e-8fc7-463e-8543-dc8bc12c792f
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10
Contact: sip:1375fb49-65f5-4d7b-aba5-fe40e2ae06fb@192.168.0.10:5060
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
CSeq: 1893 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length: 239
v=0
o=- 632385181 632385181 IN IP4 192.168.0.10
s=Asterisk
c=IN IP4 192.168.0.10
t=0 0
m=audio 12314 RTP/AVP 107 101
a=rtpmap:107 opus/48000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:60
a=sendrecv
-- Called PJSIP/maxim/sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
<— Transmitting SIP response (506 bytes) to UDP:192.168.0.101:50876 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;received=192.168.0.101;branch=z9hG4bKPjrwXQL2BJRdVuC83vaKnntHbXVNGWWqgk
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10;tag=1ba0cf71-5f05-4390-9f1e-e0d6f4558e4e
CSeq: 11460 INVITE
Contact: sip:192.168.0.10:5060
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Content-Length: 0
<— Received SIP response (503 bytes) from UDP:192.168.0.102:5060 —>
SIP/2.0 180 Ringing
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10;tag=70e1cd5e
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;branch=z9hG4bKPj0db8a52e-8fc7-463e-8543-dc8bc12c792f;received=192.168.0.10
CSeq: 1893 INVITE
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Content-Length: 0
-- PJSIP/maxim-00000004 is ringing
<— Transmitting SIP response (506 bytes) to UDP:192.168.0.101:50876 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;received=192.168.0.101;branch=z9hG4bKPjrwXQL2BJRdVuC83vaKnntHbXVNGWWqgk
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10;tag=1ba0cf71-5f05-4390-9f1e-e0d6f4558e4e
CSeq: 11460 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Contact: sip:192.168.0.10:5060
Content-Length: 0
<— Received SIP response (503 bytes) from UDP:192.168.0.102:5060 —>
SIP/2.0 180 Ringing
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10;tag=70e1cd5e
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;branch=z9hG4bKPj0db8a52e-8fc7-463e-8543-dc8bc12c792f;received=192.168.0.10
CSeq: 1893 INVITE
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Content-Length: 0
-- PJSIP/maxim-00000004 is ringing
<— Received SIP response (503 bytes) from UDP:192.168.0.102:5060 —>
SIP/2.0 180 Ringing
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10;tag=70e1cd5e
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;branch=z9hG4bKPj0db8a52e-8fc7-463e-8543-dc8bc12c792f;received=192.168.0.10
CSeq: 1893 INVITE
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Content-Length: 0
-- PJSIP/maxim-00000004 is ringing
<— Received SIP response (729 bytes) from UDP:192.168.0.102:5060 —>
SIP/2.0 200 OK
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10;tag=70e1cd5e
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;branch=z9hG4bKPj0db8a52e-8fc7-463e-8543-dc8bc12c792f;received=192.168.0.10
CSeq: 1893 INVITE
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Content-Type: application/sdp
Content-Length: 198
v=0
o=maxim-jitsi.org 0 0 IN IP4 192.168.0.102
s=-
c=IN IP4 192.168.0.102
t=0 0
m=audio 5028 RTP/AVP 107 101
a=rtpmap:107 opus/48000/2
a=fmtp:107 usedtx=1
a=rtpmap:101 telephone-event/8000
[Oct 11 21:36:55] WARNING[8884]: res_pjsip_sdp_rtp.c:250 set_caps: No joint capabilities between our configuration((nothing)) and incoming SDP((opus))
<— Transmitting SIP request (410 bytes) to UDP:192.168.0.102:5060 —>
ACK sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bKPjba2127bc-92aa-48d9-9a9e-b7a1f1dffd58
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10;tag=70e1cd5e
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
CSeq: 1893 ACK
Content-Length: 0
-- PJSIP/maxim-00000004 answered PJSIP/yuki-00000003
-- Channel PJSIP/yuki-00000003 joined 'simple_bridge' basic-bridge <bfc3f99d-367d-4158-abde-d872b367c3fa>
-- Channel PJSIP/yuki-00000003 left 'simple_bridge' basic-bridge <bfc3f99d-367d-4158-abde-d872b367c3fa>
== Spawn extension (internal, maxim, 1) exited non-zero on ‘PJSIP/yuki-00000003’
<— Transmitting SIP response (556 bytes) to UDP:192.168.0.101:50876 —>
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;received=192.168.0.101;branch=z9hG4bKPjrwXQL2BJRdVuC83vaKnntHbXVNGWWqgk
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10;tag=1ba0cf71-5f05-4390-9f1e-e0d6f4558e4e
CSeq: 11460 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Reason: Q.850;cause=58
Content-Length: 0
<— Transmitting SIP request (434 bytes) to UDP:192.168.0.102:5060 —>
BYE sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bKPj10210867-579a-42a2-8638-4421f8339fae
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10;tag=70e1cd5e
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
CSeq: 1894 BYE
Reason: Q.850;cause=58
Content-Length: 0
<— Received SIP response (495 bytes) from UDP:192.168.0.102:5060 —>
SIP/2.0 200 OK
To: sip:maxim@192.168.0.102;registering_acc=192_168_0_10;tag=70e1cd5e
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;branch=z9hG4bKPj10210867-579a-42a2-8638-4421f8339fae;received=192.168.0.10
CSeq: 1894 BYE
Call-ID: e8fc80cb-78eb-4f12-bc26-50d050f958a4
From: sip:yuki@192.168.0.10;tag=ca906932-f514-4e3d-aa35-f7204d386c5f
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Content-Length: 0
<— Received SIP request (368 bytes) from UDP:192.168.0.101:50876 —>
ACK sip:maxim@192.168.0.10 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.101:50876;rport;branch=z9hG4bKPjrwXQL2BJRdVuC83vaKnntHbXVNGWWqgk
Max-Forwards: 70
From: sip:yuki@192.168.0.10;tag=J5xPmeeR015Onx942d.UWW4Idf.2GDxA
To: sip:maxim@192.168.0.10;tag=1ba0cf71-5f05-4390-9f1e-e0d6f4558e4e
Call-ID: KtwYhVSEL4tB0WMPSfkA.9M1ne4lPJWK
CSeq: 11460 ACK
Content-Length: 0
<— Received SIP request (547 bytes) from UDP:192.168.0.102:5060 —>
OPTIONS sip:192.168.0.10 SIP/2.0
Call-ID: 7b7a86461c35740c093856af69e15d70@0:0:0:0:0:0:0:0
CSeq: 7 OPTIONS
From: “maxim” sip:maxim@192.168.0.10;tag=ddd7b7c0
To: “maxim” sip:maxim@192.168.0.10
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-8d3e9907342f5024b1caf2daa7b9106f
Max-Forwards: 70
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Allow: INFO,OPTIONS,BYE,REFER,SUBSCRIBE,ACK,CANCEL,NOTIFY,INVITE
Allow-Events: refer
Content-Length: 0
<— Transmitting SIP response (535 bytes) to UDP:192.168.0.102:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.102:5060;rport;received=192.168.0.102;branch=z9hG4bK-323238-8d3e9907342f5024b1caf2daa7b9106f
Call-ID: 7b7a86461c35740c093856af69e15d70@0:0:0:0:0:0:0:0
From: “maxim” sip:maxim@192.168.0.10;tag=ddd7b7c0
To: “maxim” sip:maxim@192.168.0.10;tag=z9hG4bK-323238-8d3e9907342f5024b1caf2daa7b9106f
CSeq: 7 OPTIONS
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1413077817/d91a26432a3e898dc12f44aee9ea1461”,opaque=“0c21f7973b12319c”,algorithm=md5,qop="auth"
Content-Length: 0
[/code]
The same thing happens when using Jitsi to initiate the call:
[code]<— Received SIP request (1315 bytes) from UDP:192.168.0.102:5060 —>
INVITE sip:yuki@192.168.0.10 SIP/2.0
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
CSeq: 1 INVITE
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-02eb5cc61a334cf994d1a4c8e41b85cd
Max-Forwards: 70
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Content-Type: application/sdp
Content-Length: 828
v=0
o=maxim-jitsi.org 0 0 IN IP4 192.168.0.102
s=-
c=IN IP4 192.168.0.102
t=0 0
m=audio 5032 RTP/AVP 96 97 98 9 100 102 0 8 103 3 104 101
a=rtpmap:96 opus/48000/2
a=fmtp:96 usedtx=1
a=rtpmap:97 SILK/24000
a=rtpmap:98 SILK/16000
a=rtpmap:9 G722/8000
a=rtpmap:100 speex/32000
a=rtpmap:102 speex/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:103 iLBC/8000
a=rtpmap:3 GSM/8000
a=rtpmap:104 speex/8000
a=rtpmap:101 telephone-event/8000
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
a=rtcp-xr:voip-metrics
m=video 5034 RTP/AVP 105 99
a=recvonly
a=rtpmap:105 H264/90000
a=fmtp:105 profile-level-id=4DE01f;packetization-mode=1
a=imageattr:105 send * recv [x=[0-1920],y=[0-1080]]
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=4DE01f
a=imageattr:99 send * recv [x=[0-1920],y=[0-1080]]
<— Transmitting SIP response (525 bytes) to UDP:192.168.0.102:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.102:5060;rport;received=192.168.0.102;branch=z9hG4bK-323238-02eb5cc61a334cf994d1a4c8e41b85cd
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10;tag=z9hG4bK-323238-02eb5cc61a334cf994d1a4c8e41b85cd
CSeq: 1 INVITE
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1413078591/4b753b1e806b932930f259a8e7918fc7”,opaque=“4a2b903f799df842”,algorithm=md5,qop="auth"
Content-Length: 0
<— Received SIP request (372 bytes) from UDP:192.168.0.102:5060 —>
ACK sip:yuki@192.168.0.10 SIP/2.0
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
Max-Forwards: 70
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10;tag=z9hG4bK-323238-02eb5cc61a334cf994d1a4c8e41b85cd
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-02eb5cc61a334cf994d1a4c8e41b85cd
CSeq: 1 ACK
Content-Length: 0
<— Received SIP request (1570 bytes) from UDP:192.168.0.102:5060 —>
INVITE sip:yuki@192.168.0.10 SIP/2.0
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
CSeq: 2 INVITE
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10
Max-Forwards: 70
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Content-Type: application/sdp
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-89531c09ff7e96562560b2da50ebb84c
Authorization: Digest username=“maxim”,realm=“asterisk”,nonce=“1413078591/4b753b1e806b932930f259a8e7918fc7”,uri=“sip:yuki@192.168.0.10”,response=“d2b5c0cfab64fe31e8b86112a81a39ef”,algorithm=md5,opaque=“4a2b903f799df842”,qop=auth,cnonce=“xyz”,nc=00000001
Content-Length: 828
v=0
o=maxim-jitsi.org 0 0 IN IP4 192.168.0.102
s=-
c=IN IP4 192.168.0.102
t=0 0
m=audio 5032 RTP/AVP 96 97 98 9 100 102 0 8 103 3 104 101
a=rtpmap:96 opus/48000/2
a=fmtp:96 usedtx=1
a=rtpmap:97 SILK/24000
a=rtpmap:98 SILK/16000
a=rtpmap:9 G722/8000
a=rtpmap:100 speex/32000
a=rtpmap:102 speex/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:103 iLBC/8000
a=rtpmap:3 GSM/8000
a=rtpmap:104 speex/8000
a=rtpmap:101 telephone-event/8000
a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level
a=rtcp-xr:voip-metrics
m=video 5034 RTP/AVP 105 99
a=recvonly
a=rtpmap:105 H264/90000
a=fmtp:105 profile-level-id=4DE01f;packetization-mode=1
a=imageattr:105 send * recv [x=[0-1920],y=[0-1080]]
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=4DE01f
a=imageattr:99 send * recv [x=[0-1920],y=[0-1080]]
<— Transmitting SIP response (320 bytes) to UDP:192.168.0.102:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.102:5060;rport;received=192.168.0.102;branch=z9hG4bK-323238-89531c09ff7e96562560b2da50ebb84c
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10
CSeq: 2 INVITE
Content-Length: 0
-- Executing [yuki@internal:1] Dial("PJSIP/maxim-00000007", "PJSIP/yuki/sip:yuki@192.168.0.101:50876;ob") in new stack
<— Transmitting SIP request (886 bytes) to UDP:192.168.0.101:50876 —>
INVITE sip:yuki@192.168.0.101:50876;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bKPj1d935b79-086b-41cf-85dc-30c31c61699c
From: “maxim” sip:maxim@192.168.0.10;tag=df71c49e-7fdf-4bf2-b2d2-47bacb2cc878
To: sip:yuki@192.168.0.101;ob
Contact: sip:4432aad5-927e-469e-8b4a-c8434011bda2@192.168.0.10:5060
Call-ID: 2120fbf7-2961-4874-a935-b1b9c4585a8d
CSeq: 24581 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length: 241
v=0
o=- 1812192121 1812192121 IN IP4 192.168.0.10
s=Asterisk
c=IN IP4 192.168.0.10
t=0 0
m=audio 10794 RTP/AVP 107 101
a=rtpmap:107 opus/48000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:60
a=sendrecv
-- Called PJSIP/yuki/sip:yuki@192.168.0.101:50876;ob
<— Transmitting SIP response (507 bytes) to UDP:192.168.0.102:5060 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.102:5060;rport;received=192.168.0.102;branch=z9hG4bK-323238-89531c09ff7e96562560b2da50ebb84c
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10;tag=c48fa236-b42e-43cc-815e-c64b1222bb21
CSeq: 2 INVITE
Contact: sip:192.168.0.10:5060
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Content-Length: 0
<— Received SIP response (345 bytes) from UDP:192.168.0.101:50876 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;received=192.168.0.10;branch=z9hG4bKPj1d935b79-086b-41cf-85dc-30c31c61699c
Call-ID: 2120fbf7-2961-4874-a935-b1b9c4585a8d
From: “maxim” sip:maxim@192.168.0.10;tag=df71c49e-7fdf-4bf2-b2d2-47bacb2cc878
To: sip:yuki@192.168.0.101;ob
CSeq: 24581 INVITE
Content-Length: 0
<— Received SIP response (525 bytes) from UDP:192.168.0.101:50876 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;received=192.168.0.10;branch=z9hG4bKPj1d935b79-086b-41cf-85dc-30c31c61699c
Call-ID: 2120fbf7-2961-4874-a935-b1b9c4585a8d
From: “maxim” sip:maxim@192.168.0.10;tag=df71c49e-7fdf-4bf2-b2d2-47bacb2cc878
To: sip:yuki@192.168.0.101;ob;tag=VoGYhLLazv32lTRqxmTQdvTTb9ktMK2K
CSeq: 24581 INVITE
Contact: sip:yuki@192.168.0.101:50876;ob
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
-- PJSIP/yuki-00000008 is ringing
<— Transmitting SIP response (507 bytes) to UDP:192.168.0.102:5060 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.102:5060;rport;received=192.168.0.102;branch=z9hG4bK-323238-89531c09ff7e96562560b2da50ebb84c
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10;tag=c48fa236-b42e-43cc-815e-c64b1222bb21
CSeq: 2 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Contact: sip:192.168.0.10:5060
Content-Length: 0
<— Received SIP request (548 bytes) from UDP:192.168.0.102:5060 —>
OPTIONS sip:192.168.0.10 SIP/2.0
Call-ID: cd3034aeed7c93f8ebaa81f51f95dcb1@0:0:0:0:0:0:0:0
CSeq: 38 OPTIONS
From: “maxim” sip:maxim@192.168.0.10;tag=1a6958cf
To: “maxim” sip:maxim@192.168.0.10
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-dc1883ce536e7b5c3bbc90fb690c2528
Max-Forwards: 70
Contact: “maxim” sip:maxim@192.168.0.102:5060;transport=udp;registering_acc=192_168_0_10
User-Agent: Jitsi2.5.5317Windows 7
Allow: INFO,OPTIONS,BYE,REFER,SUBSCRIBE,ACK,CANCEL,NOTIFY,INVITE
Allow-Events: refer
Content-Length: 0
<— Transmitting SIP response (536 bytes) to UDP:192.168.0.102:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.0.102:5060;rport;received=192.168.0.102;branch=z9hG4bK-323238-dc1883ce536e7b5c3bbc90fb690c2528
Call-ID: cd3034aeed7c93f8ebaa81f51f95dcb1@0:0:0:0:0:0:0:0
From: “maxim” sip:maxim@192.168.0.10;tag=1a6958cf
To: “maxim” sip:maxim@192.168.0.10;tag=z9hG4bK-323238-dc1883ce536e7b5c3bbc90fb690c2528
CSeq: 38 OPTIONS
WWW-Authenticate: Digest realm=“asterisk”,nonce=“1413078592/0d0c70c0dd459bcab2113475d2058026”,opaque=“3ce491da033c540d”,algorithm=md5,qop="auth"
Content-Length: 0
<— Received SIP response (867 bytes) from UDP:192.168.0.101:50876 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;received=192.168.0.10;branch=z9hG4bKPj1d935b79-086b-41cf-85dc-30c31c61699c
Call-ID: 2120fbf7-2961-4874-a935-b1b9c4585a8d
From: “maxim” sip:maxim@192.168.0.10;tag=df71c49e-7fdf-4bf2-b2d2-47bacb2cc878
To: sip:yuki@192.168.0.101;ob;tag=VoGYhLLazv32lTRqxmTQdvTTb9ktMK2K
CSeq: 24581 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Contact: sip:yuki@192.168.0.101:50876;ob
Supported: replaces, 100rel, timer, norefersub
Content-Type: application/sdp
Content-Length: 265
v=0
o=- 3622067391 3622067392 IN IP4 192.168.0.101
s=cpc_med
c=IN IP4 192.168.0.101
t=0 0
m=audio 4008 RTP/AVP 107 101
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:107 OPUS/48000/2
a=fmtp:107 maxplaybackrate=32000;useinbandfec=1
[Oct 11 21:49:56] WARNING[8884]: res_pjsip_sdp_rtp.c:250 set_caps: No joint capabilities between our configuration((nothing)) and incoming SDP((opus))
<— Transmitting SIP request (377 bytes) to UDP:192.168.0.101:50876 —>
ACK sip:yuki@192.168.0.101:50876;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bKPj275c865d-71bc-432d-9814-76828ad10ed1
From: “maxim” sip:maxim@192.168.0.10;tag=df71c49e-7fdf-4bf2-b2d2-47bacb2cc878
To: sip:yuki@192.168.0.101;ob;tag=VoGYhLLazv32lTRqxmTQdvTTb9ktMK2K
Call-ID: 2120fbf7-2961-4874-a935-b1b9c4585a8d
CSeq: 24581 ACK
Content-Length: 0
-- PJSIP/yuki-00000008 answered PJSIP/maxim-00000007
-- Channel PJSIP/maxim-00000007 joined 'simple_bridge' basic-bridge <41b76236-5f32-4415-9874-4ad7ab96275d>
-- Channel PJSIP/maxim-00000007 left 'simple_bridge' basic-bridge <41b76236-5f32-4415-9874-4ad7ab96275d>
== Spawn extension (internal, yuki, 1) exited non-zero on ‘PJSIP/maxim-00000007’
<— Transmitting SIP response (557 bytes) to UDP:192.168.0.102:5060 —>
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 192.168.0.102:5060;rport;received=192.168.0.102;branch=z9hG4bK-323238-89531c09ff7e96562560b2da50ebb84c
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10;tag=c48fa236-b42e-43cc-815e-c64b1222bb21
CSeq: 2 INVITE
Allow: OPTIONS, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, REGISTER, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub
Reason: Q.850;cause=58
Content-Length: 0
<— Transmitting SIP request (401 bytes) to UDP:192.168.0.101:50876 —>
BYE sip:yuki@192.168.0.101:50876;ob SIP/2.0
Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bKPj29546cfe-934a-4a1a-934a-0cd62297a3a2
From: “maxim” sip:maxim@192.168.0.10;tag=df71c49e-7fdf-4bf2-b2d2-47bacb2cc878
To: sip:yuki@192.168.0.101;ob;tag=VoGYhLLazv32lTRqxmTQdvTTb9ktMK2K
Call-ID: 2120fbf7-2961-4874-a935-b1b9c4585a8d
CSeq: 24582 BYE
Reason: Q.850;cause=58
Content-Length: 0
<— Received SIP response (375 bytes) from UDP:192.168.0.101:50876 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.10:5060;rport=5060;received=192.168.0.10;branch=z9hG4bKPj29546cfe-934a-4a1a-934a-0cd62297a3a2
Call-ID: 2120fbf7-2961-4874-a935-b1b9c4585a8d
From: “maxim” sip:maxim@192.168.0.10;tag=df71c49e-7fdf-4bf2-b2d2-47bacb2cc878
To: sip:yuki@192.168.0.101;ob;tag=VoGYhLLazv32lTRqxmTQdvTTb9ktMK2K
CSeq: 24582 BYE
Content-Length: 0
<— Received SIP request (361 bytes) from UDP:192.168.0.102:5060 —>
ACK sip:yuki@192.168.0.10 SIP/2.0
Call-ID: 361647269934352e638c98f8b63be1c1@0:0:0:0:0:0:0:0
Max-Forwards: 70
From: “maxim” sip:maxim@192.168.0.10;tag=743dea08
To: sip:yuki@192.168.0.10;tag=c48fa236-b42e-43cc-815e-c64b1222bb21
Via: SIP/2.0/UDP 192.168.0.102:5060;branch=z9hG4bK-323238-89531c09ff7e96562560b2da50ebb84c
CSeq: 2 ACK
Content-Length: 0
[/code]