- setup
Callback on applet setup - set audio in and out device here
- loaded
Called after applet is ready
- registered(status)
Gets called on register events (new register, reregister, register failed)
- hostreachable(status, roundtrip)
Callback for hostreachable messages (qualify) - does not work for me
- newCall(inbound, far, near, answered, callingname)
Callback for a new call setup
- hungUp(causecode)
Hangup callback - with the cause code
- ringing(inbound, far, near, answered, callingname)
It's ringing - no built in ringer !
- answered(inbound, far, near, answered, callingname)
Call got answered
- setHost(host)
Set the host to connect to with the iax applet
- setCallingNumber(cnumber)
do set the calling number to cnumber
- setCallingName(cname)
do set the calling name to cname
- setUser(user)
do set username which should get used on register
- setPass(pass)
do set password which should get used on register
- setWantIncoming(true)
WantIncoming=true - register with the server and receive inbound calls
- register()
do register with the server
- dial(number)
dial the number number
- hangup()
Hangup the current call
- setAudioIn(device)
Set the audioin device (you have to use the name of the audio device, have to get done in the setup callback)
- setAudioOut(device)
Set the audioout device (you have to use the name of the audio device, have to get done in the setup callback)
- getAudioInListLen
Returns the length of the audio in list (number of available audio in devices)
- getAudioInList(nr)
Returns the devicename of the nr device in the audioin list
- getAudioIn
Returns the current choosen audio in device
- getAudioOutListLen
Returns the length of the audio out list (number of available audio out devices)
- getAudioOutList(nr)
Returns the devicename of the nr device in the audioout list
- getAudioOut
Returns the current choosen audio out device