-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.4.2 is not working with FreeSwitch #262
Comments
Hi @IlyaRu, Beware that FF lately offers the I guess you could get more help in the FreeSwitch mailing list. Related FF issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1072384 |
Tested tryit.jssip.net in FF 33.0.2 as well as FF Nightly, both peers being FF. Media flows correctly. Let me close this issue. |
Dear colleagues, I am not using FireFox, I am using Google Chrome. Note, that JsSIP 0.3.0 works fine, but in 0.4.2 I hear silence. Console logs of two calls are in attachments – signaling part is very similar. You can reproduce it easy: |
Ups, I read FreeSwitch and introduced FF in the equation myself.., let me reopen it. |
I can't see anything at a first glance, and doubt JsSIP has nothing to do. Is the only different thing in both scenarios the JsSIP library version? |
Yes, in these two html files there are two differences:
Did you reproduced my problem in scenario test_042? |
Yes I did. No audio is reproduced. |
Can I help you to find the reason? May be some settings on my server? |
Sorry, I haven't had that time to take a look at this. It would be nice to know the exact commit after which the audio, in your scenario, is not reproduced anymore. If the only changing component is JsSIP. 0.3.0 works, 0.4.2 doesn't. Then taking a commit between those both versions and building JsSIP will tell whether the 'error' was introduced before or after such commit, and so on... It's not funny, but It should in the end show the exact commit after which it stopped working. |
So, where can I find all intermediate versions between 0.3.0 and 0.4.2? |
This command shows you the commits between the tag 0.3.0 and the HEAD of the repository: Going to the mid commit between the list and testing, then going upwards or backwards to the mid commit of the remaining list and so on, should take about 8 iterations to find the guilty. |
I found 3 commits with different behaviour: 13.11.2013 14:16 ed643f7 Merge pull request #149 from crocodilertc/issue-148 19.11.2013 12:11 62e8323 Fix #176. Update to the latest IceServer definition 14.07.2014 14:32 91bef59 Merge develop branch in master. There is a lot of differences between 13.11.2013 and 14.07.2014. Have you any ideas? |
@IlyaRu can you provide a public FS WebSocket URI in which the problem can be reproduced? |
Dear colleagues, I have a very interesting observation. I have created 2 accounts on my FreeSwitch: 777 and 888. The difference is only in the sequence of actions: 777 works fine with JsSIP 0.3.0 and 0.4.2 I will do some investigations to understand the difference. WS parameters (will be valid for some days):
|
Colleagues, the difference of 777 and 888 is in SIP messages flow. 777 answers 200 OK immediately. 888 answers 183 Progress, then OK. So, in JsSIP 0.4.2 processing of message 183 seems to be broken. |
We don't have a FS installation. Any chance to test one provided by you? |
I provided you WS accounts on my FS:
777 works fine with JsSIP 0.3.0 and 0.4.2 Besides, you can try my test HTML pages: Of course, I can test new version of JsSIP when it will be available. |
Is there an update on this issue? I am trying to upgrade to v0.5.0 from 0.3.0 and encountered the same issue. I can say that it looks to me like the STUN negotiation seems to go south and settles on random ports. Anything I can do? |
JsSIP does not deal with STUN, that's browser's business. |
What about newer versions? Anyone else out there using FreeSwitch? |
I have tested 0.5 with Freeswitch... It worked after some minor modifications. 15950c15950 < request.reply(488);
CH
|
Sorry @hoene, that is not a solution at all. |
Hi everybody, I m using JsSIP last version with a Freeswitch server too. I have the same issue, works fine on Firefox and no sound on Chrome. |
Dear colleagues,
I made two similar examples:
http://cloud001.cxwebservice.com/test_030.html
http://cloud001.cxwebservice.com/test_042.html
The difference is in versions of JsSIP (0.3.0 vs 0.4.2) and event name (started vs confirmed). Connection established, but there is no sound in 0.4.2. What to do? :-)
The text was updated successfully, but these errors were encountered: