hello all,
first of all let me apologize for any “silly questions” i might have though im a newbie concerning asterisk so bear with me
ive setup asterisk a few days ago…
i have 4 Vonage lines who i have analog access on…
and 1 PSTN line…
i’ve successfully tested the SIP where i could call from 1 extension to another as soon as i add those extensions in both Sip.conf and Extensions.conf
though the thing is i cant call out! and thats obviously the main idea i got into this from the first place…
ill provide a list of configurations ive made so far… as well as the error am getting in CLI when i try to dial out…
[quote]
Extensions.conf:
[general]
static = yes
writeprotect = no
autofallthrough = no
clearglobalvars = no
The reason is because you have the same extension twice. How does asterisk know if it should go out through SIP or zap.
Your coding is wrong. For the SIP if it is going to an external provider you would need to set which peer it is using. For the zap calls you would need to set group or zap channel that you want to use. You may want to use something like
Exten => _1XX,1,Dial(SIP/${EXTEN}) ; This will dial locally any to sip any 3 digit number dialed that starts with a 1.
Exten => _X.,1,Dial(Zap/g1/${EXTEN}) will dial out through Zap group 1
I am not sure what GUI you are using but it seems that the AMI is not set up correct. As far as the actual call the CLI is showing that the call went through.
You can then not set it manually because FreePBX will over write your settings. The AMI is the API that asterisk has so that you can connect to it with your own custom code and run different things.
File Edit Options Buffers Tools Help
;
; Asterisk Call Management support
;
; By default asterisk will listen on localhost only.
[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1
; No access is allowed by default.
; To set a password, create a file in /etc/asterisk/manager.d
; use creative permission games to allow other serivces to create their own
; files #include “manager.d/*.conf”
When you edit manager.d/*.conf what do you get ? It seems to be connecting with user admin how ever I could not tell you what to change manager.conf since I don’t know what password they are using.