[Freeswitch-users] mod_verto, verto communicator working only with chromium-based browsers

Gregor Nanger gregor at infomedia.si
Fri Feb 5 14:41:56 UTC 2021


Just for info. We are using verto and it works in Chrome, Edge and Firefox.
Out of the box.

INCOMPATIBLE_DESTINATION could be because of codecs. Try to allow only
pcma, pcmu in verto config. Just a thought to test it...




On Fri, Feb 5, 2021, 15:34 Stefan <gidoramothra at gmail.com> wrote:

> Hello, I asked that before, but perhaps the question was somehow wrong
> formulated or I didn't provide the right details. My Problem is the
> following:
>
> I have a freeswitch 1.10 installation, you can find the container I
> use, including a configuration similar to mine, here:
>
> https://github.com/gidmoth/freeswitch-container
>
> (The readme in the etc-freeswitch folder is the one provided by the
> freeswitch-minimal config package in debian, but please look at the files
> themselfes, because I took that only as a startingpoint).
>
> I have mod_verto enabled and try to connect clients with verto
> communicator, build from the sources in the 1.10 release branch on
> signalwire/freeswitch (https://github.com/signalwire/freeswitch).
>
> It works perfectly well with chomium-based browsers, but with firefox it
> does not work.
>
> From the logs it is clear, that firefox seems not to start the
> negotiation of a key for srtp, and then mod_verto refuses to execute the
> call, because the dialplan requires srtp. Here the relevant log, a
> failed attemt to call a conference with firefox/verto communicator as a
> client:
>
> ```
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:287
> (verto.rtc/31000) State Change CS_ROUTING -> CS_EXECUTE
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:644
> (verto.rtc/31000) State ROUTING going to sleep
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:585
> (verto.rtc/31000) Running State Change CS_EXECUTE (Cur 1 Tot 1)
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:651
> (verto.rtc/31000) State EXECUTE
> 2021-01-21 15:36:48.773228 [DEBUG] mod_rtc.c:120 verto.rtc/31000 RTC
> EXECUTE
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:329
> verto.rtc/31000 Standard EXECUTE
> EXECUTE [depth=0] verto.rtc/31000 set(rtp_secure_media=mandatory)
> 2021-01-21 15:36:48.773228 [DEBUG] mod_dptools.c:1672 SET verto.rtc/31000
> [rtp_secure_media]=[mandatory]
> 2021-01-21 15:36:48.773228 [CONSOLE] sofia_presence.c:1619 Event Thread
> Started
> EXECUTE [depth=0] verto.rtc/31000 export(rtp_secure_media=mandatory)
> 2021-01-21 15:36:48.773228 [DEBUG] switch_channel.c:1310 EXPORT
> (export_vars) [rtp_secure_media]=[mandatory]
> EXECUTE [depth=0] verto.rtc/31000 set(codec_string=G722)
> 2021-01-21 15:36:48.773228 [DEBUG] mod_dptools.c:1672 SET verto.rtc/31000
> [codec_string]=[G722]
> EXECUTE [depth=0] verto.rtc/31000 answer()
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:5594 Audio Codec
> Compare [opus:109:48000:20:0:2]/[G722:9:8000:20:64000:1]
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:5594 Audio Codec
> Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:5649 Audio Codec
> Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:5594 Audio Codec
> Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:5594 Audio Codec
> Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:5510 Set
> telephone-event payload to 101 at 8000
> 2021-01-21 15:36:48.773228 [WARNING] switch_core_media.c:5667 Crypto not
> negotiated but required.
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:5911
> verto.rtc/31000 Set 2833 dtmf send payload to 101 recv payload to 101
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:6239 No matches
> with FTMP, fallback to ignoring FMTP
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_media.c:6247 No matches
> with inherit_codec, fallback to ignoring PT
> 2021-01-21 15:36:48.773228 [WARNING] switch_core_media.c:6253 Crypto not
> negotiated but required.
> 2021-01-21 15:36:48.773228 [NOTICE] switch_channel.c:3908 Hangup
> verto.rtc/31000 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_session.c:2905
> verto.rtc/31000 skip receive message [APPLICATION_EXEC_COMPLETE] (channel
> is hungup already)
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:651
> (verto.rtc/31000) State EXECUTE going to sleep
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:585
> (verto.rtc/31000) Running State Change CS_HANGUP (Cur 1 Tot 1)
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:848
> (verto.rtc/31000) Callstate Change RINGING -> HANGUP
> 2021-01-21 15:36:48.773228 [DEBUG] switch_core_state_machine.c:850
> (verto.rtc/31000) State HANGUP
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:60
> verto.rtc/31000 Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:850
> (verto.rtc/31000) State HANGUP going to sleep
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:620
> (verto.rtc/31000) State Change CS_HANGUP -> CS_REPORTING
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:585
> (verto.rtc/31000) Running State Change CS_REPORTING (Cur 1 Tot 1)
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:936
> (verto.rtc/31000) State REPORTING
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:174
> verto.rtc/31000 Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:936
> (verto.rtc/31000) State REPORTING going to sleep
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:611
> (verto.rtc/31000) State Change CS_REPORTING -> CS_DESTROY
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_session.c:1726 Session 1
> (verto.rtc/31000) Locked, Waiting on external entities
> 2021-01-21 15:36:48.793250 [NOTICE] switch_core_session.c:1744 Session 1
> (verto.rtc/31000) Ended
> 2021-01-21 15:36:48.793250 [NOTICE] switch_core_session.c:1748 Close
> Channel verto.rtc/31000 [CS_DESTROY]
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:739
> (verto.rtc/31000) Running State Change CS_DESTROY (Cur 0 Tot 1)
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:749
> (verto.rtc/31000) State DESTROY
> 2021-01-21 15:36:48.793250 [DEBUG] mod_rtc.c:132 verto.rtc/31000 RTC
> DESTROY
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:181
> verto.rtc/31000 Standard DESTROY
> 2021-01-21 15:36:48.793250 [DEBUG] switch_core_state_machine.c:749
> (verto.rtc/31000) State DESTROY going to sleep
> 2021-01-21 15:36:48.833246 [DEBUG] mod_verto.c:607 WRITE
> 93.104.1.138:42084 [{
>         "jsonrpc":      "2.0",
>         "id":   2,
>         "method":       "verto.bye",
>         "params":       {
>                 "callID":       "360828a2-046a-0c70-8e20-8e23a5418cdf",
>                 "causeCode":    88,
>                 "cause":        "INCOMPATIBLE_DESTINATION"
>         }
> ```
>
> My question is: is there anything I can change to make it work with
> firefox. Any hints welcome.
>
> __
> s.
>
>
> _________________________________________________________________________
>
> 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
> 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/20210205/c4f6c513/attachment.html>


More information about the FreeSWITCH-users mailing list