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.
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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
first of all reinstall freeswitch from scratch, usiing the instruction in https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie , without the minimum change then check if calls are working between two softphones, on two different machines after all is working then do the fancy things. you may want to give attention at external_rtp_ip and external_sip_ip values in "external" sip profile anyway, first you must have calls in local LAN working then calls from other, more complex, scenarios. you may find the freeswitch books, easily available through the internet, useful as well as confluence documentation. -giovanni On 18 June 2018 at 07:14, Hossein Gholizadeh <hggh96.hg@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
participants (3)
-
David Villasmil
-
Giovanni Maruzzelli
-
Hossein Gholizadeh