Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: af3a6e30ac
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.901 kB
// --------------------------------------------
// call transfer example
// See http://www.tropo.com for more info
// --------------------------------------------
print(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + callFactory);
say("transferring to ");
def ncall = transfer("sip:914074181800@10.6.63.201", [
answerOnMedia: false,
callerId: "+14075551212",
timeout: 60.3456,
method: "bridged", // fixed to bridged currently
playrepeat: 3,
playvalue: "Ring... Ring... Ring...",
onSuccess: { ncall-> log("*********transfered to $ncall.value.calledID") },
onError: { ncall-> log("*********transfer error") },
onTimeout: { ncall-> log("*********transfer timeout") },
onCallFailure: { ncall-> log("*********transfer failed") }
]
)
print(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + ncall);
Jump to Line
Something went wrong with that request. Please try again.