Jump to content

mc_

2600Hz Employees
  • Posts

    1,766
  • Joined

  • Days Won

    4

Posts posted by mc_

  1. Hi Ash,

    First, welcome! Glad you're here!

    I would start by looking at the SDP in the A-leg's INVITE to see codecs offered, as well as what codecs are then offered to the B-leg from FreeSWITCH. Could be a transcoding issue or misconfigured codec selection.

    Payload type 0 is typically PCMU but you're log shows PCMA being used. Perhaps look into what codecs FreeSWITCH thinks are loaded? `fs_cli -x 'show codecs'` should list `codec,G.711 ulaw,CORE_PCM_MODULE` among others.

  2. Multiple instances of each app are definitely encouraged and supported!

    Unfortunately I cannot think of why multiple instances might affect saving media. Would require more investigation for sure.

    The basic idea is, when KAZOO is ready to store the recording, it builds a URL to a media_mgr instance for FreeSWITCH to stream the recording off the server to the media_mgr server. Once received, the process in media_mgr will 'save' the recording which should use your storage plan's config to save to the configured backend.

    Hopefully you can use the mp3 filename to key in on logs on nodes running ecallmgr and media_mgr.

  3. So the proxy URL built is to stream S3 attachment to kazoo media_mgr node, then FreeSWITCH is given this proxy URL to fetch the media from (instead of FreeSWITCH going direct to S3).

    As for the timezone issue, I'm not sure what's causing that crash when getting unix epoch for your timezone. I can manually run the code fine with 'Asia/Jerusalem' as the timezone.

    Can you find that message's metadata in the MODB and see what the 'timestamp' key is set to?

  4. In this case, the app `media_mgr` is setting up that URL to feed to FreeSWITCH for getting the recording off FreeSWITCH. Once received from FreeSWITCH, media_mgr will attempt to store the media to the configured backend.

    So check any nodes where media_mgr is running (ensuring log level is debug) and you should see kz_att_* logs related to the attempt to upload the file to the storage backend.

  5. You want to set `gateway_strategy` to `random` on the top-level of the document (not per-gateway). See the schema at https://docs.2600hz.com/dev/applications/crossbar/doc/resources/

    Sequential will dial the gateways in the order they appear in the array; random will shuffle the array and dial in that randomized order. Assuming the shuffle is "random" enough, you should see a roughly even balance of which gateway is dialed first.

  6. Look at the flag for 'gateway_strategy'; can be 'sequential' or 'random'. Then you can define one resource with 3 gateways and shuffle between them.

    With resources of the same weight, there is no expected or implied order; its kinda up to the system and how things are fetched from the database.

×
×
  • Create New...