Skip to main content

Py Session Transfer

About

Transfer inbound caller to a different local extension.

Click here to expand Table of Contents

Synopsis

transfer(extension, dialplan, context)
  • extension - destination extension, eg, "411"
  • dialplan - dialplan name, eg, "XML" or use "" and system will use default
  • dialplan - context name, eg, "default" or use "" and system will use default

Example

self.session.transfer("411", "XML", "default")

self.session.transfer("411", "", "")