[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 421
  • Last Modified:

changing names on extensions on Asterisk phone system?


  I need to know how to make very basic changes to my companies asterisk phone system. Particualarly change names on extensions and voicemail passwords (which I think I figured out that one). I was left very basic instructions on how to do this, which was pretty much, this: Go to the server that contains the extension to be edited (we have a server at each location) and edit the sip.conf file on that server, change the name that is currently there to the desired name, save the changes and go to a terminal screen and do. asterisk -RX "reload"  I have done this and the name on the phones is still not chaning. I have rebooted the phones also and still nothing. Does anyone know what I could be doing wrong or an easy way to do this. Please be very detailed as I know nothing about asterisk or even linux. ( It's running of Fedora if that matters.)
0
CJ27
Asked:
CJ27
  • 2
1 Solution
 
icenickCommented:
Dear CJ27,

An example of an extension in the sip.conf would be the following:

[whatever]
context=default
type=friend
host=dynamic
secret=whatever
user=whatever                ; Change this
nat=yes

You need to change the "user".

After that you need to login into asterisk terminal by running (without quotes): "asterisk -rvvvvvvvvvvv"

You then have to run the command (without quotes): "sip reload"

In your phones now, you have to modify the names accordingly so they can register at Asterisk.

Once they register with the new names, then they have the new names.

In asterisk terminal, run: "sip show peers" in order to check if the new names are valid.

I hope I helped.

0
 
CJ27Author Commented:

  This is exactly what I type in the asterisk terminal?   asterisk -rvvvvvvvvvvv

 Also:  The name won't automatically change on the phone after you reboot and it get's the new config file?  Are you sayin you have to manually change it in the phone after you make the changes? In the past I don't think we've had to do that?
0
 
icenickCommented:
Dear CJ27,

There are two ways of configuring the phones. Manually and provisioning.

Manually, you need to change the names manually on the phones.

Provisioning, you need to setup a TFTP server (somewhere) and point the phones to this TFTP server. Under there you will have a general config file which contains all the suitable parameters (phone, codec, sip registrar, etc.). One the phone is up or rebooted, it will grab this config file and apply all the parameters.

Maybe your phones are configured in provisioning mode.

Change a phone's name manually and see what the result is so you can figure out what is going on.

Good Luck.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now