Can I do webRTC integration with PJSIP on Asterisk 13

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Can I do webRTC integration with PJSIP on Asterisk 13

Postby devoice » Thu Oct 22, 2015 8:55 am

I have Asterisk 13.5 setup with chan_pjsip. I want to integrate webRTC with the Asterisk but could not. I have tried SipML5 and JSSIP without success.
Attempts with SipML5 gives the error below:
On both Mozila and Chrome Browser:
Code: Select all
Not implemented
tsk_utils_log_error
tsip_dialog_layer.handle_incoming_message
tsip_transport_layer.handle_incoming_message
__tsip_transport_ws_onmessage

::::::PJSIP Log for SipML5:::::::

  == WebSocket connection from '10.0.1.103:57401' for protocol 'sip' accepted using version '13'
<--- Received SIP request (732 bytes) from WS:10.0.1.103:57401 --->
REGISTER sip:10.0.1.101 SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKxLnTrGTzhpBHcIdWcmKW1QJJcDlpm1w7;rport
From: "Paul"<sip:1005@10.0.1.101>;tag=Bhne1gS14n2LHNyT6Dks
To: "Paul"<sip:1005@10.0.1.101>
Contact: "Paul"<sip:1005@df7jal23ls0d.invalid;rtcweb-breaker=yes;transport=ws>;expires=200;click2call=no;+g.oma.sip-im;+audio;language="en,fr"
Call-ID: 86480adb-a18d-48bf-f33d-7a57e9dd4a50
CSeq: 12933 REGISTER
Content-Length: 0
Route: <sip:10.0.1.101:5060;lr;sipml5-outbound;transport=udp>
Max-Forwards: 70
Authorization: Digest username="1005",realm="10.0.1.101",nonce="",uri="sip:10.0.1.101",response=""
User-Agent: IM-client/OMA1.0 sipML5-v1.2015.03.18
Organization: Doubango Telecom
Supported: path


<--- Transmitting SIP response (538 bytes) to WS:10.0.1.103:57401 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WS df7jal23ls0d.invalid;rport=57401;received=10.0.1.103;branch=z9hG4bKxLnTrGTzhpBHcIdWcmKW1QJJcDlpm1w7
Call-ID: 86480adb-a18d-48bf-f33d-7a57e9dd4a50
From: "Paul" <sip:1005@10.0.1.101>;tag=Bhne1gS14n2LHNyT6Dks
To: "Paul" <sip:1005@10.0.1.101>;tag=z9hG4bKxLnTrGTzhpBHcIdWcmKW1QJJcDlpm1w7
CSeq: 12933 REGISTER
WWW-Authenticate: Digest  realm="asterisk",nonce="1445524789/c5a4621b5c50fde362f2a0086ecf3303",opaque="2ca66c026c3969a8",algorithm=md5,qop="auth"
Server: De-Voice
Content-Length:  0


<--- Received SIP request (908 bytes) from WS:10.0.1.103:57401 --->
REGISTER sip:10.0.1.101 SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKmCsT9V1KpnZitQn49rgoNue3l5Sgi7gD;rport
From: "Paul"<sip:1005@10.0.1.101>;tag=Bhne1gS14n2LHNyT6Dks
To: "Paul"<sip:1005@10.0.1.101>
Contact: "Paul"<sip:1005@df7jal23ls0d.invalid;rtcweb-breaker=yes;transport=ws>;expires=200;click2call=no;+g.oma.sip-im;+audio;language="en,fr"
Call-ID: 86480adb-a18d-48bf-f33d-7a57e9dd4a50
CSeq: 12934 REGISTER
Content-Length: 0
Route: <sip:10.0.1.101:5060;lr;sipml5-outbound;transport=udp>
Max-Forwards: 70
Authorization: Digest username="1005",realm="asterisk",nonce="1445524789/c5a4621b5c50fde362f2a0086ecf3303",uri="sip:10.0.1.101",response="47365d70fe23d6ea19b3a24dfaed43cf",algorithm=md5,cnonce="dc0fabeae82e4bd0acdb52c30a6a99d3",opaque="2ca66c026c3969a8",qop=auth,nc=00000001
User-Agent: IM-client/OMA1.0 sipML5-v1.2015.03.18
Organization: Doubango Telecom
Supported: path


    -- Added contact 'sip:1005@10.0.1.103:57401;transport=ws;rtcweb-breaker=yes' to AOR '1005' with expiration of 200 seconds
