Field Service

Get Involved. Join the Conversation.

Topic

    Sachin Rathod
    Send SMS to technician using OFSC
    Topic posted February 8, 2017 by Sachin RathodBlue Ribbon: 750+ Points 
    490 Views, 14 Comments
    Title:
    Send SMS to technician using OFSC
    Content:

    Hi All,

    What configuration do we have to do to enable sending sms to technician as part of notifications/actions?

    Is it sufficient to just update the technician's phone number in Resource Settings --> Resource Information --> Phone 

    The phone number should have country code included ?

    Regards,

    Sachin Rathod

    Comment

     

    • Zsolt Tolgyesi

      As far as I know only external system can do this for you and OFSC only able to trigger that. Other questions are related to your external system capabilities.

    • Hardik Gupta

      Hi Sachin,

      You need to use an external service like Twilio to send sms. So you basically need to setup an application on separate Server that has capability to send a SMS.

      The phone number and the text that should be included in the message should be sent using Outbound message scenario. You can use the appropriate trigger to send the message.

      Yes country code should be included. ( This can vary from the SMS service used.) For Twilio we need to use the country code.

      https://www.twilio.com/

      Regards,

      Hardik Gupta

    • Hilal Almalki

      Is the SMS application can read the phone number in the email itself and send SMS automatically?

    • Dmitriy Shcherbakov

      Hi Hilal,

      It's not really clear what you're asking..

      if you mean an SMS gateway, it's all up to this software, not the Field Service. OFSC itself only triggers and sends outbound messages to the gateway, which then has to parse it, convert into a suitable format and send to end users

    • Mohana Gopal Selvam

      Hi Gurus,

      Can anyone share the steps which we need to follow to send SMS? How OFSC will get the technician mobile number, where we need to define the SMS content in OFSC?

      Thanks,

      Mohan

       

    • Hardik Gupta

      Hi Mohan,

      1. You need to first get subscription to a Messaging provider. I have mentioned an example of Twilio.

      2. Go to Message Scenario: -- > ADD Channel.(This will be the details of MW you are using. IP, Password, PORT)

      3. Choose an appropriate launch condition like Complete, start activity etc.

      4. Then you need to setup a message scenario step for sending a message.The delivery channel will be the one you had setup in step 2.

      5. Add the subject and body in the patterns tab. This can be created the way your MW is expecting.

      Regarding the phone no. to be sent, you can populate an activity property with the phone number. You can include this property in the message body.

      Example: xa_cutomer_phone is the property. You can include this in message body of message scenario step. {pr_xa_customer_phone}.

      If you are checking out message scenarios for the first time then please try some thing easier and go through this guide.: https://docs.oracle.com/cloud/latest/fieldservicecs_gs/FAMSC/FAMSC.pdf

       

      Regards,

      Hardik Gupta

    • Mohana Gopal Selvam

      Hi Hardik,

      Thanks for your detailed explanation. Our vendor expecting the following format for sending the SMS. My question was how to setup this in Channel configuration. Since here they are not using any ports and we need to setup the sender name, user name & password. Kindly provide the steps for this kind of scenario. 

      http://best2sms.com/http.php?username=xxxx&password=xxxx&msg=testlink&texttype=text&numbers=xxxx&sender=xxxx

      Thanks,

      Mohan

    • Mohana Gopal Selvam

      Hi Gurus,

      Any one implement the SMS functionality using the below type URL. Kindly share the screenshot / steps.

      http://best2sms.com/http.php?username=xxxx&password=xxxx&msg=testlink&texttype=text&numbers=xxxx&sender=xxxx

      Thanks,

      Mohan

    • Shankar Narayanan

      Hi Mohan, Do you have knowledge of plugins? I had built a twilio interface based on user action based on the plugin. I sent the parameters to my php, formatted the object before passing the value to the Twilio API. Maybe it will be easier for you to custom actions in plugin.

      Thanks,

    • Mohana Gopal Selvam

      Hi Shankar,

      Thanks for your response. I have not worked on Plug-Ins so far. Can you highlight the list of prerequisites which we need to implement the plug-ins? Do we need any middleware?

      Thanks,

      Mohan

    • Shankar Narayanan

      Hi Mohan,

      You need an app server & web developer to do build & deploy plugins. There is detailed documentation on how plugin works. It is a powerful tool to do several customizations in OFSC.  Most of the client plugins needs HTML5 + Core php, however using angular5 with redux architecture in building mobile apps is the general directions web development is going towards, You can explore which one is needed based on your client needs. 

      Thanks,

    • Marcello Candura

      you could just subscribe an "email to sms" service. search for that on Internet. Then from message scenario you send the email to phonenumber@serviceprovider.url

      where the address is in technician's email resource info. 

       

       

    • Jeffry Husman
      Marcello Candura said:

      you could just subscribe an "email to sms" service. search for that on Internet. Then from message scenario you send the email to phonenumber@serviceprovider.url

      where the address is in technician's email resource info. 

      Hi Marcello,

      Any example of that "email to sms" service that you have ever used? Could you please share if you have one?

      Thanks

      Jeffry

       

       

      View original

       

    • Marcello Candura

      Hi, sorry for late answer....we have never tried the solution described as we just used normal email.

      The problem that could rise with a just email is that connectivity is poor in some work locations (for example undergrounds) but there is still gsm connectivity to receive SMS.

       

      regards