<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_1_1416845247401_3726" dir="ltr"><span>Hi,</span></div><div id="yui_3_16_0_1_1416845247401_3726" dir="ltr">Very thanks for sharing the script. I'm very confused. I checked the script line by line and differences are some lines that I think added in the 3.6.1 and they are not related to the media. I added "rtcp-mux-demux" flags like your script too. but nothing has changed and issues not solved.</div><div id="yui_3_16_0_1_1416845247401_3726" dir="ltr">So I lost my way. maybe the all problems is from client side. Your script working with current version of jssip and sipml5? and latest Chrome and Firefox versions?</div><div id="yui_3_16_0_1_1416845247401_3726" dir="ltr"><br></div><div id="yui_3_16_0_1_1416845247401_3726" dir="ltr">Regards,</div><div id="yui_3_16_0_1_1416845247401_3726" dir="ltr">H.Yavari</div><br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" id="yui_3_16_0_1_1416845247401_3687"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;" id="yui_3_16_0_1_1416845247401_3686"> <div dir="ltr" id="yui_3_16_0_1_1416845247401_3685"> <hr size="1" id="yui_3_16_0_1_1416845247401_3842"> <font size="2" face="Arial" id="yui_3_16_0_1_1416845247401_3684"> <b id="yui_3_16_0_1_1416845247401_3728"><span style="font-weight:bold;" id="yui_3_16_0_1_1416845247401_3727">From:</span></b> Nikita Stashkov <snl@sipmobile.org><br><br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1416845247401_3786"><br><div id="yiv5972140406"><div id="yui_3_16_0_1_1416845247401_3787">Ok, if it will help you.<div class="yiv5972140406" id="yui_3_16_0_1_1416845247401_3788">Attached is my script (without push), and domain settings.</div><div class="yiv5972140406" id="yui_3_16_0_1_1416845247401_3789">Should not be understood literally all. I have many changes in config.</div><div class="qtdSeparateBR"><br><br></div><div class="yiv5972140406yqt8153340095" id="yiv5972140406yqtfd41361"><div class="yiv5972140406"></div></div></div></div><br><div id="yiv5972140406"><div class="yiv5972140406yqt8153340095" id="yiv5972140406yqtfd17709"><div></div><div id="yui_3_16_0_1_1416845247401_3892"><div class="yiv5972140406"></div><div class="yiv5972140406" id="yui_3_16_0_1_1416845247401_3891"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406"></div></div></div></div><br><div id="yiv5972140406"><div id="yui_3_16_0_1_1416845247401_3894"><div class="yiv5972140406" id="yui_3_16_0_1_1416845247401_3893"><br clear="none" class="yiv5972140406"><div id="yui_3_16_0_1_1416845247401_3898"><blockquote class="yiv5972140406" type="cite" id="yui_3_16_0_1_1416845247401_3897"><div class="yiv5972140406yqt8153340095" id="yiv5972140406yqtfd01255"><div class="yiv5972140406" id="yui_3_16_0_1_1416845247401_3896">24 нояб. 2014 г., в 13:07, H Yavari <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:hyavari@rocketmail.com" target="_blank" href="mailto:hyavari@rocketmail.com" id="yui_3_16_0_1_1416845247401_3895">hyavari@rocketmail.com</a>> написал(а):</div><br clear="none" class="yiv5972140406Apple-interchange-newline"><div class="yiv5972140406"><div class="yiv5972140406"><div class="yiv5972140406" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23532"><span class="yiv5972140406">Hi,</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23607"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23647">Yes, with sipml5 calls have been terminated. I changed all ws to ws || wss. I did this too :</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23706"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23647"> if(isbflagset(FLB_SAVP_CALLER_SRTP))<br clear="none" class="yiv5972140406" style=""> {<br clear="none" class="yiv5972140406" style=""> xlog("L_INFO", "Try SRTP for caller - [% logreq -%]\n");<br clear="none" class="yiv5972140406" style=""> $var(rtpp_flags) = $var(rtpp_flags) + "SRTP rtcp-mux-demux ";<br clear="none" class="yiv5972140406" style=""> }<br clear="none" class="yiv5972140406" style="">but did not any changes.</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23643"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23642"><br clear="none" class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23715"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23642">Can you share with me? and you media settings? <br clear="none" class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23716"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23642"><br clear="none" class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23609"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23608">I want only use this solution in our website for support calls to our IP-PBX.</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23641"><br clear="none" class="yiv5972140406"><span class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr">Thanks.</div><div class="yiv5972140406" dir="ltr"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr">Regards,</div><div class="yiv5972140406" dir="ltr">H.YAvari<br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23591" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23590" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_23589"> <hr class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23588" size="1"> <font class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23592" face="Arial" size="2"> <b class="yiv5972140406"><span class="yiv5972140406" style="font-weight:bold;">From:</span></b> Nikita Stashkov <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:snl@sipmobile.org" target="_blank" href="mailto:snl@sipmobile.org">snl@sipmobile.org</a>><br clear="none" class="yiv5972140406"> <br clear="none" class="yiv5972140406"> </font> </div> <div class="yiv5972140406y_msg_container" id="yiv5972140406yui_3_16_0_1_1416808370215_23601"><br clear="none" class="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23602">And the first one is sipml5?<div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23605">In my config both are working.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23604">Check again your script. There is not one place, where automatic detection is done.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23603">I don’t exactly remember. It was about 4-5 month ago. But I think, difference is between ws and wss.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23640">Sorry, I can not publish my script. There are many other things, including push notifications.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23651">I think Sipwise will be not happy, if I publish it.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23610"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23652">Regards,</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23611">Nikita Stashkov<br clear="none" class="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23613"><blockquote class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23612" type="cite"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23639">24 нояб. 2014 г., в 11:45, H Yavari <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:hyavari@rocketmail.com" target="_blank" href="mailto:hyavari@rocketmail.com">hyavari@rocketmail.com</a>> написал(а):</div><br clear="none" class="yiv5972140406Apple-interchange-newline"><div class="yiv5972140406qtdSeparateBR"><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406yqt6300873173" id="yiv5972140406yqt45874"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23616"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23615"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_23614" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_10217"><span class="yiv5972140406">Hi,</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_10372"><span class="yiv5972140406"><br clear="none" class="yiv5972140406"></span></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10336">I noticed a new thing that when I using jssip, calls not terminated. in the logs and I didn't see any rtcp-mux. so this two webRTC client is different in using SDP params?</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10335"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_10334"><br clear="none" class="yiv5972140406">Regards,</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_10361">H.Yavari<br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10275" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10274" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_10273"> <hr class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10362" size="1"> <font class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10278" face="Arial" size="2"> <b class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10277"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10276" style="font-weight:bold;">From:</span></b> Nikita Stashkov <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:snl@sipmobile.org" target="_blank" href="mailto:snl@sipmobile.org">snl@sipmobile.org</a>><br clear="none" class="yiv5972140406"> <br clear="none" class="yiv5972140406"> </font> </div> <div class="yiv5972140406y_msg_container" id="yiv5972140406yui_3_16_0_1_1416808370215_10297"><br clear="none" class="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10296"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10302">There may be different logic. I am doing it if caller is WebRTC, and callee is SIP. </div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10301">Simply add this flag, when calling Rtpengine, like all other flags.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10300">You can do nothing if both are WebRTC.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10363"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10299">Regards,</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10298">Nikita Stashkov<br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_10295"><br clear="none" class="yiv5972140406">24 нояб. 2014 г., в 11:13, H Yavari <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:hyavari@rocketmail.com" target="_blank" href="mailto:hyavari@rocketmail.com">hyavari@rocketmail.com</a>> написал(а):<br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406qtdSeparateBR"><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406yqt3694124101" id="yiv5972140406yqt24914"><blockquote class="yiv5972140406" type="cite"><div class="yiv5972140406"><div class="yiv5972140406" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2955"><span class="yiv5972140406">Hi,</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2987"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2986">I checked it. the client (webRTC browser-sipml5) send rtp-mux. and is in the rtp.log too. so how can I disable this? or how can I add rtcp-mux-demux ? I should do this for all calls? or only for webRTC client?</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2985"><br clear="none" class="yiv5972140406"><span class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2984"><br clear="none" class="yiv5972140406"><span class="yiv5972140406"></span></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2983">Thanks a lot.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_3143"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2982">Regards,</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2981">H.Yavari</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2979"><br clear="none" class="yiv5972140406"> </div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2958" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2957" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416808370215_2956"> <hr class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2980" size="1"> <font class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2959" face="Arial" size="2"> <b class="yiv5972140406"><span class="yiv5972140406" style="font-weight:bold;">From:</span></b> Nikita Stashkov <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:snl@sipmobile.org" target="_blank" href="mailto:snl@sipmobile.org">snl@sipmobile.org</a>><br clear="none" class="yiv5972140406"> <b class="yiv5972140406"><span class="yiv5972140406" style="font-weight:bold;"></span></b><br clear="none" class="yiv5972140406"> </font> </div> <div class="yiv5972140406y_msg_container" id="yiv5972140406yui_3_16_0_1_1416808370215_2969"><br clear="none" class="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2968"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2978">You need to look logs from WebRTC client and Pcap from SIP.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2967">Of cource, if SIP client recives SDP with rtp-mux, he will not understand it. And after 30 sec call will be terminated. But you must see logs. My system is based on SPCE 3.2, and manually compiled rtpengine. And I don't know was changed in current version. Also, you can look rtp.log. Sometimes it helps.<br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406">Regards,</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2970">Nikita Stashkov<br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2977"><br clear="none" class="yiv5972140406">23. nov. 2014, в 13.40, H Yavari <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:hyavari@rocketmail.com" target="_blank" href="mailto:hyavari@rocketmail.com">hyavari@rocketmail.com</a>> написал(а):<br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406qtdSeparateBR"><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406yqt7534894036" id="yiv5972140406yqt01940"><blockquote class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2973" type="cite"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2972"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416808370215_2971" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_7618"><span class="yiv5972140406">Hi,</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8691"><span class="yiv5972140406"><br clear="none" class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8351"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_8352">Dear I did this before that I changed "ws" with "wss" but now after your reply I did "ws" || "wss". but not any changes.<br clear="none" class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8410"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_8352">As I told before, now my main problem is calls hangup after 30 sec. In your opinion the rtcp-mux-demux flags adding will solve this?</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8409">another point is that before 30 sec, If any call parties (caller: browser and callee: soft phone) hangs up, the call not terminate until 30 sec timeout. I think that the dialog of a call not recognized.</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8408"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8387">So situation is complicated :)</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8404">SPCE specialist plz help!</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8405"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8482"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8406">Regards,</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8407">H. Yavari<br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416740150963_8386"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_8352"></span></div><br clear="none" class="yiv5972140406"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7556" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7555" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div class="yiv5972140406y_msg_container" id="yiv5972140406yui_3_16_0_1_1416740150963_7560"> <hr class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_8685" size="1"> <font class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7557" face="Arial" size="2"> <b class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_8357"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_8356" style="font-weight:bold;">From:</span></b> Nikita Stashkov <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:snl@sipmobile.org" target="_blank" href="mailto:snl@sipmobile.org">snl@sipmobile.org</a>><br clear="none" class="yiv5972140406"><b class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7562"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7561" style="font-weight:bold;"></span></b></font><br clear="none" class="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7563">Sorry, I can not share my script.<div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7564">What can you do.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7565">Look the script /etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.tt2</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7566">Of course, before modifying copy it to proxy.cfg.customtt.tt2</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7567">I think, webrtc endpoint automatic detection is not working for you.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7568">It must look like this:</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7569"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7570">if($(ru{uri.param,transport}) == "ws" || $(ru{uri.param,transport}) == "wss»)</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7571"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7572">Then check flags you are sending to rtpengine.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7573">To call SIP clients you must use flag rtcp-mux-demux</div><div class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406">Regards,</div><div class="yiv5972140406">Nikita Stashkov</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7574"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7580"><br clear="none" class="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7579"><blockquote class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7578" type="cite"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7581">22 нояб. 2014 г., в 20:28, H Yavari <<a rel="nofollow" shape="rect" class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7582" ymailto="mailto:hyavari@rocketmail.com" target="_blank" href="mailto:hyavari@rocketmail.com">hyavari@rocketmail.com</a>> написал(а):</div><br clear="none" class="yiv5972140406Apple-interchange-newline"><div class="yiv5972140406qtdSeparateBR"><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406yqt6899690072" id="yiv5972140406yqt54362"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7577"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7576"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7575" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6780">Hi,</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6780">I checked you site. it seems that is a good webRTC solution.</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6780">Can you share with us your experience to solve our problem? or any script modifications?</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6780"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6780"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6780">Regards,</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6780">H.Yavari</div><br clear="none" class="yiv5972140406"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6784" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6783" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6782"> <hr class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6781" size="1"> <font class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6787" face="Arial" size="2"> <b class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6786"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6785" style="font-weight:bold;">From:</span></b> Nikita Stashkov <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:snl@sipmobile.org" target="_blank" href="mailto:snl@sipmobile.org">snl@sipmobile.org</a>><br clear="none" class="yiv5972140406"></font></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416682321572_6782"><font class="yiv5972140406" face="Arial" size="2"><br clear="none" class="yiv5972140406"></font></div><div class="yiv5972140406y_msg_container" id="yiv5972140406yui_3_16_0_1_1416682321572_6788"><div class="yiv5972140406" id="yiv5972140406"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6803">You can try with my site - <a rel="nofollow" shape="rect" class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6824" target="_blank" href="http://www.sipmobile.org/">www.sipmobile.org</a>.<div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6804">Create accounts: <a rel="nofollow" shape="rect" class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6825" target="_blank" href="https://www.sipmobile.org/register/">https://www.sipmobile.org/register/</a></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6826">And try to call with webRTC client and SIP.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6934">I have modified some Kamailio SPCE scripts.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6935"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6936">Regards,</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6937">Nikita Stashkov</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6938"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416682321572_6939"><br clear="none" class="yiv5972140406"><div class="yiv5972140406"><blockquote class="yiv5972140406" type="cite"><div class="yiv5972140406">22 нояб. 2014 г., в 16:04, Thomas Odorfer <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:odotom@gmail.com" target="_blank" href="mailto:odotom@gmail.com">odotom@gmail.com</a>> написал(а):</div><br clear="none" class="yiv5972140406Apple-interchange-newline"><div class="yiv5972140406"></div></blockquote></div></div></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7585"><div class="yiv5972140406qtdSeparateBR"><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406yqt7138267133" id="yiv5972140406yqt88872"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7584" style="word-wrap:break-word;">Hi,<div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7583">not sure if I understood correctly which scenario works and which not. </div><div class="yiv5972140406">So browser to soft phone is now working, but what is the meaning of browser to client? Which client?</div><div class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406">I tested myself and I have to confess that I had to do some changes in the account configs for soft phones where I am not happy about.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7602">It only worked between browser-webrtc and soft phone when the corresponding account for the soft phone - nat & media flow control had been changed to "force avp"“ and "force rtp“ ie. no encryption.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7603">(I have to investigate that one - could be related to an upgrade I had performed last week - usually srtp should also work with softphones, within the ftp.log there was „SRTP output wanted but no crypto suite was negotiated“).</div><div class="yiv5972140406">However, after my changes the following tests had been successful:</div><div class="yiv5972140406">browser webrtc to softphone (eg. jitsi, counterpath x-lite - should be software compatible with eyebeam)</div><div class="yiv5972140406">browser webrtc to another browser webrtc (jssip-0.50)</div><div class="yiv5972140406">browser webrtc to pstn via sip trunking (standard sip trunk, peer settings for media force „rtp“, „force rtp“, „always with plain SDP“)</div><div class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406">That is based on the latest SPCE version 3.6.1.</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7610">What does not seem to be achievable at the moment that you can have an account that supports „standard“ and webrtc simultaneously ( at least I haven’t succeeded with such a setup, maybe some sipwise/kamailio/rtpengine expert knows the trick). And I do not have a solution yet how to share one phone number between two accounts with different profiles.</div><div class="yiv5972140406">The only solution I have at the moment is that I put a webrtc gateway (similar to webrtc2sip from doubango) in front of SPCE for webrtc clients.</div><div class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406">For your particular problem, maybe you have to check whether your domain settings allow „bypass rtp proxy“ behind the same NAT - assuming you are testing wthin your LAN - this should be set to never.</div><div class="yiv5972140406"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406">Good luck</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7611">Thomas</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7612"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_7613"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416740150963_8346">Am 22.11.2014 um 12:49 schrieb H Yavari <<a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:hyavari@rocketmail.com" target="_blank" href="mailto:hyavari@rocketmail.com">hyavari@rocketmail.com</a>>:<div class="yiv5972140406"><br clear="none" class="yiv5972140406Apple-interchange-newline"><blockquote class="yiv5972140406" type="cite"><div class="yiv5972140406" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2631">Hi,</div><div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2650"><br clear="none" class="yiv5972140406"></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2630">I did this configs:</div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416469943651_153447" style=""><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416469943651_153428" style="">use_rtpproxy: „Always with rtpptoxy as only ICE candidate“ <br clear="none" class="yiv5972140406" style=""></span></div>rtcp_feedback: „Force AVP“ <br clear="none" class="yiv5972140406" style="">srtp_transcoding: „Force RTP“<div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2593"><br clear="none" class="yiv5972140406"><span class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2629"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2628">now calls between browser to soft phone is ok, but browser to client and browser to browser receive this error "Failed to get local SDP"</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2626"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2627">and calls not be established. Have you any idea about this situation? <br clear="none" class="yiv5972140406"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2634">Thanks for helps.<br clear="none" class="yiv5972140406"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2627"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2635"><br clear="none" class="yiv5972140406"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2627"></span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2636"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2627">Regards,</span></div><div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2637"><span class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2627">H.Yavari</span></div> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2596" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;"> <div class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2595" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;"> <div class="yiv5972140406" dir="ltr" id="yiv5972140406yui_3_16_0_1_1416651599493_2594"> <hr class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2624" size="1"> <font class="yiv5972140406" id="yiv5972140406yui_3_16_0_1_1416651599493_2597" face="Arial" size="2"> <br clear="none" class="yiv5972140406"> </font> </div> </div></div></div></blockquote></div><br clear="none" class="yiv5972140406"></div></div></div>_______________________________________________<br clear="none" class="yiv5972140406">Spce-user mailing list<br clear="none" class="yiv5972140406"><a rel="nofollow" shape="rect" class="yiv5972140406" ymailto="mailto:Spce-user@lists.sipwise.com" target="_blank" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br clear="none" class="yiv5972140406"><a rel="nofollow" shape="rect" class="yiv5972140406" target="_blank" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div></div><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div> </div> </div> </div></div></div></div></blockquote></div><br clear="none" class="yiv5972140406"></div></div></div><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div> </div> </div> </div></div></blockquote></div></div></div><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div> </div> </div> </div></div></blockquote></div></div></div><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div> </div> </div> </div></div></div></div></blockquote></div><br clear="none" class="yiv5972140406"></div></div></div><br clear="none" class="yiv5972140406"><br clear="none" class="yiv5972140406"></div> </div> </div> </div></div></div></div></blockquote></div><div class="yiv5972140406yqt8153340095" id="yiv5972140406yqtfd05740"><br clear="none" class="yiv5972140406"></div></div></div></div><br><br></div> </div> </div> </div></body></html>