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
[KVici1*CLI> sip show peers
Vici1*CLI> Name/username Host Dyn Forcerport ACL Port Status
[KVici1*CLI> 201/201 192.168.0.40 D N 54850 OK (4 ms)
Switch2Voip/3907327000 66.33.146.52 5060 UNREACHABLE
[KVici1*CLI> 2 sip peers [Monitored: 1 online, 1 offline Unmonitored: 0 online, 0 offline]
[KVici1*CLI> sip show [Feb 25 10:39:37] [1;33mNOTICE[0m[3193]: [1;37mchan_sip.c[0m:[1;37m13875[0m [1;37msip_reg_timeout[0m: -- Registration for '3907327000@sip.switch2voip . us' timed out, trying again (Attempt #191)
[KVici1*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.
[KVici1*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