How To Make Outbound Trunk In Asterisk with Vonage
register => username:password@sip-server
[Username]
username=Username
type=friend
secret=Password
disallow=all
allow=ulaw
allow=g729
allow=alaw
qualify=no
canreinvite=yes
nat=yes
insecure=no
host=sip-Server
fromuser=Username
fromdomain=sip-Server
Dialplan Configuration
exten => _XXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXX.,2,Dial(SIP/${EXTEN:X}@Username,,tTo)
exten => _XXX.,3,Hangup
Inbound Trunk in Asterisk With Vonage
register=>Username:Password@sip-server:5060/Username
[vonage-incoming]
disallow=all
allow=ulaw
allow=g729
type=peer
port=5060
nat=yes
insecure=invite
host=sip-server
fromdomain=sip-server
dtmfmode=rfc2833
context=Vonage
canreinvite=no
qualify=no
Dialplan Configuration register=>Username:password@sip-server:5060/username
[Vonage]
exten => _[A-Z].,1,AGI(agi-DID_route.agi) exten => _[A-Z].,n,Hangup()
How to repair mysql all database
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases
mysqlcheck -u cron -p --auto-repair --check --optimize --all-databases
password 1234
if audio store not working
/usr/share/astguiclient/ADMIN_audio_store_sync.pl --upload
Forward coming calls to another toll free if all agents are busy
if it is inbound calls then set the NO Agent NO queue option to Yes
in ingroup and No Agent No queue Option to extension.
and enter you tfn as target
Copyright IT Solutions