Jump to content

mc_

2600Hz Employees
  • Posts

    1,765
  • Joined

  • Days Won

    4

Posts posted by mc_

  1. @Eduardo Almeida The "easier" option might be to set the syslog logging level to debug for a time, capturing the logs you want, then using tools like grep to extract the log lines you're interested in.

    In general log lines will contain the call-id (or API request-id) and the erlang module / line number in the source file where the log line was called, followed by the message.

    You should be able to "attach" to the running Erlang VM to run your trace command - my guess off hand is the trace is tied to the PID you start the trace with and, when your erl_call is done, that PID (and trace) die. Why the node is unresponsive after that I don't know.

    Aside - 3.18 last got attention in 2015. You might want to encourage time/money to be spent upgrading (or investigating hosting with us) as the scalability and feature set of latest KAZOO versions (4.3 currently for community members, 5.0 for paid members) are leaps and bounds better than the 3.x series. If you are comfortable talking about the custom code and its goals, we could also see if you can use stock KAZOO now as well.

    Welcome to the land of Erlang; its the best koolaid of any language out there! (probably)

  2. Outbound calls from the phones take a different path through KAZOO. But, knowing they can make calls means their credentials are likely correct.

    For inbound calls, you need to check the "Call History" in SmartPBX for those calls and see if there are "b-legs" generated to the devices. Check the hangup cause to give hints on why the call wasn't delivered. If this is your KAZOO cluster, you can check logs from FreeSWITCH and Kamailio for the SIP side.

  3. The module will look for a child branch in "children" that matches the value found at "variable"'s path in the "scope" data structure.

    So if "scope" is "custom_channel_vars" and "variable" is "authorizing_type", the module will look for children based on "authorizing_type" (like "device", "resource", etc) in the call's "custom_channel_vars" JSON object

     

  4. Firewalls with SIP ALG typically target UDP (and maybe TCP) packets destined for port 5060 on the remote side.

    When ALG can't be turned off at the client site, moving traffic to port 7000 (a typical alternative SIP port) makes the packets pass through the firewall unmolested.

    Adding TLS obviously encrypts the packets to keep them from being mangled as well - not required to move to 7000 to do this. Not sure if there's a standard or convention, but I think TLS-enabled connectivity targets ports 5061 and 7001 on KAZOO: https://github.com/2600hz/kazoo-configs-kamailio/blob/69840f0c5a11237b1b216072e411d3d98df006eb/kamailio/listener-defs.cfg#L9

  5. On 4/4/2022 at 4:28 PM, Bitrate said:

    Greetings and thank you for making such a great open source project!

    We're also using the open source version and are interested in purchasing apps from you guys.  Whats going on with this and the open source 5.0 release? Also, whats the timeframe on the 4.3 re-release with all the apps? 

    4.3 remains open. Aside from high priority bug fixes and such, that branch is "done". So the latest 4.3 RPMs represent the end of the line for that development.

    For 5.0 + purchasing private apps, there should be annoucements at this year's virtual KAZOOCon. We're anxious to get 5.0 back into public repos but want to make sure as many issues are ironed out before doing so.

  6. use_local_resources:true will check the account for carrier docs; use only if the account itself has carriers defined.

    DIDs on the system are forced outbound by either carrier module = knm_local OR "force_outbound" set to true (I think just those two).

    Try `sup stepswitch process_number {DID}` and see if the output includes forcing the DID offnet. If using local resources, I think you can add the account ID as an argument after {DID}.

  7. When the endpoint with "push" settings is being built, the code doesn't know yet if the SIP device itself is registered or reachable yet. So the "push" options are delayed 5s to allow the SIP device a chance to be contacted. If there's no registration or the network doesn't work to deliver the call to the SIP device, the "push" device is called (meaning push notification sent and Kamailio is ready and waiting for the SIP device to register its new location on the network.

×
×
  • Create New...