Contact 1005/sip:1005@10.0.1.103:57401;transport=ws;rtcweb-breaker=yes has been created
Endpoint 1005 is now Reachable
<--- Transmitting SIP request (526 bytes) to WS:10.0.1.103:57401 --->
OPTIONS sip:1005@10.0.1.103:57401;transport=ws;rtcweb-breaker=yes SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57401;rport;branch=z9hG4bKPjcb5f85cb-5328-4126-9a5e-a149068dedfc;alias
From: <sip:7ce44fd1-e789-4d0e-9bd3-aed51d4f3dc4@ubuntu>;tag=5fd10813-f112-4cf7-b925-76062401cf94
To: <sip:1005@10.0.1.103;rtcweb-breaker=yes>
Contact: <sip:7ce44fd1-e789-4d0e-9bd3-aed51d4f3dc4@ubuntu:5060;transport=WS>
Call-ID: 3aef04f7-8de5-47c2-be6a-76654920d60c
CSeq: 18438 OPTIONS
Max-Forwards: 70
User-Agent: De-Voice
Content-Length:  0


<--- Transmitting SIP response (500 bytes) to WS:10.0.1.103:57401 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS df7jal23ls0d.invalid;rport=57401;received=10.0.1.103;branch=z9hG4bKmCsT9V1KpnZitQn49rgoNue3l5Sgi7gD
Call-ID: 86480adb-a18d-48bf-f33d-7a57e9dd4a50
From: "Paul" <sip:1005@10.0.1.101>;tag=Bhne1gS14n2LHNyT6Dks
To: "Paul" <sip:1005@10.0.1.101>;tag=z9hG4bKmCsT9V1KpnZitQn49rgoNue3l5Sgi7gD
CSeq: 12934 REGISTER
Date: Thu, 22 Oct 2015 14:39:49 GMT
Contact: <sip:1005@10.0.1.103:57401;transport=ws;rtcweb-breaker=yes>;expires=199
Server: De-Voice
Content-Length:  0


<--- Transmitting SIP request (713 bytes) to WS:10.0.1.103:57401 --->
NOTIFY sip:1005@10.0.1.103:57401;transport=ws;rtcweb-breaker=yes SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57401;rport;branch=z9hG4bKPj87a8f0ae-df18-4169-9afa-b03a3d6b1c66;alias
From: <sip:1005@10.0.1.101>;tag=7a6fc78f-649f-4a73-904a-f48ae08b1680
To: <sip:1005@10.0.1.103;rtcweb-breaker=yes>
Contact: <sip:7cb54e41-e7b1-467a-986b-5464426cef65@10.0.1.101:5061;transport=WS>
Call-ID: a1841cab-b460-4d46-b8a7-5cc981b1d4e5
CSeq: 35304 NOTIFY
Subscription-State: terminated
Event: message-summary
Allow-Events: message-summary, presence, dialog, refer
Max-Forwards: 70
User-Agent: De-Voice
Content-Type: application/simple-message-summary
Content-Length:    48

Messages-Waiting: no
Voice-Message: 0/0 (0/0)

<--- Received SIP response (370 bytes) from WS:10.0.1.103:57401 --->
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/WS 10.0.1.103:57401;rport=57401;branch=z9hG4bKPjcb5f85cb-5328-4126-9a5e-a149068dedfc;alias
From: <sip:7ce44fd1-e789-4d0e-9bd3-aed51d4f3dc4@ubuntu>;tag=5fd10813-f112-4cf7-b925-76062401cf94
To: <sip:1005@10.0.1.103;rtcweb-breaker=yes>
Call-ID: 3aef04f7-8de5-47c2-be6a-76654920d60c
CSeq: 18438 OPTIONS
Content-Length: 0


Contact 1005/sip:1005@10.0.1.103:57401;transport=ws;rtcweb-breaker=yes is now Reachable.  RTT: 57.434 msec
<--- Received SIP response (356 bytes) from WS:10.0.1.103:57401 --->
SIP/2.0 481 Dialog/Transaction Does Not Exist
Via: SIP/2.0/WS 10.0.1.103:57401;rport=57401;branch=z9hG4bKPj87a8f0ae-df18-4169-9afa-b03a3d6b1c66;alias
From: <sip:1005@10.0.1.101>;tag=7a6fc78f-649f-4a73-904a-f48ae08b1680
To: <sip:1005@10.0.1.103;rtcweb-breaker=yes>
Call-ID: a1841cab-b460-4d46-b8a7-5cc981b1d4e5
CSeq: 35304 NOTIFY
Content-Length: 0


