Run the SIP show peers command to view the extension, Agent-Getting Started tutorial series 001.

Source: Internet
Author: User

First, let's take a look at my sip. conf file, as shown below:

  1. [201]
  2. User= 201
  3. Type = friend
  4. Secret = 1234
  5. Host = dynamic
  6. Context = incoming
  7. [202]
  8. User= 202
  9. Type = friend
  10. Secret = 1234
  11. Host = dynamic
  12. Context = incoming
  13. [1234]
  14. User= 1234
  15. Type = friend
  16. Secret = 1234
  17. Host = dynamic
  18. Context = incoming
  19. [0]
  20. User = 0
  21. Type = friend
  22. Secret = 1234
  23. Host = dynamic
  24. Context = incoming
  25. [1]
  26. User = 1
  27. Type = friend
  28. Secret = 1234
  29. Host = dynamic
  30. Context = incoming
  31. [2]
  32. User = 2
  33. Type = friend
  34. Secret = 1234
  35. Host = dynamic
  36. Context = incoming

201,202,123, 0, 1, and four extensions are defined.

OK, enter sip show peers in the CLI.

 


OK.

Now open X-Lite to set the account as follows:

192.168.1.33 is the address of my asterisk server. After login, there will be a response in the asterisk terminal, as shown below:

The extension 202 is successfully registered.

The following is the interface after the X-lite registration is successful.


 

Okay. Now enter the SIP show peers in the CLI terminal.

Extension 202 has been launched, and the system has recorded its IP address and port, which are monitored by asterisk.

Now, the experiment is complete.

------------- Click it to enter a word ----------------

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.