Registering with Carrier time out

All installation and configuration problems and questions

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

Registering with Carrier time out

Postby Two8nine » Thu Jul 27, 2017 2:22 pm

Vicidial Version: 2.14-615a
Asterix Version: 11.25.1-vici
Vicidial Build: 170516-0632
OS: openSUSE Leap 42.1 (x86_64)
Single Server Setup.

We currently run an oldschool call center with PRI's and Cisco UCCX. Intending to switch to Vicidial/SIP, and currently running a test environment.

I'm using Switch2Voip as a (likely) temporary carrier for some testing, but have been unable to get them to register with Asterix. My current connection details:

Register String:

register=>USERNAME:PASSWORD@sip.switch2voip.us/siptrunking

Account Entry:

[Switch2Voip]
username=USERNAME
type=peer
secret=PASSWORD
progressinband=never
port=5060
nat=auto
insecure=invite,port
ignoresdpversion=yes
host=sip.switch2voip.us
dtmfmode=rfc2833
context=from-trunk
canreinvite=no
qualify=no
allow=ulaw

DialPlan:

exten => _91.,1,Set(callerid(num)=+1XXXXXXXXXX)
exten => _91.,2,Set(callerid(ani)=Phone number)
exten => _91.,3,AGI(agi://127.0.0.1:4577/call_log)
exten => _91.,4,Dial(sip/${EXTEN:1}@Switch2Voip,55,o)
exten => _91,5,Hangup


This doesn't seem to work, as the Asterix CLI displays:

NOTICE[2194]: chan_sip.c:15318 sip_reg_timeout: -- Registration for 'USERNAME@sip.switch2voip.us' timed out, trying again (Attempt #xx)

sip show peers lists it as 'Unmonitored' though seems to grab ip address and port ok.

Additionally, on connect, Asterix ouputs: ERROR[2194]: netsock2.c:271 ast_sockaddr_resulve: getaddrinfo("vicidial", "(null)", ...): Name or service not known
I'm not sure why this is thrown.

If noteworthy, I can ping the 'switch2voip.us' address from ViciDial Server successfully.

Suggestions? Not too familiar with this.
Two8nine
 
Posts: 33
Joined: Wed May 24, 2017 10:11 am

Re: Registering with Carrier time out

Postby mflorell » Thu Jul 27, 2017 3:21 pm

I usually suggest spending $5 and getting a Vitelity account. They have templates for Asterisk registration and configuration so it's easy to set up and test to make sure your system works, and so you have a backup carrier. Once you get an easy carrier like Vitelity working, you can try to get some of the more complex SIP carriers working on your system.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 103 guests