Search results

  1. M

    FusionPBX SMS Integration with Bandwidth

    under SMS tab at MDR's are you seeing any records? Did you check fs_cli to while you are sending incoming message?
  2. M

    FusionPBX SMS Integration with Bandwidth

    can you share the error.log so I can review?
  3. M

    FusionPBX SMS Integration with Bandwidth

    Robert, Make sure the DID# in the SMS Destination Matches the DID# in the voicemail settings SMS To field. I use the format as 1XXXXXXXXXX.
  4. M

    FusionPBX SMS Integration with Bandwidth

    Robert, As @Jonathan Black said it's depends on your error.log. It might be an ACL issue as the Bandwidth send inbound messages from various IP Addresses. below are the list of IP addresses I got from Bandwidth. If its a ACL issue then once you add the below in your ACL then you should start...
  5. M

    FusionPBX SMS Integration with Bandwidth

    Robert, The outbound message uses the path ./usr/share/freeswitch/scripts/app/sms/index.lua for sending outbound. in the Index file you have to add the application filed at carrier Bandwidth section cmd="curl -v -X POST " .. api_url .." -u " .. access_key .. ":" .. secret_key .. " -H...
  6. M

    FusionPBX SMS Integration with Bandwidth

    Hi Robert, We required to add a filed called "application id" to your index.lua file? where is your index.lua file located? can you post the error.log
  7. M

    FusionPBX SMS Integration with Bandwidth

    Maybe we have to work on the V2 and convert the code according to it. I found some info from Bandwidth about V1 vs V2 this might shed some light on the changes that we have to make...
  8. M

    FusionPBX SMS Integration with Bandwidth

    Hi, I have worked on the index.lua and added the applicationId filed to it. I am able to send out messages and inbound message mostly I am getting repeatedly and when I query bandwidth they are seeing HTTP 502 from the server side. Do you have the working sms_hook_bandwidth.php so that I can...
  9. M

    FusionPBX SMS Integration with Bandwidth

    for the duplicate messages Bandwidth is seeing HTTP 502 error. Below is the log from Bandwidth: I am seeing a pattern where we will send the call back and get that 502 error. Then if you look, the last attempt for each does not return an error. cdff182e-95c3-4a32-9e0a-20c5919d73c4 2021-04-02...
  10. M

    FusionPBX SMS Integration with Bandwidth

    Hi, Inder, I have tried the code but still getting duplicate inbound messages. below is the error log: 2021/04/02 08:18:56 [error] 587#0: *878 FastCGI sent in stderr: "PHP message: [SMS] REQUEST: Array ( [USER] => www-data [HOME] => /var/www [HTTP_CONTENT_TYPE] =>...
  11. M

    FusionPBX SMS Integration with Bandwidth

    Inder, Thanks for the help. In the earlier posts Jonathan mentioned to me that you are working on MMS to work with Bandwidth do you have any luck with it.
  12. M

    FusionPBX SMS Integration with Bandwidth

    Hi Inder, below is the code: <?php include "../root.php"; require_once "resources/require.php"; require_once "../sms_hook_common.php"; if ($debug) { error_log('[SMS] REQUEST: ' . print_r($_SERVER, true)); } if (check_acl()) { if ($_SERVER['CONTENT_TYPE'] == 'application/json...
  13. M

    FusionPBX SMS Integration with Bandwidth

    When I tried it I am getting below: 2021/04/01 18:13:58 [error] 582#0: *6636 FastCGI sent in stderr: "PHP message: [SMS] REQUEST: Array ( [USER] => www-data [HOME] => /var/www [HTTP_CONTENT_TYPE] => application/json; charset=utf-8 [HTTP_USER_AGENT] => bandwidth-api...
  14. M

    FusionPBX SMS Integration with Bandwidth

    below is the log from bandwidth for 502 error: I am seeing 502 errors on the IDs you have provided. Please see the error logs below. There are many more errors like these for the message IDs, but here are just examples: 2021-04-01 14:20:32.374 ERROR [callback-consumer-worker-344]...
  15. M

    FusionPBX SMS Integration with Bandwidth

    I will try this... Also bandwidth is saying they are seeing HTTP error 502 for some of the duplicate message. I am trying to find out the cause.
  16. M

    FusionPBX SMS Integration with Bandwidth

    Jonathan, below is the response I got from Bandwidth about duplicate delivery: 2021-04-01 00:16:16.151 ERROR [callback-consumer-worker-406] [CallbackSender.java:49] Temporary HTTP error sending callback: httpStatusCode=[500], rateLimit(/sec)=[1000.0]...
  17. M

    FusionPBX SMS Integration with Bandwidth

    I have asked the T-Mobile subscriber to send a long text message and for that also single word (Long Message) keep coming as duplicate message.
  18. M

    FusionPBX SMS Integration with Bandwidth

    Hi Jonathan, Thanks for helping me out. The code works perfectly. inbound and outbound sms is working now. Also when I send an outbound message 200 character it was delivering to the recipient as two messages. When I test the inbound with 200 character message I got the full text in single...
  19. M

    FusionPBX SMS Integration with Bandwidth

    When I use this code I am getting callbacks on outbound messages. Below is the error log: PHP message: [SMS] REQUEST: Array ( [0] => stdClass Object ( [time] => 2021-03-31T23:44:16.875Z [type] => message-delivered [to] => +1XXXXXXXXX...