me ajudem asterisk

1. me ajudem asterisk

gabriel almeida moura ladislau
gabrielladislau

(usa Debian)

Enviado em 13/04/2008 - 20:56h

como eu configuro o asterisk via browser eu istalei o trixbox que ja vem com tudo instalado mas não sei masi para onde vai alguem pode me ajudar como eu faço fazer ligações interno e externo que material eu preciso alem dos softwares me ajudem por favor


  


2. Vou tentar

Samuel Pinto
samuel_bigas

(usa Fedora)

Enviado em 17/04/2008 - 12:01h

1 deves actualizar o sisteme
podes actualizar na consola
sudo yum -y update

ou pelo pbx no separador setings e esconhes os repositorios expepto os bete e devel pois tem muitos bugs aplicas e vais ao freepbx clicas no modle admin e download e install all

2. criar extenções
muito simples nao sei se uzas softphones ou telefones com sip... mas so tens que preencher o USER EXTENCION com a extençao desejada ex.69;

Display name com o nome do utilizador da extenção;

secret com a password com que o utilizador vai validar no asterisk;

caso queiras caixa de correio activas e dás uma senha tambem;podes configurar mais coisas masi issto é o basico...

3.Contas voip;
add sip trunk
outbound caller id é o nome do utilizador com que te registas-te no provider ou nº voip casa seja o caso;;
never overide caller id: yes;
Trunk name é o nome do canal(escolha);
peer details:

username=USER ou +3513020numero
type=peer
secret=SENHA
host=sip.voipbuster.com-----------dominio de registo
allow=g729&g726
#pode levar mais dealhes dependedo do provider este exemlpo funciona bem com o voipbuster

caso tenhas um numero voip tens que preencher tambem o incoming settings para receber chamadas

register string:
USER:SENHA@sip.voipbuster.com


4. nao esquecer de fazer um nat/forward no router ou no hardware que estiver a fazer a validaçao da internet.
SIP 5004-5082
RTP 10001-20000
IAX 4569

5- ligaçoes com telemovel

cd /usr/src/zaptel
make install-udev

yum install bluez-libs-devel
Is this ok [y/N]: Y

reboot
rebuild_zaptel
reboot

genzaptelconf

cd /
wget http://www.thetechguide.com/howto/asterisk/bluetoothfiles.tar.gz
tar xzf bluetoothfiles.tar.gz
Ignore errors about time stamp in future
cd /usr/src/asterisk
make clean
make
make install

If you see a message displaying WARNING WARNING WARNING pertaining to /usr/lib/asterisk/modules, you can ignore it, those modules are supposed to be there.

chkconfig bluetooth on
service bluetooth start

Now run hcitool scan. You will see output similar to this:

[root@asterisk1 asterisk]# hcitool scan
Scanning ...
00:12:8A:C7:DA:7C Motorola Phone

The 00:12:8A:C7:DA:7C is the MAC address of the phone. Now, we need to edit your bluetooth.conf file to use this address:

cd /etc/asterisk
nano bluetooth.conf

Go to the bottom, you will see this:

;; A Motorola V551
[00:12:8A:C7:DA:7C]
name = Motorola
type = AG
channel = 3
autoconnect = yes

Replace [00:12:8A:C7:DA:7C] with the MAC address you got from hcitool scan (keep the [] brackets surrounding it). Now, another thing that may cause you problems, is the "channel = 3" part. In the bluetooth.conf, it says to run sdptool search --bdaddr xx:xx:xx:xx:xx:xx 0x111F to find the correct channel number. For mine it reported channel 7, but would not work for me unless set to 3. In case this part is important for you, here's how to see what channel it thinks you should use (I'd try it with channel = 3 first, if that doesn't work then try this, if that doesn't work then start at 1 and work your way up to 13 and see if you get anything). Once you're done editing the file, hit Ctrl-X to exit, Y to save, and the enter key to keep the same filename (so Ctrl-X, Y, enter).

The xx:xx:xx:xx:xx:xx is the MAC address (the same one you got from hcitool scan), so in our case the command will be sdptool search --bdaddr 00:12:8A:C7:DA:7C 0x111F. Your phone does NOT have to be in Find Me mode to run this tool. Just make sure it's on and the bluetooth service is running. In my case, the output is:

[root@asterisk1 asterisk]# sdptool search --bdaddr 00:12:8A:C7:DA:7C 0x111F
Class 0x111F
Searching for 0x111F on 00:12:8A:C7:DA:7C ...
Service Name: Hands-Free voice gateway
Service Description: Hands-Free voice gateway
Service Provider: Cingular
Service RecHandle: 0x10007
Service Class ID List:
"" (0x111f)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 7
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
code_ISO639: 0x6672
encoding: 0x6a
base_offset: 0xd800
code_ISO639: 0x6573
encoding: 0x6a
base_offset: 0xd803
code_ISO639: 0x7074
encoding: 0x6a
base_offset: 0xd806
Profile Descriptor List:
"" (0x111e)
Version: 0x0101

The part that interests us is the line right under ""RFCOMM" (0x0003)" which says "Channel: 7". So in /etc/asterisk/bluetooth.conf, you want to change "channel = 3" to "channel = 7" (again, note that this did NOT work for me, I had to have it on channel 3).

At this point I rebooted, to make sure everything would start up automatically:

reboot

6-boa sorte tambem ando as cabeçadas com isto...
hehe






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts