[Freeswitch-users] JsSip Client receiving "488 Not Acceptable Here" when trying to make a call
Mahmood Alkhalil
mahmood.alkhalil at outlook.com
Sun Feb 23 14:07:31 UTC 2020
Hi Piotr/David,
Thanks for you help.
turns out JsSip send wrong SDP "m=" field, I've started using SipJS library and it's working fine without any issues.
i was wondering if anyone is using SipJS (https://sipjs.com/) in production environment and can provide a feedback on its stability and quality, I'm planning to start building a project using SipJS library, so would really appreciate any feedback
On 2/18/20 5:51 AM, David Villasmil wrote:
Get a trace and check your codecs.
On Mon, 17 Feb 2020 at 22:57, Piotr Gregor <piotr at dataandsignal.com<mailto:piotr at dataandsignal.com>> wrote:
Hi Mahmood,
Make sure DTLS/ICE works. Check with tcpdump/wireshark packets are flowing between ends of the call.
Define ICE servers to be used by JsSip.
var options = {
'eventHandlers' : your eventHandlers,
'mediaConstraints' : { 'audio': true, 'video': true },
'pcConfig' : { 'iceServers': [
{'urls': 'stun:stun.stunprotocol.org:3478'},
{'urls': 'stun:stun.l.google.com:19302'}, ] },
};
var session = ua.call(uri, options);
kind regards,
Piotr
[https://drive.google.com/a/dataandsignal.com/uc?id=1lUdzdLjEycxXcGhDz-bKqDX8-AIlZuCq&export=download]
Piotr Gregor
Software Engineer
M: (+44) 07483 866 525 www: dataandsignal.com<http://dataandsignal.com>
On Wed, Feb 12, 2020 at 4:07 PM Mahmood Alkhalil <mahmood.alkhalil at outlook.com<mailto:mahmood.alkhalil at outlook.com>> wrote:
Hi Everyone,
I've been trying to use JsSIp over Websockets, I'm able to register and i can confirm the registration is a success, but whenevr i try to make a call Freeswitch responds with SIP/2.0 488 Not Acceptable Here.
The JsSip API is showing SDP Failure, in Freeswitch logs it is telling that there is SDP/RTP matches but then it say no candidate found.
I'v attached the call trace, appreciate any help.
Thanks,
Mahmood Alkhalil.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200223/fbac8dde/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list