[Freeswitch-users] sip.js has no audio

David Villasmil david.villasmil.work at gmail.com
Mon Jun 18 12:32:28 UTC 2018


I would say this more a question for sipjs mailing list.
Having said that, do you see rtps arriving on freeswitch?

On Mon, Jun 18, 2018, 14:27 Hossein Gholizadeh <hggh96.hg at gmail.com> wrote:

> hi all ...  i'm using sip.js for my IVR project ... it could connect to
> freeswitch correctly but there is no audio between call legs ... first of
> all i have to say i really cannot use Verto . this is my function of when
> call button pressed
>
>  * phoneCallButtonPressed : function(sessionid) {*
>
> *            var s      = ctxSip.Sessions[sessionid],*
> *                target = $("#numDisplay").val();*
>
> *            if (!s) {*
>
> *                $("#numDisplay").val("");*
> *                ctxSip.sipCall(target);*
>
> *            } else if (s.accept && !s.startTime) {*
>
> *                s.accept({*
> *                    media : {*
> *                        stream      : ctxSip.Stream,*
> *                        constraints : { audio : true, video : false },*
> *                        render      : {*
> *                            remote : { audio: $('#audioRemote').get()[0]
> }*
> *                        },*
> *                        RTCConstraints : { "optional": [{
> 'DtlsSrtpKeyAgreement': 'true'} ]}*
> *                    }*
> *                });*
> *            }*
> *        },*
>
>
> -----------------------------------------------------------------------------------------
> also i have to say that i tested it between my phone and x-lite ... X-lite
> could receive the voice but my phone could'nt ... i was using Zoiper in my
> phone.
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> 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
> 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/20180618/460d4dc2/attachment-0001.html>


More information about the FreeSWITCH-users mailing list