|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.zoolu.tools.Configure
|
+--local.ua.UserAgentProfile
UserProfile maintains the user configuration
| Field Summary | |
int |
accept_time
Automatic answer time in seconds; time<0 corresponds to manual answer mode. |
boolean |
audio
Whether using audio |
int |
audio_avp
Audio avp |
java.lang.String |
audio_codec
Audio codec |
int |
audio_frame_size
Audio frame size |
int |
audio_port
Audio port |
int |
audio_sample_rate
Audio sample rate |
int |
audio_sample_size
Audio sample size |
java.lang.String |
bin_rat
RAT command-line executable |
java.lang.String |
bin_vic
VIC command-line executable |
java.lang.String |
call_to
Automatic call a remote user secified by the 'call_to' value. |
java.lang.String |
contact_url
Contact URL. |
static java.lang.String |
contacts_file
Path for the 'contacts.lst' file where save and load the VisualUA contacts By default, it is used the "config/contacts.lst" folder |
boolean |
do_register
Whether registering with the registrar server |
boolean |
do_unregister
Whether unregistering the contact address |
boolean |
do_unregister_all
Whether unregistering all contacts beafore registering the contact address |
int |
expires
Expires time (in seconds). |
java.lang.String |
from_url
User's AOR (Address Of Record), used also as From URL. |
int |
hangup_time
Automatic hangup time (call duartion) in seconds; time<=0 corresponds to manual hangup mode. |
long |
keepalive_time
Rate of keep-alive packets sent toward the registrar server (in milliseconds). |
boolean |
no_offer
No offer in the invite |
boolean |
no_prompt
Do not use prompt |
java.lang.String |
passwd
User's passwd. |
int |
re_invite_time
Automatic re-inviting time in seconds; time<0 corresponds to no auto re-invite mode. |
java.lang.String |
realm
User's realm. |
java.lang.String |
recv_file
Audio file to be recorded |
boolean |
recv_only
Whether playing in receive only mode |
java.lang.String |
redirect_to
Redirect incoming call to the secified url. |
java.lang.String |
send_file
Audio file to be played |
boolean |
send_only
Whether playing in send only mode |
boolean |
send_tone
Whether playing a test tone in send only mode |
int |
transfer_time
Automatic call transfer time in seconds; time<0 corresponds to no auto transfer mode. |
java.lang.String |
transfer_to
Transfer calls to the secified url. |
static java.lang.String |
ua_jar
Path for the 'ua.jar' lib, used to retrive various UA media (gif, wav, etc.) |
boolean |
use_jmf
Whether using JMF for audio/video streaming |
boolean |
use_rat
Whether using RAT (Robust Audio Tool) as audio sender/receiver |
boolean |
use_vic
Whether using VIC (Video Conferencing Tool) as video sender/receiver |
java.lang.String |
username
User's name (used to build the contact_url if not explitely defined) |
boolean |
video
Whether using video |
int |
video_avp
Video avp |
int |
video_port
Video port |
| Fields inherited from class org.zoolu.tools.Configure |
NONE |
| Constructor Summary | |
UserAgentProfile()
Costructs a void UserProfile |
|
UserAgentProfile(java.lang.String file)
Costructs a new UserAgentProfile |
|
| Method Summary | |
void |
initContactAddress(org.zoolu.sip.provider.SipProvider sip_provider)
Sets contact_url and from_url with transport information. |
protected void |
parseLine(java.lang.String line)
Parses a single line (loaded from the config file) |
protected java.lang.String |
toLines()
Converts the entire object into lines (to be saved into the config file) |
| Methods inherited from class org.zoolu.tools.Configure |
loadFile, saveFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String from_url
public java.lang.String contact_url
public java.lang.String username
public java.lang.String realm
public java.lang.String passwd
public static java.lang.String ua_jar
public static java.lang.String contacts_file
public boolean do_register
public boolean do_unregister
public boolean do_unregister_all
public int expires
public long keepalive_time
public java.lang.String call_to
public int accept_time
public int hangup_time
public int transfer_time
public int re_invite_time
public java.lang.String redirect_to
public java.lang.String transfer_to
public boolean no_offer
public boolean no_prompt
public boolean audio
public boolean video
public boolean recv_only
public boolean send_only
public boolean send_tone
public java.lang.String send_file
public java.lang.String recv_file
public int audio_port
public int audio_avp
public java.lang.String audio_codec
public int audio_sample_rate
public int audio_sample_size
public int audio_frame_size
public int video_port
public int video_avp
public boolean use_jmf
public boolean use_rat
public boolean use_vic
public java.lang.String bin_rat
public java.lang.String bin_vic
| Constructor Detail |
public UserAgentProfile()
public UserAgentProfile(java.lang.String file)
| Method Detail |
public void initContactAddress(org.zoolu.sip.provider.SipProvider sip_provider)
protected void parseLine(java.lang.String line)
parseLine in class org.zoolu.tools.Configureprotected java.lang.String toLines()
toLines in class org.zoolu.tools.Configure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||