<--- Transmitting SIP request (526 bytes) to WS:10.0.1.103:57401 --->
OPTIONS sip:1005@10.0.1.103:57401;transport=ws;rtcweb-breaker=yes SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57401;rport;branch=z9hG4bKPj2b85f437-ca38-4ffe-9ff6-a77719a3f858;alias
From: <sip:a76d1f33-95e0-4cf7-8edc-dcdc750737a0@ubuntu>;tag=ceb977e5-b476-48fe-95e9-d6169ec9da9a
To: <sip:1005@10.0.1.103;rtcweb-breaker=yes>
Contact: <sip:a76d1f33-95e0-4cf7-8edc-dcdc750737a0@ubuntu:5060;transport=WS>
Call-ID: d7d60d97-4455-4dba-b618-1875ac6c4528
CSeq: 61469 OPTIONS
Max-Forwards: 70
User-Agent: De-Voice
Content-Length:  0


<--- Received SIP response (370 bytes) from WS:10.0.1.103:57401 --->
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/WS 10.0.1.103:57401;rport=57401;branch=z9hG4bKPj2b85f437-ca38-4ffe-9ff6-a77719a3f858;alias
From: <sip:a76d1f33-95e0-4cf7-8edc-dcdc750737a0@ubuntu>;tag=ceb977e5-b476-48fe-95e9-d6169ec9da9a
To: <sip:1005@10.0.1.103;rtcweb-breaker=yes>
Call-ID: d7d60d97-4455-4dba-b618-1875ac6c4528
CSeq: 61469 OPTIONS
Content-Length: 0




With JSSIP I got INCOMPACTIBLE SDP on the browser when I attempt to dialling extension and below on the Asterisk PJSIP Console:
Code: Select all
<--- Received SIP request (543 bytes) from WS:10.0.1.103:57434 --->
REGISTER sip:10.0.1.101 SIP/2.0
Via: SIP/2.0/WS l83imgctg19q.invalid;branch=z9hG4bK3263020
Max-Forwards: 69
To: <sip:1005@10.0.1.101>
From: "1005" <sip:1005@10.0.1.101>;tag=6i9dcoijv8
Call-ID: 31l3e0ggn5j9btjirueqri
CSeq: 5 REGISTER
Contact: <sip:mbkftrpc@l83imgctg19q.invalid;transport=ws>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:83224152-f364-44ba-ad86-aa336dfbccc1>";expires=600
Expires: 600
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Supported: path,gruu,outbound
User-Agent: JsSIP 0.7.9
Content-Length: 0


<--- Transmitting SIP response (453 bytes) to WS:10.0.1.103:57434 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WS l83imgctg19q.invalid;rport=57434;received=10.0.1.103;branch=z9hG4bK3263020
Call-ID: 31l3e0ggn5j9btjirueqri
From: "1005" <sip:1005@10.0.1.101>;tag=6i9dcoijv8
To: <sip:1005@10.0.1.101>;tag=z9hG4bK3263020
CSeq: 5 REGISTER
WWW-Authenticate: Digest  realm="asterisk",nonce="1445525145/3130531d205d45de5c4aaf4faf94a066",opaque="39e8dada128faa66",algorithm=md5,qop="auth"
Server: De-Voice
Content-Length:  0


<--- Received SIP request (808 bytes) from WS:10.0.1.103:57434 --->
REGISTER sip:10.0.1.101 SIP/2.0
Via: SIP/2.0/WS l83imgctg19q.invalid;branch=z9hG4bK6241441
Max-Forwards: 69
To: <sip:1005@10.0.1.101>
From: "1005" <sip:1005@10.0.1.101>;tag=6i9dcoijv8
Call-ID: 31l3e0ggn5j9btjirueqri
CSeq: 6 REGISTER
Authorization: Digest algorithm=MD5, username="1005", realm="asterisk", nonce="1445525145/3130531d205d45de5c4aaf4faf94a066", uri="sip:10.0.1.101", response="7e0fb33836783ad566d571f9af8c428e", opaque="39e8dada128faa66", qop=auth, cnonce="ergudeqbbcll", nc=00000001
Contact: <sip:mbkftrpc@l83imgctg19q.invalid;transport=ws>;+sip.ice;reg-id=1;+sip.instance="<urn:uuid:83224152-f364-44ba-ad86-aa336dfbccc1>";expires=600
Expires: 600
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Supported: path,gruu,outbound
User-Agent: JsSIP 0.7.9
Content-Length: 0


    -- Added contact 'sip:mbkftrpc@10.0.1.103:57434;transport=ws' to AOR '1005' with expiration of 600 seconds
