Page 394 - Asterisk™: The Future of Telephony
P. 394

username (peer)
                   The username field allows you to attempt contact with a peer before it has registered
                   with you. At registration, a SIP device tells Asterisk which SIP URI to use to contact
                   it. The username is used in conjunction with defaultip to create the SIP URI in the
                   SIP INVITE header. This might be useful following a reboot, in order to place a call.
                   The endpoints will not attempt to register with the server until their registration
                   timeouts expire, so you will not know their locations. For nondynamic hosts, you
                   will require the username to be specified, as it is used to construct the authoriza-
                   tion username:
                       username=john_smith





















































               366 | Appendix A: VoIP Channels
   389   390   391   392   393   394   395   396   397   398   399