Search results

  1. Adrian Fretwell

    Lua script for call forwarding to external number

    So are you saying that your SIP Provider is rejecting the call because they don't like the CID you are sending? You control the effective caller id number in your lua script.
  2. Adrian Fretwell

    G729 Codec Help

    If the codecs listed in 'sofia status profile internal' don't match what you have in variables, check that your profile settings are using $${outbound_codec_prefs} and $${global_codec_prefs} If they are try reloading the SIP profiles. You may need to restart freeswitch if the $${} variables are...
  3. Adrian Fretwell

    Lua script for call forwarding to external number

    It looks like you are recieving the 404 from your SIP provider: 2024-01-23 04:15:35.289034 98.00% [DEBUG] sofia.c:7487 Channel sofia/external/4695149600 entering state [terminated][404] 2024-01-23 04:15:35.289034 98.00% [NOTICE] sofia.c:8729 Hangup sofia/external/4695149600 [CS_CONSUME_MEDIA]...
  4. Adrian Fretwell

    Lua script for call forwarding to external number

    Your lua looks pretty much OK to me. A couple of points: 1. Make sure that "resources.functions.sipharmony_api" actually exists and compiles OK, comment it out for now and re-test. 2. To make debugging easier, comment out the second bridge statement. If you log in to your box and run fs_cli...
  5. Adrian Fretwell

    SOLVED SRTP

    I don't think there is. We need to think of SSL/TLS and SRTP as two completely separate things. You can enable SRTP with or without TLS by adding the following to your dialplan: <action application="set" data="sip_secure_media=true"/> You generally do this in each leg of the call to be fully...
  6. Adrian Fretwell

    G729 Codec Help

    Hi, Have a look at "inbound-codec-negotiation" in your SIP Profiles. I think that by default it is set to "generous" which means FreeSWITCH will try to accommodate the coded priorities requested by the endpoint. I always set it to "greedy", that way it is more likely that the negotiation will...
  7. Adrian Fretwell

    DjangoPBX Applications Repository

    Hi, I'm glad you like the name, it took quite some time to end up with it, it started life as LitePBX. The REST is just a DB wrapper at the moment, but my intention is to add the actions like, for example, populating the dialplan when a new domain is created.
  8. Adrian Fretwell

    DjangoPBX Applications Repository

    Following a request for a browser based FreeSWITCH terminal application. I have now created a DjangoPBX Applications repository: https://github.com/djangopbx/djangopbx-applications This repository is intended for additional applications that will not form part of the main DjangoPBX...
  9. Adrian Fretwell

    DjangoPBX login Error

    Certainly not what you want to see. Was the Server Error (500) really displayed below the login dialog or did you get that when trying to log in? If it is the latter, then maybe some default settings were not loaded correctly or the default domain was not created correctly. Will you post or...
  10. Adrian Fretwell

    Move FreeSWITCH DB from SQLite into PostgreSql

    Over the next few days, we will be introducing a change that will move the FreeSWITCH database from SQLite into PostgreSql. The key reason for doing this is to allow the FreeSWITCH database to be read directly from within the DjangoPBX application. The benefits of doing this will be better and...
  11. Adrian Fretwell

    How to change "from-user" of gateway in dialplanxml

    I Believe it is common practice to leave the From User blank in the gateway and set the effective_caller_id* variables in the outbound route:
  12. Adrian Fretwell

    Move freeswitch from sqlite to postgresql

    There have been a few posts on this forum in the past regarding the SQLite is BUSY warning and it was decided that this was normal freeswitch behavior. However, I would not expect to see that message if we are using PostgreSql. I don't know the answer because I don't have enough experience of...
  13. Adrian Fretwell

    Move freeswitch from sqlite to postgresql

    No problem. I have just moved FreeSWITCH over to PostgreSql on my DjangoPBX dev box. I too found that callcenter.db was still being recreated, this is because the mod_callcenter configuration is being delivered dynamically, in my case via mod_xml_curl, and I guess for FusionPBX, via the .lua...
  14. Adrian Fretwell

    Move freeswitch from sqlite to postgresql

    Hi Chris, this is something I am quite interested in. I have always stuck with SQLite in the past because it seems to work quite well for the sort of loads we put on it. But now I've written my own GUI wrap around FreeSWITCH, I am starting to think about the advantages of having the FreeSWITCH...
  15. Adrian Fretwell

    FusionPBX 4.5 Specifically.

    Ok, So please forgive me for asking because I don't use FusionPBX, but can you no longer set IVR variables in Fusion V5? Maybe if that is the case you can create a dialplan entry with destination set to true (so you can choose it in the IVR options), that sets the variables and then transfers...
  16. Adrian Fretwell

    FusionPBX 4.5 Specifically.

    I think you will run into a huge amount of problems if you are trying to install from scratch. 1. You will need a copy of Debian9 or Debian10 and probably set the repositories archive or similar. 2. You will need to get Debina9/10 packages for FreeSWITCH etc. or work out how to compile...
  17. Adrian Fretwell

    FusionPBX 4.5 Specifically.

    No, that will just get you a copy of FusionPBX V.4.5.11. If you need an installer, you will have more work to do...
  18. Adrian Fretwell

    FusionPBX 4.5 Specifically.

    There is a 4.4.1 release available: https://github.com/fusionpbx/fusionpbx/releases/tag/4.4.1 Alternatively the following will get you close: cd /usr/src git clone https://github.com/fusionpbx/fusionpbx.git cd fusionpbx git reset --hard 92acfdd 92acfdd is the last commit on the 18th...
  19. Adrian Fretwell

    SOLVED dialplan question ?

    It is generally for channel variables If you set a channel variable and you want to use or evaluate it immediately then inline = true allows you to do this. Otherwise the channel variables are set after all of your XML has been evaluated.
  20. Adrian Fretwell

    Move freeswitch from sqlite to postgresql

    Just a guess, but maybe FreeSWITCH is starting before PostgreSQL is ready. In my own PBX installations I modify the /lib/systemd/system/freeswitch.service file and add: Requires=network.target local-fs.target postgresql.service After=network.target network-online.target local-fs.target...