Answers.Body: <p>To send a auto-reply for an incoming SMS you can use <a href="https://civicrm.org/extensions/auto-reply-twilio-sms" rel="nofollow noreferrer">Auto-reply twilio</a> extension. You can modify the extension to support for your provider as this extension supports for only Twilio.</p>
  
  <p>HTH
  Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-26T09:39:48.653Z
Answers.LastActivityDate: 2017-12-26T09:39:48.653Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I need to automatically send MT SMS message as a response to forwarded MO SMS message.
  For that purpose, I created a new <code>send_mt()</code> function, but I cannot access Provider object to pick up parameters like provider URL for sending, username/password, etc.
  When I do var_dump, it shows that <code>_providerInfo</code> member is an empty array.
  Thank you for your help.</p>
  
Tags: <developer><civisms>
Title: Send new SMS from SMS callback function
ThreadText: # Send new SMS from SMS callback function
  
  (Asked by: username_0 on 2017-12-25)
  
  I need to automatically send MT SMS message as a response to forwarded MO SMS message.
  For that purpose, I created a new `send_mt()` function, but I cannot access Provider object to pick up parameters like provider URL for sending, username/password, etc.
  When I do var\_dump, it shows that `_providerInfo` member is an empty array.
  Thank you for your help.
  
  **Tags:** developer, civisms
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-12-26. Score: 2
  
  To send a auto-reply for an incoming SMS you can use [Auto-reply twilio](https://civicrm.org/extensions/auto-reply-twilio-sms) extension. You can modify the extension to support for your provider as this extension supports for only Twilio.
  
  HTH
  Pradeep
  
  
  ---
  
  