...
NOTE: You MUST declare the hang-up function BEFORE you call the above line, otherwise your hangup hook will not be fired.
...
NOTE: You MUST declare the hang-up function BEFORE you call the above line, otherwise your hangup hook will not be fired.