onTransferred()

wrtc.onTransferred() occurs when a call has been transferred to another address.

You should use this event to indicate if call transfer was a success or not.

Occurs

When a call has been transferred. Event occurs on both ends of the call being transferred, both on the caller's and transferer's side.

Arguments

wrtc.onTransferred(call, ok, result)

  • call - call object raising the event (the old call object that will soon hang up if ok=true)
  • ok - boolean, true if transfer succeeded
  • result - string containing:
    • "OK transfer succeeded" - transfer succeeded (ok=true)
    • "OK blind transfer" - transfer will be made as a blind transfer (current call will hang up and then a new call will be attempted) (ok=true)
    • "ERROR transfer failed" - transfer failed (denied by person call was transferred to) (ok=false)
    • "ERROR no resources" - no slave necessary for transfer was available (ok=false)

See Also

ixnx/wrtc/js/api/wrtc/ontransferred.txt · Last modified: by tibor
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0