Contact 1005/sip:mbkftrpc@10.0.1.103:57434;transport=ws has been created
Endpoint 1005 is now Reachable
<--- Transmitting SIP request (496 bytes) to WS:10.0.1.103:57434 --->
OPTIONS sip:mbkftrpc@10.0.1.103:57434;transport=ws SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPj1952f44e-5c73-4802-a445-9ce16bf1b81c;alias
From: <sip:740915bf-38a5-4f5c-9a40-34f73ac46f4c@ubuntu>;tag=b85e5d86-5d20-473e-8fe3-86f24179fb1f
To: <sip:mbkftrpc@10.0.1.103>
Contact: <sip:740915bf-38a5-4f5c-9a40-34f73ac46f4c@ubuntu:5060;transport=WS>
Call-ID: 06b8702e-8c2c-40b8-a645-13d830619846
CSeq: 22118 OPTIONS
Max-Forwards: 70
User-Agent: De-Voice
Content-Length:  0


<--- Transmitting SIP response (414 bytes) to WS:10.0.1.103:57434 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS l83imgctg19q.invalid;rport=57434;received=10.0.1.103;branch=z9hG4bK6241441
Call-ID: 31l3e0ggn5j9btjirueqri
From: "1005" <sip:1005@10.0.1.101>;tag=6i9dcoijv8
To: <sip:1005@10.0.1.101>;tag=z9hG4bK6241441
CSeq: 6 REGISTER
Date: Thu, 22 Oct 2015 14:45:45 GMT
Contact: <sip:mbkftrpc@10.0.1.103:57434;transport=ws>;expires=599
Expires: 600
Server: De-Voice
Content-Length:  0


<--- Transmitting SIP request (683 bytes) to WS:10.0.1.103:57434 --->
NOTIFY sip:mbkftrpc@10.0.1.103:57434;transport=ws SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPje2ba93f9-0f76-4e00-937f-48a021420aac;alias
From: <sip:1005@10.0.1.101>;tag=cc83f508-47d1-4b47-ac4f-380d6c32c459
To: <sip:mbkftrpc@10.0.1.103>
Contact: <sip:5f7e63ef-8c13-437c-bb28-3684e6e89ba1@10.0.1.101:5061;transport=WS>
Call-ID: ee494471-7320-43d7-81b2-a6bee3397270
CSeq: 37412 NOTIFY
Subscription-State: terminated
Event: message-summary
Allow-Events: message-summary, presence, dialog, refer
Max-Forwards: 70
User-Agent: De-Voice
Content-Type: application/simple-message-summary
Content-Length:    48

Messages-Waiting: no
Voice-Message: 0/0 (0/0)

<--- Received SIP response (477 bytes) from WS:10.0.1.103:57434 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPj1952f44e-5c73-4802-a445-9ce16bf1b81c;alias
To: <sip:mbkftrpc@10.0.1.103>;tag=tf76resg6d
From: <sip:740915bf-38a5-4f5c-9a40-34f73ac46f4c@ubuntu>;tag=b85e5d86-5d20-473e-8fe3-86f24179fb1f
Call-ID: 06b8702e-8c2c-40b8-a645-13d830619846
CSeq: 22118 OPTIONS
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Accept: application/sdp, application/dtmf-relay
Supported: outbound
Content-Length: 0


<--- Received SIP response (415 bytes) from WS:10.0.1.103:57434 --->
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPje2ba93f9-0f76-4e00-937f-48a021420aac;alias
To: <sip:mbkftrpc@10.0.1.103>;tag=fgpcko6siu
From: <sip:1005@10.0.1.101>;tag=cc83f508-47d1-4b47-ac4f-380d6c32c459
Call-ID: ee494471-7320-43d7-81b2-a6bee3397270
CSeq: 37412 NOTIFY
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Supported: outbound
Content-Length: 0


