Page 1 of 1

ip to ip voip outbound route setup help?

PostPosted: Tue Mar 04, 2025 9:50 am
by countylines
Hello, i've been given a voip outbound route, but I'm a bit confused on how to properly set it up. Here are the details I received:

xx.xx.xxx.xx

USA CLI
PREFIX 999

if you could explain how to set it up with asterisk / vici i would greatly appreciate it.

Re: ip to ip voip outbound route setup help?

PostPosted: Tue Mar 04, 2025 7:07 pm
by carpenox
Account entry:

[carrier]
type=peer
host=xx.xx.xx.xx
canreinvite=no
insecure=invite
qualify=yes
disallow=all
allow=ulaw
allow=alaw
dtmfcode=rfc2833

Dialplan:
exten => _9.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9.,n,Dial(SIP/carrier/999${EXTEN:1},,tToR)
exten => _9.,n,Hangup

Re: ip to ip voip outbound route setup help?

PostPosted: Tue Mar 04, 2025 9:22 pm
by williamconley
and then use "dial prefix: 9" in the campaign

Also probably best to use _91NXXNXXXXXX rather than "_9." since they did specify US dial pattern

Re: ip to ip voip outbound route setup help?

PostPosted: Wed Mar 05, 2025 4:39 pm
by carpenox
oops yea i meant to delete that line

Re: ip to ip voip outbound route setup help?

PostPosted: Thu Mar 06, 2025 1:03 pm
by williamconley
since you fixed the original, i deleted my reference.