Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I installed VMware and then Ubuntu. I am running asterisk on top of it.

I started the asterisk server successfully by following a tutorial. After making few changes into the sip.conf, I want to reload the the process so it pick up the changes. So I ran

sip reload 

and nothing happens.

Neither the commands to restart the asterisk server work actually the commands do not exists. Can some please throw light or point to right direction?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Are you in Asterisk CLI?

asterisk -r
asterisk*CLI>sip reload 
share|improve this answer
    
thanks for the reply PAUL yes im in asterisk cli and i do issue the sip reload command but nothing happens –  Mian Khurram Ijaz Jul 11 '12 at 12:01
    
Try starting CLI with 'asterisk -vvvvvr' for debugging messages. Also, stupid question, are you starting it with sudo? Never used ubuntu with asterisk. –  Paul Basov Jul 11 '12 at 12:04
    
i have to test it on vmware and thats why unbuntu running on windows 7 vmware and asterisk inside it –  Mian Khurram Ijaz Jul 11 '12 at 12:14
    
i have already started asterisk with -vvvvvc option and now i can't even shut it down –  Mian Khurram Ijaz Jul 11 '12 at 12:17
    
sudo killall -9 asterisk –  Paul Basov Jul 11 '12 at 12:25

Command to restart asterisk is

asterisk -rx "core restart now"

IF that not work, probably your asterisk core is hangs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.