Jump to content

mc_

Administrators
  • Posts

    1,796
  • Joined

  • Days Won

    4

Posts posted by mc_

  1. Is there a  reason not to use the "user" callflow and assign/unassign devices from there as appropriate? Then you can have children of the user callflow action that branch based on the SIP response.

    {"module":"user"
     ,"data":{"id":"{USER_ID}"
     ,"children":{
        "sip:404":{
           "module":"resources"
           ,"data":{"to_did":"{FORWARD_NUMBER}"}
           ,"children":{"_":{"module":"voicemail",...}}
        }
        ,"sip:486":{...}
        ,"_":{
          "module":"voicemail"
          ,"data":{"id":"{VMBOX_ID}"
        }
     }
    }

    I think this would be more robust that managing a ring group (unless you have many users involved?).

  2. Regarding the API, it's all a matter of preference I guess. Joris posted about Postman that the UI team uses to whip up API calls quickly. I have scripts the authenticate and export relevant vars to my shell's env to speed up stuff. I know how painful it can be to track down what areas of Kazoo need intervention when DB changes occur.

    Anyway, if you can get logs of the first and second attempts (where first succeeds and second doesn't), it may be instructive on what the differences are. Nothing comes to mind for why that observed behavior is happening.

  3. This looks really nice!

    I would consider adding, either on the main README or in an INSTALL or similar file, copy/paste-able shell commands for each of the installation steps. What is intuitive and obvious to you may not be to others and having an example shell session will provide more feedback as people try setting this up for themselves. For instance, if I wanted to play with this, I would need to dig up how to add the user for SSH and sudo, running the Kazoo commands, etc.

    If there are more hooks into Kazoo that would make life easier for setting this up, do let us know! Anything we can do to facilitate easier setup and maintenance, we'd like to know about.

    Thanks again for this work and sharing it with the community.

     

  4. I think the endpoint callflow actions, like device, user, etc, should be extended to support custom_sip_headers in the "data" portion. Then when building the endpoints, the CSHs can be applied after the endpoints are built to any endpoints found. I don't think setting CSHs on the kapps_call record affects anything (at least not with a cursory browsing).

  5. Correct. Kazoo will still try to read the voicemail, for instance, for playback during a call to check a voicemail box. Kazoo will not delete attachments, however, if the metadata is deleted. Where the attachment resides is transparent to the higher level apps like Crossbar - the low-level driver will fetch the attachment and hand it up to Crossbar, cf_voicemail, wherever it is needed.

  6. Hi!

    First, I would at least upgrade to 3.22, the last stable version of the 3.x series. This should be straightforward enough, if you've been tracking releases thus far. Ideally you would upgrade to 4.1 which would make error reports like this much more valuable.

    As for the missing CHANNEL_DESTROY events, it's hard to say where things are getting lost without logs. If you can get debug logs of a call where the caller hangs up during cf_play but the callflow continues to record/acdc queue, it might be easier to see where things get out of sync.

    Again, I would recommend upgrading your Kazoo version and re-test unless you're prepared to patch your system yourself.

     

×
×
  • Create New...