Hello, 

I'm new to using freeswitch. I'm using a client called SIPJS to communicate with freeswitch. 

The SIP message and it's response:


INVITE sip:1001@104.130.11.232 SIP/2.0
Via: SIP/2.0/WS CODE;branch=BRANCH
Max-Forwards: 70
To: <sip:1001@104.130.11.232>
From: "1000" <sip:1000@104.130.11.232>;tag=7b5phc9nhb
Call-ID: sun3fqjm7nb7rs06dbuu
CSeq: 3769 INVITE
Contact: <sip:k86b2npa@v9figramd1qs.invalid;transport=ws;ob>
Allow: ACK,CANCEL,INVITE,MESSAGE,BYE,OPTIONS,INFO,NOTIFY,REFER
Supported: outbound
User-Agent: SIP.js/0.7.7
Content-Type: application/sdp
Content-Length: 759

v=0
o=- 84832118975142245 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE data
a=msid-semantic: WMS
m=application 49422 DTLS/SCTP 5000
c=IN IP4 111.69.178.179
a=candidate:1520298561 1 udp 2113937151 192.168.178.32 49422 typ host generation 0 network-cost 50
a=candidate:900384389 1 udp 2113939711 2406:e007:2f57:1:e951:8d6e:71bd:cff8 49423 typ host generation 0 network-cost 50
a=candidate:842163049 1 udp 1677729535 111.69.178.179 49422 typ srflx raddr 192.168.178.32 rport 49422 generation 0 network-cost 50
a=ice-ufrag:6Jk+
a=ice-pwd:XDsf8/lOfUpw8f3CQas5srLl
a=fingerprint:sha-256 23:DF:44:BC:1B:A5:B3:77:E0:ED:54:F9:A1:EE:CB:A1:99:FC:3A:0F:A2:2B:60:07:9A:F9:2D:12:BB:5B:60:49
a=setup:actpass
a=mid:data
a=sctpmap:5000 webrtc-datachannel 1024



SIP/2.0 403 Forbidden
Via: SIP/2.0/WS CODE;branch=BRANCH;received=111.69.178.179;rport=64431
From: "1000" <sip:1000@104.130.11.232>;tag=7b5phc9nhb
To: <sip:1001@104.130.11.232>;tag=gt0m2j3aa4m1K
Call-ID: sun3fqjm7nb7rs06dbuu
CSeq: 3769 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.9.0-380-c66a012~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Length: 0

I thought to try get the invite to happen after subscribe events had taken place however the same messages are received back.

This leads me to think that it's something to do with my freeswitch installation. 

Register messages are going through fine. that tells me that the users are being authenticated when talking to freeswitch. 

Nathan



--
Virtual Guard Ltd
info@virtualguard.co.nz