Authentication

From FreeSWITCH Wiki
Jump to: navigation, search

Gateway Authentication

Here are all the possible values for a gateway:

register true or false (like when you don't want to register but want to auth to a gateway)

schema (Currently should be left blank which is Digest by default)

realm (authorization realm in some cases you might need to set this)

username (this is the authorization and from username in the registration unless from-user is set.)

auth-username (this will be the authentication username for an outbound registration)

password (well the password)

caller-id-in-from (for those times the callerid is in the from for when the remote doesn't do rpid or p-asserted)

extension (this is the contact extension for the remote to contact)

extension-in-contact (this will send the extension in the SIP Contact header)

proxy (defaults to the gateway name unless you set this param)

context (what context this gateway is in)

expire-seconds (how many seconds to register for default is 3600 if left empty)

retry-seconds (this sets the number of seconds to retry the registration)

from-user (the username used in the from field defaults to the username if left empty)

from-domain (the domain to use in the from field)

register-proxy (for those times you have a proxy you register with and a different proxy to send calls to defaults to gateway name or proxy if left empty)

contact-params (extra contact params ie tport=tcp)

register-transport (udp,tcp or tls if you have it enabled)

See Also