Specify 'from' in sms send extention

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tziere
    Member
    • Jul 2020
    • 42

    Specify 'from' in sms send extention

    Hi all,

    In the documentation it it mentioned that you can specify from when using the sms sending formula: https://docs.espocrm.com/administrat...la/#extsmssend

    Has anyone sucessfully done this? If I try to do this like this:

    Code:
        $smsId = record\create(
            'Sms',
            'from', from,
            'to', to,
            'body', sendBody
        );
    It doesnt work. I have multiple phone numbers in Twilio, so I cant use Administration > SMS as a single phone number.
Working...