Linux en Syn-3 Forum

Syn-3 Nederland => Syn-3 voiceserver / Asterisk => Topic gestart door: erwin op April 04, 2007, 09:24:36



Titel: TAPI
Bericht door: erwin op April 04, 2007, 09:24:36
Asterisk tapi -> http://sourceforge.net/projects/asttapi/

To get started, you will need to edit manager_custom.conf file. The easiest is to use AMP (the easiest way!)

 AMP-> Maintenance -> Config Edit -> manager_custom.conf

On opening the manager_custom.conf file, you will notice the following, which you will need to do a tiny weeny edit:

[phpconfig]
secret = php[onfig
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[phpagi]
secret = phpagi
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

[AstTapi]
secret = AstTapi
deny=0.0.0.0/0.0.0.0
#permit=192.168.1.0/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

Under the [AstTapi] User context, remove the # from the permit line and change the 192.168.1.0 to the network address of your network.  In my case I left it as it is because my network is under 192.168.1.0 (see red highlight).

Once this is done, click Update and restart Asterisk.


Titel: Re: TAPI
Bericht door: elger op December 26, 2007, 10:32:28
Kan van buiten de server met de AstTapi niet connecten met de Asterisk manager API

Poort 5038 aan de firewall toevoegen, dan kan het wel:

Code:
telnet <ip address> 5038
Reactie:
Code:
Asterisk Call Manager/1.0