Frequently answered questions. Feel free to ask your own questions. We will answer then as soon as we can.
Q: How do I transfer a call to a UA
[17:02] <Verifier> MikeJ: Yeah. But I could do a session.originate and then bridge. That would work like a transfer. Right? i.e. connecting the caller with an UA [17:03] <MikeJ> no.. it would block your script [17:03] <anthm> no but if that's what you want to do then it's fine [17:03] <anthm> calling out to somewhere is a bridge [17:04] <anthm> transfer is to take your inbound call and go run some different script for example
Q: How can I make a delay (to make a pause between phrases?)
jsrun script.js arg1 arg2 ...
These can be accessed as argv, argv,.. in the script
If you're running the script as an application for originate command
console_log("notice","<Whatever you need to print>");
--Gakul 06:00, 13 September 2008 (EDT)