Skip to content

Instantly share code, notes, and snippets.

@ForGuru
Created October 9, 2018 17:44
Show Gist options
  • Save ForGuru/4a0ea13a25e0b663aa199ea0a6f33ce0 to your computer and use it in GitHub Desktop.
Save ForGuru/4a0ea13a25e0b663aa199ea0a6f33ce0 to your computer and use it in GitHub Desktop.
Sending Invite
INVITE sips:demouser2@myserver.com:6061 SIP/2.0
Call-ID: 292c228121b27f7d8b702ccd21e084ac@192.168.100.3
CSeq: 2 INVITE
From: "demouser3" <sips:demouser3@myserver.com>;tag=1539103349903
To: <sips:demouser2@myserver.com:6061>
Via: SIP/2.0/TLS 192.168.100.3:5090;rport;branch=z9hG4bK-353035-ea47056922743c5e8c7b713f013a1c29
Max-Forwards: 70
Route: <sips:MYIP:6061;dns_route=true;transport=tls;lr>
Contact: <sips:110.38.8.188:58107;transport=TLS>
User-Agent: Demo App
Supported: replaces, outbound
Content-Type: application/sdp
Proxy-Authorization: Digest username="demouser3",realm="myserver.com",nonce="W7zb4Vu82rXU1UmafEbi5fe+Q26at3/M",uri="sips:demouser2@myserver.com:6061",response="bab6f0727232f2d6730bc25b286f5979"
Content-Length: 1882
v=0
o=- 7847671986198093427 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS ARDAMS
m=audio 9 UDP/TLS/RTP/SAVPF 103 104 111 9 102 0 8 106 105 13 110 112 113 126
c=IN IP4 0.0.0.0
a=rtcp:9 IN IP4 0.0.0.0
a=candidate:2189294179 1 udp 2122260223 192.168.100.3 42200 typ host generation 0 ufrag 2wEG network-id 3 network-cost 10
a=candidate:842163049 1 udp 1686052607 110.38.8.188 42200 typ srflx raddr 192.168.100.3 rport 42200 generation 0 ufrag 2wEG network-id 3 network-cost 10
a=candidate:2220453312 1 udp 41885951 119.81.59.214 55851 typ relay raddr 110.38.8.188 rport 42200 generation 0 ufrag 2wEG network-id 3 network-cost 10
a=candidate:3403321648 1 udp 25108223 119.81.59.214 49685 typ relay raddr 110.38.8.188 rport 52989 generation 0 ufrag 2wEG network-id 3 network-cost 10
a=candidate:2220453312 1 udp 41885695 119.81.59.214 62527 typ relay raddr 110.38.8.188 rport 42200 generation 0 ufrag 2wEG network-id 3 network-cost 10
a=ice-ufrag:2wEG
a=ice-pwd:73Dz2JqsEzK0SmuwxHhnnJOf
a=ice-options:trickle renomination
a=fingerprint:sha-256 80:C7:F7:8E:D7:3C:FC:12:6D:A9:5A:2F:40:BA:F0:4D:72:F8:8A:84:2A:44:34:DA:C7:72:C9:00:78:E4:01:A1
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
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:110 telephone-event/48000
a=rtpmap:112 telephone-event/32000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:1544648696 cname:qRHWWjLcBdbPsGEQ
a=ssrc:1544648696 msid:ARDAMS ARDAMSa0
a=ssrc:1544648696 mslabel:ARDAMS
a=ssrc:1544648696 label:ARDAMSa0
Receiped Response
SIP/2.0 200 OK
CSeq: 2 INVITE
Call-ID: 292c228121b27f7d8b702ccd21e084ac@192.168.100.3
From: "demouser3" <sips:demouser3@myserver.com>;tag=1539103349903
To: <sips:demouser2@myserver.com:6061>;tag=1539103414992
Via: SIP/2.0/TLS 192.168.100.3:5090;received=110.38.8.188;rport=58107;branch=z9hG4bK-353035-ea47056922743c5e8c7b713f013a1c29
Contact: <sip:110.38.8.188:53621;transport=tls;alias=110.38.8.188~53621~3>
Content-Type: application/sdp
Content-Length: 1250
v=0
o=- 6186158250570793047 2 IN IP4 167.99.193.251
s=-
t=0 0
a=group:BUNDLE audio
a=msid-semantic: WMS ARDAMS
m=audio 32894 UDP/TLS/RTP/SAVPF 103 111 9 102 0 8 105 13 110 113 126
c=IN IP4 167.99.193.251
a=candidate:3047361105 1 udp 2122260223 192.168.100.6 46816 typ host generation 0 ufrag 5qHV network-id 3 network-cost 10
a=ice-ufrag:5qHV
a=ice-pwd:TE4qhjHUKh6M5wkKzsmnKq6I
a=ice-options:trickle renomination
a=fingerprint:sha-256 9B:8D:76:84:C5:6B:0F:35:58:E5:8C:D7:69:A6:CF:E1:6C:15:85:F2:6E:FD:67:38:8A:C2:D0:1A:2B:45:88:51
a=setup:active
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=rtpmap:103 ISAC/16000
a=rtpmap:111 opus/48000/2
a=rtcp-fb:111 transport-cc
a=fmtp:111 minptime=10;useinbandfec=1
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:110 telephone-event/48000
a=rtpmap:113 telephone-event/16000
a=rtpmap:126 telephone-event/8000
a=ssrc:905296734 cname:VwdffEvAkkXvMNnC
a=ssrc:905296734 msid:ARDAMS ARDAMSa0
a=ssrc:905296734 mslabel:ARDAMS
a=ssrc:905296734 label:ARDAMSa0
a=sendrecv
a=rtcp:32894
a=rtcp-mux
a=candidate:hx3NfTbEaxuKd0B5 1 UDP 2122260479 167.99.193.251 32894 typ host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment