Interface

March 26, 2020 Contributors

Function Interface and Parameters

12.2.1.1. Function Interface for Luafunction mod:smpp_MO_conversion (msg) 12.2.1.2. Function Interface for C

static int sample_smpp_MO_conversion_hook (void  *gself,
ec_message * m)

Parameters

  • ec_message

Message Context Variables

Context Key Name C "#define" name Description
MO_Email_From_Address email from address to use when converting MO sms to email
MO_Email_To_Address email to address to use when converting MO sms to email
MO_Email_Subject email subject to use when converting MO sms to email
MO_Email_Text blob email text to use when converting MO sms to email
MO_Email_Data_Coding email data coding to use when converting MO sms to email

Return Values

  • SMPP_CONTINUE

  • SMPP_DELIVERED

  • SMPP_PERMFAILED