<--- Transmitting SIP request (494 bytes) to WS:10.0.1.103:57434 --->
OPTIONS sip:mbkftrpc@10.0.1.103:57434;transport=ws SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPjc00f09af-034d-453d-815c-5c181de8d843;alias
From: <sip:14ee3a7b-acb7-4ecd-8a5e-390ca9090a18@ubuntu>;tag=5b989214-0e1f-4914-9f71-d7b71efe3295
To: <sip:mbkftrpc@10.0.1.103>
Contact: <sip:14ee3a7b-acb7-4ecd-8a5e-390ca9090a18@ubuntu:5060;transport=WS>
Call-ID: 0410c656-7fa1-4900-ade6-1ca013fddfaa
CSeq: 817 OPTIONS
Max-Forwards: 70
User-Agent: De-Voice
Content-Length:  0


<--- Received SIP response (475 bytes) from WS:10.0.1.103:57434 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPjc00f09af-034d-453d-815c-5c181de8d843;alias
To: <sip:mbkftrpc@10.0.1.103>;tag=kpluaa7gpv
From: <sip:14ee3a7b-acb7-4ecd-8a5e-390ca9090a18@ubuntu>;tag=5b989214-0e1f-4914-9f71-d7b71efe3295
Call-ID: 0410c656-7fa1-4900-ade6-1ca013fddfaa
CSeq: 817 OPTIONS
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Accept: application/sdp, application/dtmf-relay
Supported: outbound
Content-Length: 0


<--- Transmitting SIP request (496 bytes) to WS:10.0.1.103:57434 --->
OPTIONS sip:mbkftrpc@10.0.1.103:57434;transport=ws SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPje1d54876-585b-4458-8a20-c34061586f9b;alias
From: <sip:9212aa04-1ff6-4e68-b891-d7b294909a6d@ubuntu>;tag=0958f6c5-129b-42cc-b65d-88a6551fe868
To: <sip:mbkftrpc@10.0.1.103>
Contact: <sip:9212aa04-1ff6-4e68-b891-d7b294909a6d@ubuntu:5060;transport=WS>
Call-ID: 96d84585-7ef7-467a-8f3a-c48c876790ce
CSeq: 63142 OPTIONS
Max-Forwards: 70
User-Agent: De-Voice
Content-Length:  0


<--- Received SIP response (477 bytes) from WS:10.0.1.103:57434 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPje1d54876-585b-4458-8a20-c34061586f9b;alias
To: <sip:mbkftrpc@10.0.1.103>;tag=11anbd11ar
From: <sip:9212aa04-1ff6-4e68-b891-d7b294909a6d@ubuntu>;tag=0958f6c5-129b-42cc-b65d-88a6551fe868
Call-ID: 96d84585-7ef7-467a-8f3a-c48c876790ce
CSeq: 63142 OPTIONS
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Accept: application/sdp, application/dtmf-relay
Supported: outbound
Content-Length: 0


<--- Received SIP request (3063 bytes) from WS:10.0.1.103:57434 --->
INVITE sip:1004@10.0.1.101 SIP/2.0
Via: SIP/2.0/WS l83imgctg19q.invalid;branch=z9hG4bK2166060
Max-Forwards: 69
To: <sip:1004@10.0.1.101>
From: "1005" <sip:1005@10.0.1.101>;tag=kjfqedg41l
Call-ID: n88ahsegsr9d2cd05d3p
CSeq: 8871 INVITE
X-Can-Renegotiate: true
Contact: <sip:mbkftrpc@l83imgctg19q.invalid;transport=ws;ob>
Content-Type: application/sdp
Session-Expires: 90
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Supported: timer,ice,replaces,outbound
User-Agent: JsSIP 0.7.9
Content-Length: 2534

