FPBX
[FPBX]
host=dialer.asterisk.com
fromuser=FPX
type=peer
disallow=all
allow=ulaw&alaw
qualify=yes
nat=force_rport,comedia
context=from-dialer
port=5060
transport=udp
trustrpid=yes
sendrpid=yes
dtmfmode=rfc2833
FreePBX Dial Plan
[from-dialer]
exten=>_xxx,1,Goto(from-internal,${EXTEN},1)
same=>n,Hangup()
exten=>_1234567890,1,Goto(from-trunk,${EXTEN},1)
same=>n,Hangup()
Vicidial
[vicidial]
host=pbx2.asterisk.com
fromuser=vicidial
type=peer
disallow=all
allow=ulaw
allow=alaw
qualify=yes
nat=force_rport,comedia
context=trunkinbound
port=5060
transport=udp
trustrpid=yes
sendrpid=yes
dtmfmode=rfc2833
Dial Plan Vicidial Outgoing
exten => _66.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _66.,n,Dial(SIP/${EXTEN:2}@1458,,To)
exten => _66.,n,Hangup
No hay comentarios:
Publicar un comentario