<div dir="ltr"><div><div><div><div><div><div><div>Got it to work, on audio/video.<br><br>So think there was a bit of confusion, but thank-you so much for all who helped point me in the right direction.<br><br>My notes on getting <a href="http://tryit.jssip.net">tryit.jssip.net</a> to work, ie two clients using <a href="http://tryit.jssip.net">tryit.jssip.net</a> to use my own sip server from two clients using their own browsers.<br><br>1) So far only tested under chrome (yosemite chrome 43.0.2357.132)<br><br>2) make sure you have set up a proper SSL cert (ie got one signed from godaddy or the like), not sure you really need this for WS, but would probably need it for WSS.   Namely, think the <a href="http://tryit.jssip.net">tryit.jssip.net</a> doesn't have a mode of "insecure" ssl usage... but I'm only guessing on that.  If you roll your own <a href="http://jssip.net">jssip.net</a> I bet there's an option in one of the javascript calls to allow insecure... but I'm only guessing.  <br><br>3) configure your own sip server (I just simply used the AMI image so nicely provided by sipwise), by logging into your admin interface, ie <a href="https://yourip:1443/user/login">https://yourip:1443/user/login</a>   administrator/yourpassword<br><div style="margin-left:40px">a.  Add at least two subscribers (so they can talk to one another... they can be two seperate 'custoemrs' or two subscribers of belonging to the same customer.  I'm calling my users user1 and user2.<br></div><div style="margin-left:40px">b.  Go into each subscriber -> detail -> preferences -> nat media control flow<br></div><div style="margin-left:40px"><div style="margin-left:40px">use_rtpproxy = Always with rtpproxy as ONLY ice canidate<br></div></div><div style="margin-left:40px"><div style="margin-left:40px">transport_protocol = RTP/SAVPF encrypted RTP with RTCP feedback<br></div></div><div style="margin-left:40px"><div style="margin-left:40px">all other params left to their defaults<br></div></div><div style="margin-left:40px">c. go into domains -> yourdomain preferences -> nat media control flow    #A note, I'm not fully sure what all has to be set here, but Daniel kept pointing at the transport_protocol, but think use_rtpproxy might also need setting... at least this is what I have and its working for me<br></div><div style="margin-left:40px"><div style="margin-left:40px">use_rtpproxy  = always with plain SDP   <br></div></div><div style="margin-left:40px"><div style="margin-left:40px">transport_protocol = rtp/avp plain rtp<br></div></div><div style="margin-left:40px"><div style="margin-left:40px">all other params left to their defaults<br><br></div></div>4) on a chrome browser, each client opens <a href="http://tryit.jssip.net">tryit.jssip.net</a> and the following for each line upon opening the page<br></div>name:   user1<br></div>sip uri:   sip:user1@mysipserverdnsorip<br></div>password:  user1spassword<br></div>ws uri:   ws://mysipserver:5060/ws<br><br></div><div>5) then simply enter "user1" or "user2" in the call box press the phone button and it should work.  <br></div><div><br><br></div>And that's about it.   Feel free to ask me if some of this is not clear. <br><br></div>Yours truly,<br></div>Brian<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 12:51 PM, Brian Quandt <span dir="ltr"><<a href="mailto:brian.quandt@gmail.com" target="_blank">brian.quandt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Still not getting this to work.   Tried settings subscribers<br>
nat/transport per Daniel's comments, same issue keeps happening.   I<br>
think something basic is wrong but can't seem to debug this.  But<br>
finally found the log which shows similar itesm to the failure message<br>
in the chrome console log.  BTW, both chromes are per Daniel's version<br>
he suggested.<br>
<br>
Here's the log from kamailo-proxy  (not invalid transport at end of log):<br>
<br>
Jul 13 19:38:14 ip-10-220-196-230 proxy[6589]: NOTICE: <script>: New<br>
request on proxy - M=REGISTER R=sip:<a href="http://sip.autodcp.com" rel="noreferrer" target="_blank">sip.autodcp.com</a><br>
F=<a href="mailto:sip%3Aquandt@sip.autodcp.com">sip:quandt@sip.autodcp.com</a> T=<a href="mailto:sip%3Aquandt@sip.autodcp.com">sip:quandt@sip.autodcp.com</a><br>
IP=<a href="http://157.254.210.19:39144" rel="noreferrer" target="_blank">157.254.210.19:39144</a> (<a href="http://127.0.0.1:5060" rel="noreferrer" target="_blank">127.0.0.1:5060</a>) ID=rmut9j5l6ohar97q0pkn7r<br>
Jul 13 19:38:14 ip-10-220-196-230 proxy[6589]: NOTICE: <script>:<br>
Contacts successfully updated, expires in 600s - R=sip:<a href="http://sip.autodcp.com" rel="noreferrer" target="_blank">sip.autodcp.com</a><br>
ID=rmut9j5l6ohar97q0pkn7r<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6587]: NOTICE: <script>: New<br>
request on proxy - M=INVITE R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a><br>
F=<a href="mailto:sip%3Aquandt@sip.autodcp.com">sip:quandt@sip.autodcp.com</a> T=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a><br>
IP=<a href="http://157.254.210.19:39144" rel="noreferrer" target="_blank">157.254.210.19:39144</a> (<a href="http://127.0.0.1:5060" rel="noreferrer" target="_blank">127.0.0.1:5060</a>) ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6587]: NOTICE: <script>:<br>
Authentication failed, no credentials - R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a><br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>: New<br>
request on proxy - M=INVITE R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a><br>
F=<a href="mailto:sip%3Aquandt@sip.autodcp.com">sip:quandt@sip.autodcp.com</a> T=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a><br>
IP=<a href="http://157.254.210.19:39144" rel="noreferrer" target="_blank">157.254.210.19:39144</a> (<a href="http://127.0.0.1:5060" rel="noreferrer" target="_blank">127.0.0.1:5060</a>) ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
User-Provided CLI 'quandt' taken from From-User -<br>
R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a> ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
User-provided CLI 'quandt' rejected, using network-provided CLI<br>
'43991001' - R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a> ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting '<a href="mailto:43991001@sip.autodcp.com">43991001@sip.autodcp.com</a>' as initiating user-provided CLI -<br>
R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a> ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting '<a href="mailto:43991001@sip.autodcp.com">43991001@sip.autodcp.com</a>' as initiating network-provided CLI<br>
- R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a> ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Callee is local, uuid='a5af1d66-fe08-4133-9198-6a709bea91bc' -<br>
R=<a href="mailto:sip%3Adepatie@sip.autodcp.com">sip:depatie@sip.autodcp.com</a> ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting acc source-leg for uuid<br>
'b16a80fb-b06b-44ca-b6f8-2d17797bae6d':<br>
'b16a80fb-b06b-44ca-b6f8-2d17797bae6d|quandt|<a href="http://sip.autodcp.com" rel="noreferrer" target="_blank">sip.autodcp.com</a>|43991001|||2|||0|call|157.254.210.19|1436816600.182590|||||||||||'<br>
- R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting acc destination-leg for uuid<br>
'a5af1d66-fe08-4133-9198-6a709bea91bc':<br>
'0|||3|depatie|a5af1d66-fe08-4133-9198-6a709bea91bc|depatie|<a href="http://sip.autodcp.com" rel="noreferrer" target="_blank">sip.autodcp.com</a>|depatie|<a href="http://sip.autodcp.com" rel="noreferrer" target="_blank">sip.autodcp.com</a>|0|||||||||||'<br>
- R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Rewriting first user-provided CLI '43991001' to '0991001' -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Rewriting first network-provided CLI '43991001' to '0991001' -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting caller_cli_userprov/caller_domain_userprov<br>
'<a href="mailto:0991001@sip.autodcp.com">0991001@sip.autodcp.com</a>' for upn -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting From to '<<a href="mailto:sip%3A0991001@sip.autodcp.com">sip:0991001@sip.autodcp.com</a>>' -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting caller_cli_netprov/caller_domain_netprov<br>
'<a href="mailto:0991001@sip.autodcp.com">0991001@sip.autodcp.com</a>' for npn -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting PAI to '<<a href="mailto:sip%3A0991001@sip.autodcp.com">sip:0991001@sip.autodcp.com</a>>' -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Setting P-Called-Party-ID '<<a href="mailto:sip%3A97a3jcd5@sip.autodcp.com">sip:97a3jcd5@sip.autodcp.com</a>>' -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Appending P-D-URI<br>
'<a href="mailto:sip%3Alb@127.0.0.1">sip:lb@127.0.0.1</a>;lr;received=sip:157.254.210.20:58091%3Btransport%3Dws;socket=sip:<a href="http://10.220.196.230:5061" rel="noreferrer" target="_blank">10.220.196.230:5061</a>'<br>
- R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Forcing request via B2BUA 'sip:<a href="http://127.0.0.1:5080" rel="noreferrer" target="_blank">127.0.0.1:5080</a>' -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6588]: NOTICE: <script>:<br>
Request leaving server, D-URI='sip:<a href="http://127.0.0.1:5080" rel="noreferrer" target="_blank">127.0.0.1:5080</a>' -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6589]: NOTICE: <script>:<br>
NAT-Reply - S=100 - Connecting M=INVITE IP=<a href="http://157.254.210.19:39144" rel="noreferrer" target="_blank">157.254.210.19:39144</a><br>
(<a href="http://127.0.0.1:5080" rel="noreferrer" target="_blank">127.0.0.1:5080</a>) ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:20 ip-10-220-196-230 proxy[6591]: NOTICE: <script>:<br>
NAT-Reply - S=180 - Ringing M=INVITE IP=<a href="http://157.254.210.19:39144" rel="noreferrer" target="_blank">157.254.210.19:39144</a><br>
(<a href="http://127.0.0.1:5080" rel="noreferrer" target="_blank">127.0.0.1:5080</a>) ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:26 ip-10-220-196-230 proxy[6590]: NOTICE: <script>:<br>
NAT-Reply - S=488 - Not Acceptable Here M=INVITE<br>
IP=<a href="http://157.254.210.19:39144" rel="noreferrer" target="_blank">157.254.210.19:39144</a> (<a href="http://127.0.0.1:5080" rel="noreferrer" target="_blank">127.0.0.1:5080</a>) ID=6k65jhddqsofvlrlv3um<br>
Jul 13 19:43:26 ip-10-220-196-230 proxy[6590]: NOTICE: <script>:<br>
Failure route for local call -<br>
R=sip:97a3jcd5@eb64qhi95507.invalid;transport=ws<br>
ID=6k65jhddqsofvlrlv3um<br>
</blockquote></div><br></div>