Search results

  1. 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...
  2. 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] =>...
  3. 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.
  4. 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...
  5. 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...
  6. 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]...
  7. 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.
  8. 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]...
  9. 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.
  10. 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...
  11. 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...
  12. M

    FusionPBX SMS Integration with Bandwidth

    Hi, I have tried both codes. when I use the code: I will use the code button in further. sorry for inconvenience. when I use this code and send outbound messages I can see the callbacks coming from bandwdith in error logs but they are not delivered to the end point :). As the incoming is...
  13. M

    FusionPBX SMS Integration with Bandwidth

    This is what I have in hook file: <?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...
  14. M

    FusionPBX SMS Integration with Bandwidth

    Thanks for Clarification. I think I have to get PHP skills;), when I tried the code this is what I am seeing is below but still getting the response back 2021/03/31 18:01:59 [error] 583#0: *7 FastCGI sent in stderr: "PHP message: [SMS] REQUEST: Array ( [USER] => www-data [HOME] =>...
  15. M

    FusionPBX SMS Integration with Bandwidth

    When we send outbound I believe it won't go through the sms_hook_bandwidth.php. below is the log of the fs_cli when we send outbound, I am getting some curl response back from bandwidth: 2021-03-31 17:38:15.087472 [NOTICE] switch_cpp.cpp:1365 [sms] DIRECTION: outbound 2021-03-31 17:38:15.087472...
  16. M

    FusionPBX SMS Integration with Bandwidth

    When I send a message out I am still getting the call back. Still inbound coming as blank message body and from and To as 0
  17. M

    FusionPBX SMS Integration with Bandwidth

    My recipient is getting outbound message.
  18. M

    FusionPBX SMS Integration with Bandwidth

    When I have posted the error to Bandwidth support they have replied me with this: Are you using one of the Bandwidth Sdk's, or is this error being generated by FusionPBX? The good news is that on our end we are successfully sending you inbound messages as well as outbound message callbacks to...
  19. M

    FusionPBX SMS Integration with Bandwidth

    Hi, When I use the code I got the below error: PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type s
  20. M

    FusionPBX SMS Integration with Bandwidth

    @inder.singh any suggestions on my post?