How to setup SIP trunk

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

How to setup SIP trunk

Postby MySnS » Thu Jun 18, 2009 12:11 pm

Hi Everyone,

Can you help me setting up my SIP trunk and Extension? I am using vicidialnow 2.0.5. I don't use username and password to register to my SIP provider. How to configure without username and password to register?

Any help greatly appreciated!

Thanks,

Julz
MySnS
 
Posts: 5
Joined: Thu Jun 18, 2009 12:06 pm

Postby ruben23 » Thu Jun 18, 2009 9:15 pm

Try this: sample

on the sip.conf (depends if you asterisk server is behind NAT), if NAted you add up (NAT-config)

[SIPtrunk]
type=friend
host=xxxxx.xxxx.xxxx
canreinvite=no
disallow=all
allow=g729
allow=ulaw
dtmfmode=rfc2833
qualify=1000

For NAT:

you add this to-

[general]
localnet=192.168.0.0/255.255.0.0 ; or your subnet
externip=x.x.x.x ; use your address


on extensions.conf look for this config on the dial plan- replace the xxxxx with the context of your SIP provider.

[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=SIP/xxxxxx ; Trunk interface
TRUNKX=SIP/xxxxx

this will be executed in this dial plan

; dial a long distance outbound number
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,3,Hangup

then asterisk -rvvvvvv => reload

try to check on the CLI: sip show peers if your voip context is reachable
then test call

thats it
:)
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Postby MySnS » Fri Jun 19, 2009 2:26 pm

I tried your suggestion but it's not working. can you give a GUI screen shot of your vicidial configuration? you can omit the sensitive information.


Thanks
MySnS
 
Posts: 5
Joined: Thu Jun 18, 2009 12:06 pm

Postby williamconley » Sat Jun 20, 2009 10:49 am

you may need to contact your provider and get a call to work with ASTERISK before you attempt vicidial. there is a much wider "help base" for "asterisk" than "vicidial" and AFTER you have the call working in Asterisk, it becomes extremely easy for us to get you up and running. and you may not even need help.

be aware that there are many ways to initiate a call with asterisk, until you find out how YOUR provider does this, you won't be able to "connect it" to vicidial's structure.

so simplify the process and find out first, then hook up to vicidial.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 37 guests