3

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?

2

Are you in Asterisk CLI?

asterisk -r
asterisk*CLI>sip reload 
  • thanks for the reply PAUL yes im in asterisk cli and i do issue the sip reload command but nothing happens – 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 – 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 – Khurram Ijaz Jul 11 '12 at 12:17
  • sudo killall -9 asterisk – Paul Basov Jul 11 '12 at 12:25
1

Command to restart asterisk is

asterisk -rx "core restart now"

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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