Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-02-27 23:12:30

arf
New member
Registered: 2020-02-27
Posts: 2

Twilio Extension - Can't receive Inbound SMS

I got this response when i tried posting to the callback URL

<pre>Exception Object
(
    [message:protected] => Invalid recipient
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => D:\xampp\htdocs\lhc\extension\twilio\bootstrap\bootstrap.php
    [line:protected] => 610
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => D:\xampp\htdocs\lhc\cache\compiledtemplates\4f30eb016ce809098e0fc0e06f873835.php
                    [line] => 2
                    [function] => processCallback
                    [class] => erLhcoreClassExtensionTwilio
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => D:\xampp\htdocs\lhc\lib\core\lhcore\lhmodule.php
                    [line] => 96
                    [args] => Array
                        (
                            [0] => D:\xampp\htdocs\lhc\cache\compiledtemplates\4f30eb016ce809098e0fc0e06f873835.php
                        )

                    [function] => include
                )

            [2] => Array
                (
                    [file] => D:\xampp\htdocs\lhc\lib\core\lhcore\lhmodule.php
                    [line] => 542
                    [function] => runModule
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => D:\xampp\htdocs\lhc\index.php
                    [line] => 44
                    [function] => moduleInit
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)
</pre>

Callback URL lhc.localhost.com/index.php/twilio/callbacks
Params
SmsMessageSid=SMd51b6d192e41e471abfb603ed9e3ff77
NumMedia=1
SmsSid=SMd51b6d192e41e471abfb603ed9e3ff77
SmsStatus=Received
Body=Hi there does it works
MessageSid=SMd51b6d192e41e471abfb603ed9e3ff77
AccountSid=AC4298a5f947aa2425942b9ea45a66c8ac
To=+19203998176
From=+17864606968

I tried logging the params and it's an empty Array

Last edited by arf (2020-02-27 23:45:56)

Offline

#2 2020-02-28 10:09:22

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Twilio Extension - Can't receive Inbound SMS

Hi arf, welcome on the live helper chat forum!
Are you using the latest live helper chat version and the extension is updated?
Are you using a supported PHP version?

I'm sorry but i cannot help with extensions.
You can try to look on the GitHub page:
https://github.com/LiveHelperChat/twilio

Open maybe an issue if you think there is problem with the extension:
https://github.com/LiveHelperChat/twilio/issues

Please before do this take a look at the documentation:
https://livehelperchat.com/documentation-6c.html

Enjoy and have a great day!


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2020-02-28 15:00:38

arf
New member
Registered: 2020-02-27
Posts: 2

Re: Twilio Extension - Can't receive Inbound SMS

I'm using PHP Version 7.2.

Offline

#4 2020-02-28 17:03:27

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Twilio Extension - Can't receive Inbound SMS

Thanks for the info.
Should be fine for now.
Please refer to my previous reply smile


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer