Search results

  1. Z

    SOLVED Creating new domain causes FreeSWITCH severe errors, maybe lua max string size issue

    Thanks @DigitalDaz. We found indeed a reason for the problem which is specific to our environment (and therefore no benefit in describing it here). Sorry everyone for the white noise.
  2. Z

    SOLVED Creating new domain causes FreeSWITCH severe errors, maybe lua max string size issue

    Hi, I have a large production FreeSWITCH + FusionPBX machine, >250 domains, each has its own Inbound Routes (and all other domain stuff). Suddenly, when creating a new domain, FreeSWITCH (switch_xml.c) started to complain about "unexpected closing tag </extension>", which is very bad because...
  3. Z

    Internal video calling

    In my switches we set the video codec in both outbound_codec_prefs and global_codec_prefs. We also ensure that the internal profile(s) refer to these global definitions in their inbound-codec-prefs and outbound-codec-prefs (these are the defaults). We also make external profile(s) to not use the...
  4. Z

    Internal video calling

    Have you restarted freeswitch after the change? Global configuration may apply only after restart.
  5. Z

    VoIP industry attacks

    You can configure fail2ban to block IPs after fewer attempts and for longer time. You can permit in your firewall (iptables or so) only IP addresses from your country (if your business is not global). IP lists per country: https://www.ip2location.com/free/visitor-blocker. iptables for example...
  6. Z

    How to force "originate" call go through the dialplan

    I'm implementing a lua script that is invoked for ESL (when there's no active call), dials to an external number, and when answered transfers the call to a local extension. Done like that: local session = freeswitch.Session("sofia/gateway/...") session:transfer(extension, "XML", domain) The...
  7. Z

    SOLVED Click to Call - not recording calls

    We had a similar situation in older versions of FusionPBX (4.0 or so). Our click2call is done via lua freeswitch.session object but I guess it's a similar issue. Changing last line of dialplan entry "user-record" from "action set api_on_answer=..." to "action export api_on_answer..." fixed it...
  8. Z

    No ringback tone for extensions, then suddenly it reappeared

    This is sort of crazy, maybe someone has faced the same. Some (but not all) extensions in a certain domain stopped sending ringback tone when dialed to. It was consistent for these extensions and reproducible in a simple extension-to-extension call. I could see valid early media SDP in both...
  9. Z

    Data appears with html entities in page "call center queue", field "timeout action"

    In a newer version of fusionpbx (4.4.11), page call_center_queue_edit.php, field "timeout action", html entities appear weirdly for characters like ':' (colon). For example I see "transfer&colon;111 XML my_domain&period;test&period;com" instead of "transfer:111 XML my_domain.test.com". In the...
  10. Z

    Is there a methodology to maintain the system as it gets very large

    Having 1000s of phones in many domains running for two years, the FusionPBX database (mainly table v_xml_cdr) and the recording folders get very large. Maintenance operations like backup take more and more time and become nearly infeasible in the night-window. I wonder if there's a recommended...
  11. Z

    Cannot send a fax

    I define a fax server and can receive a fax. But when I use the "new (fax)" functionality to send a fax from this server, it fails and FreeSWITCH log says: where '1234567' is the fax number I provided and 'domain_name' is the domain that contains the server. Adding a user with the name as in...
  12. Z

    Agent status is reset to "logged-out" at freeswitch restart, I want it to be preserved

    Seems there's no option to leave agent status empty in the UI. I'm pulling the question back, there are several issues like whether the FreeSWITCH mod_callcenter and FusionPBX use the same database (to allow access to the "agents" table from FusionPBX lua), whether either script...
  13. Z

    Agent status is reset to "logged-out" at freeswitch restart, I want it to be preserved

    Oh I suspected that FusionPBX generates callcenter.conf programatically, thanks for the reference. So I see that FusionPBX sets on start the agent status according to what it finds in table v_call_center_agents. And it seems that the data in this table is not up-to-date: I login to an agent, the...
  14. Z

    Agent status is reset to "logged-out" at freeswitch restart, I want it to be preserved

    FusionPBX 4.4.3. I see in freeswitch documentation that there's a mod_callcenter flag truncate-agents-on-load whose default is supposed to be false, yet the agent status changes at start. Tried to set this flag to false in autoload_configs/callcenter.conf (via the XML Editor) but nothing changed.
  15. Z

    Agent status is reset to "logged-out" at freeswitch restart, I want it to be preserved

    We have the freeswitch databases (like of mod_callcenter) on sqlite, regular file system. Our call center agents have default status of "logged-out". During the day they log-in and become "available". If freeswitch is restarted for whatever reason, the agents status is changed to "logged-out"...
  16. Z

    Letsencrypt script not working properly

    I'd start with chmod 777 and if this works, try to reduce permissions, chown etc.
  17. Z

    Making WebRTC work with GoDaddy SSL certificate

    After struggling with GoDaddy SSL certificates trying to make FreeSWITCH WebRTC work, I finally made it and happy to share this knowledge. For the (free) Let's Encrypt certificate, book FreeSWITCH 1.8 (page 100) says to do the following: cat fullchain.pem privkey.pem > wss.pem cat cert.pem...
  18. Z

    Issue when paging between CDR pages filtered by date & time

    We have an issue with FusionPBX 4.4.9 (but not in some older versions) that when opening the Call Detail Records page and filtering by Start Range, the first result page appears correctly but attempt to see the next page fails, a page with zero results is received. We investigated and saw that...
  19. Z

    Several FusionPBX share the same database

    Thanks for the answers. Both central database and replicated database sound good, and I understand that there's nothing inherent that prevents us of continuing with this project. Good!
  20. Z

    Several FusionPBX share the same database

    We plan to have multiple instances of a FreeSWITCH-FusionPBX server, for redundancy and load balance. We want any instance to be able to accept calls for any of the domains in the configuration, and a sip proxy in the front will make sure that SIP messages of a specific domain always go to the...