here is my configuration

- Code: Select all
register => username:secret@XXX.XXX.XXX.XXX:5060
[mysiptrunk1]
disallow=all
allow=g729
context=trunkinbound
username=username
secret=secret
dtmfmode=auto
host=XXX.XXX.XXX.XXX
type=friend
port=5060
qualify=yes
insecure=very
canreinvite=yes
fromdomain=XXX.XXX.XXX.XXX
fromuser=0000000000
nat=yes

here is my extensions.conf
- Code: Select all
[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=ZAP/g1 ; Trunk interface
TRUNKX=SIP/mysiptrunk1
; dial a long distance outbound number
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls
exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9X.,2,Dial(${TRUNKX}/${EXTEN:1},,To)
exten => _9X,3,Hangup
outbound/inbound working perfectly on this configuration no error at all!!!
please tell me how to add more sip trunks.
Thanks..

VERSION: 2.2.1-237
BUILD: 100510-2015
Vicidialnow1.2
3.2GHZ Core2Duo
2GB ,250GB