Now python ivr applications says:
[callPyEventHandler, Ivr.cpp:648] DEBUG: method onSessionStart is not 
implemented, trying default one?


Why its commented apps/ivr/IvrDialogBase.cpp?

static PyMethodDef IvrDialogBase_methods[] = {


  // Event handlers

  {"onRtpTimeout", (PyCFunction)IvrDialogBase_onRtpTimeout, METH_NOARGS,
   "Gets called on RTP timeout"
  },

  //     {"onSessionStart", (PyCFunction)IvrDialogBase_onSessionStart, 
METH_VARARGS,
  //      "Gets called on session start"
  //     },
  //     {"onBye", (PyCFunction)IvrDialogBase_onBye, METH_NOARGS,
  //      "Gets called if we received a BYE"
  //     },
  //     {"onEmptyQueue", (PyCFunction)IvrDialogBase_onEmptyQueue, METH_NOARGS,
  //      "Gets called when the audio queue runs out of items"
  //     },
  //     {"onDtmf", (PyCFunction)IvrDialogBase_onDtmf, METH_VARARGS,
  //      "Gets called when dtmf have been received"
  //     },
  //     {"onTimer", (PyCFunction)IvrDialogBase_onTimer, METH_VARARGS,
  //      "Gets called when a timer is fired"
  //     },

…..

————————————

Timofeev Dmitry
VoIP Engineer
Linux, Asterisk, Freeswitch, Cisco solutions
Skype: itsroot
icq: 227227933



_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to