[AsteriskBrasil] ligações externas

charles junqueira charlesdfjj em yahoo.com.br
Quinta Julho 12 19:15:49 BRT 2007


Modifique meu arquivo extensions.conf mas ainda não
consigo fazer ligações externas via ramal. Ele chega a
fazer a chamada só que ele tenta p/ o meu ramal e o
0800 que estou tentando. A mensagem que aparece e
called 1511/08006008666. Meu arquivo extensions.conf
esta da seguinte forma:

[general]
;
; If static is set to no, or omitted, then the
pbx_config will rewrite
; this file when extensions are modified.  Remember
that all comments
; made in the file will be lost when that happens.
;
; XXX Not yet implemented XXX
;
static=yes
;
; if static=yes and writeprotect=no, you can save
dialplan by
; CLI command 'save dialplan' too
;
writeprotect=no
;

[globals]
;CONSOLE=Console/dsp                            ;
Console interface for demo
OUTBOUNDTRUNK=SIP/1511

[ext-local]

include =>outbound-local
include =>outbound-long-distance

exten =>1511,1,Dial(SIP/1511,15)
exten =>1511,2,Hangup()

exten =>1512,1,Dial(SIP/1512,15)
exten =>1512,2,Hangup()

exten =>1513,1,Dial(SIP/1513,15)
exten =>1513,2,Hangup()

exten
=>_XXXXXXXXXX,1,Dial(SIP/$(EXTEN)@loginvono,90,rT)


[gvt]
exten =>loginvono,1,Dial(SIP/1512,15)
exten =>loginvono,2,Dial(SIP/1511,15)
exten =>loginvono,3,Hangup()


[outbound-local]
exten =>_9XXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten =>_9XXX,2,Congestion()
exten =>_9XXX,1511,Congestion()

exten =>102,1,Dial(${OUTBOUNDTRUNK}/102)
exten =>9102,1,Dial(${OUTBOUNDTRUNK}/102)


[outbound-long-distance]
exten =>XXXXXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten =>XXXXXXXXXX,2,Congestion()
exten =>9XXXXXXXXXX,1511,Congestion()

exten
=>08006008666,1,Dial(${OUTBOUNDTRUNK}/08006008666)
exten
=>908006008666,1,Dial(${OUTBOUNDTRUNK}/08006008666)

Obrigado,





      Flickr agora em português. Você cria, todo mundo vê.
http://www.flickr.com.br/


Mais detalhes sobre a lista de discussão AsteriskBrasil