Accessing Information about Registered Users
Registered Users Information
params[:registered_user] params[:calling_registered_user] {
:contact_list=>
[
{
:contact=>"<>", -> Full contact
:expires=>"60", -> Contact expiry time (seconds)
:host=>"hostname", -> host name from the contact header
:name=>"user_name_or_number", -> user name from the contact header
:nap_in=>"NAP_NAME", -> NAP that the contact has registered from
:port=>"7070", -> Port from the contact header
:transport=>"UDP" -> Transport type from the contact header
:q_value=>"0.00", -> Q-value for the contact (for contact ordering)
:src_host=>"10.0.0.10", -> Actual source IP address that the contact has registered from
:src_port=>"7070", -> Actual source port that the contact has registered from
:src_transport=>"UDP", -> Actual protocol that the contact has been registering with
}
]
}Last updated
Was this helpful?