v=0
o=- 1837788488795311842 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS 1Cn7r3FRDHeC914mxJsTtjtpBio71IbdOA7C
m=audio 54347 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 10.0.1.103
a=rtcp:54347 IN IP4 10.0.1.103
a=candidate:85229831 1 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:85229831 2 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:1268219383 1 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=candidate:1268219383 2 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=ice-ufrag:2h3R3oB8IIFDuZ5D
a=ice-pwd:opmg8kz6BorJ5nLS+9VQtZ1O
a=ice-options:google-ice
a=fingerprint:sha-256 B9:FC:9B:D1:ED:F0:C2:2B:64:3B:F5:48:B7:FF:5D:5E:BC:1E:0F:A1:2B:FE:76:17:D3:49:16:44:6D:E1:36:04
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:812548539 cname:C7xOomuj135v6/9e
a=ssrc:812548539 msid:1Cn7r3FRDHeC914mxJsTtjtpBio71IbdOA7C 1617b7ad-97d2-461e-b2ac-ffa77b21e60e
a=ssrc:812548539 mslabel:1Cn7r3FRDHeC914mxJsTtjtpBio71IbdOA7C
a=ssrc:812548539 label:1617b7ad-97d2-461e-b2ac-ffa77b21e60e
m=video 54347 RTP/SAVPF 100 116 117 96
c=IN IP4 10.0.1.103
a=rtcp:54347 IN IP4 10.0.1.103
a=candidate:85229831 1 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:85229831 2 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:1268219383 1 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=candidate:1268219383 2 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=ice-ufrag:2h3R3oB8IIFDuZ5D
a=ice-pwd:opmg8kz6BorJ5nLS+9VQtZ1O
a=ice-options:google-ice
a=fingerprint:sha-256 B9:FC:9B:D1:ED:F0:C2:2B:64:3B:F5:48:B7:FF:5D:5E:BC:1E:0F:A1:2B:FE:76:17:D3:49:16:44:6D:E1:36:04
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=recvonly
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100

<--- Transmitting SIP response (452 bytes) to WS:10.0.1.103:57434 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/WS l83imgctg19q.invalid;rport=57434;received=10.0.1.103;branch=z9hG4bK2166060
Call-ID: n88ahsegsr9d2cd05d3p
From: "1005" <sip:1005@10.0.1.101>;tag=kjfqedg41l
To: <sip:1004@10.0.1.101>;tag=z9hG4bK2166060
CSeq: 8871 INVITE
WWW-Authenticate: Digest  realm="asterisk",nonce="1445525179/4d68b282d34e8b6cc0c8ca51f2d6e82e",opaque="18e8f8cf7f259b11",algorithm=md5,qop="auth"
Server: De-Voice
Content-Length:  0


<--- Received SIP request (258 bytes) from WS:10.0.1.103:57434 --->
ACK sip:1004@10.0.1.101 SIP/2.0
Via: SIP/2.0/WS l83imgctg19q.invalid;branch=z9hG4bK2166060
To: <sip:1004@10.0.1.101>;tag=z9hG4bK2166060
From: "1005" <sip:1005@10.0.1.101>;tag=kjfqedg41l
Call-ID: n88ahsegsr9d2cd05d3p
CSeq: 8871 ACK
Content-Length: 0


<--- Received SIP request (3333 bytes) from WS:10.0.1.103:57434 --->
INVITE sip:1004@10.0.1.101 SIP/2.0
Via: SIP/2.0/WS l83imgctg19q.invalid;branch=z9hG4bK2176965
Max-Forwards: 69
To: <sip:1004@10.0.1.101>
From: "1005" <sip:1005@10.0.1.101>;tag=kjfqedg41l
Call-ID: n88ahsegsr9d2cd05d3p
CSeq: 8872 INVITE
Authorization: Digest algorithm=MD5, username="1005", realm="asterisk", nonce="1445525179/4d68b282d34e8b6cc0c8ca51f2d6e82e", uri="sip:1004@10.0.1.101", response="934125f2d32c7e69f1f36508edcc36f4", opaque="18e8f8cf7f259b11", qop=auth, cnonce="3a4dvr67sbna", nc=00000001
X-Can-Renegotiate: true
Contact: <sip:mbkftrpc@l83imgctg19q.invalid;transport=ws;ob>
Content-Type: application/sdp
Session-Expires: 90
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Supported: timer,ice,replaces,outbound
User-Agent: JsSIP 0.7.9
Content-Length: 2534

