Search results

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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"...
  8. 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...
  9. 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...
  10. 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...
  11. Z

    v4.4.9 - Adminer throws error at Login.

    This info is for those who may face the issue. After installing v4.4.9, the Adminer throws an error when we fill the user and password and then click Login. The error is in file /app/adminer/adminer.php. The line is like return(min_adminer_version("5.5.3",0,$g)?"utf8mb4":"utf8"); The message is...
  12. Z

    v4.4.9 - delete CDR failed, bad php syntax

    Hi, For other who may face this issue: After installing 4.4.9, we could not delete CDR records. Looking into the php, parenthesis is missing. After adding it everything is ok. The error is in /app/xml_cdr/xml_cdr_delete.php on line 51. The line was like: if (is_uuid($xml_cdr_uuid) { I...
  13. Z

    CDR destination_number doesn't honour bridged call

    We have a call center implementation. (A) Calls go from an inbound route via (B) a ring group to the call center, (C) in the call center's timeout action, the calls are transferred to a call group that (D) has a timeout action to transfer the calls to an external number that (E) has an outgoing...
  14. Z

    Column pdd_ms out of range, CDR row not written

    Hello, Trying to understand why CDR rows are sometimes not written to v_xml_cdr for calls, I added some logging to database.php and found the error: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'pdd_ms' at row 1 (It's MySQL). The value 1264 in the error is...
  15. Z

    FusionPBX / FreeSWITCH education

    Not sure this is the right place to ask, sorry if not. After few months of working with FusionPBX + FreeSWITCH, we achieved a lot, we have several production customers of various sizes, yet we feel lack of knowledge in regard to capabilities, mainly around the dialplan. Our trial and error...
  16. Z

    A call wasn't created or disappeared from CDR list

    Hi, We had today a situation of a call that has no row in database table v_xml_cdr, and therefore doesn't appear in the Call Record Details UI. * We see this call in the FreeSWITCH log * The call's recording file exists on disk in the correct folder...
  17. Z

    Phone re-REGISTER on a 2nd connection although already registered

    Hi, We have a certain phone (Yealink) that normally re-REGISTER to FusionPBX 4.4.3 + FreeSWITCH 1.8.4 in a fixed interval, but sporadically attempts to re-REGISTER sooner, apparently on a different TCP connection. FreeSWITCH agrees and puts two "contact:" headers in the "200 OK" response, e.g...