We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

What's the difference between the <disconnect> tag and

Answers to common Plum DEV questions

Moderators: admin, support

Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA

What's the difference between the <disconnect> tag and

Post by support »

<disconnect> causes the interpreter to disconnect from the user and throws a connection.disconnect.hangup event, which may be caught to do cleanup processing, e.g..

<exit> returns control to the interpreter context, basically just ending the call. Since the <exit> element does not throw an "exit" event, no cleanup procesing can be performed.