Search results

  1. Adrian Fretwell

    SOLVED custom app UUID

    For generating type 4 UUIDs I use this simple bit of code, it's not my work but I don't know where it came from: #!/usr/bin/php <?php echo sprintf( '%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), mt_rand( 0, 0xffff ), mt_rand( 0, 0x0fff ) |...
  2. Adrian Fretwell

    Grandstream 1st second of audio cut off

    I had a similar issue with a Yealink W52p, the customer would answer the call but need to say "Hello" 3 or 4 times before the audio started properly. I captured several packet traces and these all showed the RTP streams starting immediately on answer. It turned out to be a firmware issue with...
  3. Adrian Fretwell

    Cross Tenant Dialing

    It's relatively easy, I assume you noticed is_local option in the above thread. Not sure it is the correct approach but I do it in an outbound route by setting the variables ${domain_name} to the destination domain and ${domain_uuid} to the UUID of the destination domain. Then I bridge to...
  4. Adrian Fretwell

    Problems with Follow Me

    Don't know if you found this post: https://www.pbxforums.com/threads/follow-me-issue-with-external-destinations.3196 I never did get follow me to work with an external number if the SIP trunk provider required proxy authentication.
  5. Adrian Fretwell

    Whats your Biggest deployment?

    I use XCP-ng (https://xcp-ng.org/) which uses the Xen hypervisor (https://xenproject.org/developers/teams/xen-hypervisor/)
  6. Adrian Fretwell

    Whats your Biggest deployment?

    This is a very interesting discussion. My gut feeling is that the limits revolve around the number of concurrent calls rather than the number of end points registered. We have one tenant with over 300 phones but most of them are rarely used so the concurrent call count is low. Capacity will...
  7. Adrian Fretwell

    Extension as tls

    There are dozens of tutorials around on the net covering creating your own self signed certificates, but a simpler approach for Fusion would be to use Letsencrypt. This is documented in the FusionPbx Docs. https://docs.fusionpbx.com/en/latest/getting_started/lets_encrypt.html
  8. Adrian Fretwell

    error: SQLSTATE[08006] [7] FATAL: index "pg_attribute_relid_attnum_index" contains unexpected zero page at block 0 HINT: Please REINDEX it.

    Hi Sami, it looks like your original "issue with the fie system" may have damaged more than just the catalog indexes. The data you are rebuilding the indexes from may itself be corrupt. Do you have a backup you can restore from, if so, restore it to a clean separate machine if you can and...
  9. Adrian Fretwell

    Fake extension ringing state

    I don't think many use FIFOs any more for this kind of job. It may be better for you to look at the Call Center functionality to see if any of that can be made to fit your use case.
  10. Adrian Fretwell

    Provisioning Template Variables

    This thread may also be helpful to you... https://www.pbxforums.com/threads/provisioning-templates-syntax.2859/
  11. Adrian Fretwell

    Vary greeting of voicemail based on how/when a call is sent

    @roger_roger Sorry for the delay in responding, I have been out of the office for a week. To set the variable from an IVR option just add a set statement with the same option number, here is a screen shot of one of mine that may help. Option 1 goes to the voicemail of extension 301 with the...
  12. Adrian Fretwell

    error: SQLSTATE[08006] [7] FATAL: index "pg_attribute_relid_attnum_index" contains unexpected zero page at block 0 HINT: Please REINDEX it.

    Sami, as I said before you should start your server with the -P option to stop it trying to use the corrupted catalog indexes while you are trying to fix it. Depending on your installation, and please read the manual, you will probably need to do something like this: ~/fusionpbx# pg_ctlcluster...
  13. Adrian Fretwell

    Vary greeting of voicemail based on how/when a call is sent

    You can do it by setting a channel variable to override the greeting set in Apps->Voicemail->Greetings voicemail_greeting_number=1 will play greeting_1.wav voicemail_greeting_number=2 will play greeting_2.wav etc.
  14. Adrian Fretwell

    error: SQLSTATE[08006] [7] FATAL: index "pg_attribute_relid_attnum_index" contains unexpected zero page at block 0 HINT: Please REINDEX it.

    I'm no pgsql expert BTW, but have successfully re-indexed when given the "HINT" to do so. How did you attempt to reindex? Did you use the command line tool? reindexdb -s see man reindexdb.
  15. Adrian Fretwell

    error: SQLSTATE[08006] [7] FATAL: index "pg_attribute_relid_attnum_index" contains unexpected zero page at block 0 HINT: Please REINDEX it.

    This looks like an internal Postgresql error and not (directly) related to FusionPBX. I'm pretty sure that the index you mention is a system index. Have a look at the manual page at this link: https://www.postgresql.org/docs/9.4/sql-reindex.html Note what it says about repairing system...
  16. Adrian Fretwell

    Moving the call Recording Location

    @falk this is an old thread, but I have given a response that may help you. Your create symbolic link statement does not look right to me. I agree with DigitalDaz the simplest thing to do is mount your recordings storage on /var/lib/freeswitch/recordings. But you must do something with any...
  17. Adrian Fretwell

    Busy Signal

    It's a while ago, but I think we solved this by setting continue_on_fail=false in the outbound route prior to the bridge statement.
  18. Adrian Fretwell

    Hostname

    Additional info. The hostname is also in these files - change with a text editor: /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_ecdsa_key.pub /etc/ssh/ssh_host_ed25519_key.pub /etc/ssh/ssh_host_rsa_key.pub
  19. Adrian Fretwell

    IVR ID to Extension Fusionpbx

    As JamesBorne says, in your case, the place to add the ident tag is in the CID Name Prefix field in the Ring Group. From looking at your first screenshot, it looks like the CID Name Prefix field is not available to you. This is just a permissions thing. In Advanced->Group manager, find the...
  20. Adrian Fretwell

    SOLVED Polycom doesn't hang up

    It does sound like a NAT related issue, I always disable ALG or SIP helper on the router if I can. Sometimes just so I can understand exactly what the router is doing, I will packet capture on the LAN and WAN side simultaneously so I can see what changes have been made to Contact headers, Via...