Dear Friends
I installed Asterisk with is tutorial:
blogs.digium.com/2012/11/05/how- … -centos-6/
after installation done and successfully i changed sip.conf & extensions.conf to these codes:
sip.conf:
[general]
alwaysauthreject=yes
[Google](!)
qualify=yes
host=dynamic
type=friend
context=office
nat=yes
disallow=all
allow=ulaw
allow=alaw
secret=123456
[office](Google)
[ceo](Google)
and extensions.conf
[office]
exten => 100,1,Dial(SIP/office)
exten => 200,1,Dial(SIP/ceo)
[default]
exten => s,1,Background(Payam-Persa/opening2)
exten => s,2,Background(Payam-Persa/opening2)
exten => 1,1,Playback(Payam-Persa/about)
exten => 1,2,Playback(Payam-Persa/return2)
exten => 1,3,Background(Payam-Persa/hello)
exten => 1,4,Playback(Payam-Persa/thanks)
exten => 1,5,Hangup()
but unfortunately when i try to connect my zoiper or my IP phone to Asterisk it doesn’t work even in CLI : asterisk -rvvvvv it doesn’t s show any thing…