Problem setting up Carrier in Vicidial Box

All installation and configuration problems and questions

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

Problem setting up Carrier in Vicidial Box

Postby maintdirect » Wed Feb 25, 2015 11:39 am

Hi There,

I am a complete newbie to Vicidial so please bare with me, also never really used Unix before apart from 20 years ago at Uni so be gentle!

Having some problems setting up our Switch2Voip SIP account on ViciDial

We Dial ONLY to the UK at the moment.
Our Carrier Settings...

CarriedID: Switch2Voip
Carrier Name: Switch To Voip
Carried Description: SwitchTo Voip
Admin User Group: ---ALL---

register => 3907327000:xxxx@sip.switch2voip . us/siptrunking


Account Entry...

[Switch2Voip]
username=3907327000
type=peer
secret=xxxxxxx
progressinband=never
port=5060
nat=auto
insecure=very
ignoresdpversion=yes
host=sip.switch2voip . us
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
allow=g711&g723

Globals String: <blank>

Dialplan Entry:
exten => _944.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944.,2,Dial(sip/${EXTEN:1} @ Switch2Voip,55,o)
exten => _944.,3,Hangup

Output from CLI...

Asterisk 1.8.29.0-vici, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.29.0-vici currently running on Vici1 (pid = 2646)
Vici1*CLI> Verbosity is at least 21
Vici1*CLI> sip show peers
Vici1*CLI> Name/username Host Dyn Forcerport ACL Port Status
Vici1*CLI> 201/201 192.168.0.40 D N 54850 OK (4 ms)
Switch2Voip/3907327000 66.33.146.52 5060 UNREACHABLE
Vici1*CLI> 2 sip peers [Monitored: 1 online, 1 offline Unmonitored: 0 online, 0 offline]
Vici1*CLI> sip show [Feb 25 10:39:37] NOTICE[3193]: chan_sip.c:13875 sip_reg_timeout: -- Registration for '3907327000@sip.switch2voip . us' timed out, trying again (Attempt #191)
Vici1*CLI> sip show registry
Vici1*CLI> Host dnsmgr Username Refresh State Reg.Time
sip.switch2voip . us:5060 Y 3907327000 120 Request Sent
1 SIP registrations.
Vici1*CLI> exit

I can ping google ok and get a response.

I edited /etc/resolv.conf file and added
nameserver 217.13.128.17
nameserver 217.13.128.27

I am guessing the
Switch2Voip/3907327000 66.33.146.52 5060 UNREACHABLE
and
"Registration for '3907327000@sip.switch2voip.us timed out, trying again (Attempt #191)
are the problems...

Any help most appreciated.

[pls note i have had to put a space in between switch2voip . us as system things my message is too spammy for my first post!]
Thx
maintdirect
 
Posts: 1
Joined: Wed Feb 25, 2015 9:16 am

Re: Problem setting up Carrier in Vicidial Box

Postby mav2287 » Thu Feb 26, 2015 9:30 am

The fastest and easiest way to solve most of the pain with registration is to avoid it all together. I HIGHLY recommend switchinh to IP Based Authentication. You give your provider your IP and they use that in place of registration. I have always hated registration and the issues that come with it.
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 88 guests