Newbie: Need assistance with carrier setup

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Newbie: Need assistance with carrier setup

Postby velocityvoice » Wed Jul 20, 2016 12:32 pm

Hello

I am completely new to Vicidial, however, I have prior experience in Asterisk/FreePBX. I am trying to set up my carrier, or trunk in a fresh installation of Vicidial 7 VERSION: 2.12-552a BUILD: 160429-0835 and I am having some issues. The thing is, I have a working trunk on my FreePBX using the config below, but I can't get this trunk to show up when I use the command sip show peers, or get this carrier to register within Vicidial.

Trunk output in working Freepbx:
type=peer
insecure=very
host=64.136.173.31
dtmfmode=rfc2833
context=from-pstn
canreinvite=no
disallow=all
allow=ulaw,g729
qualify=yes

That's it, no registration string required as my provider authenticates by IP address.

Here are my settings in Vicidial for the same carrier:
Carrier ID: trunk1
Carrier Name: trunk1
Admin User Group: All
Registration String: Blank
Template ID: None
Account Entry:
type=peer
insecure=very
host=64.136.173.31
dtmfmode=rfc2833
context=from-pstn
canreinvite=no
disallow=all
allow=ulaw,g729
qualify=yes
Protocol: SIP
Global's String: Blank
Dialplan Entry: Blank (Not sure what to put here, I am doing US and Canada dialing only)
Server IP: My servers IP address
Active: Y

sip show peers output:
vicibox7*CLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
gs102/gs102 (Unspecified) D Yes Yes 0 UNKNOWN
1 sip peers [Monitored: 0 online, 1 offline Unmonitored: 0 online, 0 offline]

As you can see, my carrier isn't even showing up under sip show peers at all. Can anyone please provide some assistance as to what I am doing wrong in setting up my carrier on my fresh install of Vicidial?

Thank you!
velocityvoice
 
Posts: 22
Joined: Wed Jul 20, 2016 12:25 pm

Re: Newbie: Need assistance with carrier setup

Postby MJCoate » Wed Jul 20, 2016 12:45 pm

Did you name the entry? The full text should look something like this:

[nameoftrunk]
type=peer
insecure=very
host=64.136.173.31
dtmfmode=rfc2833
context=from-pstn
canreinvite=no
disallow=all
allow=ulaw,g729
qualify=yes

If you're missing the bracketed part, that's likely why it's not showing up.

Also, the inbound context in VICIdial should be "trunkinbound" (without quotes) instead of "from-pstn".

For the dialplan, use this:

exten => _81NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _81NXXNXXXXXX,2,Dial(SIP/nameoftrunk/${EXTEN:1},,To)
exten => _81NXXNXXXXXX,3,Hangup
Mike Coate | VICIdial Technical Support Staff
MJCoate
 
Posts: 82
Joined: Wed Mar 25, 2015 1:57 pm

Re: Newbie: Need assistance with carrier setup

Postby velocityvoice » Wed Jul 20, 2016 12:49 pm

Hi Mike

Thanks for the quick reply.. I didn't have the bracketed bit you mention in my setup but I just added it. Here is my full output:

[trunk1]
type=peer
insecure=very
host=64.136.173.31
dtmfmode=rfc2833
context=from-pstn
canreinvite=no
disallow=all
allow=ulaw,g729
qualify=yes

However, my carrier is still not showing up under sip show peers. Also to add, this is a fresh installation and there haven't been any modifications done to the system on my end that would cause this that I am aware of.

Thanks!
velocityvoice
 
Posts: 22
Joined: Wed Jul 20, 2016 12:25 pm

Re: Newbie: Need assistance with carrier setup

Postby velocityvoice » Wed Jul 20, 2016 12:51 pm

Mike

I just saw your added reply.. here is my full output now:

[trunk1]
type=peer
insecure=very
host=64.136.173.31
dtmfmode=rfc2833
context=trunkinbound
canreinvite=no
disallow=all
allow=ulaw,g729
qualify=yes

I also used your dialplan you indicated and I am still having no success :(

Weird thing is, if I make the sample SIP carrier active, that also doesn't show up under sip show peers..This leads me to believe this is a settings issue within Vicidial and not a carrier set up problem.

EDIT: I have also called my carrier and they have confirmed they see no registration attempts at their firewall so it appears to not even be attempting registration.
velocityvoice
 
Posts: 22
Joined: Wed Jul 20, 2016 12:25 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 20 guests