v=0
o=- 1837788488795311842 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS 1Cn7r3FRDHeC914mxJsTtjtpBio71IbdOA7C
m=audio 54347 RTP/SAVPF 111 103 104 0 8 106 105 13 126
c=IN IP4 10.0.1.103
a=rtcp:54347 IN IP4 10.0.1.103
a=candidate:85229831 1 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:85229831 2 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:1268219383 1 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=candidate:1268219383 2 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=ice-ufrag:2h3R3oB8IIFDuZ5D
a=ice-pwd:opmg8kz6BorJ5nLS+9VQtZ1O
a=ice-options:google-ice
a=fingerprint:sha-256 B9:FC:9B:D1:ED:F0:C2:2B:64:3B:F5:48:B7:FF:5D:5E:BC:1E:0F:A1:2B:FE:76:17:D3:49:16:44:6D:E1:36:04
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:812548539 cname:C7xOomuj135v6/9e
a=ssrc:812548539 msid:1Cn7r3FRDHeC914mxJsTtjtpBio71IbdOA7C 1617b7ad-97d2-461e-b2ac-ffa77b21e60e
a=ssrc:812548539 mslabel:1Cn7r3FRDHeC914mxJsTtjtpBio71IbdOA7C
a=ssrc:812548539 label:1617b7ad-97d2-461e-b2ac-ffa77b21e60e
m=video 54347 RTP/SAVPF 100 116 117 96
c=IN IP4 10.0.1.103
a=rtcp:54347 IN IP4 10.0.1.103
a=candidate:85229831 1 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:85229831 2 udp 2122260223 10.0.1.103 54347 typ host generation 0
a=candidate:1268219383 1 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=candidate:1268219383 2 tcp 1518280447 10.0.1.103 0 typ host tcptype active generation 0
a=ice-ufrag:2h3R3oB8IIFDuZ5D
a=ice-pwd:opmg8kz6BorJ5nLS+9VQtZ1O
a=ice-options:google-ice
a=fingerprint:sha-256 B9:FC:9B:D1:ED:F0:C2:2B:64:3B:F5:48:B7:FF:5D:5E:BC:1E:0F:A1:2B:FE:76:17:D3:49:16:44:6D:E1:36:04
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=recvonly
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100

<--- Transmitting SIP response (334 bytes) to WS:10.0.1.103:57434 --->
SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/WS l83imgctg19q.invalid;rport=57434;received=10.0.1.103;branch=z9hG4bK2176965
Call-ID: n88ahsegsr9d2cd05d3p
From: "1005" <sip:1005@10.0.1.101>;tag=kjfqedg41l
To: <sip:1004@10.0.1.101>;tag=b871056e-5415-4848-b685-e1606d12e1e9
CSeq: 8872 INVITE
Server: De-Voice
Content-Length:  0


<--- Received SIP request (280 bytes) from WS:10.0.1.103:57434 --->
ACK sip:1004@10.0.1.101 SIP/2.0
Via: SIP/2.0/WS l83imgctg19q.invalid;branch=z9hG4bK2176965
To: <sip:1004@10.0.1.101>;tag=b871056e-5415-4848-b685-e1606d12e1e9
From: "1005" <sip:1005@10.0.1.101>;tag=kjfqedg41l
Call-ID: n88ahsegsr9d2cd05d3p
CSeq: 8872 ACK
Content-Length: 0


<--- Transmitting SIP request (496 bytes) to WS:10.0.1.103:57434 --->
OPTIONS sip:mbkftrpc@10.0.1.103:57434;transport=ws SIP/2.0
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPj8a1d4115-6daf-4b6d-b76a-1fdb50cbcbf4;alias
From: <sip:707307a7-2355-4250-94b4-ad94b5db82b0@ubuntu>;tag=c39e0d6d-9995-48db-9caa-9a2e764764a6
To: <sip:mbkftrpc@10.0.1.103>
Contact: <sip:707307a7-2355-4250-94b4-ad94b5db82b0@ubuntu:5060;transport=WS>
Call-ID: 8de97a85-4a5f-4803-8810-e8eb96e7c8cd
CSeq: 58029 OPTIONS
Max-Forwards: 70
User-Agent: De-Voice
Content-Length:  0


<--- Received SIP response (477 bytes) from WS:10.0.1.103:57434 --->
SIP/2.0 200 OK
Via: SIP/2.0/WS 10.0.1.103:57434;rport;branch=z9hG4bKPj8a1d4115-6daf-4b6d-b76a-1fdb50cbcbf4;alias
To: <sip:mbkftrpc@10.0.1.103>;tag=po0hjpa46c
From: <sip:707307a7-2355-4250-94b4-ad94b5db82b0@ubuntu>;tag=c39e0d6d-9995-48db-9caa-9a2e764764a6
Call-ID: 8de97a85-4a5f-4803-8810-e8eb96e7c8cd
CSeq: 58029 OPTIONS
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER
Accept: application/sdp, application/dtmf-relay
Supported: outbound
Content-Length: 0

devoice
Newsterisk
 
Posts: 1
Joined: Thu Oct 22, 2015 4:30 am

Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest